AI / Google Antigravity Gemini Fundamentals Interview Questions
What is Veo and what video generation capabilities does the Gemini API offer?
Veo is Google's video generation model family, accessible via the Gemini API. The current production line is Veo 3.1, with models ranging from high-quality cinematic generation to fast, cost-efficient production of short clips.
| Model | Capability | Use case |
|---|---|---|
| Veo 3.1 (GA) | State-of-the-art cinematic video with advanced creative controls and natively synchronised audio | High-quality film-like video |
| Veo 3.1 Fast (GA) | High-efficiency cinematic control from the Veo 3.1 family | Speed-sensitive production workloads |
| Veo 3.1 Lite Preview | Most cost-efficient; designed for rapid iteration and high-volume apps | Development, prototyping, bulk generation |
from google import genai from google.genai import types client = genai.Client() # Generate a video with Veo 3.1 operation = client.models.generate_videos( model="veo-3.1-generate-preview", prompt="A drone flies over a misty mountain range at sunrise, cinematic 4K", config=types.GenerateVideoConfig( aspect_ratio="16:9", duration_seconds=5, sample_count=1, ) ) # Video generation is async - poll for completion: import time while not operation.done: time.sleep(10) operation = client.operations.get(operation.name) # Download the generated video: video = operation.result.generated_videos[0] client.files.download(file=video) print(f"Video saved: {video.video.uri}") # Note: Veo 2.0 models were deprecated June 30, 2026 # Migrate to veo-3.1-generate-preview or veo-3.1-fast-generate-preview
Deprecation note: Veo 2.0 generation models were deprecated and shut down on June 30, 2026. Applications using Veo 2.0 model IDs must migrate to Veo 3.1 model IDs.
More Related questions...