# Omni Flash 1.2 (`omni_flash_1_2`)

> Google Gemini Omni Flash 1.2 on fal. It makes 3-15 s video with native audio from text, from a first/last frame, or from up to 10 reference images and 3 reference videos. It also edits clips up to 15 s and extends videos by 3-10 s. Output is 360p to 4K, in 16:9 or 9:16.

- Capability: Video (tool `video`) — Text to video, Image to video, Video to video
- Price: from $0.0273 per second on the cheapest route; the total depends on the request (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~2 min
- JSON Schema: https://api.varg.ai/v2/tools/video?model=omni_flash_1_2 (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=omni_flash_1_2

## Call it

REST: `POST https://api.varg.ai/v2/tools/video/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/video/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "omni_flash_1_2",
  "prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam sweeping across the dark sea.",
  "duration": 5
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "video",
  "input": {
    "model": "omni_flash_1_2",
    "prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam sweeping across the dark sea.",
    "duration": 5
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `omni_flash_1_2` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |
| `resolution` | string | no | — | 480p \| 720p \| 1080p \| 4k | Quality tier. Supported by this model: 480p, 720p, 1080p, 4k. Unsupported tiers fall back to the nearest available. |
| `audio` | boolean | no | — | — | Native audio track request. Not supported by this model — ignored if sent. |
| `duration` | integer | no | — | 3–15 | Length in seconds. Supported by this model's routes: fal: integer 3-15 / integer 3-10. A non-numeric value such as "auto" is routed to a route whose schema accepts it; when none does, the request is rejected. |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.fal

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `prompt` | string | no | — | — | The text prompt describing the video you want to generate. |
| `image_urls` | array of URL strings | no | — | — | — |
| `reference_video_urls` | array of URL strings | no | — | — | — |
| `duration` | integer | no | — | 3–15 | The duration of the generated video, in seconds. |
| `resolution` | string | no | — | 360p \| 720p \| 1080p \| 4k | — |
| `aspect_ratio` | string | no | — | 16:9 \| 9:16 | — |
| `image_url` | string (URL) | no | — | — | URL of the first frame to animate. |
| `end_image_url` | string (URL) | no | — | — | — |
| `video_url` | string (URL) | no | — | — | URL of the video to edit. Must be at most 15 seconds long. |

## Routes

`"model": "omni_flash_1_2"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `fal:google/gemini-omni-flash/v1.2/text-to-video` | fal | text-to-video | $0.09 | ~2 min |
| `fal:google/gemini-omni-flash/v1.2/image-to-video` | fal | image-to-video | $0.09 | ~2 min |
| `fal:google/gemini-omni-flash/v1.2/edit` | fal | video-to-video | $0.0273/s | ~2 min |
| `fal:google/gemini-omni-flash/v1.2/reference-to-video` | fal | image-to-video, video-to-video | $0.09 | ~2 min |
| `fal:google/gemini-omni-flash/v1.2/extend` | fal | video-to-video | $0.09 | ~2 min |

---

Catalog version 2026-11-11T12:59:09.901887+00:00. All models: https://varg.ai/models/llms.txt
