Skip to content

Veo 生视频参数

Veo 3.1 走统一生视频契约:POST /video/generations + GET /video/tasks/{taskId}。本页说明现网三码差异与可复制示例。

通用字段表见 视频生成 · 高级参数。端点说明见 创建视频生成任务。模型列表见 获取模型modality=video)或 模型广场


模型 ID

model典型能力分辨率时长(秒)
veo-3.1文生;首帧 / 首尾帧;参考图生视频720p / 1080p / 4k 4 / 6 / 8
veo-3.1-fast同上(加速档)建议 720p / 1080p 4 / 6 / 8
veo-3.1-lite文生;可选首帧 / 首尾帧720p / 1080p(无 4k 4 / 6 / 8

公共约束

说明
duration_sec必须468(默认按 8 理解;勿传 5 等其它整数)
aspect_ratio 16:99:16
generate_audio可选;显式传 true / false
frame_images支持 first_framelast_frame 须同时有首帧
input_referencesveo-3.1 / veo-3.1-fast 可用于参考图;veo-3.1-lite 不支持
参考图模式时长通常固定为 8 秒;参考图与 frame_images 勿混用
首帧图公网 HTTPS;单张体积上限约 20MB

文生视频

json
{
  "model": "veo-3.1",
  "prompt": "A red bicycle rolling through a rainy neon street at night, cinematic",
  "duration_sec": 8,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "generate_audio": true
}

首帧 / 首尾帧

json
{
  "model": "veo-3.1",
  "prompt": "Camera slowly pushes in toward the subject",
  "duration_sec": 6,
  "resolution": "1080p",
  "aspect_ratio": "16:9",
  "frame_images": [
    {
      "type": "image_url",
      "frame_type": "first_frame",
      "image_url": { "url": "https://example.com/first.png" }
    },
    {
      "type": "image_url",
      "frame_type": "last_frame",
      "image_url": { "url": "https://example.com/last.png" }
    }
  ]
}

仅首帧时只传 first_frame 一项即可。


参考图生视频(非 Lite)

json
{
  "model": "veo-3.1",
  "prompt": "Keep the product appearance; soft studio orbit shot",
  "duration_sec": 8,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "input_references": [
    {
      "type": "image_url",
      "image_url": { "url": "https://example.com/product.png" },
      "reference_type": "asset"
    }
  ]
}

veo-3.1-lite 请使用文生或首尾帧,不要传 input_references


相关

© Trinity AI