Gemini Omni 1.2 Flash API

Generate Gemini Omni 1.2 Flash videos from your own code. Five endpoints cover text-to-video, image-to-video (first and optional last frame), reference-to-video, video edit and video extend, any whole-second duration from 3 to 15 seconds with native audio, from 360p drafts up to 4K. Several providers resell this model at very different prices; every request is priced across them and runs on the cheapest one that supports your settings.

$0.36per video, default settings(~360 credits)Best price

57% less than the priciest provider (7 compared). Same model, same output.

As of , Gemini Omni 1.2 Flash costs from $0.02 per second on Scenetra, billed at provider cost with no markup. Each run is priced across 15 providers and runs on the cheapest one that supports your settings.

360p
$0.02/s
720p
$0.045/s
1080p
$0.05/s
4K
$0.11/s

Quickstart

Async by design: submit a generation, get a run id back instantly, poll until it completes (or pass a callbackUrl). Each mode is its own endpoint.

Gemini Omni 1.2 Flash Text to Video API

POST /api/v1/generate/gemini-omni-1.2-flash-t2vGet your API key →

1 — Start a generation

curl -X POST https://app.scenetra.com/api/v1/generate/gemini-omni-1.2-flash-t2v \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A street musician plays violin under a bridge at dusk, the melody echoing, light rain, slow push-in","duration":"10","resolution":"720p"}'

Response (202)

{
  "runId": "run_abc123",
  "status": "PENDING",
  "model": "gemini-omni-1.2-flash-t2v",
  "estimatedCredits": 360,
  "statusUrl": "/api/v1/runs/run_abc123"
}

2 — Poll until COMPLETED (every 2-5 seconds)

curl https://app.scenetra.com/api/v1/runs/run_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "runId": "run_abc123",
  "status": "COMPLETED",
  "progress": { "completed": 1, "total": 1 },
  "outputs": [
    { "type": "video", "url": "https://images.scenetra.com/..." }
  ],
  "error": null,
  "estimatedCredits": 360
}

Request fields

FieldTypeDescriptionDefault
prompt*stringDescribe the scene, action, camera and style, and the audio: dialogue, music and sound effects are rendered natively and directed through the prompt.—
durationstringLength of the video in seconds (3-15; up to 10 with a last frame). Billed per second.3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 158
resolutionstring360p is a fast, cheap draft; 720p is native; 1080p and 4k upscale the render.360p · 720p · 1080p · 4k720p
aspect_ratiostring16:9 landscape or 9:16 vertical.16:9 · 9:1616:9
callbackUrlstring (https URL)Optional. When the run finishes (completed or failed), we POST the final run status to this URL — same shape as the poll response, plus model, params, and chargedCredits. Best-effort; polling remains the source of truth.

Unknown fields are rejected with a helpful 400. Media fields take https URLs. There is no provider parameter — every run is routed to the cheapest capable provider automatically.

Good to know

Billing

Runs bill your account credits at provider cost with 0% markup. The submit response includes the credit estimate; failed generations are refunded automatically. Add ?dryRun=1 to get the estimate without running anything.

Errors

Errors are always { "error": { "code", "message" } } with stable codes: unauthorized, model_not_available, invalid_parameter, insufficient_credits, rate_limited. A failed run is not an HTTP error — poll responses report status: "FAILED" with the reason.

Gemini Omni 1.2 Flash API FAQ

Which endpoints does the Gemini Omni 1.2 Flash API have?+

Five: gemini-omni-1.2-flash-t2v (text), -i2v (first frame, optional last frame), -ref2v (reference images and short clips), -edit (change an existing video with one instruction) and -extend (add 3-10 seconds to a clip). Every mode accepts 360p, 720p, 1080p or 4k.

How are edit and extend billed?+

Edit is billed on the length of your source video (up to 15 seconds), since the output keeps that length. Extend is billed on the new seconds you ask for; some providers also add a small per-second fee for the source clip, and routing accounts for it.

Is this the official Google API?+

No. Scenetra routes each call to a provider that serves Gemini Omni 1.2 Flash (the same model and output) and bills you in Scenetra credits from one balance.

How much does the Gemini Omni 1.2 Flash API cost?+

As of November 9, 2026, Gemini Omni 1.2 Flash costs from $0.02 per second on Scenetra, billed at provider cost with no markup. Each run is priced across 15 providers and runs on the cheapest one that supports your settings. Rates: 360p $0.02/s; 720p $0.045/s; 1080p $0.05/s; 4K $0.11/s. With default settings (720p, 8 seconds), a text to video run is estimated at about 360 credits. The submit response returns the estimate for your exact settings, and adding ?dryRun=1 prices a request without running it.

Which provider runs my request?+

The cheapest one that supports your settings, chosen per request. There is no provider parameter: the same Gemini Omni 1.2 Flash request is priced across every provider we route to and runs on the lowest quote.

Do failed generations cost credits?+

No. Credits are reserved when you submit and refunded automatically if the run fails. A failed run is not an HTTP error: polling returns status FAILED with the reason.

Do I have to poll, or can I get a webhook?+

Both work. Pass callbackUrl and we POST the final run status to it when the run completes or fails. Delivery is best-effort, so polling GET /api/v1/runs/{runId} remains the source of truth.