跳转到主要内容
GET
/
v1
/
videos
/
{video_id}
Retrieve a Veo video job
curl --request GET \
  --url https://api.cometapi.com/v1/videos/{video_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "task_pa9CKKtYlTdxO7IIHOKKhXfjxEu4EQoR",
  "size": "16x9",
  "model": "veo_3_1-4K",
  "object": "video",
  "status": "queued",
  "task_id": "task_pa9CKKtYlTdxO7IIHOKKhXfjxEu4EQoR",
  "progress": 0,
  "created_at": 1773297229
}

Documentation Index

Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt

Use this file to discover all available pages before exploring further.

使用此端点轮询一个 Veo 任务。它会返回当前任务状态以及解析后的后端 model 信息。

轮询循环

1

先创建任务

Veo3 异步生成 开始,并保存返回的 id
2

轮询直到任务进入终态

持续调用此端点,直到任务离开 queuedin_progress 并进入已完成状态。
3

存储结果

输出准备好后,如果你的应用需要持久副本,请将其转移到你自己的存储中。

为什么 model ID 可能会变化

响应中显示的可能是解析后的后端 model id,而不是你提交的别名。这是符合预期的行为。

授权

Authorization
string
header
必填

Bearer token authentication. Use your CometAPI key.

路径参数

video_id
string
必填

Task id returned by the create endpoint.

响应

200 - application/json

Current job state.

id
string
必填
size
string
必填
model
string
必填
object
string
必填
status
string
必填
progress
integer
必填
created_at
integer
必填
task_id
string