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/image-to-video on POST /jobs/createTask, from $0.138.
Introduction
Gemini Omni 1.2 Flash image-to-video turns an opening still into movement. Supply image_url and a prompt explaining the action after that image. The pier example uses a nighttime boat still to begin a 5-second departure with engine and water sounds.
Add last_image_url when the scene needs a planned ending. With that closing image, the allowed length is 3–10 seconds; without it, choose 3–15 seconds. In our tests, two studio pictures guided a dancer between the opening and closing poses.
Key features
- Use your supplied still as the first frame of the animation.
- Guide the final composition with an optional second image.
- Generate sound during animation instead of uploading an audio track.
- Select landscape 16:9 or vertical 9:16 for the requested scene.
- Work at 360p or default 720p, with higher-rate 1080p and 4K upscaled by Google.
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 |
image_url | Yes | The picture to start from. |
last_image_url | No | Reference image to guide the final frame. |
prompt | Yes | Describe what you want to make. |
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
- Set a wooden boat departing from a hotel pier in motion from a nighttime still.
- Connect two studio poses over a 5-second sequence with soft piano.
- Turn a product still into a short motion study with a planned final composition.
Prompt guide & pro tips
- Describe what changes after the opening, such as “the boat eases away from the pier,” rather than repeating every visible detail.
- With two images, explain the transition, such as “move smoothly into the closing pose,” and select no more than 10 seconds.
- Specify a restrained camera plan, such as “a locked camera,” when movement within the scene should carry the shot.
- Name the desired ambience, such as “low engine hum and lapping water,” because the still does not supply sound.
- Ask for continuity with a short phrase such as “no scene cuts,” following Google’s advice for a single take.
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/image-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/image-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"image_url": "https://media.popnow.ai/influencer/examples/marco.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 Image 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 · Image to Video API?
Clip length: 3–15 s; Resolutions: 360p · 720p · 1080p · 4K; Aspect ratios: 16:9 · 9:16; Prompt length (characters): 20,000; Largest upload: 20 MB. Requests outside these limits are rejected before anything is charged.