generate_video
Generate Amazon listing videos from text, images, or reference frames with Google Veo 3.1, and extend existing videos. Handles resumable background rendering and Amazon compliance.
Instructions
Catalog entry. Runs in your Kuudo deployment, not here. Generate video with Google Veo 3.1 from text, a first image, first/last frames, up to three reference images, or a Veo-generated video to extend. Inputs are bounded handles or http(s) URLs, never inline data; references, extensions, and 1080p/4k output require an 8-second request. Before planning or generating video, read the canonical skill://amazon-video/SKILL.md resource. It covers mode and model selection, prompt craft, recovery, and the additional compliance workflow for Amazon listing videos. Renders take 11 s to several minutes. Task-capable clients run this in the background; other clients receive pending and resume with get_video_status(recovery_id). Reuse the same recovery_id after a timeout. If submission is reported as unknown, do not retry under a new id because Google may already have accepted the billed request. Results are signed download URLs and agent-iris://videos/vid_N handles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | First frame: agent-iris://images/img_N, a catalog-known gemini://files/{name}, or an http(s) URL. No data URLs. | |
| model | No | veo-3.1-generate-preview (default), -fast-, or -lite-. | |
| video | No | agent-iris://videos/vid_N to extend by 7 s (Veo 3.1 / Fast only; 720p; up to 20 times; source must be recent). | |
| prompt | No | What to generate. Required for text and reference modes; optional when animating an image, interpolating between frames, or extending a video. | |
| last_frame | No | Last frame (interpolation); requires image. | |
| resolution | No | 720p, 1080p, or 4k (not on Lite). | 720p |
| recovery_id | No | Optional idempotency / resume key (8-64 chars). Defaults to task_<task_id> when run as a background task. Reuse it with get_video_status. | |
| aspect_ratio | No | 16:9 or 9:16. | 16:9 |
| enhance_prompt | No | Google SDK prompt rewriting control for the standard Veo 3.1 model. Fast and Lite accept only omitted/false. | |
| negative_prompt | No | What to avoid. Supported only by the standard Veo 3.1 model. | |
| duration_seconds | No | 4, 6, or 8. 1080p / 4k / references / extension require 8. | |
| reference_images | No | Up to 3 asset reference images (not on Lite; forces 8 s). | |
| person_generation | No | allow_all (text / extend) or allow_adult (image-driven modes). Omit to use the only legal value for the mode. |