# Gemini Omni 1.2 Flash API

> Google's newest Omni video model: 3 to 15 seconds with sound, from text, a first frame, a first and last frame, or up to 10 reference images, at 360p to 4K. By Google, on Revana from $0.024 per second of video.

- Model id: `gemini-omni-1.2-flash`
- Kind: video
- Maker: Google
- Tasks: Text to video, Image to video, First + last frame, Reference to video
- Resolutions: 360p, 720p, 1080p, 4K
- Durations: 3 to 15 seconds
- Aspect ratios: 16:9, 9:16
- Audio: supported (`"audio": true`)
- Input images: up to 10
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/gemini-omni-1.2-flash

## Price (per second of video, USD)

| Resolution | Price | Credits |
|---|---|---|
| 360p | $0.024 | 3 |
| 720p | $0.072 | 8 |
| 1080p | $0.109 | 11 |
| 4K | $0.217 | 22 |

100 credits = $1. Charged once, only for the route that succeeds; failed generations cost nothing.

## Request

POST https://api.revana.si/v1/generations with `Authorization: Bearer $REVANA_API_KEY` and an `Idempotency-Key` header: one key per request, made once and sent again on every resend after a timeout, a 429 or a 5xx, so the request is never made or charged twice. After a generation has failed, use a new key.

```json
{
  "model": "gemini-omni-1.2-flash",
  "input": {
    "prompt": "A slow dolly shot through a neon-lit night market in the rain, steam rising from food stalls",
    "resolution": "720p",
    "duration": 3,
    "aspect_ratio": "16:9",
    "audio": true
  },
  "max_cost_usd": 0.33
}
```

`max_cost_usd` is your cap, the most this request may cost (it lists at $0.22). Poll `GET /v1/generations/{id}` until `status` is `succeeded` or `failed`, then download `GET /v1/generations/{id}/content`. Full API: https://revana.si/llms.txt

## Similar models

- [Nano Banana Pro](https://revana.si/models/nano-banana-pro.md): from $0.04 per image
- [Nano Banana 2](https://revana.si/models/nano-banana-2.md): from $0.03 per image
- [Veo 3.1 Fast](https://revana.si/models/veo-3.1-fast.md): from $0.08 per second of video
- [Veo 3.1](https://revana.si/models/veo-3.1.md): from $0.20 per second of video
- [Nano Banana](https://revana.si/models/nano-banana.md): from $0.03 per image
- [Gemini Omni](https://revana.si/models/gemini-omni.md): from $0.10 per second of video

