Flow generate video

From stevehuang0115/crewly · View interactive version

Flow generate video is an AI agent skill from the GitHub repository stevehuang0115/crewly. Make a short film from AI-generated clips in Google Flow (Veo) through Crewly in Chrome. Keyframe images first, then one clip per pair of neighbouring keyframes, a judge step per clip with re-draws, and a pixel-matched stitch. Use when asked to generate video with Veo/Flow. Costs credits: agree the

How to use this skill

Skill file

Flow to Veo: keyframes, clips, judge, stitch

Order of work: keyframes -> clips -> judge each clip -> re-draw rejects -> stitch -> check seams.

Related skills: video-clip-judge (the gate after every clip), video-seamless-stitch (the join), remote-browser (drives Chrome; see also its SOP-google-flow-video.md for upload and file-input gotchas).

Needs Crewly in Chrome to be drivable and signed in to a Google account whose Flow plan includes Veo. Use that account's own Flow URL (https://flow.google.com/u/<n>/, where <n> is the browser's account index); a different signed-in account may have no Veo access or a smaller credit pool. All commands: CREWLY_SESSION_NAME=<me> bash config/skills/agent/remote-browser/execute.sh -a <action> .... Never click "Always approve": spending stays confirmed.

Budget rules

Method: keyframe-pair chain

  1. Plan the story as N+1 keyframe images for N clips. Same camera angle, distance, framing and light in every image; adjacent images differ only by about 8 s of action. Prefer one place, one subject, stable light: the further apart two keyframes are, the more the model cross-dissolves between them.
  2. Make the keyframes (free). Make frame 1 from text. Make every next frame with the previous frame attached as a reference (the "+" in the prompt bar, pick by exact title, "Add to prompt") and text such as "same person, same place, same camera position, same framing, same light as the reference; only the action changes". Look at them yourself and regenerate any that drift.
  3. Put every prop the action needs into the start keyframe. A held object that is absent from the start frame is the weak point: the model makes it appear or smear for about 0.25 s.
  4. Clip N = Start image N + End image N+1, 8 s, x1. Every clip's end is the next clip's start, so seams are real matches.
  5. Write each prompt as a transition, not a mood:

If the story needs a different shot size (a close-up), make it a separate step whose start keyframe is already that size, and accept a real cut between the two.

  1. Generate. Clips can be queued back to back; they generate in parallel (about 2.5 min for four). New items land newest-first in the grid, so the top-left tile is the last one submitted.
  2. Download each at 720p, then re-encode every clip to the same 1280x720 / 24 fps / 48 kHz AAC with loudnorm I=-20 in the same ffmpeg call (downloads are quiet, about -30 to -38 LUFS; do not use loudnorm with -c:v copy).
  3. Judge every clip with video-clip-judge. Reject and re-draw (with a revised prompt that names what went wrong) until it passes or the cap/retry limit is reached.
  4. Stitch with video-seamless-stitch, never a plain concat. Frame-step each seam as an 8 fps tile sheet.
  5. Report honestly: draws per clip, what was rejected and why, credits used, remaining flaws, and whether anyone listened to the sound (loudness measured is not the same as listened).

Browser mechanics (Flow UI, verified Oct 2026; selectors can change)

Gotchas learned

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.