跳转到主要内容
厂商: Google Model ID: veo-3.1 能力: 1080p · 最长 8s · 文本 + image init · 通过 tasks API 异步 价格: 按秒计费,标准级 (实时费率) Veo 3.1 是 Google 的文生视频旗舰。它做得最好的是自然世界镜头 + 符合物理的运动 —— 水、植被、动物运动、天气。影棚 / 电影感画面 Sora 2 Pro 往往更优;要「无人机掠过森林」、「潮水涌入」、「野生动物」这类 brief, Veo 才是对的。

Submit

curl https://llm.bytespike.ai/v1/tasks/submit \
  -H "x-api-key: $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "veo-3.1",
    "prompt": "A drone shot tracking along a river, autumn leaves on the bank, soft afternoon light.",
    "duration_seconds": 5,
    "resolution": "1080p"
  }'

Body 参数

FieldTypeRequiredDefaultNotes
modelstringyesveo-3.1
promptstringyes针对英文调优。
duration_secondsintegeryes1–8。
resolutionstringno1080p支持:720p1080p
aspect_ratiostringno16:916:9 / 9:16 / 1:1
seedintegerno可复现性。
image_initstringnoinit image 的 URL。

Submit 响应

{
  "task_id": "task_…",
  "status": "queued",
  "estimated_credits": 0.55,
  "submitted_at": "2026-05-08T13:00:00Z"
}

Poll 等待完成

推荐节奏:前 60 秒每 2 秒,之后每 5 秒,最长到 180 秒。query 免费。
{
  "task_id": "task_…",
  "status": "completed",
  "result": {
    "video_url": "https://cdn.bytespike.ai/vid/...",
    "duration_seconds": 5,
    "resolution": "1080p"
  },
  "credits": 0.55
}
URL 预签名,24h 有效。

代码示例

curl https://llm.bytespike.ai/v1/tasks/submit \
  -H "x-api-key: $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "veo-3.1", "prompt": "Drone shot along river", "duration_seconds": 5, "resolution": "1080p"}'

错误

Code触发条件计费?
400Body 校验(duration > 8、resolution 不支持)不计费
401 / 402 / 403鉴权 / 钱包 / scope不计费
451prompt 被上游安全过滤拦截不计费
5xx上游问题不计费(自动重试)

何时选用

  • 自然世界镜头(风景、天气、野生动物、水)。
  • 典型的无人机 / 手持尺度下符合物理的运动。
  • 保真度低一点换更快周转,见 Veo 3.1 Fast
  • 影棚 / 电影感 1080p,见 Sora 2 Pro
  • 更低成本,见 Seedance 2.0

限制

限制
最长时长8s
最短时长1s
分辨率720p、1080p
长宽比16:9、9:16、1:1
支持 image init
5s 片段典型延迟60-120s
通过 tasks API 异步