Skip to content
Dashboard

Gemini Omni Flash Preview

Gemini Omni Flash Preview is the first model in Google's Omni family, generating short video with synchronized audio from text, images, or video references, then refining it through stateful conversational edits that preserve the parts of a clip you did not mention.

View API reference
Input and output price
Prices from: Input $1.50, Output $9, Per 1M tokens
24h uptime
Loading AI Gateway uptime
import { streamText } from 'ai'
const result = streamText({
model: 'google/gemini-omni-flash-preview',
prompt: 'Why is the sky blue?'
})
Read docs

Copy link to headingPlayground

Try out Gemini Omni Flash Preview by Google. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

google logo
Start frame(optional)
Videos(optional)
Prompt (required)
google logo

Your generated video will appear here.

Copy link to headingProviders

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Input
Output
Capabilities
ZDR
No Training
Free Tier
Release Date
$1.50/M+2 more
$9/M
+1
06/30/2026
$1.50/M+2 more
$9/M
+1
06/30/2026

Copy link to headingUptime

Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.

Copy link to headingThroughput

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.

Copy link to headingLatency

P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.

Getting started

Call Gemini Omni Flash Preview through AI Gateway with the AI SDK generateText and streamText functions, or through the OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages APIs by changing the base URL. AI Gateway authenticates the request and routes it to an available provider.

Install the AI SDK (pnpm add ai dotenv), create an API key from the API Keys page, and set it as AI_GATEWAY_API_KEY in your environment. Full setup is covered in the text generation quickstart.

index.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
prompt: 'Why is the sky blue?',
});
console.log(result.text);
}
main().catch(console.error);

Top-level parameters

The same Gemini Omni Flash Preview request in each API format AI Gateway supports.

top-level-params.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
system: 'You are a concise technical assistant.',
prompt: 'Summarize the tradeoffs between static generation and SSR.',
maxOutputTokens: 1024,
});
console.log(result.text);
}
main().catch(console.error);

Standard parameters like prompt, messages, temperature, and tools work as documented in the AI SDK docs. These are the parameters with model-specific behavior.

ParameterTypeRequiredDescription
modelstringYesModel ID in the form creator/model, e.g. google/gemini-omni-flash-preview. AI Gateway routes the request to an available provider.
maxOutputTokensnumberNoHard cap on generated tokens. Gemini Omni Flash Preview supports up to 57,920 output tokens. Reasoning tokens count toward this limit.
reasoning'provider-default' | 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'NoProvider-agnostic reasoning effort, available in AI SDK 7 or later. Maps to the provider’s native reasoning configuration; reasoning settings under providerOptions take precedence when both are set. See the Reasoning section below.
providerOptionsRecord<string, JSONValue>NoAI Gateway routing options under gateway, plus any provider-native options under the provider’s own namespace — see the table below.

Input limits

InputFormatsSourcesMax countMax sizeLimits
TextPrompt and response share the 1M-token context window
ImageURL, base64, Uint8ArraySent as image parts in messages; counts as input tokens
PDFURL, base64, Uint8ArraySent as file parts in messages; counts as input tokens

Provider options

Set AI Gateway routing options under providerOptions.gateway. For provider-specific options, pass them under the provider’s namespace as documented by the AI SDK.

Learn more in the AI SDK google provider docs.

provider-options.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
prompt: 'Why is the sky blue?',
providerOptions: {
gateway: {
only: ['vertex', 'google'],
},
},
});
console.log(result.text);
}
main().catch(console.error);

These AI Gateway routing options apply to every model. Provider-specific options pass through under the provider’s own namespace (for example providerOptions.anthropic) exactly as documented by the AI SDK.

ParameterTypeRequiredDescription
providerOptions.gateway.onlystring[]NoRestrict routing to these provider slugs. Requests fail over only within the listed providers.
providerOptions.gateway.orderstring[]NoPreferred provider order. Listed providers are tried first; unlisted providers remain available as fallbacks.
providerOptions.gateway.sort'cost' | 'ttft' | 'tps'NoRank candidate providers by price, time to first token, or tokens per second instead of the default routing order.
providerOptions.gateway.zeroDataRetentionbooleanNoRoute only to providers with a zero-data-retention policy for this model.

Routing across providers

AI Gateway serves the same model through multiple providers and fails over automatically. order expresses a preference while keeping every provider eligible; only is a hard allowlist — if none of the listed providers are available the request fails instead of falling back.

Options under a provider's own namespace (for example providerOptions.anthropic) are forwarded to that provider with the request. Providers ignore option namespaces that don't apply to them, so it is safe to set provider options alongside gateway routing options.

