Query Task Status
Query the status and result of an asynchronous task by task ID.
Task status flow: PENDING (queued) → RUNNING (processing) → SUCCEEDED (success) / FAILED (failure).
The initial query status is typically PENDING (queued) or RUNNING (processing). When the status becomes SUCCEEDED, the response will include the generated video URL. If the status is FAILED, check the error information and retry. If the status is CANCELED, the task has been canceled. Resubmit the task if needed. If the status is UNKNOWN, the task does not exist or the status is unknown. This may occur when the task_id does not exist or exceeds the 24-hour validity period.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Path Parameters
Task ID.
Response
Query successful. Returns the task status and result.
Unique request ID. Can be used for request tracing and issue diagnosis.
Task output information.
Output information statistics. Only counts successful results.
Error code. Only returned when the request fails.
Error message. Only returned when the request fails.