Domestic Video Model Query

Query the status and result of domestic video tasks using `GET /v1/videos/{task_id}`.

GEThttps://zx1.deepwl.net/v1/videos/{task_id}
Request
curl https://zx1.deepwl.net/v1/videos/video_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Query the status and result of domestic video tasks via GET /v1/videos/{task_id}. Once the task completes, the video URL can be read from video_url, and the content can also be fetched via GET /v1/videos/{task_id}/content.

Request Headers

Authorizationstring必填

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

Query Parameters

task_idstring必填

Video task ID.

Request Examples

Response Fields

idstring

Task ID.

objectstring

Fixed as video.

modelstring

Model name.

statusstring

Task status; common values include queued, processing, completed, failed, and cancelled.

progressinteger

Progress percentage.

created_atinteger

Creation timestamp.

completed_atinteger

Completion timestamp.

expires_atinteger

Result expiration timestamp.

secondsstring

Output duration.

sizestring

Output size.

video_urlstring

Video URL.

errorobject

Error information.

Content Retrieval

GET /v1/videos/{task_id}/content