Reasoning

AI Gateway bridges reasoning across every API format. The AI SDK exposes a provider-agnostic top-level reasoning level (none, minimal, low, medium, high, or xhigh); the Chat Completions and Responses formats take the same effort under reasoning.effort; and the Anthropic Messages format uses a native thinking token budget. Whichever you send, the gateway maps it to the target model’s native configuration, converting between effort levels and token budgets as needed. Reasoning-related settings under providerOptions take full precedence over the top-level reasoning value and are never merged. Reasoning tokens typically count toward your output-token usage, though how they’re reported and billed varies by provider.

Learn more in the AI Gateway reasoning guide.

reasoning.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
prompt: 'Explain the Monty Hall problem step by step.',
reasoning: 'high',
});
console.log(result.text);
}
main().catch(console.error);

Image input

Send images alongside text as message parts. Images count as input tokens.

image-input.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
messages: [
{
role: 'user',
content: [
{ type: 'text', text: 'Describe this image.' },
{ type: 'image', image: 'https://example.com/photo.jpg' },
],
},
],
});
console.log(result.text);
}
main().catch(console.error);

PDF input

Attach PDFs as file parts. Their contents count as input tokens.

pdf-input.ts
import { generateText } from 'ai';
import 'dotenv/config';
async function main() {
const result = await generateText({
model: 'google/gemini-omni-flash-preview',
messages: [
{
role: 'user',
content: [
{ type: 'text', text: 'Summarize this document.' },
{
type: 'file',
mediaType: 'application/pdf',
data: 'https://example.com/document.pdf',
},
],
},
],
});
console.log(result.text);
}
main().catch(console.error);

Copy link to headingMore models by Google

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Free Tier
Release Date
1M1.9 s417 tps
$0.75/M
$3.75/M
Read$0.08/M
$14/K+1 more
+3
google logo
vertex logo
09/02/2026
1M0.9 s279 tps
$0.75/M
$3.75/M
Read$0.08/M
$14/K+1 more
+3
google logo
vertex logo
08/13/2026
1M0.5 s307 tps
$0.30/M
$2.50/M
Read$0.03/M
$14/K+1 more
+3
google logo
vertex logo
07/21/2026
1M0.6 s255 tps
$0.25/M
$1.50/M
Read$0.03/M
$14/K+1 more
+3
google logo
vertex logo
05/07/2026
1M0.6 s199 tps
$0.50/M+1 more
$3/M+1 more
Read$0.05/M
$14/K+1 more
+3
google logo
vertex logo
12/17/2025
1M0.3 s271 tps
$0.10/M
$0.40/M
Read$0.01/M
$35/K+1 more
+3
google logo
vertex logo
06/17/2025

Copy link to headingAbout Gemini Omni Flash Preview

Gemini Omni Flash Preview is the first model in Google's Omni family and reached public preview on June 30, 2026. It processes text, images, and video together and returns video with synchronized audio. Clips run 3 to 10 seconds at 720p, in landscape (16:9) or portrait (9:16), with landscape as the default. Google grounds Gemini Omni Flash Preview in Gemini's world knowledge, pairing an understanding of physics with knowledge of history, science, and cultural context.

Stateful editing is what separates Gemini Omni Flash Preview from a plain text-to-video model. Each turn carries the previous clip and its references forward, so you can generate a scene, restyle it, swap a subject, insert an object, or relight it across several turns without describing the whole shot again. You can also branch from any earlier version. Keep edit prompts short: Make the phone invisible. Keep everything else the same produces a cleaner result than a paragraph of instructions, because long prompts invite changes you did not ask for.

Reference images bind to roles. Mark an image as the starting frame or as a style or subject reference, and Gemini Omni Flash Preview either animates it directly or borrows its look. A task field accepts text_to_video, image_to_video, reference_to_video, and edit when you want to state intent rather than let the model infer it. Audio generates alongside the video, and you can describe the track you want, including background music, sound effects, and events timed to specific seconds.

Every clip Gemini Omni Flash Preview produces carries SynthID watermarking, invisible to viewers but detectable for provenance checks, and C2PA content credentials. Rates for Gemini Omni Flash Preview are listed on this page as N/A, and N/A breaks out the resolution and duration tiers. Clip length is the main cost lever, since billing scales with the video you generate. Calling Gemini Omni Flash Preview through AI Gateway adds usage and cost tracking, automatic retries, and provider failover on one API surface.

