Query Video Generation Task
The Doubao video query task API allows you to query the current status, progress, and final results of a video generation task.Endpoint
GET /v1/video/generations/{id}
Authentication
All requests require a Bearer token in the Authorization header:Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The unique identifier of the video generation task |
Request Example
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| model | string | Model name and version used for the task |
| status | string | Task status: submitted, processing, succeeded, failed |
| created_at | string | Task creation timestamp |
| updated_at | string | Task update timestamp |
| content | object | Task result content |
| content.video_url | string | Generated video URL |
| usage | object | Usage information |
| usage.completion_tokens | integer | Completion token count |
| usage.total_tokens | integer | Total token count |
| error | object | Error information (only returned on failure) |
| error.code | string | Error code |
| error.message | string | Error description |
Response Examples
Success Example
Failure Example
Status Description
| Status | Description |
|---|---|
| submitted | Task has been submitted |
| processing | Task is being processed |
| succeeded | Task completed successfully |
| failed | Task failed |