Documentation Index
Fetch the complete documentation index at: https://docs.globalaiopc.com/llms.txt
Use this file to discover all available pages before exploring further.
Videos Query Video Task
Use the task ID to query the status and result of a Videos video generation task.
Authentication
All requests require a Bearer token in the request header:
Authorization: Bearer {{key}}
Path Parameters
Unique identifier of the video generation task, returned by the create task API.The create API returns this value as projectId. Use that value as the id here.
Response Parameters
Unique identifier of the video generation task.
Object type, always video.
Model name used for generation.
Task status:
queued - Queued
processing - Processing
completed - Completed
failed - Failed
Generated video URL, returned when the task is completed.
Actual output duration in seconds, returned when the task is completed.
Error message, returned when the task is failed.
Status Flow
queued
The task has been created and added to the queue.
processing
The Videos model is actively generating the video.
completed
The task has completed successfully and the result is available through video_url.
Polling Recommendations
Polling Strategy:
- Recommended polling interval: 30-60 seconds
- Most tasks complete within a few minutes, but complex reference-heavy scenarios may take longer
- Avoid aggressive polling to reduce the risk of rate limiting
- Stop polling when the status becomes
completed or failed
Result Notes
Important:
- Generated result URLs are usually temporary, so save them promptly
- Tasks with many reference materials may take longer to complete
- Invalid prompts or unsupported reference materials may cause task failure
curl --request GET \
--url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/proj_1234567890 \
--header 'Authorization: Bearer {{key}}'
{
"id": "proj_1234567890",
"object": "video",
"created": 1761635478,
"model": "videos",
"status": "processing",
"video_url": null,
"error": null
}