Skip to content

Veo

适用模型

  • veo_3_1
  • veo_3_1-fast

关键参数

  • aspect_ratio:当前支持 16:99:16
  • images:最多 3 张

多图语义:

  • 1 张:图生视频
  • 2 张:首尾帧
  • 3 张:元素参考模式

请求示例

json
{
  "model": "veo_3_1",
  "prompt": "生成一段 16:9 的产品短视频:镜头环绕、光线柔和、背景简洁,风格偏真实。",
  "aspect_ratio": "16:9",
  "images": [
    "https://example.com/veo_ref_1.jpg",
    "https://example.com/veo_ref_2.jpg",
    "https://example.com/veo_ref_3.jpg"
  ]
}

轮询与结果

轮询接口:

text
GET /v1/videos/{id}

完成态后,video_url 可能位于:

  • video_url
  • content.video_url
  • content.url
  • detail.video_url

注意事项

  • images 超过 3 张通常会失败
  • 输入图顺序可能影响首尾帧效果和运动连续性

以 VitePress 构建,由 Cloudflare Pages 发布