by Google

4K Video

google/gemini-omni-1.1-flash/reference-to-video
  • Up to 4K
  • 4–10s clips
  • Up to 7 reference images
  • Create Video
  • Image to Video
  • Reference to Video

About Gemini Omni 1.1 Flash

The Gemini Omni Flash API for text to video, image to video with a first and last frame, and reference to video with up to 7 images: 4 to 10 second clips with sound at 720p, 1080p or 4K.

Call it with the model name google/gemini-omni-1.1-flash/reference-to-video on POST /jobs/createTask, from $0.3648.

Introduction

Gemini Omni 1.1 Flash reference-to-video keeps people, products, places or a style from up to seven images in a new 4 to 10 second clip with sound.

google/gemini-omni-1.1-flash/reference-to-video

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · Default: 16:9
duration_secondsNoLength of the generated clip. 4 · 6 · 8 · 10 · Default: 8
promptYesDescribe what you want to make.
reference_image_urlsYesPictures of the people, outfits or places the result should keep.
resolutionNoChoose an available output size. 720p · 1080p · 4k · Default: 720p
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

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 run
duration_seconds 4 · resolution 720p$0.3648
duration_seconds 4 · resolution 1080p$0.5473
duration_seconds 6 · resolution 720p$0.5473
duration_seconds 8 · resolution 720p$0.7297
duration_seconds 6 · resolution 1080p$0.821
duration_seconds 10 · resolution 720p$0.9122
duration_seconds 4 · resolution 4K$1.0946
duration_seconds 8 · resolution 1080p$1.0946
duration_seconds 10 · resolution 1080p$1.3683
duration_seconds 6 · resolution 4K$1.642
duration_seconds 8 · resolution 4K$2.1893
duration_seconds 10 · resolution 4K$2.7367

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.

API quick start

Call the Gemini Omni 1.1 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.1-flash/reference-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.1-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.1 Flash API questions

How much does the Gemini Omni 1.1 Flash API cost?

Gemini Omni 1.1 Flash starts at $0.3648 per run with Reference to Video, its cheapest task. Prices by option: 4 · 720p $0.3648 per run, 4 · 1080p $0.5473 per run, 6 · 720p $0.5473 per run, 8 · 720p $0.7297 per run. 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.1 Flash · Reference to Video API?

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

More about Gemini Omni 1.1 Flash