Drive Google Flow from Claude, Codex or a local control panel, on Mac or Windows — using your Google AI subscription credits instead of the pay-per-use video API. No browser extension.
Captions: check the words with the user before making the video
GTAI-19975ad891292
diff --git a/src/index.ts b/src/index.tsindex 57fc37a..e90c426 100644--- a/src/index.ts+++ b/src/index.ts@@ -312,7 +312,7 @@ server.registerTool({title: "Add captions to a video",description:- "Burn spoken-word captions into a video, in the style short-form apps use, for landscape or vertical footage (local and free: whisper.cpp hears the words on this computer, nothing is uploaded). Styles: bold (big capitals, the spoken word lights up), highlight, reveal, clean, boxed. Works in about 100 languages, including ones written without spaces (Japanese, Chinese, Thai) and right to left (Arabic, Hebrew); pass `language` (en, es, tr, ja...) whenever you know it. The first call downloads a speech model once: 148 MB for English, 574 MB for other languages. Saves <name>-captions.mp4 plus an .srt, and returns the transcript: if a word was misheard, call again with the corrected `text` - matching words keep their timing.",+ "Burn spoken-word captions into a video, in the style short-form apps use, for landscape or vertical footage (local and free: whisper.cpp hears the words on this computer, nothing is uploaded). Styles: bold (big capitals, the spoken word lights up), highlight, reveal, clean, boxed. Works in about 100 languages, including ones written without spaces (Japanese, Chinese, Thai) and right to left (Arabic, Hebrew); pass `language` (en, es, tr, ja...) whenever you know it. The first call downloads a speech model once: 148 MB for English, 574 MB for other languages. Saves <name>-captions.mp4 plus an .srt. Before calling this, call flow_transcribe, show the user the words with any likely mishearings fixed, and get their OK: then pass the agreed words as `text` (matching words keep their timing), so the video is made once, right.",inputSchema: shapes.captions,annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },},diff --git a/src/playbook.ts b/src/playbook.tsindex 0394488..fe149a2 100644--- a/src/playbook.ts+++ b/src/playbook.ts@@ -5,7 +5,7 @@ export const PLAYBOOK = {"Plan the whole piece as scenes of one shot each, then send them in ONE flow_generate call so file numbering and chaining work.","Tell the user the expected credit total before queueing anything that costs credits.","Call flow_wait repeatedly until finished is true; scenes run one at a time with 25-70 s pauses.",- "To put the spoken words on screen, call flow_captions on the finished film (style bold for short-form, clean for subtitles), with `language` set to the language spoken. Read the transcript it returns; if a word is misheard, call again with the corrected text.",+ "To put the spoken words on screen: FIRST call flow_transcribe on the film (with `language`), show the user the words, flag anything that looks misheard (names especially, and words run together), propose the fixes, and wait for the user to confirm or correct them. Only then call flow_captions once, passing the agreed words as `text` (style bold for short-form, clean for subtitles).","If an image batch finishes with \"still failed: scene ...\" in its note, call flow_retry with its job id: only those images are made again, under their own scene numbers.","No call blocks for more than about 45 s. A reply with still_working and a task_id means Flow is still busy with it: pass the task_id to flow_wait, and never repeat the call.",],