Domestic Video Model Query
Query the status and result of domestic video tasks using `GET /v1/videos/{task_id}`.
GET
https://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
idstringTask ID.
objectstringFixed as video.
modelstringModel name.
statusstringTask status; common values include queued, processing, completed, failed, and cancelled.
progressintegerProgress percentage.
created_atintegerCreation timestamp.
completed_atintegerCompletion timestamp.
expires_atintegerResult expiration timestamp.
secondsstringOutput duration.
sizestringOutput size.
video_urlstringVideo URL.
errorobjectError information.
Content Retrieval
GET /v1/videos/{task_id}/content