Create a new video generation task using the Veo3 AI model.
enableFallback)| Property | Type | Default |
|---|---|---|
enableFallback | boolean | false |
enableFallback: trueinstructs the platform to reroute eligible failures to the secondary Veo 3 backend, raising completion rates for edge cases.
enableFallbackleft atfalse(default), the errors above surface as HTTP422responses and no additional credits are consumed.
enableFallback parameter, you can enable intelligent fallback functionality. When the primary model encounters specific errors, the system will automatically switch to a backup model to continue generation, improving task success rates.
Fallback Features:
enableFallback: true, aspect ratio 16:9, and encounter specific errorsAll 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, only 1 image supported for now).
["http://example.com/image1.jpg"]
Select the model type to use.
veo3, veo3_fast "veo3"
Watermark text.
"MyBrand"
Video aspect ratio. Specifies the dimension ratio of the generated video. Available options:
Default value is 16:9.
16:9, 9:16 "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.
📖 Detailed Callback Mechanism: See Video Generation Callbacks for callback format, status codes, best practices, and troubleshooting.
"http://your-callback-url.com/complete"
Enable fallback mechanism (default: false).
false
Request successful
Response status code
200 - Success - Request has been processed successfully
400 - 1080P is processing. It should be ready in 1-2 minutes. Please check back shortly.
401 - Unauthorized - Authentication credentials are missing or invalid
402 - Insufficient Credits - Account does not have enough credits to perform the operation
404 - Not Found - The requested resource or endpoint does not exist
422 - Validation Error - The request parameters failed validation checks, or Your request was rejected by Flow(Your request was rejected by Flow.). You may consider using our other fallback channels, which are likely to succeed. Please refer to the documentation.
429 - Rate Limited - Request limit has been exceeded for this resource
455 - Service Unavailable - System is currently undergoing maintenance
500 - Server Error - An unexpected error occurred while processing the request
501 - Generation Failed - Video generation task failed
505 - Feature Disabled - The requested feature is currently disabled
200, 400, 401, 402, 404, 422, 429, 455, 500, 501, 505 Error message when code != 200
"success"