models/Google/Veo 3.1
Google

Veo 3.1

video
Compare

Google's latest video generation model with improved quality, motion, and audio generation.

MODALITIES
video
PER SECOND
$0.400
RELEASED
2026-05-22

Veo 3.1 (google/veo-3.1) is a video model from Google, released 2026-05-22. Pricing via AIgateway: $0.400–$0.600 per second by resolution. Call it via https://api.aigateway.sh/v1/videos/generations — set model="google/veo-3.1". Best for: Ad creative, Short-form video, Storyboarding.

model · google/veo-3.1family · Veo

Use this model

model: google/veo-3.1
curl https://api.aigateway.sh/v1/videos/generations \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/veo-3.1","prompt":"a slow drone shot over a mountain lake","duration":5,"resolution":"720p"}'

Capabilities

Text to video

Strengths

  • Cinematic motion
  • Native audio generation
  • Up to 60s clips

Use cases

Ad creativeShort-form videoStoryboarding

Pricing

Per video second — 720p$0.400
Per video second — 1080p$0.400
Per video second — 4k$0.600
You pay pass-through pricing.
See API example →CompareAPI referenceSee usage ranking →

Collections

More video models →More from GoogleFrontier models →Free-tier models →
API schema

Call Veo 3.1 from any OpenAI SDK

POST https://api.aigateway.sh/v1/videos/generations·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "google/veo-3.1",
  "prompt": "A drone shot of a mountain lake at golden hour",
  "duration": 5,  // seconds
  "aspect_ratio": "16:9",
  "resolution": "720p"  // 720p $0.40/s, 1080p $0.40/s, 4k $0.60/s
}
// optional "image_url" to animate a seed image

// Response is an async job — poll /v1/jobs/<id> until status === "completed".

Response

json
{
  "id": "job_abc123",
  "status": "queued",        // queued | processing | completed | failed
  "model": "google/veo-3.1",
  "created": 1776947082
}

// After completion:
{
  "id": "job_abc123",
  "status": "completed",
  "result": {
    "url": "https://media.aigateway.sh/video/abc123.mp4",
    "duration": 5,
    "resolution": "1920x1080"
  }
}

Quickstart

# See docs at https://aigateway.sh/docs

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Veo 3.1?
Google's latest video generation model with improved quality, motion, and audio generation. It is a video model from Google, accessible via AIgateway's OpenAI-compatible API at slug google/veo-3.1.
How much does Veo 3.1 cost via AIgateway?
Pass-through pricing. See the pricing panel on this page for exact rates.
How do I call Veo 3.1 from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "google/veo-3.1". The request and response shapes match OpenAI exactly.
Does Veo 3.1 support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
What are the best use cases for Veo 3.1?
Ad creative, Short-form video, Storyboarding. Key strengths: Cinematic motion; Native audio generation; Up to 60s clips.
Can I bring my own Google API key (BYOK)?
Yes. Attach a Google key in your AIgateway dashboard and this model flips to pass-through — you pay Google directly and AIgateway adds no platform fee on those calls.