GET
https://octopusx.ai
/
v1
/
videos
/
{task_id}
Doubao Task Status Query
curl --request GET \
  --url https://octopusx.ai/v1/videos/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Doubao Task Status Query

After submitting a Doubao series task, query it via GET /v1/videos/{task_id}.
  • The query path is GET /v1/videos/{task_id}.
  • A successful response returns an OpenAI-style video object.
  • After the task is completed, the result can be read from video_url.

Method and Path

GET /v1/videos/{task_id}

Request Example

curl https://octopusx.ai/v1/videos/video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

{
  "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"
}

Authentication

Authorization: Bearer YOUR_API_KEY

Path Parameters

task_id
string
required
Task ID, consistent with the id returned by the generation endpoint.

Response

id
string
Task ID.
object
string
Fixed as video.
model
string
Model name.
status
string
Task status. Possible values include processing, failed, and completed.
progress
integer
Progress percentage (0-100).
created_at
integer
Creation time (Unix timestamp).
completed_at
integer
Completion time (Unix timestamp), returned only when the task is completed or failed.
expires_at
integer
Expiration time (Unix timestamp).
seconds
string
Video duration (seconds).
size
string
Video dimensions, for example 720x720.
video_url
string
Video download URL, returned only when the status is completed.
remixed_from_video_id
string
Source video ID for remixing, if any.
error
object
Error information, returned only when the status is failed.
error.message
string
Error message.
error.code
string
Error code.