Home / Blog / Gemini Omni 1.2 Flash now available on AI Gateway
Tech News

Gemini Omni 1.2 Flash now available on AI Gateway

Gemini Omni 1.2 Flash from Google is on AI Gateway, generating 3–15 second videos with native audio from one API key and no separate Google account.

By Dillip Chowdary • Nov 05, 2026 • Source: Vercel Blog

Gemini Omni 1.2 Flash now available on AI Gateway

Google's Gemini Omni 1.2 Flash is now available on AI Gateway. Developers can generate videos from text prompts with one API key and no separate Google account. Vercel Blog's report says the model generates 3–15 second videos with native audio and edits 3–15 second source clips with up to six reference images.

This piece is for developers calling models through AI Gateway and the AI SDK. It covers the clip lengths, reference-image cap, extension limits, resolutions, and aspect ratios Gemini Omni 1.2 Flash accepts, then the generateText and streamText calls that save an MP4. It also covers Gateway pricing, which reflects provider rates with no markup and no platform fee on inference, including Bring Your Own Key (BYOK) requests.

What shipped in Gemini Omni 1.2 Flash

Gemini Omni 1.2 Flash from Google is the model now listed on AI Gateway for text-to-video. A call generates a 3–15 second video with native audio. The same model edits a 3–15 second source clip and accepts up to six reference images on that edit. Callers use one API key and do not open a separate Google account. In the AI SDK, generateText or streamText receives the generated video as a file, and the sample looks for media type video/mp4 before it writes video.mp4.

Extend a video by 3–10 seconds per call, up to 30 seconds total. A follow-up call refines a generated clip when it passes previousInteractionId. Output supports 360p, 720p, 1080p, and 4K in 16:9 or 9:16. The published example sets the model to google/gemini-omni-1.2-flash, requests duration 3s at resolution 360p with type video, and writes the returned bytes to video.mp4. providerOptions.google on that call sets responseModalities to text and video. generateText returns the MP4 on files as uint8Array, which writeFile then stores.

What improved in Gemini Omni 1.2 Flash

AI Gateway reflects provider pricing for Gemini Omni 1.2 Flash with no markup, and it does not charge a platform fee on inference, including Bring Your Own Key (BYOK) requests. The model string is google/gemini-omni-1.2-flash. A text prompt returns a 3–15 second clip with native audio. An edit takes a 3–15 second source clip and up to six reference images. Each extend call adds 3–10 seconds, and the video can reach 30 seconds total. A later call passes previousInteractionId when it refines that clip.

Gemini Omni 1.2 Flash now available on AI Gateway
Illustration · Pexels
ItemProvider sideAI Gateway side
Inference priceProvider pricingNo markup
Platform feeReflected with provider pricingNone on inference, including BYOK
New clipText prompt3–15 seconds with native audio
EditSource clip of 3–15 secondsUp to six reference images
Extend3–10 seconds added per call30 seconds total
RefineFollow-up callpreviousInteractionId
Picture360p, 720p, 1080p, and 4K16:9 or 9:16
SDK sampleresolution 360p, duration 3s, type videovideo.mp4 with media type video/mp4

AI Gateway is also the unified API that tracks usage and cost for this model and configures retries, failover, and performance optimizations for higher-than-provider uptime. Custom reporting, Zero Data Retention support, budgets for API keys, and routing rules sit on that same path. The sample call still asks for a 360p video lasting 3s and saves video.mp4 from the video/mp4 file. One API key covers the call, with no separate Google account. streamText delivers that video as a completed file on fullStream.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

What you gain from Gemini Omni 1.2 Flash

Developers keep one API key and skip a separate Google account when they call google/gemini-omni-1.2-flash. The video comes back as a file from generateText or from streamText, with native audio on a 3–15 second generation. Usage and cost for that call are tracked on AI Gateway beside retries, failover, and the performance optimizations aimed at higher-than-provider uptime. Budgets for API keys, routing rules, custom reporting, and Zero Data Retention support are on the same Gateway. The sample prompt is "A red ball rolls across a white table."

