by Google

Video with sound up to 4K from text, images, references or your own clip

google/gemini-omni-1.2-flash/text-to-video
  • Up to 4K
  • 3–15s clips
  • Start and end frames
  • Up to 6 reference images
  • Create Video
  • Image to Video
  • Reference to Video
  • Edit Video

About Gemini Omni 1.2 Flash

Gemini Omni 1.2 Flash is Google's video model with sound. It makes 3 to 15 second clips from text, a first frame with an optional last frame, or up to six reference images and three reference videos, and it can edit a clip you already have. Sizes run from 360p to 4K.

Call it with the model name google/gemini-omni-1.2-flash/text-to-video on POST /jobs/createTask, from $0.138.

Introduction

Gemini Omni 1.2 Flash text-to-video starts with a written idea. Give the place, the action and what should be heard, then choose 3–15 whole seconds. An unset duration produces an 8-second scene. Use 16:9 for a landscape composition or 9:16 for a vertical one.

This route suits an idea that has no starting picture. In our tests, a rainy market prompt produced a cook tossing noodles and saying the requested line, with sizzling oil and background chatter. Google says Omni may build a short story across several shots unless you request a continuous take.

Key features

  • Generate the visual scene and its sound together from a required text prompt.
  • Set duration in whole seconds, including short 3-second drafts and scenes up to 15 seconds.
  • Choose direct 360p or 720p, or request 1080p/4K upscaling by Google at a higher rate.
  • Receive 24 fps MP4 video containing an AAC audio track.
  • Describe spoken lines, music or environmental effects within the same prompt.

Request parameters

ParameterRequiredDescription
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 360p · 720p · 1080p · 4k · Default: 720p
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · Default: 16:9
duration_secondsNoLength of the generated clip. 3–15 · Default: 8

Pricing

Prices are in USD. The API uses a separate USD balance. Website credits cannot be used or transferred to it, and API funds cannot be transferred to website credits. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
resolution 360p$0.0276
resolution 720p$0.084
resolution 1080p$0.126
resolution 4K$0.252

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

  • Plan a food-stall vignette with a short line of dialogue and cooking sounds.
  • Create a vertical rainy-street scene for a social post without preparing a still.
  • Explore a lantern-lit market concept in 360p before selecting a delivery size.

Prompt guide & pro tips

  • Establish a specific setting first, such as “a lantern-lit market after rain,” so the action has a clear location.
  • Give the subject one readable task, such as “the cook tosses noodles,” before adding another event.
  • For an uninterrupted view, follow Google’s guidance and add “in a single continuous shot.”
  • Quote a short spoken line, such as “Ready in a minute,” and describe surrounding sound separately.
  • For a scene without speech, use Google’s suggested wording “No dialogue”; there is no separate negative-prompt field.

API quick start

Call the Gemini Omni 1.2 Flash API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls use your separate USD balance.
  2. Send the request. POST /jobs/createTask with model google/gemini-omni-1.2-flash/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "google/gemini-omni-1.2-flash/text-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration_seconds": 8
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Gemini Omni 1.2 Flash API questions

How much does the Gemini Omni 1.2 Flash API cost?

Gemini Omni 1.2 Flash starts at $0.138 for a 5-second clip with Create Video, its cheapest task. Prices by option: 360p $0.0276 per second, 720p $0.084 per second, 1080p $0.126 per second, 4K $0.252 per second. The API uses a separate USD balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Gemini Omni 1.2 Flash in the API?

Put google/gemini-omni-1.2-flash/text-to-video for Create Video; google/gemini-omni-1.2-flash/image-to-video for Image to Video; google/gemini-omni-1.2-flash/reference-to-video for Reference to Video; google/gemini-omni-1.2-flash/video-edit for Edit Video in the model field of POST /jobs/createTask.

How should I name image and video references?

Use plain names in upload order, such as “the person in Image 1” and “move like Video 1.” Add up to six images or up to three video clips of three seconds each. Google recommends up to three images per character for up to two characters. Google lists one reference video for 11–15 second outputs; in our tests, an 11-second request with two reference videos also ran. Reference sound is ignored, and Google says its older control tags are deprecated.

What are the limits of the Gemini Omni 1.2 Flash API?

Clip length: 3–15 s; Resolutions: 360p · 720p · 1080p · 4K; Aspect ratios: 16:9 · 9:16; Prompt length (characters): 20,000. Requests outside these limits are rejected before anything is charged.

Can I try Gemini Omni 1.2 Flash without writing code?

Run Gemini Omni 1.2 Flash in the Playground with your API USD balance, without an API key. Each run appears in your developer history with its matching code.

All Gemini models

Gemini Omni 1.1 Flash is the earlier version, with 4 to 10 second clips and no video editing. Choose 1.2 for new work.

More about Gemini Omni 1.2 Flash