Theme
Doubao task status query
Query Doubao video task status and results.
http
GET /v1/videos/video_abc123Headers
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Request authentication. Use a Bearer Token, for example: . |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Task ID. Same as the returned by the generation endpoint. |
Request example
bash
curl https://octopusx.ai/v1/videos/video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2 \
-H "Authorization: Bearer <token>"Response example
json
{
"id": "video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2",
"object": "video",
"model": "doubao-seedance-1-5-pro_720p",
"status": "processing",
"progress": 50,
"created_at": 1761635478,
"seconds": "5",
"size": "720x720"
}json
{
"id": "video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2",
"object": "video",
"model": "doubao-seedance-1-5-pro_720p",
"status": "completed",
"progress": 100,
"created_at": 1761635478,
"completed_at": 1761635600,
"expires_at": 1761722000,
"seconds": "5",
"size": "720x720",
"video_url": "https://example.com/video/output.mp4"
}json
{
"id": "video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2",
"object": "video",
"model": "doubao-seedance-1-5-pro_720p",
"status": "failed",
"progress": 0,
"created_at": 1761635478,
"completed_at": 1761635500,
"expires_at": 1761721900,
"seconds": "5",
"size": "720x720",
"error": {
"message": "Generation failed, please retry",
"code": "GENERATION_FAILED"
}
}Response fields
| Name | Type | Description |
|---|---|---|
| string | Task ID. | |
| string | Always . | |
| string | Model name. | |
| string | Task status. Options: (processing), (failed), (completed). | |
| integer | Progress percentage (0-100). | |
| integer | Creation time (Unix timestamp). | |
| integer | Completion time (Unix timestamp). Returned only when the task completes or fails. | |
| integer | Expiration time (Unix timestamp). | |
| string | Video duration in seconds. | |
| string | Video size, for example . | |
| string | Video download URL. Returned only when . | |
| string | Source video ID for remix (if any). | |
| object | Error info. Returned only when . | |
| string | Error message, nested under . | |
| string | Error code, nested under . |