gflow_generate_video
Generate videos from text, images, or saved character references using Google Flow's Veo model. Choose aspect ratio, model, duration, and batch count, then return the local video file path.
Instructions
Generate a video using Google Flow's Veo model. Modes: t2v (text-to-video), i2v (image-to-video), r2v (reference-to-video). Aspects: 9:16, 16:9. Optional model (veo_lite/veo_fast/veo_quality/omni_flash), duration (seconds), and count select the Veo model, clip length, and batch size (CLI parity). The prompt supports @CharacterName mentions to tag saved project characters by name (resolves to referenceEntities). Reference a SAVED character via @Name; pass one-off ingredient images via reference_images. See docs/REFERENCE_STRATEGIES.md. Optional ui_mode ('classic'/'auto') verifies the classic editor pre-submit and aborts before spending credits if unreachable; 'agentic' is not supported for video. Returns the local file path to the generated video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | t2v | |
| wait | No | true (default): run the generation inside this call and return the finished result. The call stays open for the whole generation, minutes for a video, which can outlast an MCP client's tool timeout; raise that timeout for generation calls. false: only enqueue the job and return {status: 'pending', task_id} at once; the SEP-2663 Tasks extension's tasks/get reads its state by task_id. No gflow command runs the queue worker today, so a wait=false job is never generated: tasks/get reports it as 'working' indefinitely, and tasks/cancel clears it. Use the default. | |
| count | No | ||
| model | No | ||
| tools | No | ||
| aspect | No | 9:16 | |
| output | No | ||
| prompt | Yes | ||
| profile | No | default | |
| project | No | ||
| ui_mode | No | ||
| duration | No | ||
| end_frame | No | ||
| resolution | No | ||
| project_name | No | ||
| initial_frame | No | ||
| reference_images | No | ||
| reference_entities | No | ||
| reference_entity_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||