Skip to main content
Generate videos using Google’s Omni Flash and Veo 3.1 models through the Gemini API.

Authentication

Set your Gemini API key before running.

Models

Three Veo 3.1 tiers cover cinematic quality down to cheap iteration.

Which Veo 3.1 tier should I pick?

Deprecated

Migrate to the veo-3.1 IDs above. These older models are being retired.

Gemini Omni Flash

Gemini Omni Flash (gemini-omni-1.1-flash) is Google’s recommended default video model. Use Veo 3.1 for cinematic pipelines and interpolation.
Omni is served through Google’s Interactions API rather than the Veo predictLongRunning endpoint. VideoAgent reaches every provider through the shared LiteLLM video interface, so Omni is usable once your installed LiteLLM version routes gemini/gemini-omni-1.1-flash. Veo remains fully supported.

Veo 3.1 features

Veo 3.1 adds frame interpolation and reference images. Both pass straight through generate() — no extra setup.

Pricing & billing

Gemini Veo bills per generated second in USD on the paid API. You are charged only when a generation succeeds.
A Google Flow / AI Plus-Ultra subscription does not cover the Gemini API. Flow UI credits are a different meter and cannot pay for API generations — direct Gemini API use is billed separately on the paid tier.

Parameters

Gemini Veo has limited parameter control compared to OpenAI. Duration and size are handled automatically.

Features