Copy link to headingWhat To Consider When Choosing a Provider

  • Configuration: Gemini Omni Flash Preview is a preview model, so behavior and supported parameters can change. Several controls that text models expose are unavailable: system instructions, temperature, top_p, stop sequences, and negative prompts. Put exclusions in the prompt text instead, for example no dialogue. Audio references are not accepted as input, video extension and frame interpolation are unsupported, voice editing is unsupported, and prompting across multiple videos degrades output. Editing video you uploaded is unavailable in the European Economic Area, Switzerland, and the United Kingdom, though editing video the model generated is supported. Validate the behavior your product depends on before it carries production traffic.
  • Zero Data Retention: Zero Data Retention is available for this model. It is offered on a per-provider and model basis. See the documentation for details.
  • Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.

Copy link to headingWhen to Use Gemini Omni Flash Preview

Best for

  • Conversational Video Editing: Iterative refinement across turns preserves the parts of a clip you did not mention
  • Short Social Video: Clip lengths of 3 to 10 seconds in portrait or landscape suit social and ad placements
  • Product Asset Animation: Reference images act as starting frames or style guides for generated motion
  • Style and Subject Swaps: Restyling a scene or replacing a subject runs as a follow-up turn, not a regeneration
  • Agentic Media Workflows: Generation and editing sit inside your application rather than a separate creative tool

Consider alternatives when

  • Higher Resolution Deliverables: google/veo-3.1-generate-001 renders at up to 1080p for finished output
  • High-Volume Generation: google/veo-3.1-lite-generate-001 targets cost-sensitive pipelines running at scale
  • Still Image Output: google/gemini-3-pro-image and google/imagen-4.0-generate-001 return images rather than video
  • Stable Production Surface: Preview status means parameters and behavior can change during a rollout
  • Regional Editing Limits: Uploaded-video editing is unavailable in the European Economic Area, Switzerland, and the United Kingdom

Gemini Omni Flash Preview treats video as something you revise rather than regenerate. For teams putting short-form video inside a product, the value sits in the stateful edit loop: a marketing or training team can reach a usable cut by talking to the model instead of rewriting a prompt from scratch. Preview status means you should validate the parameters and regional paths your product depends on first.

Copy link to headingFrequently Asked Questions

  • How does Gemini Omni Flash Preview differ from the Veo models?

    Gemini Omni Flash Preview generates video and then edits it conversationally across turns, carrying the previous clip and its references forward. Veo models generate a clip per request and render at higher resolution. Gemini Omni Flash Preview fits iterative short-form work; Veo fits finished deliverables.

  • How does conversational editing work?

    Each turn references the previous interaction, so the model retains the clip and its references without a re-upload. Send a short instruction such as change the lighting to be more dramatic and Gemini Omni Flash Preview applies it while preserving what you did not mention. Chain turns to branch between versions.

  • How long are the clips and at what resolution?

    3 to 10 seconds at 720p, in landscape (16:9) or portrait (9:16), with landscape as the default. See the Specs table on this page for the current list of supported options.

  • Does Gemini Omni Flash Preview generate audio?

    Yes. Audio generates alongside the video, and you can describe the track you want in the prompt, including background music, sound effects, and events timed to specific seconds. Audio references are not accepted as input, and voice editing is unsupported.

  • What limitations should I plan around?

    System instructions, temperature, top_p, stop sequences, and negative prompts are unsupported, so exclusions go in the prompt text. Video extension and frame interpolation are unsupported, and prompting across multiple videos degrades output. Editing uploaded video is unavailable in the European Economic Area, Switzerland, and the United Kingdom.

  • How is Gemini Omni Flash Preview priced?

    Rates for Gemini Omni Flash Preview are listed on this page as N/A, and N/A breaks out the resolution and duration tiers. Clip length is the lever you control, so shorter clips cost less. AI Gateway reflects provider pricing with no markup and charges no platform fee on inference.

  • Are videos from Gemini Omni Flash Preview watermarked?

    Yes. Every clip carries SynthID watermarking, which viewers cannot see but which can be detected programmatically for provenance verification, along with C2PA content credentials.

  • Which prompt languages does Gemini Omni Flash Preview support?

    English is fully supported. Google has not evaluated other languages, so they may work but results vary. Content safety filters apply to both prompts and generated video and depend on your region.

  • How do I use Gemini Omni Flash Preview on AI Gateway?

    Use the identifier google/gemini-omni-flash-preview with generateVideo from the AI SDK. AI Gateway handles provider routing and failover. Multi-turn editing depends on the stateful interaction flow, so check https://vercel.com/docs/ai-gateway/capabilities/video-generation for the parameters AI Gateway forwards.

  • How does Zero Data Retention work with Gemini Omni Flash Preview through AI Gateway?

    Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

Your use is subject to Google's Terms & Privacy Policies.