Returns the current status of a task and the final result when available.
Authorization header:
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | The task_id returned by the create task endpoint |
| Field | Type | Description |
|---|---|---|
task_id | string | Unique task identifier |
status | string | Current task status |
model | string | Model used for generation |
created_at | string | Task creation time in ISO 8601 format |
updated_at | string | Last task update time in ISO 8601 format |
credits_cost | number | Credits charged for this task |
result | object | null | Final result payload. May be null while the task is still in progress |
result Fields| Field | Type | Description |
|---|---|---|
video_url | string | null | Output video URL when the task succeeds |
error_message | string | null | Error message when the task fails |
finished_at | string | null | Task completion time in ISO 8601 format |
result may be null while the task is still in progressdata.result.video_urldata.result.error_messagecode != 200 indicates the request failedmessage contains the specific error reason, such as invalid parameters, authentication failure, or task lookup failureBearer authentication header of the form Bearer <token>, where <token> is your auth token.
The task_id returned by the create task endpoint