Gemini Omni 1.2 Flash API

google/gemini-omni-1.2-flash/text-to-video
360p – 4K · 3–15 sec

Gemini Omni 1.2 Flash Text to Video turns text prompts into 3–15 second videos across 360p, 720p, 1080p, and 4K in 16:9 or 9:16. With the Gemini Omni 1.2 Flash API, teams scale from low-cost 360p previews to crisp 4K masters cleanly.

Input
458/20000

Examples

Sunlit marine documentary shot off a calm turquoise rocky cove: a wild sea otter floats leisurely on its back amid gently swaying golden kelp ribbons, tapping a small clam shell against a flat stone on its chest while clear ripples scatter bright afternoon sunlight across its wet fur. Smooth floating camera at water level, natural fluid physics, crisp 1080p detail. Audio: gentle lapping coastal water and soft shell taps. No text, no logos, no watermarks.

Vertical cinematic documentary shot inside a dim artisan glassblowing studio: a craftsperson steadily rotates a glowing molten amber glass orb at the tip of a steel blowpipe while shaping it with damp cherrywood blocks. Wisps of steam curl upward and warm furnace light shimmers across textured brick walls. Steady medium close-up, realistic incandescent glow. Audio: low furnace roar and gentle hiss of steam. No logos, no readable text, no watermarks.

What is the Gemini Omni 1.2 Flash API?

Gemini Omni 1.2 Flash extends Google's Gemini Omni video lineup to 3–15 second generation with transparent per-second pricing across four resolution tiers. The Gemini Omni 1.2 Flash API accepts prompts up to 20,000 characters and delivers 16:9 landscape or 9:16 vertical clips directly from text for fast drafts and 4K production.

Why choose the Gemini Omni 1.2 Flash API?

The Gemini Omni 1.2 Flash API spans 360p to 4K output and 3–15 second whole-second durations with linear per-second billing.

  • Four resolution tiers up to 4KPick 360p for low-cost prompt testing or 720p, 1080p, and 4K for final masters under one model.

  • Flexible 3–15 second durationGenerate any whole-second clip from 3 to 15 seconds, expanding beyond 1.1 Flash.

  • Simple per-second pricingExact linear billing: duration × resolution rate with no hidden multipliers.

What parameters does the Gemini Omni 1.2 Flash API accept?

This API requires a prompt (up to 20,000 chars) and accepts optional duration (3–15 s), resolution (360p–4K), and aspect_ratio (16:9 or 9:16).

ParameterRequirementDescription
promptRequired

Scene, camera, lighting, and audio prompt (1–20,000 characters).

Default—
durationOptional

Whole seconds from 3 to 15.

Default8
resolutionOptional

360p, 720p, 1080p, or 4k.

Default720p
aspect_ratioOptional

16:9 or 9:16.

Default16:9

How do you use the Gemini Omni 1.2 Flash API?

Write a scene prompt, choose resolution, duration, and framing, then submit and poll for the finished MP4.

  1. Write the promptDescribe subjects, camera motion, environment, and lighting clearly.

  2. Choose duration and resolutionSelect 3–15 seconds, resolution from 360p to 4K, and 16:9 or 9:16.

  3. Submit the taskSubmit to /api/generate/submit using google/gemini-omni-1.2-flash/text-to-video.

  4. Fetch the finished videoPoll status with task_id until finished and read data.files[].file_url.

How much does the Gemini Omni 1.2 Flash API cost?

The Gemini Omni 1.2 Flash API bills per output second from 5.46 credits ($0.0273) at 360p up to 49.14 credits ($0.2457) at 4K. 1 credit = $0.005.

UsageRateDetails
360p5.46 credits / second$0.0273/s. 8 s = 43.68 credits ($0.2184).
720p16.38 credits / second$0.0819/s. 8 s = 131.04 credits ($0.6552).
1080p24.58 credits / second$0.1229/s. 8 s = 196.64 credits ($0.9832).
4k49.14 credits / second$0.2457/s. 8 s = 393.12 credits ($1.9656).

What is the Gemini Omni 1.2 Flash API best for?

This API covers rapid 360p storyboarding, 1080p vertical social clips, and native 4K hero video production.

  • Two-stage draft-to-4K productionIterate cheaply at 360p, then re-render winning prompts at 1080p or 4K.

  • High-resolution marketing B-rollProduce 4K 16:9 hero footage or 9:16 vertical spots up to 15 seconds.

  • Programmatic video pipelinesPredictable per-second pricing makes automated cost budgeting straightforward.

Pro Tips

  • Draft at 360p or 720p first, then switch to 4K once pacing and camera motion are locked.
  • Specify exact subject motion and camera trajectory across the chosen duration.

Notes

  • Resolution defaults to 720p and duration defaults to 5 seconds.
  • Credits equal duration × per-second resolution rate.

Gemini Omni 1.2 Flash API FAQ

What is the Gemini Omni 1.2 Flash API?

Gemini Omni 1.2 Flash Text to Video is a Google video generation model supporting 3–15 second clips from 360p to 4K. The Gemini Omni 1.2 Flash API turns prompts up to 20,000 characters into 16:9 or 9:16 videos with linear per-second pricing starting at 5.46 credits per second. Flexible resolution tiers let teams prototype rapidly at 360p and ship final masters at 1080p or 4K without switching pipelines. You can call it programmatically or try it from the playground above.

What durations does the Gemini Omni 1.2 Flash API support?

Any integer duration from 3 to 15 seconds, defaulting to 5 seconds.

Which resolutions are available in the Gemini Omni 1.2 Flash API?

Four options: 360p, 720p (default), 1080p, and 4k.

How much does the Gemini Omni 1.2 Flash API cost per second?

It costs 5.46 credits/s at 360p, 16.38 credits/s at 720p, 24.58 credits/s at 1080p, and 49.14 credits/s at 4K.

Which aspect ratios work in Gemini Omni 1.2 Flash Text to Video?

16:9 (default) for landscape video and 9:16 for vertical video.

How long can a prompt be in Gemini Omni 1.2 Flash Text to Video?

Up to 20,000 characters after trimming.

What changed between Gemini Omni 1.1 Flash and Gemini Omni 1.2 Flash?

Gemini Omni 1.2 Flash expands duration from fixed 4–10 s presets to any integer from 3–15 s, updates billing to linear per-second rates, and adds reference video inputs in Reference to Video mode.