gemini-omni-1.1-flash API
Generate, edit, and extend videos with audio using Google's Gemini Omni 1.1 Flash on Openrouter API.
gemini-omni-1.1-flashgemini-omni-1.1-flash 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.0968 | $0.10 | −3% |
| 1080P | $0.1452 | $0.15 | −3% |
| 360P | $0.03256 | $0.034 | −4% |
| 4K | $0.2904 | $0.30 | −3% |
| 720P | $0.0968 | $0.10 | −3% |
Prices are per second.
What is gemini-omni-1.1-flash?
Google's Gemini Omni 1.1 Flash is an all-in-one multimodal video generation model available on Openrouter API as gemini-omni-1.1-flash. It supports text-to-video, image-to-video, multi-subject references, first-and-last-frame interpolation, video editing, and extension. Build workflows around scene prompts, reference images, or an existing video, with outputs lasting 3–10 seconds at 24fps and including generated audio. Resolution options span 360p, 720p, 1080p, and 4K, with landscape and portrait aspect-ratio controls.
Submit requests to POST /v1/videos/generations with your Openrouter API Bearer token, then query results by task ID. Openrouter API provides one API key and an OpenAI-compatible base URL for access across its model catalog. Pricing is pay-as-you-go, with billing only for successful requests: the Default configuration costs $0.0968 per second, about 3% below the developer's list price. Resolution determines the task's deposit tier and primary video output cost.
gemini-omni-1.1-flash highlights
Six Video Workflows
Generate from text or images, use multi-subject references, interpolate between first and last frames, or edit and extend existing video.
Audio Included
Produce 3–10 second videos at 24fps with generated audio.
Resolution And Orientation
Choose 360p, 720p, 1080p, or 4K output. Set 16:9 for landscape or 9:16 for portrait; video-input workflows usually follow the source video's aspect ratio.
Frame And Reference Controls
Supply starting and ending frames or multiple subject and style references. Describe each reference image's purpose and relationships in the prompt.
How to call the gemini-omni-1.1-flash 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": "gemini-omni-1.1-flash" 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: Gemini Omni 1.1 Flash Video Generationcurl --request POST \
--url https://openrouterapi.ru/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gemini-omni-1.1-flash",
"prompt": "A marble rolling fast on a chain reaction style track, continuous smooth shot.",
"aspect_ratio": "16:9",
"resolution": "1080p"
}'Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | — | Video generation model name. Must be `gemini-omni-1.1-flash`. |
nsfw_check | boolean | Optional | false | Whether to run content moderation before submitting the video task. |
prompt | string | Optional | — | Text instructions. For text-to-video, describe the scene. For image-to-video, video editing, or extension, describe the motion, style, or requested edit. |
resolution | string | Optional | 720p | Output video resolution. Values are case-insensitive. |
aspect_ratio | string | Optional | 16:9 | Video aspect ratio, used to select landscape or portrait output. |
image_urls | array\<string\> | Optional | — | Reference image array. Only publicly accessible HTTP/HTTPS URLs are supported. |
first_frame_image | string | Optional | — | First-frame image. Only publicly accessible HTTP/HTTPS URLs are supported. |
last_frame_image | string | Optional | — | Last-frame image. Only publicly accessible HTTP/HTTPS URLs are supported, and it must be provided with `first_frame_image`. |
image_with_roles | array\<object\> | Optional | — | Image array with roles. It is an equivalent alternative to `first_frame_image` / `last_frame_image` and can also declare reference images. |
url | string | Required | — | A publicly accessible image HTTP/HTTPS URL. |
role | string | Required | — | Image role: |
video_urls | array\<string\> | Optional | — | Array of videos to edit or extend. Currently, at most one video can be provided, and it must be no longer than 10 seconds. |
metadata | object | Optional | — | Additional parameters used to explicitly specify the generation intent. |
task | string | Optional | — | Available task types: |
extend_from_task_id | string | Optional | — | The local `task_id` of the previous generation task. Use it for conversational editing or further extension without re-uploading the previous video. |
What you can build with gemini-omni-1.1-flash
Short Promotional Clips
Build a tool that turns scene descriptions into short videos with generated audio, with portrait or landscape output options.
Image Animation Tools
Let users supply a publicly accessible image as a starting frame and describe the motion or style they want.
Storyboard Transitions
Generate a transition between supplied first and last frames for a storyboard or visual sequence.
Video Revision Workflows
Create an editing interface that accepts a short source video and requested changes, or extends an earlier generation using its local task ID.
Tips for better results
- 01
Make References Explicit
When supplying multiple images, explain each image's subject, style, and relationship to the others in the prompt. Provide at least a prompt or supported media input.
- 02
Choose Resolution Deliberately
The default resolution is 720p. Openrouter API 360P costs $0.03256 per second, while Openrouter API 4K costs $0.2904 per second; select the tier appropriate to your output needs.
- 03
Use One Frame Method
Choose either first_frame_image / last_frame_image or image_with_roles for frame controls, not both. Match both frame images' aspect ratios to aspect_ratio.
- 04
Handle Tasks Asynchronously
Submit the generation request, retain the returned task ID, and query for the result. Use extend_from_task_id for further extension or conversational editing without re-uploading the previous video.
Limits and things to know
All effective image inputs, including first and last frames, are limited to 10 in total and must use publicly accessible HTTP/HTTPS URLs.
Video editing or extension accepts at most one source video, no longer than 10 seconds, through a publicly accessible direct HTTP/HTTPS URL.
Unsupported resolutions return an invalid_resolution error, and a last-frame image requires a first-frame image.
gemini-omni-1.1-flash API FAQ
How much does gemini-omni-1.1-flash cost on Openrouter API?
Openrouter API Default and Openrouter API 720P each cost $0.0968 per second; Openrouter API 360P costs $0.03256 per second, Openrouter API 1080P costs $0.1452 per second, and Openrouter API 4K costs $0.2904 per second. The Default configuration is about 3% below the developer's list price, with pay-as-you-go billing only for successful requests.
How do I call gemini-omni-1.1-flash through the API?
Send an authenticated POST request to https://openrouterapi.ru/v1/videos/generations with model set to gemini-omni-1.1-flash and an Authorization Bearer token. Include at least a prompt or supported media input, then query the asynchronous result by task ID.
Which output resolutions and aspect ratios are supported?
Supported resolutions are 360p, 720p, 1080p, and 4K, with 720p as the default; 2160p is treated as 4K. Supported aspect ratios are 16:9 and 9:16, but video-input workflows usually follow the input video's aspect ratio.
Can it generate audio and edit existing videos?
Yes, it produces 3–10 second videos at 24fps with generated audio and supports video editing and extension. A supplied source video must be no longer than 10 seconds, and only one source video is accepted per request.
Is content moderation enabled by default?
No. Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission; false or omitted adds no moderation request cost or latency.
Can I use generated videos commercially?
Commercial use is subject to the model developer's terms. Review the applicable Google terms and any rights requirements for your input images, videos, and generated content before commercial deployment.
Related models
gemini-omni-1.1-flash-ext
Omni-Flash-Extgemini-omni-1.2-flash
gemini-omni-1.2-flash-ext
gemini-omni-flash-preview
Veo 3.1
veo3.1-fastveo3.1-fast-official
veo3.1-lite
Veo 3.1 Quality
veo3.1-qualityStart building with gemini-omni-1.1-flash
One key, pay as you go from $50, billed only for successful requests.
