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 two images • REFERENCE_2_VIDEO — Material-to-video: based on material images (only supports Fast model and 16:9 aspect ratio) |
| Aspect Ratios | We now support both native 16:9 and 9:16 outputs, allowing you to generate horizontal or vertical videos without any extra processing. In addition, the Auto mode automatically matches the aspect ratio based on the uploaded image. |
| Languages | Google’s native support is English‑only; our multilingual prompt pre‑processing extends reliable generation to most major languages. |
| Audio Track | All videos ship with background audio by default. In < 5 % of cases Google suppresses 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"