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/reference-to-video on POST /jobs/createTask, from $0.138.
Introduction
Gemini Omni 1.2 Flash reference-to-video builds a new scene around uploaded visual guidance. Provide a prompt and at least one of reference_image_urls or reference_video_urls. Images guide people, objects or places; short clips guide look and motion. The reference soundtrack is ignored.
Google says 1.2 improves consistency across up to six reference images and recommends up to three pictures per character for up to two characters. Video references can include up to three clips, each up to three seconds. For an 11–15 second result, Google lists one reference clip; in our tests, an 11-second output with two clips also completed. Use the listed guidance when planning a long scene.
Key features
- Combine image references and video references within the same generation request.
- Assign visual roles to as many as six uploaded images.
- Guide motion or look with up to three reference clips, subject to Google’s longer-output guidance.
- Name each upload in ordinary wording, using Image 1 or Video 1 in upload order.
- Generate a new audio track with the scene; audio from reference footage is ignored.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The shape of the frame: wide, square or tall. 16:9 · 9:16 · Default: 16:9 |
duration_seconds | No | Length of the generated clip. 3–15 · Default: 8 |
prompt | Yes | Describe what you want to make. |
reference_image_urls | No | Pictures of the people, outfits or places the result should keep. |
reference_video_urls | No | Clips whose motion, camera or style the result should follow. |
resolution | No | Choose an available output size. 360p · 720p · 1080p · 4k · Default: 720p |
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.
| Option | USD 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
- Place two referenced travelers in a railway dining car for a short exchange.
- Carry a product from its reference photo into a newly described location.
- Use a short motion reference to guide the movement of a new market scene.
Prompt guide & pro tips
- Assign each person a clear source, such as “the traveler in Image 1,” using upload order.
- Explain what each video guides, such as “move like Video 1,” rather than assuming its role.
- Describe interaction separately from appearance, such as “slide a folded note across the table,” to define the new event.
- Follow Google’s character guidance with a phrase such as “use Images 1–3 for the first character,” while staying within six images total.
- Describe fresh sound, such as “steady train rhythm and clinking cutlery,” since audio in the reference clips is ignored.
API quick start
Call the Gemini Omni 1.2 Flash API in three steps
- 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.
- Send the request. POST /jobs/createTask with model google/gemini-omni-1.2-flash/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- 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/reference-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"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 Reference to 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 are the limits of the Gemini Omni 1.2 Flash · Reference to Video API?
Clip length: 3–15 s; Resolutions: 360p · 720p · 1080p · 4K; Aspect ratios: 16:9 · 9:16; Reference images: 6; Reference videos: 3. Requests outside these limits are rejected before anything is charged.