Skip to content

Google

Veo 3.1

Highest-quality option for video with audio.

google/veo-3.1
Input → Output
Text, images → Video with audio
Maximum input
-
Provider
1
Tool invocation
-

Price per second of video

720p
648 credits
1080p
648 credits
4k
972 credits

Price for video with audio, billed by generated duration.

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderVideo: 1 second (720p)First tokenThroughputUptime
Google Vertex AI648 credits---

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Use the API

import time
import requests

BASE = "https://alprouter.com/api/v1"
HEADERS = {"Authorization": "Bearer alp-your-key"}

job = requests.post(f"{BASE}/videos", headers=HEADERS, json={
    "model": "google/veo-3.1",
    "prompt": "A paper airplane slowly flies over the calm sea.",
    "duration": 5,
    "resolution": "720p",
}).json()

# usually 1minutes. 10seconds between polls
while job["status"] in ("pending", "in_progress"):
    time.sleep(10)
    job = requests.get(job["polling_url"], headers=HEADERS).json()

if job["status"] == "completed":
    video = requests.get(job["unsigned_urls"][0], headers=HEADERS)
    with open("video.mp4", "wb") as file:
        file.write(video.content)
    print("pricing", job["usage"]["cost"])
else:
    print(job["status"], job.get("error"))

Details

Supported input
Text/Text
Output
Video with audio (MP4)
Length
4, 6, 8 seconds
First-frame image
Supported
Resolution
720p, 1080p, 4k
Aspect ratio
16:9, 9:16
Provider
Google Vertex AI
Supported parameters
aspect_ratio, duration, frame_images, resolution, seed

Frequently asked questions

What kind of model is Veo 3.1?

A model from Google. Highest-quality option for video with audio. Model ID on AlpRouter: google/veo-3.1

How much does Veo 3.1 cost?

About 648 credits per second of video (720p). One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

What input and output does Veo 3.1 support?

Send Text, images to receive Video with audio.

Which providers handle Veo 3.1 requests?

Google Vertex AI handles these requests.

How do I call Veo 3.1 from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (google/veo-3.1). There’s an example of how to do this in the “Using the API” section above.

Other models from Google