gemini-video-generate
Generate videos from text descriptions using Google's Veo 3.1 model. Specify aspect ratio, resolution, and optionally provide a starting image. Returns an operation ID for status checking.
Instructions
Generate a video using Veo 3.1 (Google's video generation model).
This starts an async video generation that takes 1-5 minutes. Returns an operation ID that you can use with gemini-video-check to poll for completion.
Parameters:
prompt: Text description of the video to generate (required)
aspectRatio: Video aspect ratio ("16:9" or "9:16", default: "16:9")
resolution: Video resolution ("720p", default: "720p")
firstFrameBase64: Optional base64 PNG image to use as first frame (from gemini-image)
Workflow:
Call gemini-video-generate → returns operationId
Wait 30-60 seconds
Call gemini-video-check with operationId → returns status or video
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| aspectRatio | No | Video aspect ratio (default: 16:9) | |
| resolution | No | Video resolution (default: 720p) | |
| firstFrameBase64 | No | Optional base64 PNG image to use as first frame |