JobEcho
Thu, 3 Dec 2026
AP · Telangana · Central
AI Tools

Veo API Shut Down — Gemini Omni Flash Setup & Pricing 2026

9 Nov 2026 6 min read AI Tools

Updated 9 November 2026. If you followed any guide that says “create a project, enable billing, call Veo from the Gemini API” — that path no longer exists. Google shut down the Veo 3.1 preview models on the Gemini API on 22 October 2026. The replacement is Gemini Omni Flash (gemini-omni-1.2-flash), and it is cheaper. This page has the correct setup, the real per-second pricing, and code that runs.

Quick answer Detail
Model to call gemini-omni-1.2-flash
Old model status Veo 3.1 preview — shut down 22 October 2026
Output 3 to 15 second clips, 360p / 720p / 1080p / 4K, 24 fps, native audio
Price at 720p about $0.07 per second (₹6 per second)
Free tier Not available — video generation is paid only
India Supported (Google AI Studio works from India)

What changed, and why your guide is wrong

Google deprecated the Veo 3.1 preview models on the Gemini API — veo-3.1-generate-preview, veo-3.1-fast-generate-preview and veo-3.1-lite-generate-preview — with a shutdown date of 22 October 2026. Any tutorial, PDF or chatbot answer written before that date will give you a project setup that ends in a failed model call.

Veo still exists, but it has moved: the generally available Veo models are served through the Gemini Enterprise Agent Platform (formerly Vertex AI), which is an enterprise billing path. For an individual developer with an AI Studio key, the working route is Gemini Omni Flash.

What Gemini Omni Flash actually does

Capability Spec
Inputs Text, image, video (up to 15 s for editing)
Output Video with native audio, plus text
Duration 3 s to 15 s per generation (default 10 s); extendable to 30 s across turns
Resolution 360p, 720p (default), 1080p, 4K
Aspect ratio 16:9 landscape or 9:16 portrait
References Up to 6 reference images for character and object consistency
Editing Conversational edits through the Interactions API — keep the shot, change the shirt

The portrait mode and reference images are the two features that matter for reels: you can hold a face across shots instead of getting a stranger every time.

Real pricing, per clip

Billing is per output token, which works out to a flat per-second rate. These are Google’s published figures (₹ converted at about ₹88 per dollar):

Resolution Per second 10 s clip 15 s clip
360p $0.023 $0.23 · ₹20 $0.35 · ₹31
720p $0.070 $0.70 · ₹62 $1.04 · ₹92
1080p $0.104 $1.04 · ₹92 $1.56 · ₹137
4K $0.209 $2.09 · ₹184 $3.14 · ₹276

Input tokens are billed separately at $1.50 per million — negligible for a text prompt, meaningful if you feed it a long reference video.

What that means in practice: a 60-second reel built from four 15-second 720p clips costs about ₹370. Ten reels a month for one client costs about ₹3,700 — which is why generated video belongs in hero shots, not in a production line.

Setup — the correct path

  1. Create the project. console.cloud.google.com → New Project. Name it anything; one Google account can hold many projects.
  2. Link billing. Billing → create a billing account → link the project. A card is required; prepaid balance also works.
  3. Set a budget alert first. Billing → Budgets and alerts → $10. Do this before your first generation, not after.
  4. Create the key. aistudio.google.com → API Keys → Create API key → select your project.
  5. Install the SDK and store the key as an environment variable.
pip install -U google-genai

# Linux / macOS
export GEMINI_API_KEY="your-key-here"

# Windows PowerShell
$env:GEMINI_API_KEY="your-key-here"

Never put that key in frontend code. If a browser can read it, someone will spend your balance by tomorrow.

Code that works — text to video

import base64
from google import genai

client = genai.Client()  # reads GEMINI_API_KEY

interaction = client.interactions.create(
    model="gemini-omni-1.2-flash",
    input="A marble rolling fast on a chain reaction style track, continuous smooth shot.",
)

