Gemini Omni 1.2 Flash API for Video with Native Audio

Send a prompt to POST /api/v1/videos/generations with model: gemini-omni-1-2-flash to get a 3-15 second clip at 24fps with a native audio track. Start from text, a first frame (image_url), a first and last frame, or up to 10 reference images in image_urls. Output runs from 360p to 4K; track the job with the returned img_uuid.
Get API Key
Film set at dusk with a camera on a slider and a boom microphone above two actors

One Model, Four Ways to Start

Sound is always part of the clip

Every video carries a native audio track: describe dialogue, music or sound effects in prompt. There is no switch, so turning sound / generate_audio off is rejected.
Foley studio with props and a microphone over a gravel tray

First frame, last frame or both

Pass image_url to start from your image, and add image_end_url to interpolate to a final frame. With a last frame, duration can be at most 10 seconds.
Two printed film frames on a lightbox with an arrow-shaped strip of film between them

Up to 10 reference images

Characters, products or style images in image_urls guide the video without being used as exact frames. References cannot be combined with image_url / image_end_url.
Mood board of character, product and location photos pinned to a cork wall
Only model and prompt are required; images pick the generation mode.

Gemini Omni 1.2 Flash Request Fields and Limits

model

Always gemini-omni-1-2-flash.

prompt (required)

Scene, motion, camera and sound, up to 3000 characters. Required even when images are provided.

image_url / image_end_url

Optional first frame, and an optional last frame that requires image_url. Cannot be combined with image_urls.

image_urls

Optional 1-10 reference images. Order is kept; they guide the video but are not used as exact frames.

duration, resolution and ratio

duration: integer 3-15, default 10 (at most 10 with a last frame). resolution: 360p, 720p (default), 1080p or 4k; 1080p and 4k are upscaled. ratio: 16:9 (default) or 9:16.

Rejected fields

Turning audio off, negative_prompt, seed, middle keyframes, mixing frames with image_urls, and video input are rejected before any tokens are charged.

custom_callback_url

Optional public HTTPS URL. GoEnhance POSTs the same body as GET /api/v1/jobs/detail when the task status changes, with up to 3 retries.
Billed per second of generated video; text, image and reference modes cost the same.

Gemini Omni 1.2 Flash API Pricing

360p: 1.3 tokens ($0.026) per second

720p: 3.9 tokens ($0.078) per second.

1080p: 5.876 tokens ($0.11752) per second

4k: 11.752 tokens ($0.23504) per second.

10-second clip at 720p

39 tokens ($0.78). First, last and reference images are not charged.

5-second clip at 360p

6.5 tokens ($0.13), a low-cost way to test prompts before rendering at a higher resolution.

Integrate the Gemini Omni 1.2 Flash API

1

1. Create an API key

Generate a key at /keys and send it as Authorization: Bearer <key>.
2

2. Prepare the request

POST model, prompt and any frames or reference images to /api/v1/videos/generations.
3

3. Store img_uuid

Keep the returned img_uuid and poll GET /api/v1/jobs/detail, or pass custom_callback_url.
4

4. Save the video

When the status is success, download the video from the result and store it on your side.
Create an API Key
Short clips where sound and a fixed look matter.

What Developers Build with Gemini Omni 1.2 Flash

Talking product clips

Combine product photos in image_urls with a spoken line in the prompt for short ads that already have a voice-over.

Photo-to-motion features

Turn a user's photo into a moving shot with image_url, with ambient sound included.

Before-and-after transitions

Use a first and last frame to animate a change, such as a room makeover or a day-to-night shot, in up to 10 seconds.

Vertical social videos

Render 9:16 clips at 360p for drafts and re-run the chosen prompt at 1080p or 4k.
Common questions about requests and billing.

Gemini Omni 1.2 Flash API FAQ

Can I turn the audio off?

No. Every clip has a native audio track and requests that set sound or generate_audio to off are rejected.

Is the prompt required with an image?

Yes. prompt is required in every mode, up to 3000 characters.

Can I use reference images and a first frame together?

No. Use either image_url / image_end_url or image_urls in one request.

How long can a video be?

3 to 15 seconds, default 10. With image_end_url the limit is 10 seconds.

Are 1080p and 4k native?

No. They are upscaled by the model; 2160p is accepted as 4k.

Can it edit or extend an existing video?

Not yet. Video input is rejected before any tokens are charged.

Start Building with the Gemini Omni 1.2 Flash API

Gemini Omni 1.2 Flash API: Pricing & Integration | GoEnhance