> ## AI Agent Context > Get the complete documentation index at: https://aistudio.google.com/llms.txt > Use this file to discover all available pages. > For the full documentation in a single file, fetch: https://aistudio.google.com/llms-full.txt # Video generation in the Gemini API Use [Gemini Omni Flash](/docs/omni) as your model for video generation and conversational video editing in the Gemini API. It provides superior video coherence, multi-input reasoning (supporting text, images, audio, and video inputs simultaneously), character consistency, factual accuracy, and multi-turn conversational editing (e.g., element replacement or perspective changes). The Veo 3.1 Preview in the Gemini API has been shut down. ## Gemini Omni Flash {% id="omni-flash" %} Gemini Omni Flash is a fast, multimodal model for video generation and conversational video editing. It excels at quickly turning text prompts and images into short videos, and lets you refine results across multiple turns using the Interactions API. [Get started with Gemini Omni Flash →](/docs/omni) ## Veo 3.1 {% id="veo" %} {% callout type="warning" %} Veo 3.1 Preview (`veo-3.1-generate-preview`, `veo-3.1-fast-generate-preview`, and `veo-3.1-lite-generate-preview`) in the Gemini API was [shut down](/docs/deprecations) on **October 22, 2026**; migrate to [Gemini Omni Flash](/docs/omni) (`gemini-omni-1.1-flash`) or the GA models available through the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) to avoid service interruptions. {% /callout %} ## Video understanding {% id="understanding" %} If you need to ingest and analyze existing video content rather than generate new video, see the [Video understanding guide](/docs/video-understanding).