Skip to main content
Model ID
Calling method: async

Gemini Omni 1.2 Flash API Usage Guide

Overview

Gemini Omni 1.2 Flash is Google’s fast, cost-effective video model for generation and editing, built for high-volume work such as product and catalog clips, virtual try-ons, ad variations and creative applications. It turns a text prompt, optionally with reference images or input videos, into video with generated audio at 360p, 720p, 1080p or 4K, in 16:9 or 9:16. What’s new in 1.2:
  • Longer clips: text-to-video and image-to-video up to 15 seconds, and edits of source videos up to 15 seconds (up from 10).
  • Upscaling: draft quickly at 360p or 720p, then upscale the clips you keep to 1080p or 4K.
  • Lower price: $0.07 per second of 720p video, 30% less than Gemini Omni 1.1 Flash.
  • Consistent results: stronger adherence to image and video references keeps characters, products and brand details consistent across shots.
All generated videos carry an invisible SynthID watermark and C2PA content credentials.

Authentication

Include your API key in the Authorization header:

Submit a request

Endpoint

Text to video (15 seconds)

Image to video

Edit a video

Leave durationSeconds and aspectRatio at auto (or omit them): the edited video follows the source clip.

Upscale a video

resolution is the target and must be above the source: 360p to 720p or 1080p, 720p to 1080p or 4K, 1080p to 4K. No prompt is needed.

Request parameters

Parameter names match our Veo video models, so a single integration works across both.

Check status

On success, outcome.media_urls[0].url is the generated video (MP4), with thumbnail_image_url alongside. To edit or upscale a result, pass that URL as video.

Pricing

  • The rate is the same with or without audio and for either aspect ratio.
  • Upscaling is billed at the target resolution’s rate for the length of the source video.
  • Input references (text, images, video) are billed at $1.50 per 1M tokens; an image is 1,120 tokens. Text and reasoning tokens the model produces are billed at $9.00 per 1M tokens.
  • The requested duration is held when you submit (15 seconds when duration is auto), and the charge is settled to the actual length of the video once it is generated.

Capabilities & limits

  • Duration: 3-15 seconds for text-to-video and image-to-video; up to 10 seconds for first-and-last-frame interpolation and reference-to-video.
  • Input video: up to 3 videos, each up to 15 seconds. For upscale: 360p, 720p or 1080p source in 16:9 or 9:16.
  • Reference images: up to 5.
  • Aspect ratio: 16:9 or 9:16. Resolution: 360p, 720p, 1080p or 4K.