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.
// Guidance handed to the calling model through flow_status, so it plans scenes that Flow can actually run.
export const PLAYBOOK = {
workflow: [
"Call flow_status first. If it returns a hint, relay it to the user and stop.",
"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: 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.",
],
models: {
"Omni 1.2 Flash": "Flow's default video model since 2026-11-21: better character and scene consistency, fewer jump cuts. Any length from 3 to 15 s. 720p costs 3 credits a second up to 10 s, then 6 a second (4 s = 12, 8 s = 24, 10 s = 30, 15 s = 60); 360p costs a third of that (10 s = 10, 15 s = 20). Size each clip to its words: past 10 s every second costs double. A 10 s clip is above the default max_credits of 25, so raise it (with the user's OK) or use 360p for drafts.",
"Veo 3.1 - Lite": "10 credits, fixed 8s.",
"Nano Banana (newest, 2.1 today)": "Images, 0 credits; picked automatically for images. Use it to make keyframes and product stills before spending on video. Pro and 2 Lite are also 0 credits, when named.",
},
prompt_order: "subject and action -> shot size and camera move -> location -> visual style -> lighting -> sound/dialogue",
prompt_rules: [
"Write prompts in English, one continuous shot per scene, one camera move per scene.",
"Name the camera behaviour explicitly (static locked-off, slow push-in, orbit, crane up, handheld).",
"Repeat the full description of a recurring character or product in every scene; Flow has no memory between scenes.",
"Put spoken lines in quotes and say who speaks; keep a line short enough for the clip length.",
"Put every spoken line INSIDE the second-by-second timeline, at the moment it is said, and spell out its order against the actions ('0.0-1.2 s: she says \"Watch this.\" with her hands still; 1.2-2.5 s: only after saying it, she taps the lamp'). A separate DIALOGUE block lets the model choose the order, and it did: she tapped the lamp first, then said \"Watch this.\"",
"Decide how clips join before writing them: continue from the previous clip's last frame (one continuous take: she must move into each new position on screen) or a deliberate jump cut to a new setup. Say which to the user; an unexplained new position looks like a mistake.",
"For 9:16 social video set aspect_ratio on every scene.",
"Give every clip ONE specific action with a beginning and an end (a switch clicked off, one leap, one decisive pull), with the character's face in frame. A continuous activity ('working a knot', 'wandering') makes the model loop aimless fidgeting for the whole clip.",
"A sip through a CLEAR straw comes back with the straw empty: the model never moves liquid up it, and viewers notice. Give the drink an opaque straw (a matte paper or solid-coloured straw) so nothing has to be seen rising, or have the person drink from the rim. State it in the prompt AND the still, and look at the straw frame by frame before showing the clip.",
"Never have a product turned end over end or upside down and back (a bottle, can, phone, tube). Halfway through the turn the model loses which end is which and the cap jumps to the other end: a KOVA bottle flipped for a leak test came back with its lid on the wrong side. Keep the product's orientation fixed ('the lid stays at the top in every frame') and show the claim another way.",
"Characters for video should be DRAWN from a description (flow_character with `describe`). A character made from an uploaded photo of a real-looking person can make stills, but Flow may refuse every video with it as possibly a prominent real person.",
"Never name an object you do not want in the picture, even to rule it out: \"she is never holding the phone\" put a second iPhone on a stand in the corner of a whole clip. Describe the camera instead (\"a fixed camera at her eye level, about 70 cm away\").",
"UGC talking clips that must match each other: a phone propped on a stand or the counter, the same position and framing in every clip, the same still as reference. Omni does not keep a hand-held selfie consistent from clip to clip. Make the person lively with their body (leaning on the counter, a weight shift, a head tilt, a shrug), not with camera sway.",
"UGC product ads: the person only talks and holds the product still near the lens (hands are where video models break). Show the proof or demo as its own short hands-free product shot in the same place (e.g. the bottle standing upside down on its lid on the laptop), cut in between two talking clips; the cutaway hides the join, as in real UGC.",
"Before showing a clip, check EVERY moment of its motion (8 frames a second through each move), not just the first and last frame. Morphs happen mid-move.",
"A spoken line that refers to something (\"Downhill!\", \"Look at the sea\", \"It's falling\") must have a matching PICTURE instruction at the same second that makes it visible, written from the camera's side (\"behind them the street climbs steeply, so we see they are rolling down a steep slope\"). The model never infers the scene from the dialogue: Lia shouted \"Downhill!\" on a flat street.",
"Never ask for a turn ('take the left', 'turns into the side street') in a shot where the camera travels ahead of or beside the subject: Omni shows it as the subject sliding sideways in frame, which reads as nonsense. Keep the subject going straight and change the PLACE around them instead, or cut. Describe that change as something they ride THROUGH (the walls beside them end, light floods in, the road widens onto the seafront): \"at 7 s the alley opens out with the bay behind them\" came back as a hard jump cut from the alley to the seafront, and so did \"from 6 s they ride out as the walls end and sunlight floods over them, into a small square\" (cut at 7.9 s). A new place given a TIME mid-clip comes back as a cut. What worked: naming the new place from the clip's first second with no time (\"the lane levels out into a small morning market\"), which grew in around them with no cut. Or trim the take at the cut.",
],
story_pitches: [
"The film has to hook someone who is scrolling. Open in the middle of danger, a chase or an impossible image, never on a character standing still, waking up or looking around. The first two seconds decide whether anyone watches the rest.",
"Pitch three ideas in different genres - a chase, a heist, an escape, a stunt gone wrong, a race against a clock - never three versions of one idea.",
"Stakes the viewer gets instantly with no explanation: something is chasing them, a clock is running out, they are about to fall, something precious is about to break.",
"Three clips, three escalations: each clip ends on a cliffhanger that the next one resolves and tops, and the last one lands a twist, a reversal or a punchline nobody saw coming.",
"Every clip has one clear action the video model renders well: people walking, running or riding straight, talking, reaching, hugging, a door opening, the light or the weather changing. Spell out what happens second by second.",
"Never build a beat on what video models break: many small moving pieces (confetti, sparks, splashes, smashing crates, flying debris), crowds reacting, anything thrown, falling or caught, objects appearing, props passing between hands, vehicles turning, or text. Check every pitch line by line against this list before showing it (the user, 2026-11-05: 'you are adding details that are hard for the video to make').",
"Ground the story in real people and a situation the viewer recognises. The turn comes from what the characters say or reveal, not from a gimmick premise or a physics stunt: high-concept setups (lasers that are art, a bomb that is a proposal) read as weird, not exciting.",
"Never pitch gentle or wonder-led shorts: discovering something magical, chasing lights, watching a sunset, a quiet friendship, a robot finding a flower. If nothing dangerous or surprising happens, it is the wrong pitch.",
"Design for Flow: one continuous location (each clip starts on the last frame of the one before), the same character throughout, no lip-synced dialogue (the narration carries the words).",
"For each pitch give: the logline, the opening image, the three beats, the ending, and one sentence on why it hooks. Then let the user pick and generate nothing until they have.",
],
continuity: [
"chain_previous: true starts a scene on the last frame of the scene before it, giving one continuous take across clips.",
"first_frame + last_frame makes Flow animate between two stills; generate both stills as free images first for controlled transitions.",
"reference_images (max 3) keep a product or person consistent without fixing the first frame.",
"flow_extend lengthens a clip in place with Flow's own Extend: 3 to 10 s at a time, seamless, into the same clip, so call it again on the same title for a longer single shot (generate a 10 s first segment, then extend it 10 s at a time). Write each extension as what happens next: 'Continue the scene seamlessly for 10 seconds. <who does what, spoken lines in quotes at their moment>. Keep the same style, character design and lighting.' The tool adds the opening and the keep-the-same line if missing. One clear beat per extension, and say what the camera does.",
],
};