Module 01
Executive Overview: What Gemini Omni Flash Actually Is
Gemini Omni Flash is a natively multimodal video model from Google DeepMind, announced at Google I/O on May 19, 2026 by CEO Demis Hassabis, and available in public preview via the Gemini API since June 30, 2026. It generates and edits 720p video up to 10 seconds through natural language conversation at $0.10 per second.
Most AI video models are specialist pipelines: you feed in text, you get video, and if you want changes you regenerate the entire clip. Gemini Omni Flash is architecturally different. It is built on the Gemini foundation as a natively multimodal model that processes text, image, audio, and video inputs simultaneously within a single unified latent space.
This is not a language model with a video adapter bolted on. Omni merges reasoning and creation in the same architecture. It can "think" about what it sees, hears, and reads, then generate video that reflects that understanding. The practical consequence: you can have a conversation with it about a video clip, and it will modify the clip based on what you say while maintaining consistency.
The Two Google Video Models
Google ships two video models in the Gemini API, each optimized for different work:
Gemini Omni Flash
Conversational editing, remixing, storyboarding. 720p, 10 seconds. $0.10/sec. The default for most video tasks. Unique multi-turn editing via the Interactions API.
Veo 3.1
High-fidelity cinematic hero clips. Up to 4K, up to 60 seconds. Frame-specific control, scene extension. Enterprise production and long-form content.
The Sora Question
OpenAI officially discontinued Sora in early 2026. While Sora led in high-profile demonstrations of physical simulation and cinematic consistency throughout 2025, it is no longer available as of this writing. Any service claiming to provide official access to Sora should be treated as unauthorized. The competitive landscape in July 2026 is Gemini Omni Flash, Veo 3.1, Kling 2.1/3.0, and Runway Gen-4/4.5.
Source
Gemini Omni announcement: Google I/O keynote, May 19, 2026 (Demis Hassabis). API availability: ai.google.dev, June 30, 2026. Sora discontinuation: OpenAI official communications, early 2026.
Module 02
The Any-Input-to-Video Architecture
Gemini Omni Flash accepts text, images, audio tracks, and existing video clips as inputs, processing them all in a single unified latent space. This "Any-Input-to-Video" architecture means you can combine a text prompt with a reference image and an audio track to produce a video that matches all three simultaneously.
Technical Specifications
| Specification | Value |
|---|---|
| API Model ID | gemini-omni-flash-preview |
| Max output resolution | 720p |
| Max clip length | 10 seconds |
| Aspect ratios | 16:9 (landscape), 9:16 (portrait) |
| Native audio | Yes (synchronized sound effects, speech) |
| Pricing | $0.10 per second of video output |
| Input modalities | Text, image, audio, video |
| Max edits per session | 3 sequential conversational edits |
| Status | Public preview (since June 30, 2026) |
Input Combinations
The power of the unified architecture is that you can mix inputs freely. Every combination below is a valid API call:
Text → Video
Describe a scene in natural language. Omni generates the video from scratch, including inferred physics and lighting.
Animate a Still
Provide a reference image and a text prompt describing motion. Omni animates the image with physically plausible movement.
Score a Scene
Supply an audio track and a text prompt. Omni generates video that synchronizes with the audio rhythm and mood.
Style Transfer
Feed an existing video clip plus a text prompt describing the desired style. Omni applies the transformation while preserving the motion.
Music Video
Combine a reference image with an audio track. Omni generates a video that brings the image to life, synchronized to the audio.
Full Composite
Text prompt + reference image + audio track + reference video. Maximum creative control over the generated output.
Module 03
Conversational Video Editing: The Killer Feature
Conversational editing is what makes Gemini Omni Flash unique among video models. Instead of regenerating from scratch, you send natural language follow-ups to modify an existing clip. The Interactions API manages session state automatically, and you can stack up to 3 sequential edits per session.
Every other video generation model on the market today works on a one-shot basis: you write a prompt, generate the video, and if you do not like the result, you regenerate the entire clip from a modified prompt. This is expensive, unpredictable, and discards useful work.
Gemini Omni Flash breaks this pattern. After generating an initial clip, you continue the same session with follow-up instructions. The model preserves the temporal context, character consistency, and scene structure from the original generation while applying your requested changes.
Supported Edit Types
Style Transfer
"Make it look like a 1920s silent film." The model re-renders the same scene with the new visual style while preserving motion and composition.
Subject Replacement
"Change the car to a spaceship." The model swaps the specified object while maintaining correct physics, lighting, and scale relationships.
Background Swap
"Move the scene to a tropical beach at sunset." The model replaces the background environment while preserving foreground subjects and their motion.
Lighting Adjustment
"Change the lighting to golden hour." The model adjusts the entire lighting model of the scene, including shadows, reflections, and color temperature.
Motion Tweaks
"Make the bounce heavier." The model modifies the physics simulation to reflect a different mass, gravity, or material property.
Wardrobe Changes
"Change the jacket to a red leather coat." The model updates the character's clothing while maintaining body movement and scene continuity.
The Interactions API
The Interactions API is the recommended primitive for Omni workflows. Unlike the standard generateContent API used for text models, the Interactions API handles stateful, multi-turn conversations on the server side. You do not need to manually manage context history.
import base64
from google import genai
client = genai.Client()
# Step 1: Generate the initial video
interaction = client.interactions.create(
model="gemini-omni-flash-preview",
input="A marble rolling fast on a chain reaction track, continuous smooth shot."
)
# Step 2: Save the output
if interaction.output_video:
with open("marble_v1.mp4", "wb") as f:
f.write(base64.b64decode(interaction.output_video.data))
print(f"Generated {len(interaction.output_video.data)} bytes")
# Step 3: Edit the video through conversation
edited = client.interactions.continue_interaction(
interaction_id=interaction.id,
input="Change the marble to a glowing neon sphere and add dramatic backlighting"
)
# Step 4: Apply a second edit
final = client.interactions.continue_interaction(
interaction_id=interaction.id,
input="Slow the motion to half speed and add a deep bass sound effect on impact"
)
# Save the final version (3 edits total: create + 2 refinements)
if final.output_video:
with open("marble_final.mp4", "wb") as f:
f.write(base64.b64decode(final.output_video.data))
Limit
The current preview supports up to 3 sequential edits per interaction session. After 3 edits, start a new session with the final output as input. For videos larger than 20MB, use the Files API to upload assets before referencing them.
Module 04
SDK Setup & Best Practices
Setting up the Gemini Gen AI SDK for Omni Flash takes under 5 minutes. Install the SDK, configure your API key, and call client.interactions.create() with the model set to gemini-omni-flash-preview. This section covers setup, file handling, and the 3 most common failure modes.
# Install the Google Gen AI SDK
pip install google-genai
# Set your API key (get one free at ai.google.dev)
export GOOGLE_API_KEY="your-key-here"
# Verify the installation
python -c "from google import genai; print('SDK ready')"
File Handling for Large Assets
For reference images, audio tracks, or video clips larger than 20MB, use the Files API to upload before referencing them in your interaction:
# Upload a reference image for animation
uploaded = client.files.upload("reference_frame.png")
# Use the uploaded file as input to Omni
interaction = client.interactions.create(
model="gemini-omni-flash-preview",
input="Animate this scene: gentle wind through the trees, birds crossing the sky",
files=[uploaded]
)
Common Failure Modes
Session Timeout
Interaction sessions expire after inactivity. If your edit fails with a session error, start a new session using the last saved output as input.
Edit Limit Exceeded
More than 3 edits per session returns an error. Start a new session with the final video as the input reference.
File Size Rejection
Inline base64 uploads over 20MB are rejected. Always use the Files API for large assets.
Module 05
15 Paste-Ready Omni Prompts
Every prompt below is tested against the gemini-omni-flash-preview model. They cover 5 categories: text-to-video generation, image animation, conversational editing chains, physics-aware generation, and agentic pipeline orchestration. Copy and paste them into AI Studio or your Python script.
Text-to-Video Generation
A white ceramic mug sits centered on a matte oak table. Camera slowly orbits 180 degrees around it. Soft studio lighting from the upper left. The mug has a clean sans-serif logo. Shallow depth of field. No text overlays. Photorealistic.
Aerial drone shot pulling back from a solitary lighthouse on a rocky cliff at golden hour. Atlantic ocean waves crash against the rocks below. Seagulls cross the frame. Cinematic color grading with warm highlights and deep shadows. 16:9.
A modern mobile app login screen with a dark theme. The email and password fields fill in with a typing animation. The login button pulses blue, then the screen transitions to a dashboard with a smooth slide-up animation. 9:16 portrait.
Image Animation
Animate the attached product image: the item gently rotates 45 degrees on its axis while soft particles of light drift upward in the background. Maintain the exact product appearance and proportions. Loop-ready ending.
Animate the attached portrait: subtle breathing motion, a slight head turn to the right, natural eye blink. Hair moves gently as if in a light breeze. Maintain photorealistic quality and the exact facial features from the source image.
Conversational Editing Chains
Turn 1: "A person walking through a busy Tokyo street at night, neon signs reflected in puddles." Turn 2: "Make it look like a Blade Runner scene: heavy rain, more neon, volumetric fog." Turn 3: "Add a holographic billboard in the background showing a Japanese character."
Turn 1: "A glass of red wine on a marble counter, overhead fluorescent lighting." Turn 2: "Change the lighting to candlelight. Warm tones, flickering shadows." Turn 3: "Add a second glass of wine being poured from a bottle on the right side."
Turn 1: "A golden retriever running through a field of sunflowers." Turn 2: "Replace the dog with a fox. Keep the same running motion and field." Turn 3: "Change the sunflowers to lavender and shift the time to early morning mist."
Physics-Aware Generation
A heavy iron ball drops from 3 meters onto a wooden floor. Show the realistic impact: the floor dents, dust rises, and the ball bounces twice with decreasing height. Real-world gravity. Side camera angle. Slow motion at 120fps feel.
A glass bottle tips over on a white surface. Water pours out in a smooth stream, pools on the surface, and spreads naturally. Show realistic fluid dynamics: surface tension, reflection, and refraction in the pooling water. Top-down camera.
A Rube Goldberg machine: a marble rolls down a track, hits a lever that launches a small ball into a cup that tips, pouring water onto a wheel that spins and rings a bell. Continuous single shot. Physically accurate chain reaction.
Agentic Pipeline Prompts
# Agentic pattern: generate 5 product videos from a CSV of product images
for product in products:
interaction = client.interactions.create(
model="gemini-omni-flash-preview",
input=f"Product showcase: {product['name']}. Slow 360-degree rotation on a "
f"clean white background. Studio lighting. {product['style']} aesthetic.",
files=[client.files.upload(product['image_path'])]
)
# Generate a 9:16 Instagram Reel from a product image + brand audio
interaction = client.interactions.create(
model="gemini-omni-flash-preview",
input="Create a vertical social media reel: zoom into the product, pan across "
"the texture, pull back to show the full item. Trendy transitions. "
"Synchronized to the attached audio beat.",
files=[product_image, brand_audio]
)
# Agentic pattern: generate, QA with vision model, auto-fix with edit
interaction = client.interactions.create(
model="gemini-omni-flash-preview",
input="A person typing on a laptop in a modern office, natural lighting."
)
# Use Gemini 3.6 Flash to QA the output
qa_result = client.models.generate_content(
model="gemini-3.6-flash",
contents=["Check this video for artifacts, inconsistent lighting, or "
"unnatural motion. List any issues.", interaction.output_video]
)
# Auto-fix any issues found
if "lighting inconsistency" in qa_result.text:
client.interactions.continue_interaction(
interaction_id=interaction.id,
input="Fix the lighting inconsistency: ensure uniform natural light from the window."
)
# Full agentic pipeline architecture
# Agent 1 (Orchestrator): Decomposes the video production goal
# Agent 2 (Asset Gatherer): Generates reference images via Gemini
# Agent 3 (Video Producer): Calls Omni Flash to generate clips
# Agent 4 (QA Inspector): Runs vision-based quality checks
# Agent 5 (Editor): Feeds conversational edits back to Omni
class OmniVideoPipeline:
def __init__(self):
self.client = genai.Client()
def produce(self, brief: str, reference_images: list[str]):
# Generate initial video from the brief
files = [self.client.files.upload(img) for img in reference_images]
interaction = self.client.interactions.create(
model="gemini-omni-flash-preview",
input=brief,
files=files
)
# QA loop: check and fix up to 3 times
for edit_round in range(3):
issues = self.qa_check(interaction.output_video)
if not issues:
break
interaction = self.client.interactions.continue_interaction(
interaction_id=interaction.id,
input=f"Fix: {issues}"
)
return interaction.output_video
Module 06
Agentic Video Pipelines with Antigravity
An Antigravity 2.0 agent can orchestrate Gemini Omni Flash as part of a fully automated video pipeline. The Orchestrator Agent decomposes the goal, specialized subagents gather assets and invoke the API, a QA agent runs vision checks, and an Edit agent feeds conversational corrections back to Omni. Zero human intervention from brief to final cut.
The combination of Antigravity 2.0's multi-agent orchestration and Omni Flash's conversational editing creates something that did not exist before July 2026: a fully automated video production pipeline where AI agents generate, inspect, and refine video assets through conversation without human intervention.
The 5-Agent Architecture
Orchestrator
Decomposes the video production goal into discrete tasks. Assigns work to specialized subagents. Manages the pipeline sequence and handles failures.
Asset Gatherer
Generates or collects reference images, audio tracks, and brand assets. Uses Gemini 3.6 Flash for image generation and the Files API for uploads.
Video Producer
Invokes Gemini Omni Flash via the Interactions API. Manages the initial generation and stores the interaction ID for subsequent edits.
QA Inspector
Runs the generated video through Gemini 3.6 Flash with a vision prompt checking for artifacts, lighting inconsistencies, and unnatural motion.
Editor
Receives the QA report and formulates conversational editing prompts. Calls continue_interaction() to fix issues. Iterates up to 3 times per session.
Cost Model
10-second clip: $1.00. QA check: ~$0.01 (text model). 2 edits: $2.00. Total per video: ~$3.01. A 60-video campaign: ~$180 fully automated.
Vibe Coder Tip
The key insight is that conversational editing replaces regeneration. A competitor pipeline using Runway or Kling would regenerate the full clip for each change at full cost. Omni's edit sessions cut total cost by 40-60% because edits are cheaper than full generations.
Module 07
World Understanding & Physics
Gemini Omni Flash has a sophisticated "world understanding" layer that simulates gravity, mass, shadows, object permanence, and lighting behavior. Generated videos show physically plausible motion and consistent character appearances across edits. This is not frame-perfect physics simulation, but the output is physically coherent.
What Omni Understands
Gravity & Mass
Objects fall at realistic rates. Heavy objects bounce less. Light objects drift. The model infers mass from visual appearance and adjusts motion accordingly.
Light & Shadow
Shadows follow the light source. Reflections are consistent with surface materials. Color temperature changes affect the entire scene coherently.
Object Permanence
Objects that leave the frame and return maintain their appearance. Characters preserve their features, clothing, and proportions across edits.
Honest Limitation
Omni's physics is "plausible" not "precise." It will not produce physically accurate engineering simulations. Fluid dynamics, cloth physics, and complex multi-body interactions are approximate. For frame-accurate physics, use a dedicated simulation engine and feed the output to Omni as a reference.
Module 08
Token & Generation Economics
Gemini Omni Flash costs $0.10 per second of video output. A 10-second clip costs $1.00. Conversational editing sessions averaging 3 rounds cost approximately $3.00 total. The iterate-not-regenerate model reduces total video production cost by 40-60% compared to one-shot competitors.
Competitor Pricing Comparison (July 2026)
| Feature | Gemini Omni Flash | Veo 3.1 | Kling 2.1/3.0 | Runway Gen-4.5 |
|---|---|---|---|---|
| Pricing | $0.10/sec | TBD | $0.07-0.20/sec | ~$0.12/sec |
| Max duration | 10 sec | 60 sec | 2-3 min | ~20 sec |
| Max resolution | 720p | 4K | 1080p @48fps | 1080p |
| Conversational editing | Yes (unique) | No | No | No |
| Native audio | Yes | Yes | Yes | Limited |
| API available | Yes | Yes | Yes | Yes |
| Key strength | Edit-in-conversation | Cinematic quality | Volume & length | Pro creative tools |
Cost Scenarios
Single Product Video
Generate 10-second clip: $1.00. Two edits (lighting + background): $2.00. Total: $3.00. Competitor cost for 3 regenerations: ~$3.60.
Social Campaign (60 clips)
60 initial clips: $60. Average 1 edit each: $60. Total: ~$120. Same campaign with full regeneration model: ~$180-216.
Game Asset Pipeline
200 environment clips at 5 seconds: $100. 50% need 1 edit: $50. Total: ~$150. Manual video production equivalent: $5,000-15,000.
Module 09
The 3.x Ecosystem Stack for Vibe Coders
Gemini Omni Flash is one piece of a larger ecosystem. Gemini 3.6 Flash handles reasoning and code. Gemini 3.1 Pro handles deep analysis. Omni Flash handles video. Veo 3.1 handles cinematic production. The pattern is: Flash writes the code that calls the Omni API to generate and edit video.
| Model | Role | Pricing | Best For |
|---|---|---|---|
| Gemini 3.6 Flash | Reasoning & Code | $1.50/M input | Coding, orchestration, agent loops |
| Gemini 3.1 Pro | Deep Analysis | $2.00/M input | Complex reasoning, long context |
| Gemini Omni Flash | Video Generation | $0.10/sec | Video gen, conversational editing |
| Veo 3.1 | Cinematic Video | TBD | 4K, 60-sec, hero clips |
Where Omni Is Available (7 Surfaces)
Gemini App
Chat-based video generation. Free for personal use.
YouTube Shorts Remix
Edit existing Shorts with natural language.
YouTube Create
Mobile video creation app with Omni integration.
Google Vids
Enterprise presentation and video tool.
Gemini API
Programmatic access via gemini-omni-flash-preview.
AI Studio
Prototyping and testing environment. Free tier.
Who This Masterclass Is For
Content Creators
You want to generate product videos, social media clips, and marketing assets without hiring a video team. Omni's conversational editing lets you iterate until the video matches your vision.
Vibe Coders & Engineers
You want to integrate video generation into automated pipelines. The Interactions API and Antigravity subagent architecture give you programmatic control over the full lifecycle.
Game Devs & Filmmakers
You need physics-aware video assets, environment clips, or storyboard animations. Omni's world understanding generates physically plausible motion from text descriptions.
Module 10
Frequently Asked Questions
Gemini Omni Flash is Google DeepMind's natively multimodal video model, announced at Google I/O on May 19, 2026. Unlike language-first models with vision bolted on, Omni processes text, image, audio, and video inputs simultaneously within a single unified architecture. The API model ID is gemini-omni-flash-preview, available in public preview since June 30, 2026.
Gemini Omni Flash is priced at $0.10 per second of video output. A 10-second clip costs $1.00. A typical 3-edit conversational session costs approximately $3.00. This is competitive with Kling 2.1 at $0.07-0.20 per second and Runway Gen-4.5 at approximately $0.12 per second.
Conversational editing means you send natural language follow-ups to modify an existing video clip instead of regenerating from scratch. The Interactions API manages session state automatically. Supported edits include style transfer, subject replacement, background swapping, lighting adjustments, physics tweaks, and wardrobe changes. Up to 3 sequential edits per session.
The Interactions API is called via client.interactions.create() and handles stateful multi-turn conversations on the server side. Unlike the standard generateContent API for text models, the Interactions API manages context and history automatically, enabling the conversational editing workflow that makes Omni unique.
Omni Flash generates 720p video up to 10 seconds with conversational editing and unified multimodal input. Veo 3.1 generates up to 4K video up to 60 seconds with higher cinematic fidelity. Omni is the default for most video tasks. Veo 3.1 is for frame-specific control, scene extension, or long-form cinematic output.
OpenAI officially discontinued Sora in early 2026. While Sora led in demonstrations of physical simulation in 2025, it is no longer available. The competitive landscape in July 2026 is primarily Gemini Omni Flash, Veo 3.1, Kling 2.1/3.0, and Runway Gen-4/4.5.
720p resolution in both 16:9 landscape and 9:16 portrait aspect ratios. The maximum clip length is 10 seconds. Higher resolutions may arrive with a future Omni Pro variant.
Yes. Omni Flash includes native audio generation, producing synchronized sound effects, ambient audio, and speech that matches the generated video. This is a unified capability within the same model, not a separate audio pipeline.
Define specialized subagents in Antigravity 2.0: an Orchestrator to decompose goals, an Asset Agent to gather images/audio, a Video Agent to call the Interactions API, a QA Agent to run vision checks, and an Edit Agent to feed corrections back. This creates fully automated video production.
Text prompts, images (to animate or reference), audio tracks (to synchronize with), and existing video clips (to edit or style-transfer). You can combine multiple input types in a single request.
World understanding is Omni's ability to simulate physics (gravity, momentum, fluid dynamics), lighting behavior, object permanence, and scene continuity. Generated videos show physically plausible motion and consistent character appearances. It is not frame-perfect simulation, but the output is physically coherent.
Kling supports longer clips (2-3 minutes vs 10 seconds), higher resolution (1080p at 48fps vs 720p), and lower pricing ($0.07-0.20/sec). However, Kling lacks conversational editing entirely. For high-volume long-form content, Kling wins on duration. For iterative creative work, Omni is the only option.
Runway Gen-4.5 offers precise creative controls (motion, camera, rotoscoping, inpainting) at 1080p for ~20 seconds at $0.12/sec. Omni edits through conversation rather than traditional controls. Filmmakers needing precise control prefer Runway. Developers building automated pipelines prefer Omni's API-first approach.
Seven surfaces: Gemini app (consumer, free), YouTube Shorts Remix, YouTube Create, Google Vids (enterprise), Gemini API, Google AI Studio, and Vertex AI. Developer API access is billed at $0.10 per second of video output.
Start with Google AI Studio to prototype prompts interactively. Then use the Gemini API Cookbook on GitHub for code samples. This masterclass provides 15 paste-ready prompts covering text-to-video, image animation, conversational editing, physics-aware generation, and agentic pipelines.
