GET
https://zx1.deepwl.net
/
v1
/
videos
/
{task_id}
即梦任务状态查询
curl --request GET \
  --url https://zx1.deepwl.net/v1/videos/{task_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_id": "<string>"
}
'
{
  "id": "video_123",
  "object": "video",
  "model": "jimeng-video-3.0",
  "status": "queued",
  "progress": 0,
  "created_at": 1712697600,
  "video_url": ""
}

即梦任务状态查询

OpenAI 格式查询入口。若任务由 POST /v1/video/create 提交,请使用 查询任务 即梦系列任务提交后,通过 GET /v1/videos/{task_id} 查询。
  • 查询路径是 GET /v1/videos/{task_id}
  • 成功返回的是 OpenAI 风格 video 对象。
  • 任务完成后可从 video_url 读取结果。

方法与路径

GET /v1/videos/{task_id}

请求示例

curl https://zx1.deepwl.net/v1/videos/video_123 \
  -H "Authorization: Bearer YOUR_API_KEY"

响应示例

{
  "id": "video_123",
  "object": "video",
  "model": "jimeng-video-3.0",
  "status": "queued",
  "progress": 0,
  "created_at": 1712697600,
  "video_url": ""
}

认证

Authorization: Bearer YOUR_API_KEY

Path Parameters

task_id
string
必填
视频任务 ID。

Response

id
string
任务 ID。
object
string
固定为 video
model
string
模型名称。
status
string
任务状态:queuedprocessingcompletedfailedcancelled
progress
integer
进度百分比(0-100)。
created_at
integer
创建时间戳。
completed_at
integer
完成时间戳(任务完成后返回)。
video_url
string
视频结果地址(任务完成后返回)。

状态说明

状态说明
queued任务已提交,排队中
processing任务处理中
completed任务完成,可获取视频
failed任务失败
cancelled任务已取消

相关接口