Unified Video

Query Task

Use `GET /v1/video/query` to query the status and result of a Jimeng 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 submitting a Jimeng unified video task, query its progress and result via GET /v1/video/query. The query parameter uses id, whose value is the task ID returned by Create Video.

  • The task ID is passed in through the Query parameter id.
  • 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, which is the same as the task_id returned by the creation API.

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.

thumbnail_urlstring

Thumbnail URL, optional field.