Query the status and results of a Doubao video generation task
GET /v1/video/generations/{id}
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The unique identifier of the video generation task |
| 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 |
| Status | Description |
|---|---|
| submitted | Task has been submitted |
| processing | Task is being processed |
| succeeded | Task completed successfully |
| failed | Task failed |