登录开始创作

Veo 3.1 API

Call Google's Veo 3.1 in three tiers, Quality, Fast and Lite, with one API key. Every Veo video has sound, comes at 720p, 1080p or 4K, and is priced per video, not per second.

Pay as you go from $5 · No subscription · No free trial · Failed calls are not charged

Models in this series

  • Veo 3.1 Fast

    Code sample below
    • Text
    • First + last frame
    • Up to 3 reference images
    • Sound: Always on
    from 60 credits / video720p · ≈ $0.36 / video
  • Veo 3.1 Quality

    • Text
    • First + last frame
    • Sound: Always on
    from 250 credits / video720p · ≈ $1.5 / video
  • Veo 3.1 Lite

    • Text
    • First + last frame
    • Up to 3 reference images
    • Sound: Always on
    from 30 credits / video720p · ≈ $0.18 / video

Prices

Prices in API credits (1 credit = $0.006), checked December 5, 2026. GET /models is always current.

Veo 3.1 Quality

Optioncredits / video≈ USDLengths
720p · with sound250$1.54, 6 or 8 s
1080p · with sound255$1.54, 6 or 8 s
4K · with sound370$2.24, 6 or 8 s

Note: 4 and 6 second videos cost the 8 second price.

Veo 3.1 Fast

Optioncredits / video≈ USDLengths
720p · with sound60$0.364, 6 or 8 s
1080p · with sound65$0.394, 6 or 8 s
4K · with sound180$1.14, 6 or 8 s

Note: 4 and 6 second videos cost the 8 second price.

Veo 3.1 Lite

Optioncredits / video≈ USDLengths
720p · with sound30$0.184, 6 or 8 s
1080p · with sound35$0.214, 6 or 8 s
4K · with sound150$0.94, 6 or 8 s

Note: 4 and 6 second videos cost the 8 second price.

Code

import time

import httpx  # pip install httpx

BASE = "https://api.voicica.ai/platform/v1"
HEADERS = {"Authorization": "Bearer vca_your_key_here"}  # better: os.environ["VOICICA_API_KEY"]

# One 8-second 720p video with sound = 60 credits (4 and 6 s cost the same)
task = httpx.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
    "model": "google/veo-3.1-fast",
    "prompt": "A street drummer plays on a rainy evening, the crowd claps along",
    "duration": 8,
    "aspect_ratio": "16:9",
    "resolution": "720p",
    # "reference_images": ["https://example.com/ref.png"],  # Fast / Lite, 8 s only, up to 3
})
task.raise_for_status()  # 202 Accepted
task = task.json()        # {"id": "videogen_...", "status": "pending", "credits": "60.0000", ...}

while task["status"] in ("pending", "running"):
    time.sleep(10)
    task = httpx.get(f"{BASE}/videos/generations/{task['id']}", headers=HEADERS, timeout=60).json()

print(task["status"], task.get("url"), task["has_audio"], task["credits"])

More examples (callbacks, polling, errors) are in the docs.

Parameters

ParameterVeo 3.1 QualityVeo 3.1 FastVeo 3.1 Lite
duration4, 6 or 8 s (default 8)4, 6 or 8 s (default 8)4, 6 or 8 s (default 8)
aspect_ratio9:16, 16:99:16, 16:99:16, 16:9
resolution720p, 1080p, 4K (default 720p)720p, 1080p, 4K (default 720p)720p, 1080p, 4K (default 720p)
audioAlways on (false: 400)Always on (false: 400)Always on (false: 400)
first_frameYesYesYes
last_frameYes, with first_frameYes, with first_frameYes, with first_frame
reference_images—Up to 3, not with framesUp to 3, not with frames
promptUp to 5,000 charactersUp to 5,000 charactersUp to 5,000 characters

Sending an option a model does not have returns 400 unsupported_parameter; GET /models lists each model's params.

How it works

  1. POST /videos/generations returns 202 with a task id and the credits it will take.

  2. Poll GET /videos/generations/{id} every 10 s, or pass callback_url for a signed callback.

  3. Download the result within 30 days. Failed or timed-out tasks are refunded in full.

FAQ

Which Veo models are on the API?

Veo 3.1 in three tiers: Quality (google/veo-3.1), Fast (google/veo-3.1-fast) and Lite (google/veo-3.1-lite).

How is Veo priced?

Per video, by resolution: Veo 3.1 Fast is 60 credits at 720p (about $0.36), Quality 250 and Lite 30. 4- and 6-second videos are charged at the 8-second price.

Do Veo videos have sound?

Yes, always. There is no switch: audio: true is accepted, and audio: false returns 400 unsupported_parameter.

Is Veo 3 available?

No. The API offers Veo 3.1 (Quality, Fast and Lite) only.

Can I use reference images?

On Veo 3.1 Fast and Lite: up to 3 reference images, for 8-second videos, and not together with a first or last frame. Veo 3.1 Quality takes text and first / last frames.

Can I make 4K videos?

Yes, on all three tiers, at a higher price (Fast: 180 credits per video). 4K tasks get a 40-minute deadline instead of 20.

Get your API key

Top up from $5, create a key and call Veo 3.1 in a few minutes.

Model names are trademarks of their owners (Google). Voicica provides access to these models through APIs and is not affiliated with or endorsed by them.