Veo 3.1 在 Gemini API 停用后 (2026 月)
更新于 2026年11月2日 10:00(UTC)。UberLLM 的价格在页面生成时实时读取(每小时一次);Google 的通知和其他提供商的信息于 2026-10-30 核对。
Google 于 2026年10月22日 停用了 Gemini API 上的 Veo 3.1 Preview;对 veo-3.1-generate-preview 以及 Fast 和 Lite 预览的调用已不再有效。在 2026年11月2日,UberLLM 通过一个 OpenAI 风格的视频 endpoint,以每秒 $0.12 的价格出售带声音的 Veo 3.1 Fast,一个 8 秒的片段售价 $0.96。Google 引导用户使用 Gemini Omni Flash 或其在 Vertex AI 上的 GA Veo 模型,这些模型不按使用量付费。kie.ai 以 $0.30 的价格出售相同的片段。
“Gemini API 中的 Veo 3.1 Preview (veo-3.1-generate-preview, veo-3.1-fast-generate-preview, 和 veo-3.1-lite-generate-preview) 已于 2026年10月22日 停用。请迁移到 Gemini Omni Flash (gemini-omni-1.1-flash) 或通过 Gemini Enterprise Agent Platform 提供的 GA 模型,以避免服务中断。”
你有这些选择
- Gemini API 上的 Gemini Omni Flash,这是 Google 建议的替代方案:但它是另一个模型,提示词和生成效果都会变。
- Vertex AI 上的 Veo 3.1 GA(veo-3.1-generate-001、veo-3.1-fast-generate-001):同一系列模型,适用 Google 的企业条款,但它的模型页面只列出 Provisioned Throughput 和固定配额,不支持按量付费。
- 从转售商购买 Veo 3.1 API,按视频付费:UberLLM、kie.ai、APIMart、fal、Replicate 或 WaveSpeedAI。各家价格见最便宜的 Veo 3 API。
现在就能在 UberLLM 上用 Veo 3.1
| 设置 | 每秒 | 8 秒视频 |
|---|---|---|
| Veo 3.1 Fast, 720p 或 1080p, 无声音 | $0.08 | $0.64 |
| Veo 3.1 Fast, 720p 或 1080p, 带声音 | $0.12 | $0.96 |
| Veo 3.1 Fast, 4K, 无声音 | $0.24 | $1.92 |
| Veo 3.1 Fast, 4K, 带声音 | $0.28 | $2.24 |
| Veo 3.1, 720p 或 1080p, 带声音 | $0.32 | $2.56 |
| Veo 3.1 Lite, 720p, 带声音 | $0.04 | $0.32 |
2026年11月2日 读取。每个任务的费用 = 秒数 × 所选设置的单价;任务开始前,回复会告诉你最多花多少钱。 kie.ai,生成页面时从其公开价目表读取:Veo 3.1 Fast 720p 每个视频 $0.30,Quality 720p 每个视频 $1.25,4 秒、6 秒、8 秒同价。 视频 API 价格 · Fal 视频价格
同一个请求,换之前和换之后
之前:Gemini API(google-genai SDK),现在已经无法调用。
from google import genai
import time
client = genai.Client()
operation = client.models.generate_videos(
model="veo-3.1-generate-preview", # shut down October 22, 2026
prompt="a red ball bouncing on green grass",
)
while not operation.done:
time.sleep(10)
operation = client.operations.get(operation)
video = operation.response.generated_videos[0]
client.files.download(file=video.video)
video.video.save("video.mp4")之后:UberLLM。提示词不变;创建任务、查看进度、下载文件。
import os, time, requests
API = "https://api.uberllm.dev"
H = {"Authorization": f"Bearer {os.environ['UBERLLM_API_KEY']}"}
job = requests.post(f"{API}/v1/video/generations", headers=H, json={
"model": "fal-ai/veo3.1/fast",
"prompt": "a red ball bouncing on green grass",
"duration_seconds": 8, # 4, 6 or 8
"resolution": "720p", # 720p, 1080p or 4k
"audio": True, # Veo adds sound unless you send False
}).json()
print("most this job can cost:", job["max_cost_usd"])
while True:
r = requests.get(f"{API}{job['poll_url']}", headers=H)
if r.status_code == 200: # 202 while it runs
break
time.sleep(8)
done = r.json()
if done["status"] != "succeeded":
raise SystemExit(done) # failed jobs are not billed
video = requests.get(done["results"][0]["url"], headers=H)
open("video.mp4", "wb").write(video.content)完整的请求和回复字段:图片、视频、音乐和语音。 UberLLM 不对请求收取费用。用银行卡充值收取 5.5% + $0.50。
常见问题
Google 推荐用什么代替?
Gemini Omni Flash(gemini-omni-1.1-flash),或者其 Gemini Enterprise Agent Platform(Vertex AI)上的 GA 版 Veo 模型:veo-3.1-generate-001 和 veo-3.1-fast-generate-001,另有处于 Preview 阶段的 veo-3.1-lite-generate-001。Google 的模型页面只为它们列出 Provisioned Throughput 或固定配额,不支持按量付费。
在 UberLLM 上用同样的提示词就行吗?
可以。把提示词发送到 POST /v1/video/generations,模型选 fal-ai/veo3.1/fast,时长可选 4、6 或 8 秒,清晰度可选 720p、1080p 或 4K,还能选择有声或无声。想从一张图片开始,就用 fal-ai/veo3.1/fast/image-to-video 加上 image_url。
在 UberLLM 上,Veo 视频生成失败要花多少钱?
一分钱都不花。失败的任务不收费,而且任务开始前,请求的回复就会告诉你这个任务最多花多少钱。
UberLLM 还有其他费用吗?
UberLLM 不对请求收取费用。用银行卡充值收取 5.5% + $0.50。