##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEY
"veo-3.1-fast-generate-preview"
Prompt describing the video, max 2000 tokens
2000"A cat playing piano"
Reference image URLs, max 3 images (FIRST&LAST mode supports 1-2, REFERENCE mode supports up to 3), max 10MB each
3Generation mode:
TEXT: Text-to-videoFIRST&LAST: First-last frame, 1-2 imagesREFERENCE: Reference image, max 3 images, duration fixed at 8s, aspect ratio fixed at 16:9, except generate_audio, other advanced params not supportedTEXT, FIRST&LAST, REFERENCE Aspect ratio, default 16:9
16:9, 9:16 Generate audio (extra cost), default true
Duration (seconds), default 4
4, 6, 8 Number of videos, default 1
1 <= x <= 4Resolution, default 720p
720p, 1080p, 4k 1 <= x <= 4294967295Person generation control, default allow_adult
allow_adult, dont_allow Resize mode (I2V only), default pad
pad, crop