🎁 新用戶 免費註冊,送 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 算算你的成本 →