Create a new video generation task using the Veo3.1 AI model.
| Capability | Details |
|---|---|
| Models | • Veo 3.1 Quality — flagship model, highest fidelity • Veo 3.1 Fast — cost-efficient variant that still delivers strong visual results |
| Tasks | • Text → Video • Image → Video (single reference frame or first and last frames) • Material → Video (based on material images) |
| Generation Modes | • TEXT_2_VIDEO — Text-to-video: using text prompts only • FIRST_AND_LAST_FRAMES_2_VIDEO — First and last frames to video: generate transition videos using one or two images • REFERENCE_2_VIDEO — Material-to-video: based on material images (Fast model only, supports 16:9 & 9:16) |
| Aspect Ratios | Supports both native 16:9 and 9:16 outputs. Auto mode lets the system decide aspect ratio based on input materials and internal strategy (for production control, we recommend explicitly setting aspect_ratio). |
| Output Quality | Both 16:9 and 9:16 support 1080P and 4K outputs. 4K requires extra credits (approximately 2× the credits of generating a Fast mode video) and is requested via a separate 4K endpoint. |
| Audio Track | All videos ship with background audio by default. In rare cases, upstream may suppress audio when the scene is deemed sensitive (e.g. minors). |
All APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Text prompt describing the desired video content. Required for all generation modes.
"A dog playing in a park"
Image URL list (used in image-to-video mode). Supports 1 or 2 images:
[
"http://example.com/image1.jpg",
"http://example.com/image2.jpg"
]Select the model type to use.
veo3, veo3_fast "veo3_fast"
Video generation mode (optional). Specifies different video generation approaches:
Important Notes:
TEXT_2_VIDEO, FIRST_AND_LAST_FRAMES_2_VIDEO, REFERENCE_2_VIDEO "TEXT_2_VIDEO"
Video aspect ratio. Specifies the dimension ratio of the generated video. Available options:
Default value is 16:9.
16:9, 9:16, Auto "16:9"
(Optional) Random seed parameter to control the randomness of the generated content. Value range: 10000-99999. The same seed will generate similar video content, different seeds will generate different content. If not provided, the system will assign one automatically.
10000 <= x <= 9999912345
Completion callback URL for receiving video generation status updates.
"http://your-callback-url.com/complete"
Deprecated Enable fallback functionality. When set to true, if the official Veo3.1 video generation service is unavailable or encounters exceptions, the system will automatically switch to a backup model for video generation to ensure task continuity and reliability. Default value is false.
Note: This parameter is deprecated. Please remove this parameter from your requests. The system has automatically optimized the content review mechanism without requiring manual fallback configuration.
false
Enable prompt translation to English. When set to true, the system will automatically translate prompts to English before video generation for better generation results. Default value is true.
true
Watermark text.
"MyBrand"
Request successful
Response status code
200, 400, 401, 402, 404, 422, 429, 455, 500, 501, 505 Error message when code != 200
"success"