Gemini Omni 1.1 Flash API reference
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 Gemini Omni 1.1 Flash from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.
At a glance
- Made by
- Output
- Video
- From
- $0.3648 USD per request
Prices are in USD, charged to your separate API wallet. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Create Video
google/gemini-omni-1.1-flash/text-to-video
Price
| Option | USD |
|---|---|
duration_seconds = 4, resolution = 720p | $0.3648 per request |
duration_seconds = 4, resolution = 1080p | $0.5473 per request |
duration_seconds = 6, resolution = 720p | $0.5473 per request |
duration_seconds = 8, resolution = 720p | $0.7297 per request |
duration_seconds = 6, resolution = 1080p | $0.821 per request |
duration_seconds = 10, resolution = 720p | $0.9122 per request |
duration_seconds = 4, resolution = 4k | $1.0946 per request |
duration_seconds = 8, resolution = 1080p | $1.0946 per request |
duration_seconds = 10, resolution = 1080p | $1.3683 per request |
duration_seconds = 6, resolution = 4k | $1.642 per request |
duration_seconds = 8, resolution = 4k | $2.1893 per request |
duration_seconds = 10, resolution = 4k | $2.7367 per request |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 20,000 characters | Describe the subject, the action, the camera and the sound. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 720p, 1080p, 4k | Output resolution. 720p is native; 1080p and 4K are upscaled by Google and cost more. |
duration_secondsOptional | integer | 8 | 4, 6, 8, 10 | Clip length: 4, 6, 8 or 10 seconds. Billed per clip by length and resolution. |
seedOptional | integer | — | 0 to 2147483647 | Random seed for controlled comparisons. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
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: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.1-flash/text-to-video",
"input": {
"prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
"duration_seconds": 8,
"resolution": "720p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Image to Video
google/gemini-omni-1.1-flash/image-to-video
Price
| Option | USD |
|---|---|
duration_seconds = 4, resolution = 720p | $0.3648 per request |
duration_seconds = 4, resolution = 1080p | $0.5473 per request |
duration_seconds = 6, resolution = 720p | $0.5473 per request |
duration_seconds = 8, resolution = 720p | $0.7297 per request |
duration_seconds = 6, resolution = 1080p | $0.821 per request |
duration_seconds = 10, resolution = 720p | $0.9122 per request |
duration_seconds = 4, resolution = 4k | $1.0946 per request |
duration_seconds = 8, resolution = 1080p | $1.0946 per request |
duration_seconds = 10, resolution = 1080p | $1.3683 per request |
duration_seconds = 6, resolution = 4k | $1.642 per request |
duration_seconds = 8, resolution = 4k | $2.1893 per request |
duration_seconds = 10, resolution = 4k | $2.7367 per request |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 20,000 characters | Describe the motion, the camera and the sound. |
image_urlRequired | string (uri) | — | — | Opening frame of the clip. |
last_image_urlOptional | string (uri) | — | — | Optional closing frame; the clip moves from the first frame to this one. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 720p, 1080p, 4k | Output resolution. 720p is native; 1080p and 4K are upscaled by Google and cost more. |
duration_secondsOptional | integer | 8 | 4, 6, 8, 10 | Clip length: 4, 6, 8 or 10 seconds. Billed per clip by length and resolution. |
seedOptional | integer | — | 0 to 2147483647 | Random seed for controlled comparisons. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.
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: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.1-flash/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"duration_seconds": 8,
"resolution": "720p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Reference to Video
google/gemini-omni-1.1-flash/reference-to-video
Price
| Option | USD |
|---|---|
duration_seconds = 4, resolution = 720p | $0.3648 per request |
duration_seconds = 4, resolution = 1080p | $0.5473 per request |
duration_seconds = 6, resolution = 720p | $0.5473 per request |
duration_seconds = 8, resolution = 720p | $0.7297 per request |
duration_seconds = 6, resolution = 1080p | $0.821 per request |
duration_seconds = 10, resolution = 720p | $0.9122 per request |
duration_seconds = 4, resolution = 4k | $1.0946 per request |
duration_seconds = 8, resolution = 1080p | $1.0946 per request |
duration_seconds = 10, resolution = 1080p | $1.3683 per request |
duration_seconds = 6, resolution = 4k | $1.642 per request |
duration_seconds = 8, resolution = 4k | $2.1893 per request |
duration_seconds = 10, resolution = 4k | $2.7367 per request |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
promptRequired | string | — | up to 20,000 characters | Say what from Image 1, Image 2 and so on appears and what happens. |
reference_image_urlsRequired | array<string (uri)> | — | up to 7 items | One to seven images of the people, products, places or look to keep. |
aspect_ratioOptional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOptional | string | 720p | 720p, 1080p, 4k | Output resolution. 720p is native; 1080p and 4K are upscaled by Google and cost more. |
duration_secondsOptional | integer | 8 | 4, 6, 8, 10 | Clip length: 4, 6, 8 or 10 seconds. Billed per clip by length and resolution. |
seedOptional | integer | — | 0 to 2147483647 | Random seed for controlled comparisons. |
Example request
This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.
The example uses PopNow sample files in reference_image_urls. Replace them with your own public HTTPS links, uploads or saved assets.
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: $(uuidgen)" \
-d '{
"model": "google/gemini-omni-1.1-flash/reference-to-video",
"input": {
"prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"duration_seconds": 8,
"resolution": "720p"
}
}'The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
