Poll the status of an async video generation task. task_id is a path parameter, not a query string.
POST /apis/v1/services/aigc/video-generation/video-synthesis. The task_id goes in the path, not the query string.
output.task_status to tell states apart:
task_status | Meaning |
|---|---|
PENDING | Accepted, queued |
RUNNING | Actively generating |
SUCCEEDED | Done — output.video_url is populated (short-lived, download ASAP) |
FAILED | Failed — output.code and output.message explain why. Failed tasks are not billed. |
CANCELED | Cancelled |
UNKNOWN | The provided task_id isn’t recognised (or expired) |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Task ID returned by the video-synthesis create call. Unknown IDs return task_status: "UNKNOWN" (HTTP 200).