> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snapgen.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini Omni Flash 1.2 T2V

> Generate video with sound from text using Gemini Omni Flash 1.2.

Use `gemini-omni-flash-1.2-t2v` to generate 3–15 seconds of video with native audio. Choose `360p`, `720p`, `1080p`, or `4k`; 1080p and 4K use upsampling. The aspect ratio is `16:9` or `9:16`.

```json theme={null}
{
  "model": "gemini-omni-flash-1.2-t2v",
  "prompt": "A paper boat floats along a stream with gentle water sounds.",
  "seconds": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9"
}
```

Send this body to `POST /v1/videos`, then poll the returned task ID. See the [video API workflow](https://docs.snapgen.org/api-reference/video-generation.md) and [live model pricing](https://snapgen.org/models/gemini-omni-flash-1-2). Billing uses requested output seconds and resolution.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.