The bill is provider pricing with no markup and with no platform fee on inference, including BYOK requests. A caller can request 360p, 720p, 1080p, or 4K in 16:9 or 9:16. An edit can attach up to six reference images to a 3–15 second source clip. An extension adds 3–10 seconds per call until the total reaches 30 seconds, and a follow-up can send previousInteractionId to refine the clip. Other models on this Gateway are listed in the AI Gateway model catalog.

How to get Gemini Omni 1.2 Flash

Set the model to google/gemini-omni-1.2-flash. The generateText example imports writeFile from node:fs/promises and generateText from ai. The prompt is "A red ball rolls across a white table." providerOptions.google sets responseModalities to text and video, and responseFormat to a video at 360p for 3s. The call returns files. Find the entry whose mediaType is video/mp4. If it is missing, throw the error "No MP4 video returned". Otherwise write video.uint8Array to video.mp4. That is the non-streaming path, and the model is selected by the model field on this call.

Command
```javascript
import { writeFile } from 'node:fs/promises';
import { generateText } from 'ai';
Command
```javascript
import { writeFile } from 'node:fs/promises';
import { streamText } from 'ai';

What to watch after Gemini Omni 1.2 Flash

Stay inside the published caps. A generation is 3–15 seconds with native audio. An edit takes a 3–15 second source clip and at most six reference images. An extension adds 3–10 seconds per call and stops at 30 seconds total. Refinement of an existing generation is a follow-up call that sends previousInteractionId. Pixels are 360p, 720p, 1080p, or 4K, and the frame is 16:9 or 9:16. The sample that writes video.mp4 asks only for 360p and 3s, with responseModalities set to text and video.

On streamText, fullStream delivers the video as one completed file with mediaType video/mp4, then the example writes part.file.uint8Array. An error part throws part.error. generateText throws "No MP4 video returned" when files has no video/mp4 entry. AI Gateway still tracks usage and cost, applies budgets for API keys, and exposes routing rules, custom reporting, and Zero Data Retention support. Provider pricing is reflected with no markup and with no platform fee on inference, including BYOK. Other models are listed in the AI Gateway model catalog.

Developer Action Items

  • ☐ Diff the official changelog for Gemini / Google 1.2 before you bump — APIs, defaults, and removed flags only.
  • ☐ Install through the vendor's documented channel in staging; keep a one-command rollback and time-box the canary.
  • ☐ Grep your repo for old flag names, lockfile pins, and plugin versions that the notes mark as breaking.
  • ☐ Prefer the first patch cut over the day-zero tag unless you have a reason to be on the leading edge.
  • ☐ If Vercel Blog did not name a region, plan, or SKU, screenshot the official availability line before you promise it to users.

Gemini Omni 1.2 Flash FAQ

Is Gemini Omni 1.2 Flash available on AI Gateway?

Yes, Google's Gemini Omni 1.2 Flash is on AI Gateway. Video prompts run with one API key and no separate Google account. The AI SDK model string is google/gemini-omni-1.2-flash.

How long a video can Gemini Omni 1.2 Flash make?

It generates 3–15 second videos with native audio. You can extend a video by 3–10 seconds per call, up to 30 seconds total. Edits take a 3–15 second source clip and up to six reference images.

What resolutions and aspect ratios does Gemini Omni 1.2 Flash output?

Output supports 360p, 720p, 1080p, and 4K in 16:9 or 9:16. The AI SDK example requests a three-second 360p clip and saves it as video.mp4.

Does AI Gateway add a fee on top of Gemini Omni 1.2 Flash?

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference. That includes Bring Your Own Key (BYOK) requests.

How do you refine a clip or read the file in the AI SDK?

Pass previousInteractionId on a follow-up call to refine a generated clip. generateText returns files, keeps the entry whose mediaType is video/mp4, and writes video.uint8Array to video.mp4. streamText reads fullStream, writes part.file.uint8Array for a video/mp4 file part, and throws part.error when the part type is error.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →