用 Google Veo 3.1 API 生成视频
Google Veo 3.1 在 Crazyrouter 上走统一的异步视频接口:提交任务、轮询结果、按生成秒数付费。
把模型 ID、实时价格、Base URL 和调用示例一次粘贴进你的 coding agent。
Google Veo 3.1 是什么?
Google Veo 3.1 是 Veo 的 Veo 系列视频模型,支持文生视频与图生视频。Crazyrouter 用同一套任务接口封装目录里所有视频模型,换厂商只改一行。
所有视频模型同一套提交/轮询流程。
按生成秒数、按分辨率对应费率扣费,失败任务不计费。
上游支持时可从提示词或参考帧起步。
与对话、图片负载共用 Key 和余额。
Google Veo 3.1 API 快速开始
向 https://api.crazyrouter.com/v1/video/generations 提交任务,model 填 aigc-video-gv-3.1,再用返回的 task id 轮询直到完成。
curl https://api.crazyrouter.com/v1/video/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
-d '{
"model": "aigc-video-gv-3.1",
"prompt": "Slow aerial drone shot gliding over a small coastal town at sunrise, pastel houses, calm sea, soft golden light, cinematic, steady camera",
"seconds": "6",
"size": "1280x720",
"metadata": {"resolution": "720P", "aspect_ratio": "16:9", "sound": true}
}'查看 OpenAI 兼容迁移示例
curl https://api.crazyrouter.com/v1/video/generations/$TASK_ID \ -H "Authorization: Bearer $CRAZYROUTER_API_KEY"
Google Veo 3.1 样例输出
以下样例全部通过 Crazyrouter 用上方所示请求生成,未经修图或挑选;显示的是每条请求的实际耗时与扣费。
展开完整提示词
Slow aerial drone shot gliding over a small coastal town at sunrise, pastel houses, calm sea, soft golden light, cinematic, steady camera
展开完整提示词
A white running shoe rotating slowly on a turntable in a bright studio, seamless light grey background, soft shadows, product commercial
展开完整提示词
A person in a yellow raincoat walking across a busy crosswalk in Tokyo at dusk, tracking shot from behind, realistic motion, shallow depth of field
展开完整提示词
2D anime style: a forest path in autumn with falling leaves, gentle wind, warm afternoon light, hand-painted background, smooth animation
生成于 2026-09-28
适用场景
开发工具兼容
HTTP 客户端
纯 REST:POST 提交、GET 轮询。
n8n / Dify 工作流
HTTP 节点加等待/轮询循环。
自建后端
保存 task id,由任务队列轮询。
Crazyrouter 控制台
查看每个任务的状态与费用。
Google Veo 3.1 常见问题
生成是同步的吗?
不是。提交返回 task id,用上方第二个示例的查询接口轮询直到完成。
怎么计费?
按生成秒数、按所选分辨率与模式的费率扣费,本页区间覆盖可选项。
支持哪些时长和分辨率?
以上游模型为准,按文档传 duration、resolution、aspect ratio。
能从图片开始吗?
支持图生视频的模型可以,在请求里带图片 URL。
结果保留多久?
完成后尽快下载,上游链接会过期。
相关指南与对比
TutorialGemini CLI 使用教程:Google 命令行 AI 助手完全指南
"Gemini CLI 完整使用教程,从安装配置到高级用法。学会用 Google 的命令行 AI 工具提升开发效率,包含实用示例和技巧。"
GuideGemini是什么?Google AI模型完整介绍
"全面介绍Google Gemini AI模型,包括Gemini 2.5 Pro、Flash等版本的功能、定价和API使用教程。通过Crazyrouter轻松接入Gemini API。"
ComparisonGemini 4 Argon 测评:12 次任务测试,JSON 合法不代表答案正确
实测 gemini-4-argon 的记录核对、结构化抽取、最优排程和长 JSON:12 次原生请求通过 10 次,排程两次算错成本;另测 high 推理配置与接口兼容,附价格、代码和逐次记录。
最新节目
EP196 · 2026年10月29日 · 6:53
AI API Security Posture — Turn Controls Into Continuous Evidence
A practical guide to AI API security posture: inventory exposure, verify controls continuously, protect keys and data, constrain tools, and turn security assumptions into evidence that operators can act on.
EP195 · 2026年10月28日 · 7:21
AI API Policy Drift — Detect When Production Rules Stop Matching Intent
A practical guide to policy drift in AI APIs: version routing and safety rules, detect stale enforcement, compare intended and observed behavior, and restore control before small gaps become incidents.
