Skip to content

Google: gemini-omni-1.2-flash

Active on this gateway Video

Gemini Omni 1.2 Flash is Google's native multimodal video generation and editing model, the successor to Gemini Omni 1.1 Flash. It generates clips up to 15 seconds long with native audio in 16:9 or 9:16, from 360p drafts up to 4K, and supports text-to-video, image-to-video, first and last frame interpolation, subject and video references with improved reference management, and editing or extending an uploaded video. Multi-turn editing and extension of a prior generation is supported through previous_job_id.

Note: video generation is only supported through the Video Generation API. See the guide: Apiex

AcceptsText
ProducesVideo

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Price per second, by resolution
Resolution With audio
360P 8,314 Toman$0,02781
720P 24,938 Toman$0,08341
4K 74,814 Toman$0,2502
Any 37,407 Toman$0,1251

Billed from the length and resolution you choose. The exact cost is shown before you start a video.

Statistics

Live performance and usage of this model, aggregated across all users.

Video generation

Clip length
3–15 s
Resolutions
720P · 1080P · 4K · 360P
Aspect ratios
16:9 · 9:16
Audio
Can generate audio
Start from an image
Supported

API

Start a video, check its progress and download the finished file with your API token.

POST https://apiex.cloud/api/v1/videos
<?php
function api( $url, $body = null ) {
    $ch      = curl_init( $url );
    $headers = array( "Authorization: Bearer YOUR_API_KEY" );

    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
    if ( null !== $body ) {
        $headers[] = "Content-Type: application/json";
        curl_setopt( $ch, CURLOPT_POSTFIELDS, json_encode( $body ) );
    }
    curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers );

    return curl_exec( $ch );
}

$job = json_decode( api( "https://apiex.cloud/api/v1/videos", array(
    "model" => "google/gemini-omni-1.2-flash",
    "prompt" => "A calm sunrise over snowy mountains, slow aerial shot.",
    "duration" => 3,
    "resolution" => "720p",
    "aspect_ratio" => "16:9",
    "generate_audio" => true,
) ), true );

// Videos take a while: check the job until it finishes.
while ( in_array( $job["status"], array( "queued", "in_progress" ), true ) ) {
    sleep( 10 );
    $job = json_decode( api( $job["polling_url"] ), true );
}

if ( "completed" === $job["status"] ) {
    file_put_contents( "video.mp4", api( $job["content_url"] ) );
} else {
    print_r( $job["error"] );
}
Example response
{
  "id": "vid_123",
  "object": "video",
  "model": "google/gemini-omni-1.2-flash",
  "status": "queued",
  "created_at": 1767225600,
  "polling_url": "https://apiex.cloud/api/v1/videos/vid_123"
}

Authentication Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.

Supported parameters

Parameter Type Description
model string, required This model's ID, exactly as shown above.
prompt string, required Describe the video you want. Up to 4,000 characters.
duration integer, optional Clip length in seconds. Leave it out to let the model choose.
aspect_ratio string, optional One of 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9. The default is 16:9.
resolution string, optional For example 720p or 1080p. Only the resolutions this model supports are accepted.
generate_audio boolean, optional Ask the model to generate audio together with the video, when it can.
image string, optional A first frame to start the clip from: a PNG, JPEG or WebP data URL, or an https link.

Frequently asked questions

What is gemini-omni-1.2-flash?

Gemini Omni 1.2 Flash is Google's native multimodal video generation and editing model, the successor to Gemini Omni 1.1 Flash. It generates clips up to 15 seconds long with native audio in 16:9 or 9:16, from 360p drafts up to 4K, and supports text-to-video, image-to-video, first and last frame interpolation, subject and video references with improved reference management, and editing or extending an uploaded video. Multi-turn editing and extension of a prior generation is supported through previous_job_id.

Note: video generation is only supported through the Video Generation API. See the guide: Apiex

How much does gemini-omni-1.2-flash cost?

Input tokens are priced at $1,80 per 1,000,000 tokens and output tokens at $10,80 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

Does gemini-omni-1.2-flash support image input?

gemini-omni-1.2-flash currently accepts text input only.

Which provider is gemini-omni-1.2-flash from?

gemini-omni-1.2-flash is developed by Google and made available on this gateway through our routing infrastructure.

When was gemini-omni-1.2-flash added to this gateway?

gemini-omni-1.2-flash has been available on this gateway since November 21, 2026.

Is gemini-omni-1.2-flash currently available?

Yes, gemini-omni-1.2-flash is active and can be used right now through this gateway.

Ready to build with one API?

Create an account, make a key and send your first request in a few minutes.

Create your account