generate_video
Create videos from text prompts using Google's Gemini AI models. Specify aspect ratio, resolution, and duration for custom video generation.
Instructions
Generate a video from a text prompt using Google's Gemini video models. This is an async operation — use video_status to poll progress and download_video to retrieve the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate. Include audio cues for sound design | |
| model | No | Model tier: lite (default/cheapest), fast, or standard (highest quality). Raw model IDs also accepted | |
| aspectRatio | No | Aspect ratio (16:9 or 9:16) | |
| resolution | No | Output resolution: 720p, 1080p, or 4k (lite supports 720p/1080p only) | |
| duration | No | Clip duration in seconds (4, 6, or 8) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | ||
| model | Yes |