Google
VEO 3.1 Official Video Generation
Official VEO 3.1 video generation with duration, audio control, and image-guided modes
POST
VEO 3.1 Official Video Generation
Generate videos with the official VEO 3.1 model family through one async API. The generation models support text-to-video, image-to-video, first/last-frame video, and three-image reference generation depending on the selected model and input.Available Models
- veo3.1-fast-official - Fast official generation with
4,6, or8second duration options - veo3.1-lite-official - Lightweight official generation with lower per-second pricing
- veo3.1-quality-official - Higher-quality official generation with 4K support
Input Modes
- No
image_urls: text-to-video - One image: image-to-video
- Two images: first/last-frame video. The first image is the start frame and the second image is the end frame
- Three images: reference generation. Use
generation_type: "reference"andduration: 8 veo3.1-lite-officialsupports at most two images and does not supportgeneration_type: "reference"
Parameters
- model: Required model identifier. Use
veo3.1-fast-official,veo3.1-lite-official, orveo3.1-quality-official - prompt: Required text prompt for video generation, up to
1000characters - image_urls: Optional image URL array. Supports up to
3public image URLs - generation_type: Optional
frameorreference. If omitted, the mode is inferred fromimage_urls - duration:
4,6, or8. Default is8. Reference generation andveo3.1-lite-officialwithresolution: "1080p"support8only - aspect_ratio:
16:9or9:16.autois also supported for one-image and two-image workflows. Default is16:9 - resolution:
720p,1080p, or4k. Default is1080p.veo3.1-lite-officialdoes not support4k - sound: Boolean audio switch. Default is
true; setfalsefor silent output - callback_url: Optional webhook URL for completion or failure notifications
Pricing
Pricing is charged per generated second and varies by model, resolution, and whether audio is generated. See the model page for the current credit table.Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Body
application/json
VEO 3.1 official model identifier
Available options:
veo3.1-fast-official, veo3.1-lite-official, veo3.1-quality-official Example:
"veo3.1-fast-official"
Input parameters for generation
Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"