Generate video
flow_generate_videoGenerate AI video clips from prompts and character/image references for consistent characters; select model, duration, resolution, and verify credit costs with dry-run quote checks.
Instructions
Generate video clips through Flow's composer. character_ids / image_ids become ingredients (characters stay consistent). Choose a model by model_key or by family + duration_sec + resolution (Omni supports 360p/720p and 4-10s). SPENDS CREDITS: Flow's own quote is checked against max_credits first; dry_run=true returns the quote only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Block until the clips finish (up to 10 min). | |
| count | No | ||
| aspect | No | 9:16 | |
| family | No | "omni" (default), "Veo 3.1 - Lite", "Veo 3.1 - Fast", "Veo 3.1 - Quality". | |
| prompt | Yes | ||
| dry_run | No | ||
| image_ids | No | Reference image media ids. | |
| model_key | No | Exact key from flow_list_models. | |
| project_id | Yes | Flow project id (from flow_list_projects). | |
| resolution | No | Omni only. 360p is the cheapest draft (default). | |
| max_credits | No | Refuse if Flow's quote exceeds this (default 20). | |
| duration_sec | No | Omni: 4, 6, 8 or 10 (default 4). | |
| character_ids | No | Character ids (or names) to feature. | |
| add_to_scene_id | No | Append finished clips to this scene (implies wait). |