watch — A video file watched by a model, answered as timed findings — openbash
Any video on a mount, or a link: a model watches and listens to it and answers a question, or judges it against your rules, as findings timed to the millisecond (subject, observation, rule, pass/fail/unsure). Time series, never a summary.
watch
watch is a command on the openbash shell, reachable over HTTP, SSH and MCP with one key. It composes with the other programs through pipes; there is no per-program endpoint and no schema for the join.
watch ask --ask-file /attachments/wb1/rules.txt /attachments/wb1/cut-3.mp4 --print findings | head -3
help
watch: a video file watched by a model, answered as timed findings.
USAGE
watch ask QUESTION FILE|URL [--from MS] [--to MS] [--slow N] [--model NAME]
[--json-schema PATH] [--print json|findings|answer]
watch ask --ask-file PATH FILE|URL [...]
watch wait JOB_ID [--print json|findings|answer]
ASK
A model watches and listens to the whole video and answers QUESTION, or
judges the video against rules: give them one a line, numbered or not,
inline or with --ask-file from a file on a mount. The answer is timed
findings, one per moment, never a summary:
at_ms, end_ms the span, in ms from the start of the FILE
subject who or what: a character by name if the video says or
shows it, or the shot, the light, the sound
observation what is seen or heard there, concretely: where the eyes
point, what moves or does not, what changes between
frames, which words are said and whether the lips move
rule the rule or question it answers, by number or words
verdict pass, fail or unsure for a rule
Every rule gets at least one finding; a broken rule gets one for every
moment it is broken. Where the model cannot tell, the verdict is unsure and
the observation says why.
FILE is a video on a mount (/attachments/<workbook>/…, /googledrive/…,
/dropbox/…, /tmp/…) up to 200 MB, a public http(s) link to one, or a
YouTube link. A large file is re-encoded for the model (H.264 at 480p, or
720p when short, mono sound); about eight minutes fit one watch, so a
longer video is asked about in parts with --from and --to (ms of the
file). Times in the answer are always the file's.
The model sees about one frame a second and hears all of the sound. A fault
shorter than a second (a one-frame flicker) can be missed: ask about a
short span to look closer, and check a fault it names against the frames.
--slow N (1 to 8, default 1) plays the clip N times slower, so the model
sees N frames for every second of it: for acting details a second or two
long, such as a mouth moving or still, eyes on the lens or on the other
character, a hand frozen in the air, or a prop appearing between frames.
Every frame is kept and the sound is slowed with its pitch kept; the model
is told to judge speed and stillness as at normal speed. Times in the
findings stay the file's; result and answer are in the slowed time. The
clip times N must fit one watch (about a minute of the file at 8, two at
4, four at 2), so pair it with --from and --to. It costs N times as much.
A YouTube link cannot be slowed.
watch ask "1. The lips move only while Maya speaks." cut.mp4 \
--from 12000 --to 14000 --slow 8 --print findings
--model is the Gemini that watches: gemini-2.5-flash (the default),
gemini-2.5-flash-lite, gemini-3.1-flash-lite or gemini-3.8-flash.
--json-schema PATH gives a JSON Schema the answer must follow instead of
the findings shape; any list of timed rows in it is still listed as
findings.
--print json (the default) prints {findings, result, answer, offset_ms,
slow, model, usage}: result is the answer as an object, answer the model's own
text. --print findings prints one tab-separated row a finding, with a
header; --print answer the model's text. The whole answer is always
written to /tmp/watch/<job>.json, to cut with jq.
Watching takes a while: a three-minute video one to two minutes. A command
waits up to 80 seconds, then prints `watch wait JOB_ID`; run that until the
answer comes. Nothing is watched or billed twice.
vision is the still-image counterpart; youtube describe the fixed
description of a public YouTube video; listen the soundtrack as measured
time series.
COSTS
Billed by the model's tokens. The default reads about 300 a second of
video, under a cent a minute (--slow N reads N times as many); the answer's tokens are most of the rest, a
few cents for a long list of findings. The same file, question and
settings again is a cached answer, free.