跳转到主要内容
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

任务ID

Response

200 - application/json

成功响应

id
string
required

任务ID

Example:

"task_1234567890"

object
string
required

对象类型

Example:

"video"

created_at
integer
required

创建时间

Example:

1759938772

status
enum<string>

任务状态

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

模型名称

Example:

"sora-2"

progress
integer

进度

Example:

50

video_url
string

视频URL

Example:

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