Generate Video with Google Flow
flow_generate_videoStarts a Google Flow video generation job with an optional input image and returns a job ID promptly without blocking; poll job status until the video is done.
Instructions
Start a Google Flow video generation job (defaults to Veo, 5-15s) with an optional input image and return a jobId promptly without blocking. Use when the user asks to generate a new video, then poll flow_job_status until done.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "flow_generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of video variations to generate (1-4). | |
| model | No | Google Flow video model. Defaults to 'veo' (selects the best Veo / Flow video model available). | veo |
| prompt | Yes | Detailed video prompt describing subject, motion, setting, lighting, camera movement, and mood. | |
| outputs | No | Deprecated alias for count. | |
| upscale | No | Optional explicit Flow upscale override. | none |
| duration | No | Requested video duration in seconds (5-15s). Omit to use the model default. | |
| fileName | No | Optional safe filename stem; job ID prefix and video extension are appended automatically. | |
| accountId | No | Optional user-defined local account ID (e.g. 'default' or 'work'). Omit to use the active default account. | |
| outputDir | No | Absolute directory path where output files are saved (e.g. project .tmp). Omit to save inside the plugin data directory. | |
| inputImage | No | Optional absolute path to an input/starting image to animate into video. | |
| resolution | No | Target video resolution: 720p (native), 1080p, or 4k (triggers Flow upscale when supported). | 720p |
| aspectRatio | No | Output aspect ratio: 16:9 (landscape), 9:16 (portrait), 1:1 (square), 4:3, 3:4, or ui-default. | 16:9 |
| flowProject | No | Optional Google Flow project name to reuse or open. | |
| referenceFiles | No | Optional list of absolute paths to existing local images/videos used as reference frames or ingredients. | |
| durationSeconds | No | Deprecated alias for duration. | |
| outputDirectory | No | Deprecated alias for outputDir. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Human-readable failure summary when failed. | |
| files | Yes | Saved output files with absolute paths and metadata. | |
| jobId | Yes | Unique job UUID to poll with flow_job_status. | |
| model | No | Requested model ID. | |
| status | Yes | Normalized job status. | |
| progress | Yes | Estimated completion percentage (0-100). | |
| accountId | Yes | Local account ID used for the job. | |
| errorCode | No | Machine-readable error code when failed. | |
| mediaType | Yes | Generated media type. | |
| aspectRatio | No | Requested aspect ratio. | |
| detailStatus | Yes | Detailed internal pipeline state. |