veo3.1-quality-official API
Generate videos from text or images with Google's Veo high-quality version on Openrouter API.
veo3.1-quality-officialveo3.1-quality-official API pricing
All prices in USD. Openrouter API rates compared with the official list price for the same unit.
| Option | Openrouter API | Official | Save |
|---|---|---|---|
| DefaultDefault | $0.176 | $0.20 | −12% |
| 1080P | $0.176 | $0.20 | −12% |
| 4K | $0.352 | $0.40 | −12% |
| 4K-audio | $0.528 | $0.60 | −12% |
| 720P | $0.176 | $0.20 | −12% |
| audio | $0.352 | $0.40 | −12% |
Prices are per second.
What is veo3.1-quality-official?
Google's veo3.1-quality-official is the Veo 3.1 Official High Quality version for video generation on Openrouter API. Use it to turn text descriptions into clips or animate an image with first-frame control. You can also provide a last-frame image to guide the ending. Controls include negative prompts, landscape or portrait aspect ratios, 4-, 6-, or 8-second durations, resolution selection, optional audio tracks, and person generation policies.
Requests run asynchronously: submit a generation request and use the returned task ID for subsequent queries. Openrouter API provides one API key and an OpenAI-compatible base URL at https://openrouterapi.ru/v1. Billing is pay-as-you-go and applies only to successful requests. Default pricing is $0.176 per second, about 12% below the developer's list price. Resolution and audio configurations have separate per-second rates.
veo3.1-quality-official highlights
Text and Image Inputs
Generate video from a required text prompt, or add a first-frame image for image-to-video. An optional last-frame image lets you control both endpoints.
Duration and Format Controls
Choose 4-, 6-, or 8-second clips in 16:9 or 9:16. The resolution parameter lists 720p, 1080p, and 4K options.
Optional Audio Tracks
Enable audio track generation with generate_audio. Openrouter API lists separate audio and 4K-audio pricing configurations.
Content and Image Controls
Use negative prompts to exclude unwanted content and person_generation to allow adults or disallow people. Image-to-video supports padding or cropping through resize_mode.
How to call the veo3.1-quality-official API in 4 steps
- 01
Get an API key
Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.
- 02
Set the base URL
Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.
- 03
Send the request
Call POST /v1/videos/generations with "model": "veo3.1-quality-official" and the parameters below.
- 04
Handle the response
The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.
Request examples
Documentation: VEO3 Official Video Generationcurl --request POST \
--url https://openrouterapi.ru/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "veo3.1-quality-official",
"prompt": "a golden retriever running on the beach, sunset, cinematic",
"duration": 8,
"aspect_ratio": "16:9"
}'Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | — | Video generation model name |
nsfw_check | boolean | Optional | false | Whether to run content moderation before submitting the video task. |
prompt | string | Required | — | Positive text prompt |
negative_prompt | string | Optional | — | Negative prompt to exclude unwanted content |
duration | integer | Optional | 8 | Video duration in seconds |
aspect_ratio | string | Optional | 16:9 | Video aspect ratio |
resolution | string | Optional | 720p | Video resolution |
first_frame_image | string | Optional | — | First frame image URL for image-to-video generation |
last_frame_image | string | Optional | — | Last frame image URL for image-to-video generation |
seed | integer | Optional | — | Random seed for reproducing generation results |
sample_count | integer | Optional | 1 | Number of samples to generate (1-4), currently recommended to use `1` |
generate_audio | boolean | Optional | false | Whether to generate audio track |
person_generation | string | Optional | allow\_adult | Person generation policy |
resize_mode | string | Optional | pad | Image resize strategy (effective for image-to-video) |
enhance_prompt | boolean | Optional | true | Whether to enable prompt enhancement |
What you can build with veo3.1-quality-official
Short Creative Clips
Build a tool that turns scene descriptions into short landscape or portrait videos, with selectable duration and resolution.
Image Animation Workflows
Let users supply a publicly accessible image URL and a prompt describing the desired action to create an image-to-video task.
Controlled Scene Transitions
Use first- and last-frame images to guide a clip between two visual endpoints for storyboard or transition workflows.
Audio-Enabled Video Tools
Offer optional generated audio tracks in a video creation interface, with configuration-specific pricing shown before submission.
Tips for better results
- 01
Describe the Scene Clearly
Specify scenes, actions, and styles in the prompt; English prompts are recommended. Use negative_prompt to describe unwanted content.
- 02
Use Valid Parameter Values
Send duration as an unquoted integer using 4, 6, or 8. Keep sample_count at the recommended value of 1, and omit enhance_prompt or set it to true.
- 03
Plan for Async Tasks
Submit to POST /v1/videos/generations and retain the returned task_id for subsequent queries. Build your interface around task submission rather than expecting an immediate video result.
- 04
Budget by Configuration
Default, 720P, and 1080P each cost $0.176 per second; 4K costs $0.352 per second. Audio costs $0.352 per second, while 4K-audio costs $0.528 per second.
Limits and things to know
Generation is asynchronous and returns a task ID for subsequent queries.
Input image URLs must be publicly accessible without hotlink protection; object storage URLs are recommended over temporary links.
Setting enhance_prompt to false causes a request error.
veo3.1-quality-official API FAQ
How much does veo3.1-quality-official cost on Openrouter API?
Default, 720P, and 1080P cost $0.176 per second; 4K and audio each cost $0.352 per second; 4K-audio costs $0.528 per second. The default configuration is about 12% below the developer's list price, and Openrouter API bills only successful requests.
How do I call veo3.1-quality-official through the API?
Send a Bearer-authenticated POST request to https://openrouterapi.ru/v1/videos/generations with model set to veo3.1-quality-official and a required prompt. The asynchronous response returns a task ID for subsequent queries.
Does it support image-to-video and audio?
Yes. Supply first_frame_image for image-to-video and optionally last_frame_image to control the ending; set generate_audio to true to request an audio track.
What durations, resolutions, and sample counts are available?
The documentation lists 4-, 6-, and 8-second durations, 720p, 1080p, and 4K resolutions, and 16:9 or 9:16 aspect ratios. sample_count accepts 1–4, with 1 currently recommended.
Can I use generated videos commercially?
Commercial use is subject to the model developer's terms. Review the applicable Google terms and content policies before using generated videos in a commercial product.
How does it compare with veo3.1-fast-official?
The documentation identifies veo3.1-quality-official as the Official High Quality version and veo3.1-fast-official as the Official Fast version. The names position them for quality-focused and speed-focused workflows, respectively; published information does not include comparative benchmarks.
Related models
Veo 3.1
veo3.1-fastveo3.1-fast-official
veo3.1-lite
Veo 3.1 Quality
veo3.1-qualitygemini-omni-1.1-flash-ext
Omni-Flash-Extgemini-omni-1.1-flash
gemini-omni-1.2-flash
gemini-omni-1.2-flash-ext
Start building with veo3.1-quality-official
One key, pay as you go from $50, billed only for successful requests.
