注册

Veo OpenAI 图生视频

POST https://api.quickrouter.ai/v1/videos 在线调试 →
Authorization

在 Header 添加参数 Authorization,其值为 Bearer 之后拼接 Token

示例: Authorization: Bearer ********************

概述

请求参数

Header 参数
Content-Type string
必需
示例: application/json
Authorization string
必需
示例: Bearer $OPENAI_API_KEY
Body 参数 application/json
multipart/form-data
可选
model string
必需
现目前只支持veo_3_1 和 veo_3_1-fast,分组选择 限时特价和默认分组 示例:
veo_3_1
可选
prompt string
可选
提示词 必需 示例: 让牛快乐的跳科目三
seconds string
可选
时长 必需 示例: 8
input_reference file
可选
垫图 必需 示例: file://C:\Users\Administrator\Desktop\场景1.png
size string
必需
720x1280 竖屏 1280x720 横屏 示例: 16x9
watermark string
可选
示例:
false
可选
请求
示例
{
    "id": "video_55cb73b3-60af-40c8-95fd-eae8fd758ade",
    "object": "video",
    "model": "veo_3_1",
    "status": "queued",
    "progress": 0,
    "created_at": 1762336916,
    "seconds": "8",
    "size": "16x9"
}

请求示例代码

curl --location --request POST 'https://api.quickrouter.ai/v1/videos' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "video_55cb73b3-60af-40c8-95fd-eae8fd758ade",
  "object": "video",
  "model": "veo_3_1",
  "status": "queued",
  "progress": 0,
  "created_at": 1762336916,
  "seconds": "8",
  "size": "16x9"
}'

返回响应

响应参数 🟢 200 OK · application/json
id string
必需
object string
必需
model string
必需
status string
必需
progress integer
必需
created_at integer
必需
seconds string
必需
size string
必需
{ "id": "video_55cb73b3-60af-40c8-95fd-eae8fd758ade", "object": "video", "model": "veo_3_1", "status": "queued", "progress": 0, "created_at": 1762336916, "seconds": "8", "size": "16x9" }

常见错误

  • 401 认证失败:检查 API Key 是否正确
  • 429 请求限流:降低调用频率或升级套餐
  • 500 服务器错误:稍后重试

注意事项

  • 请确保 API Key 有足够的余额
  • 请求频率受 API 限制,请参考价格页面