with open("marble.mp4", "wb") as f:
    f.write(base64.b64decode(interaction.output_video.data))

print("saved marble.mp4")

Portrait 9:16, 15 seconds, 1080p

Set the format explicitly — otherwise you get a landscape 10-second clip and burn money on something you cannot post.

import base64
from google import genai

client = genai.Client()

interaction = client.interactions.create(
    model="gemini-omni-1.2-flash",
    input=(
        "A low-angle shot of a young woman in a mauve anarkali spinning on a "
        "rooftop at Diwali, gold fireworks behind her, crowd holding phones, "
        "handheld camera, natural motion blur."
    ),
    response_format={
        "type": "video",
        "aspect_ratio": "9:16",
        "resolution": "1080p",
        "duration": "15s",
    },
)

with open("diwali_reel.mp4", "wb") as f:
    f.write(base64.b64decode(interaction.output_video.data))

Five rules that keep the bill small

  • Set the duration explicitly. The default is 10 seconds; a prompt that says “a quick shot” still bills 10 seconds.
  • Generate at 720p, upscale later. 720p to 1080p is a 48% price jump for a difference most phones cannot show.
  • Never loop a generator without a counter. A retry loop with no cap is how a ₹900 prepaid balance disappears in an afternoon.
  • Test the prompt at 360p first. Composition and camera moves read fine at 360p; only the final take should be 720p or higher.
  • Keep the key server-side. Environment variable on the backend, never in HTML or app code.

Errors you will hit, and what they mean

Error Cause Fix
Model not found / 404 Calling a retired Veo 3.1 preview name Switch the model string to gemini-omni-1.2-flash
Permission or billing error Free tier has no video access Link billing and add prepaid balance
Invalid argument on duration Duration above 15 seconds Use 3s to 15s, or extend across turns
Empty video field Parsing the REST response directly Read the steps array; output_video is SDK-only
Region unavailable AI Studio not supported where you are India is supported; use the enterprise platform elsewhere

Frequently asked questions

Can I still use Veo through the Gemini API?

No. The Veo 3.1 preview models on the Gemini API were shut down on 22 October 2026. Veo is still available as a generally available model through the Gemini Enterprise Agent Platform, which uses enterprise billing.

Is there a free tier for AI video generation?

No. Gemini Omni Flash is paid-tier only. Text and image models have free quotas; video does not.

How much does a 15-second clip cost?

About $1.04 at 720p (roughly ₹92), $1.56 at 1080p and $3.14 at 4K.

Can I keep the same character across shots?

Yes — supply up to six reference images. The model uses them to hold faces, clothing and objects consistent between generations.

Does it generate audio too?

Yes, audio is native to the output. You can also direct dialogue and sound effects in the prompt.

Sources

  • Google AI for Developers — “Generate videos with Veo 3.1 in Gemini API” (shutdown notice, 22 October 2026).
  • Google AI Studio — “Generate and edit videos with Gemini Omni Flash” (model documentation, November 2026).
  • Gemini Developer API pricing — Gemini Omni 1.2 Flash token rates and per-second equivalents.
  • Google AI Studio — available regions list (India supported).
  • Google blog — “Gemini Omni 1.2 Flash: Fast and cost-effective with longer clips” ($0.07 per second at 720p).

Prices as published by Google in November 2026, converted at ₹88 per dollar. Check the pricing page before a large run — Google has cut video prices twice this year.

More in AI Tools

JOBS

Diwali Transition Prompt 9:16 — Copy-Paste AI Video Prompt

6 Nov 2026

JOBS

Turn A Product Photo Into A Design-Studio Poster With One Prompt

31 Oct 2026

JOBS

AI Influencer Prompt — Permanent Character Identity (Copy & Paste)

31 Oct 2026

JobEcho — notification numbers, vacancy tables, official links.
© 2026 jobecho.in