OpenAI Format

Doubao Task Status Query

Use `GET /v1/videos/{task_id}` to query Doubao video task status and results.

GEThttps://zx1.deepwl.net/v1/videos/{task_id}
Request
curl https://zx1.deepwl.net/v1/videos/video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2 \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "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"
}

After submitting a Doubao series task, query it via 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.

Request Headers

Authorizationstring必填

Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.

Query Parameters

task_idstring必填

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

Request Examples

Response Examples

Response Fields

idstring

Task ID.

objectstring

Fixed as video.

modelstring

Model name.

statusstring

Task status. Possible values include processing, failed, and completed.

progressinteger

Progress percentage (0-100).

created_atinteger

Creation time (Unix timestamp).

completed_atinteger

Completion time (Unix timestamp), returned only when the task is completed or failed.

expires_atinteger

Expiration time (Unix timestamp).

secondsstring

Video duration (seconds).

sizestring

Video dimensions, for example 720x720.

video_urlstring

Video download URL, returned only when the status is completed.

remixed_from_video_idstring

Source video ID for remixing, if any.

errorobject

Error information, returned only when the status is failed.

messagestring

Error message.

codestring

Error code.