🎁 新人 免费注册,送 10 次调用,最高 $1,免绑卡。

Veo 2 发布于 2024-12

Google video
价格$0.5/s

厂商牌价,无平台加价,按量付费。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。

30 秒用上 Veo 2

异步任务 API:创建任务后轮询,或用 Prefer: wait 挂起请求等待完成。POST /v1/videos

import time

import requests

BASE = "https://synthorai.io/v1"
HEADERS = {"Authorization": "Bearer sk-syn-..."}

# 1) create the video generation job (POST /v1/videos)
task = requests.post(
    f"{BASE}/videos",
    headers=HEADERS,
    json={
        "model": "veo-2.0-generate-001",
        "prompt": "a watercolor lighthouse at dawn, waves rolling in, camera pulling back",
        "resolution": "720p",
        "duration": 5,
    },
).json()

# 2) poll the job until it reaches a terminal state
while task["status"] in ("queued", "in_progress"):
    time.sleep(5)
    task = requests.get(f"{BASE}/videos/{task['id']}", headers=HEADERS).json()

# 3) completed → signed video URL (valid ~24h — download and store it promptly)
if task["status"] == "completed":
    print(task["data"][0]["url"])
else:
    print(task["error"])

关于 Veo 2

旧版 GA 模型,无声 720p 输出
文本与单张图像生视频
24 fps 下 5-8 秒

Veo 2 是 Google 的旧版正式发布(GA)视频模型,于 2024 年 12 月、在原生音频加入 Veo 产品线之前发布。

  • 它从文本提示词或单张首帧图像生成无声 .mp4 片段,720p、24 fps、5 到 8 秒、16:9 或 9:16——没有音轨,也没有尾帧或参考图输入,这些都要到 Veo 3.x 代才出现。
  • Google 现在把 Veo 3.1 列为推荐的替代品,但 Veo 2 仍可用于既有工作流和注重成本的无声输出。
  • Synthorai 通过异步 /v1/videos 任务 API 提供它——创建任务后轮询,短任务可用 Prefer: wait——并按输出秒计费(上游不返回 usage,因此时长由请求计量)。

规格与限制

模态text + image → video
特性vision
分辨率720p
时长5–8 s
帧率24 fps
宽高比16:9 · 9:16
视频输入text-to-video · first-frame image-to-video (single image)
格式.mp4
备注Google's legacy Veo 2 GA video model (announced December 2024, before native audio joined the Veo line): silent 720p output only, text-to-video plus single first-frame image-to-video, 24 fps, 5-8 s, 16:9 and 9:16; no audio track and no last-frame or reference-image input (those arrive in the Veo 3.x generations). Google now lists Veo 3.1 as the recommended replacement. Synthorai serves it via the async /v1/videos job API and bills per output second (upstream returns no usage, so duration is metered from the request).

依据 Google 官方文档 ↗

常见问题

Veo 2 API 可以免费试用吗?

可以。新账号可获得 10 次试用调用和最高 $1 的免费额度,无需绑卡。足够在添加付款方式之前,用真实工作负载试一试 Veo 2。

Veo 2 最擅长什么?

旧版 GA 模型,无声 720p 输出,以及文本与单张图像生视频和24 fps 下 5-8 秒。完整能力请见 About 部分,内容取自厂商官方发布说明。

Veo 2 的价格是多少?

在 Synthorai 上,Veo 2 按每秒生成视频 $0.5 计费,仅成功生成才计费:按量付费,无平台加价,无需订阅。

如何调用 Veo 2 API 生成视频?

向 Synthorai 的 /v1/videos 发送 POST,model="veo-2.0-generate-001",创建一个异步任务;随后轮询任务状态,或加上 Prefer: wait 头把请求挂起等待,直到拿到视频 URL。无需厂商 SDK。

如何开通 Veo 2?

把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "veo-2.0-generate-001" 即可。一把 API key 通用网关上的全部模型。

相关模型

免费获取 API key 算算你的成本 →