Skip to content
Googlevideo

Veo 3.1 API

Google's flagship video model: short, finished shots with dialogue, ambience and effects generated together with the picture, up to 4K.

Pricing

per second of video
ResolutionSilentWith sound
720p$0.235lowest$0.465
1080pdefault$0.235lowest$0.465
4K$0.465$0.695
  • Charged once, and only when the clip succeeds. A failed job costs $0.00: its hold is released in full.
  • The exact price is known before the run: the Studio shows it before you click Generate, and the API returns it as reserved_usd when it accepts the job.
  • Billed on the seconds you ask for; sound off bills the silent rate.

Estimate

Per clip
4 s × $0.465 / s$1.86

Charged once per clip, only on success.

Request

POST https://frameport.ai/v1/videos/generations

# 1. Submit: the price is held on your balance (reserved_usd)
curl https://frameport.ai/v1/videos/generations \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3-1",
    "prompt": "A lighthouse keeper climbs the spiral stairs at dusk, slow push-in, wind howling, footsteps on iron",
    "duration": 4,
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "audio": true
  }'

# 2. Poll with the id it returns, until "succeeded" or "failed"
curl https://frameport.ai/v1/videos/generations/$GENERATION_ID \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY"

# 3. Download outputs[0].url once it has succeeded (a signed link, no key needed)
curl -L "$OUTPUT_URL" -o out.mp4

Set FRAMEPORT_API_KEY to your key. Full reference in the video docs.

Options

Tasks
  • Text to video
  • Image to video
  • First + last frame
Resolutions
  • 720p
  • 1080p
  • 4K
Durations
  • 4 s
  • 6 s
  • 8 s
Aspect ratios
  • 16:9
  • 9:16
Audio
On or off, priced apart
Input pictures
First frame, or first + last frame
Seed
Supported
Negative prompt
Supported
Prompt
Up to 2,400 characters
Output
A video file, signed link valid about an hour
Billing unit
Per second of video
Model id
veo-3-1

Veo 3.1 API parameters

FieldValuesNotes
model"veo-3-1"Required.
prompttext, up to 2,400 charactersRequired: the subject, the action, the camera and the sound.
duration4, 6 or 8 seconds4 when left out. A value off the grid is refused before anything is held.
resolution720p, 1080p and 4K1080p when left out. A second costs 720p $0.465, 1080p $0.465, 4K $0.695.
aspect_ratio16:9, 9:1616:9 when left out.
audiotrue or falsetrue when left out. Sound costs more per second; false bills the silent rate.
reference_images1 pictureThe first frame: an https URL or a base64 data URI.
end_image1 pictureThe last frame; needs a first frame in reference_images.
seed0 to 2147483647The same seed and request give a similar take again.
negative_prompttext, up to 1,000 charactersWhat to keep out of the clip.

Veo 3.1 request bodies, one per mode

Send each body to POST https://frameport.ai/v1/videos/generations with Authorization: Bearer $FRAMEPORT_API_KEY, then poll GET /v1/videos/generations/{id}. Pictures are https URLs or base64 data URIs. Each card shows the price that body holds.

Text to video · $1.86
{
  "model": "veo-3-1",
  "prompt": "A lighthouse keeper climbs the spiral stairs at dusk, slow push-in, wind howling, footsteps on iron",
  "duration": 4,
  "resolution": "1080p",
  "aspect_ratio": "16:9",
  "audio": true
}
Image to video · $1.86
{
  "model": "veo-3-1",
  "prompt": "The scene in the picture comes to life: slow push-in, leaves moving in the wind",
  "duration": 4,
  "resolution": "1080p",
  "aspect_ratio": "16:9",
  "audio": true,
  "reference_images": [
    "https://example.com/first-frame.jpg"
  ]
}
First + last frame · $1.86
{
  "model": "veo-3-1",
  "prompt": "The sketch fills with colour until it becomes the finished painting",
  "duration": 4,
  "resolution": "1080p",
  "aspect_ratio": "16:9",
  "audio": true,
  "reference_images": [
    "https://example.com/sketch.jpg"
  ],
  "end_image": "https://example.com/painting.jpg"
}

What Veo 3.1 is good at

  • Clips meant to be watched with the sound on: room tone, footsteps and a line of dialogue arrive with the picture.
  • Strong prompt adherence and believable physics.
  • Output up to 4K.
  • A first and a last frame, a seed and a negative prompt.

When another model fits better

  • Hailuo 3 — Longer clips: up to 15 seconds, from $0.15 / s.
  • Veo 3.1 Fast — Cheaper drafts: from $0.093 / s.

How to prompt Veo 3.1

  1. 01Write the sound as precisely as the picture: "rain on a tin roof, a kettle starting to whistle" beats "ambient sounds".
  2. 02Keep dialogue short, in quotes and attributed: one or two lines fill a clip.
  3. 03Think in shots, not scenes: one beat per clip.
  4. 04Put what must not appear in negative_prompt rather than negating inside the prompt.

Sample prompt

“A lighthouse keeper climbs the spiral stairs at dusk, slow push-in, wind howling, footsteps on iron”

Veo 3.1 vs Veo 3.1 Lite and Veo 3.1 Fast

ModelModel idFrom, a secondUp toLongestPicturesSound
Veo 3.1 Liteveo-3-1-lite$0.0361080p8 sFirst frame, or first + last frameOn or off, priced apart
Veo 3.1 Fastveo-3-1-fast$0.0934K8 sFirst frame, or first + last frameOn or off, priced apart
Veo 3.1veo-3-1$0.2354K8 sFirst frame, or first + last frameOn or off, priced apart

About the Veo 3.1 API

How much does the Veo 3.1 API cost?

Veo 3.1 is billed per second of video: $0.465 at 720p, $0.465 at 1080p and $0.695 at 4K with sound (less without). A 4-second clip at 1080p costs $1.86. You are charged once, only when the clip succeeds.

How do I call Veo 3.1 from code?

Send POST /v1/videos/generations with "model": "veo-3-1" and a prompt, your API key as a Bearer token. The answer is a generation with an id: poll GET /v1/videos/generations/{id} until its status is succeeded, then download outputs[0].url.

What happens if a Veo 3.1 generation fails?

Nothing is charged. The price is held on your balance when the job starts and released in full if it fails: cost_usd stays at 0.

How long can a Veo 3.1 clip be?

4, 6 or 8 seconds. Set duration in seconds: a length off the grid is refused before anything is held.

Can Veo 3.1 start from an image?

Yes: send the picture as the first item of reference_images and it becomes the first frame. Add end_image and the clip lands on that last frame.

Do I need a subscription?

No. You top up a prepaid balance in dollars, from $10, and it never expires. Every model runs on the same balance and the same API key.

Compare with similar models

For agents: this page in Markdown at /models/veo-3-1.md, every model in /models.json, and the site in /llms.txt.

Call Veo 3.1 with one key.

Your API key is free. Top up from $10 when you are ready.