Unified Video

Query Task

Use `GET /v1/video/query` to query the status and result of a Vidu unified video task.

GEThttps://zx1.deepwl.net/v1/video/query
Request
curl "https://zx1.deepwl.net/v1/video/query?id=48038932-0ff5-4251-8b4b-7a76c09fd114" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "id": "48038932-0ff5-4251-8b4b-7a76c09fd114",
  "status": "processing",
  "progress": 50,
  "created_at": 1774494511
}

After a Vidu unified video task is submitted, use this endpoint to query its progress and result. The query parameter uses id, whose value is the task ID returned by Create Video. The returned structure includes fields such as status, progress, and video_url.

Request Headers

Authorizationstring必填

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

Query Parameters

idstring必填

Task ID, consistent with the task_id returned by the creation interface.

Request Examples

Response Examples

Response Fields

idstring

Task ID.

statusstring

Task status; common 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.

video_urlstring

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