Query the execution status and results of Veo3.1 video generation tasks.
Status Descriptions
- 0: Generating - Task is currently being processed
- 1: Success - Task completed successfully
- 2: Failed - Task generation failed
- 3: Generation Failed - Task created successfully but generation failed
Important Notes
- Query task status in real-time using taskId
- Recommend periodic polling until task completion
- Response includes
fallbackFlagfield indicating whether fallback model was used
Response Field Description
Whether generated using fallback model.
true means backup model was used, false means primary model was usedFallback Status Identification
ThefallbackFlag field can identify whether the task used a fallback model:
true: Generated using fallback model, video resolution is 720pfalse: Generated using primary model, may support 1080P (16:9 aspect ratio)
Videos generated using the fallback model cannot be upgraded to high-definition versions through the Get 1080P Video interface.
Authorizations
All APIs require authentication via Bearer Token.
Get API Key:
- Visit API Key Management Page to get your API Key
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Query Parameters
Task ID
Response
Request successful
Response status code
- 200: Success - Request has been processed successfully
- 400: Your prompt was flagged by Website as violating content policies. Only English prompts are supported at this time. Failed to fetch the image. Kindly verify any access limits set by you or your service provider. public error unsafe image upload.
- 401: Unauthorized - Authentication credentials are missing or invalid
- 404: Not Found - The requested resource or endpoint does not exist
- 422: Validation Error - The request parameters failed validation checks. record is null. Temporarily supports records within 14 days. record result data is blank. record status is not success. record result data not exist. record result data is empty.
- 451: Failed to fetch the image. Kindly verify any access limits set by you or your service provider.
- 455: Service Unavailable - System is currently undergoing maintenance
- 500: Server Error - An unexpected error occurred while processing the request. Timeout Internal Error, Please try again later.
Available options:
200, 400, 401, 404, 422, 451, 455, 500 Error message when code != 200
Example:
"success"
