Veo 3.1 Text to Video API
Text to Video with Veo 3.1 by Google. Google's cinematic video model with native audio, up to 4K.
per second of video · 720p
Operational100% uptime (30 days)Try Veo 3.1 Text to Video
Landscape or portrait.
Output resolution. 1080p and 4K clips are always 8 seconds; 4K costs more per second.
Clip length: 4, 6 or 8 seconds at 720p (1080p and 4K are always 8 s). You pay per second.
Create a free account with Google or email — pay only for what you generate.
Your video will appear here
Write a prompt, pick your settings and hit Run. You only pay for successful generations.
Also available: Veo 3.1 Image to Video
See the Veo 3.1 examples and prompts
Veo 3.1 Text to Video API
/api/v1/run/google/veo-3.1/text-to-videoSubmits an asynchronous job and returns 202 with a generation id. Poll GET /api/v1/generations/{id} or pass webhook_url. See job lifecycle.
Input parameters
| Name | Type | Description | Affects price |
|---|---|---|---|
promptrequired | string | Describe the shot: subject, action, camera movement, lighting and style. | No |
aspect_ratio | string (enum) | Landscape or portrait. Values: 16:9 · 9:16 Default: 16:9 | Yes |
resolution | string (enum) | Output resolution. 1080p and 4K clips are always 8 seconds; 4K costs more per second. Values: 720p · 1080p · 4k Default: 720p | Yes |
duration | integer (enum) | Clip length: 4, 6 or 8 seconds at 720p (1080p and 4K are always 8 s). You pay per second. Values: 4 · 6 · 8 Default: 8 | Yes |
generate_audio | boolean | Generate synchronized sound, ambience and dialogue. Clips with audio are billed at a higher per-second rate. Default: true | Yes |
negative_prompt | string | Things to avoid in the output. | No |
seed | integer | Use the same seed and settings to reproduce a result. Leave empty for random. | No |
webhook_url | string (URL) | Optional. We POST the finished generation here, signed with your webhook secret. Webhooks | No |
Request
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/google/veo-3.1/text-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A tide pool at sunrise, a tiny crab scuttles across glistening rocks, macro lens, gentle waves and gull calls",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);Response
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "google/veo-3.1",
"endpoint": "google/veo-3.1/text-to-video",
"mode": "text-to-video",
"status": "queued",
"input": {
"prompt": "A tide pool at sunrise, a tiny crab scuttles across glistening rocks, macro lens, gentle waves and gull calls",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": 8
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}Veo 3.1 pricing
Pay per second of video as you go, with no subscription required. Failed generations are refunded automatically.
| Tier | Official price | CheaperGen | You save |
|---|---|---|---|
720p + audio with native audio | $0.3043/s With a monthly plan: Pro $0.291Max $0.2778 | −24% | |
720p silent | $0.184/s | −8% | |
1080p + audio with native audio | $0.368/s | −8% | |
1080p silent | $0.184/s | −8% | |
4K + audio with native audio | $0.552/s | −8% | |
4K silent | $0.368/s | −8% |
Monthly plans lower prices on most models (shown under each price); you can still pay as you go. Pro $499/month · Max $4,999/month.
- Official price: Google Cloud Vertex AI list price for veo-3.1-generate-001 ($0.40 / s with audio, $0.20 / s video only at 720p–1080p; 4K $0.60 / $0.40). Prices verified October 18, 2026.
- With native audio on, every second is billed at the audio rate.
More from Google
Popular Google models, on the same API key.

Gemini OmniFlash
Text · Image · Reference → Video
Google's all-in-one video model — references, frames and sound in one prompt

Veo3.1 Fast
Text · Image → Video
Veo 3.1 quality at a fraction of the price, with audio

Veo3.1 Lite
Text · Image → Video
The lowest-cost Veo — native audio from a few cents a second

Nano Banana2.1
Text → Image · Image Edit
Google's newest Nano Banana — top-ranked quality at a quarter of Pro's price
Similar video models
Popular text-to-video models from other developers.

Seedance2.5
Text to Video · Image to Video · Reference to Video · Video Edit
ByteDance's newest video model — longer, sharper, more controllable

MiniMaxH3
Text · Image · Reference → Video
Hailuo H3 — expressive motion and physics, up to 2K

Seedance2.0 Fast
Text · Image · Reference → Video
Seedance 2.0 quality at lower latency and cost

MiniMaxH3 Fast
Text · Image · Reference → Video
MiniMax H3 in seconds, not minutes — an accelerated build of the open weights
