gemini_generate_video
Generate videos from text descriptions using Google Veo, then save the output to a local assets/videos folder. Supports custom models, negative prompts, aspect ratios, and filenames.
Instructions
Generate a video with Google Veo (via Gemini API) and save to assets/videos.
This is an async operation: the tool submits the job, polls until done, then downloads the result. It can take a few minutes.
Args: prompt: Text description of the video to generate. model: Override the model id (default from GEMINI_VIDEO_MODEL / veo-3.1-generate-001). Use veo-3.1-fast-generate-preview for speed. negative_prompt: Optional description of what to avoid. aspect_ratio: "16:9" or "9:16". filename: Optional base filename (without extension).
Returns: A human-readable summary with the saved video path.
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": "gemini_generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| filename | No | ||
| aspect_ratio | No | 16:9 | |
| negative_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |