generate_video
Start an asynchronous video generation job with Google Veo. Submit a text prompt or an image URL, receive a video ID, then poll until completion to retrieve the MP4 URL.
Instructions
Start an ASYNCHRONOUS video generation job with Google's Veo models. Returns a video_id immediately — poll it with the get_video tool every ~10s until status is 'completed', which yields the final MP4 URL. Optionally pass image_url to animate a still image (image-to-video). Models and cost: 'veo-3.1' (flagship quality with native audio, $0.40 per second of video, default) and 'veo-3.1-lite' ($0.05 per second — use for drafts and iterations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Resolution / orientation: 1280x720 landscape, 720x1280 portrait. Optional. | |
| model | No | Video model. Default veo-3.1 (use veo-3.1-lite for cheap drafts). | |
| prompt | Yes | What to generate. Describe subject, motion, camera work (pan/zoom/tracking), and mood. | |
| seconds | No | Clip duration in seconds. Default 4. | |
| image_url | No | Optional reference image URL (e.g. from generate_image) to animate — image-to-video. |