Gemini Omni 1.2 Flash Video Edit API

google/gemini-omni-1.2-flash/video-edit
360p – 4K · ≤ 15 sec source

Gemini Omni 1.2 Flash Video Edit API transforms an existing clip up to 15 seconds using a text instruction across 360p to 4K output. It preserves source motion and framing while billing per rounded-up source second.

Input
346/20000

Drag and drop files, paste from clipboard, or provide a URL. Required. One MP4, MOV, or WebM source video (≤ 15 seconds, up to 100 MB).

1/1 files added

Output
5 sec × $0.0819/sec = $0.4095 (81.9 credits)

Billed as ceil(source video seconds) × resolution per-second rate.

Continue with

Examples

Relight the bright midday turquoise cove into a glowing rose-gold sunset with warm amber and violet reflections shimmering across the gentle water ripples and soft golden rim light catching the sea otter's wet fur. Preserve the floating sea otter's exact motion, shell tapping, kelp movement, and camera framing. No text, no logos, no watermarks.

What is the Gemini Omni 1.2 Flash Video Edit API?

Gemini Omni 1.2 Flash Video Edit is Google's streamlined prompt-driven video editor requiring only video_url (up to 15 seconds), prompt, and resolution from 360p to 4K. The Gemini Omni 1.2 Flash Video Edit API matches source duration and framing automatically while applying targeted lighting, style, or object edits.

Why choose the Gemini Omni 1.2 Flash Video Edit API?

This API keeps video editing simple with three core inputs and native 360p–4K output.

  • Minimal three-field APISupply just video_url, prompt, and resolution—duration and framing match automatically.

  • Up to 4K edited outputPreview edits at 360p (5.46 credits/s) or export finished footage up to 4K.

  • Exact source-duration billingCharges ceil(source video seconds) × resolution rate with no double-counting.

Parameters

This API requires video_url (up to 15 s) and prompt, plus an optional resolution tier from 360p to 4K (default 720p).

ParameterRequirementDescription
video_urlRequired

Public HTTP(S) URL of the source video (≤ 15 seconds, up to 100 MB).

Default—
promptRequired

Text editing instructions (1–20,000 characters).

Default—
resolutionOptional

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

Default720p

How do you use the Gemini Omni 1.2 Flash Video Edit API?

Upload a source clip up to 15 seconds, write the edit instruction, choose 360p–4K output, and submit.

  1. Upload a source clipAdd one MP4, MOV, or WebM video up to 15 seconds in video_url.

  2. Write the edit instructionSpecify visual changes such as relighting, color mood, object swaps, or stylization.

  3. Submit the taskSelect 360p, 720p, 1080p, or 4K and click Run.

  4. Download the edited videoPoll task_id until finished and read data.files[].file_url.

How much does the Gemini Omni 1.2 Flash Video Edit API cost?

The Gemini Omni 1.2 Flash Video Edit API bills ceil(source video seconds) × resolution per-second rate (5.46–49.14 credits/s).

UsageRateDetails
360p5.46 credits / source second$0.0273/s. A 6.2 s clip bills 7 s = 38.22 credits.
720p16.38 credits / source second$0.0819/s. An 8 s clip bills 131.04 credits.
1080p24.58 credits / source second$0.1229/s. An 8 s clip bills 196.64 credits.
4k49.14 credits / source second$0.2457/s. An 8 s clip bills 393.12 credits.

Best Use Cases

This API fits lighting relights, visual restyling, and rapid 4K cleanup edits on short clips up to 15 seconds.

  • Relighting and atmosphere changesShift footage from overcast daylight to sunset, rain, or studio mood.

  • Style transfer in up to 4KRestyle live-action clips while preserving camera motion and timing.

  • Fast creative iterationsTest prompt variations at 360p before exporting final 1080p or 4K cuts.

Pro Tips

  • Trim source clips cleanly to exact whole seconds so rounding up does not add an extra billed second.
  • State both what changes and what stays identical to preserve subject stability.

Notes

  • Output duration and aspect ratio automatically follow the source video.
  • Video Edit accepts only prompt, resolution, and video_url.

Gemini Omni 1.2 Flash Video Edit API FAQ

What is the Gemini Omni 1.2 Flash Video Edit API?

Gemini Omni 1.2 Flash Video Edit is a Google prompt-based video editing model supporting 360p to 4K output. The Gemini Omni 1.2 Flash Video Edit API edits clips up to 15 seconds using only a source video, text instruction, and target resolution, billed per rounded-up source second. It preserves source motion, pacing, and framing automatically while applying clean lighting, style, or object transformations. You can call it programmatically or try it from the playground above.

How long can the source video be in the Gemini Omni 1.2 Flash Video Edit API?

Up to 15 seconds (and up to 100 MB), containing a valid video track.

How is the Gemini Omni 1.2 Flash Video Edit API billed?

The server probes source video length, rounds up to the next whole second (ceil), and multiplies by the resolution rate: 5.46 (360p), 16.38 (720p), 24.58 (1080p), or 49.14 (4K) credits/s.

Can I set duration or aspect_ratio in Gemini Omni 1.2 Flash Video Edit?

No. Video Edit follows the source clip's duration and aspect ratio automatically and accepts only video_url, prompt, and resolution.

Can Gemini Omni 1.2 Flash Video Edit output 4K video?

Yes. Set resolution to 4k to export edited footage at 4K (49.14 credits per rounded-up source second).

What video formats work with Gemini Omni 1.2 Flash Video Edit?

MP4, MOV, or WebM files up to 100 MB via upload or public HTTP(S) URL.

When should I pick Gemini Omni 1.2 Flash Video Edit over Kling 4.0 Flash Video Edit?

Choose Gemini Omni 1.2 Flash Video Edit when you need 1080p or 4K output and simple single-video prompt editing; choose Kling 4.0 Flash Video Edit when you need to inject reference images, reference videos, or subject elements.