OpenAI Format

Vidu Task Status Query

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

GEThttps://zx1.deepwl.net/v1/videos/{task_id}
Request
curl https://zx1.deepwl.net/v1/videos/video_123 \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "id": "video_123",
  "object": "video",
  "model": "viduq3-pro",
  "status": "processing",
  "progress": 50,
  "created_at": 1712697600,
  "size": "1024x1808",
  "seconds": "5",
  "quality": "standard"
}

After submitting a Vidu series task, use this endpoint to query its status and result. A successful response returns an OpenAI-style video object; after the task is completed, you can read the result from video_url.

Request Headers

Authorizationstring必填

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

Query Parameters

task_idstring必填

Task ID, which is the same as the id returned by the generation API.

Request Examples

Response Examples

Response Fields

idstring

Task ID.

objectstring

Always video.

modelstring

Model name.

statusstring

Task status. Possible values include processing (processing), failed (failed), and completed (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.

sizestring

Video size, for example 1024x1808.

secondsstring

Video duration (seconds).

qualitystring

Video quality, for example standard.

video_urlstring

Video download URL, returned only in the completed status.

errorobject

Error information, returned only in the failed status.

messagestring

Error message.

codestring

Error code.