Generating Video with the Gemini API: Omni Flash Replaces Veo 3.1

By Kallistesoft · · 3 min read

Illustration: a video player screen and a vertical 9:16 format
Illustration: a video player screen and a vertical 9:16 format

Information checked on December 2, 2026 in the official Gemini API documentation. If you built a generated-video tool on Veo 3.1, one change affects you: according to the Video page, the Veo 3.1 preview models were shut down in the Gemini API on October 22, 2026. The page points users to Gemini Omni Flash.

What Omni Flash does

Per the documentation, gemini-omni-1.2-flash generates video with native synchronized audio, 3 to 15 seconds long (10 by default), in 16:9 or 9:16. Resolutions run from 360p to 4K, with 1080p and 4K upscaled. Every video carries a SynthID watermark: invisible to viewers, detectable programmatically. The model page lists it as stable, not preview.

Inputs: text, up to 6 reference images, short reference videos, and first and last frame images for interpolation (3 to 10 s). Audio input is not supported.

A first call

The model runs on the Interactions API. The documentation's example:

import base64
from google import genai

client = genai.Client()
interaction = client.interactions.create(
    model="gemini-omni-1.2-flash",
    input="A marble rolling on a chain-reaction track, one smooth shot."
)
with open("marble.mp4", "wb") as f:
    f.write(base64.b64decode(interaction.output_video.data))

To refine or extend the result, pass previous_interaction_id: each turn produces a new video. An extension adds 3 to 10 seconds, up to 30 seconds in total.

Text and reference images, first version, edits per turn, final videoText +referencesFirstversionEditsper turnFinalvideo
Text and reference images, first version, edits per turn, final video

What it costs

Per the model page, there is no free tier. Prices, in US dollars, are roughly $0.023 per second at 360p, $0.07 at 720p, $0.104 at 1080p and $0.209 at 4K. A 10-second 720p clip therefore costs about $0.70. The arithmetic adds up fast: ten 10-second tries at 360p cost about $2.30, against $7 at 720p. A sensible habit is to validate the idea at low resolution, then render the final version. Note that a new generation will not reproduce the same video, so review the final render before it goes anywhere near a customer or a public channel.

Limits to know

What a small business can do with it

The 9:16 format suits short vertical clips for social media: a product demo, an animated background, a message intro. Keep a human in the loop: review every clip, check it shows nothing false about your product, and label it as generated where relevant. SynthID helps identify it but does not replace your own transparency. For real footage of a team, product or place, AI does not replace the camera, and a generated video should never pretend to show a real customer or a real job site.

Migration checklist

Sources

Related reading