Skip to content

Google

Gemini Omni 1.2 Flash

Generates video with audio from a text description.

google/gemini-omni-1.2-flash
Input → Output
Text, images → Video with audio
Maximum input
-
Provider
1
Tool invocation
-

Price per million tokens

Input
2,430 credits
Video output
19,440 credits

Price per second of video

360p
37.5 credits
720p
112.6 credits
1080p
168.9 credits
4k
337.8 credits

This covers video tokens only. The prompt and the model’s reasoning tokens add a small amount.

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 AI112.6 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/gemini-omni-1.2-flash",
    "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
3 to 15 seconds
First-frame image
Supported
Resolution
360p, 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 Gemini Omni 1.2 Flash?

A model from Google. Generates video with audio from a text description. Model ID on AlpRouter: google/gemini-omni-1.2-flash

How much does Gemini Omni 1.2 Flash cost?

About 112.6 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 Gemini Omni 1.2 Flash support?

Send Text, images to receive Video with audio.

Which providers handle Gemini Omni 1.2 Flash requests?

Google Vertex AI handles these requests.

How do I call Gemini Omni 1.2 Flash 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/gemini-omni-1.2-flash). There’s an example of how to do this in the “Using the API” section above.

Other models from Google