跳转到主要内容
GET
/
v1
/
videos
/
{id}
查询视频生成任务
curl --request GET \
  --url https://proxy.innk.cc/v1/videos/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "task_1234567890",
  "object": "video",
  "created_at": 1759938772,
  "status": "queued",
  "model": "sora-2",
  "progress": 50,
  "video_url": "https://example.com/video.mp4"
}

授权

Authorization
string
header
必填

身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。

路径参数

id
string
必填

任务ID

响应

200 - application/json

成功响应

id
string
必填

任务ID

示例:

"task_1234567890"

object
string
必填

对象类型

示例:

"video"

created_at
integer
必填

创建时间

示例:

1759938772

status
enum<string>

任务状态

可用选项:
queued,
in_progress,
completed,
failed
model
string

模型名称

示例:

"sora-2"

progress
integer

进度

示例:

50

video_url
string

视频URL

示例:

"https://example.com/video.mp4"