generate_video
Create durable Google Flow video jobs from a director-style prompt, compiling it into a Flow prompt and processing asynchronously; control model, style, duration, aspect ratio, and reference images.
Instructions
Create a durable Google Flow video job. The instruction is interpreted as a director brief, compiled into a Flow prompt, and processed asynchronously by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Flow generation model. Use gemini-omni-flash for a 10-second standard clip. | gemini-omni-flash |
| style | No | Optional visual style direction | |
| prompt | Yes | Director-style video instruction | |
| duration | No | Clip length. Gemini Omni Flash supports 4, 6, 8, and 10 seconds in Flow. | 8s |
| priority | No | Queue priority; never interrupts an active job | NORMAL |
| outputPath | No | Deprecated and ignored: outputs are safely organized under outputs/<job-id>/ | |
| aspectRatio | No | Frame aspect ratio — Flow offers 16:9, 4:3, 1:1, 3:4, 9:16 | 16:9 |
| qualityTarget | No | High enables future semantic-QC integrations when configured | standard |
| idempotencyKey | No | Prevents duplicate generations when an MCP client retries | |
| negativePrompt | No | Explicit visual constraints to avoid | |
| waitForCompletion | No | Wait only up to the configured bounded generation deadline; false returns the job immediately | |
| referenceImagePaths | No | Optional absolute local PNG, JPEG, or WebP file paths. Each is uploaded through Google Flow's Ingredients drawer as a visual reference; files are never inferred or scanned. |