# Google Gemini Omni Flash Text to Video API

> Gemini Omni Flash is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Source: https://www.sandbase.ai/models/google/gemini-omni-flash/text-to-video
API reference: https://www.sandbase.ai/models/google/gemini-omni-flash/text-to-video/docs

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/gemini-omni-flash/text-to-video`
- Price: From $1.04 per run
- Capabilities: text to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-omni-flash/text-to-video",
  "prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam slowly sweeping across the dark sea.",
  "duration": 8,
  "aspect_ratio": "16:9"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Google Gemini Omni Flash Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "google/gemini-omni-flash/text-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Gemini Omni Flash Text to Video and the other models in the catalog; you do not need to sign up with Google separately.

## README

### Gemini Omni Flash Text to Video

Gemini Omni Flash generates a 3–10 second clip with synchronized audio from a written prompt. It is Google's Gemini-native video model, built for fast turnaround and strong prompt following.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 20,000 characters. |
| `aspect_ratio` | `16:9` / `9:16` | `16:9` | Output frame shape. |
| `duration` | integer 3–10 | 8 | Output length in seconds (3–10). |

#### Billing

You pay $0.13 per output second.

| Output | Price |
|---|---|
| 3s | $0.39 |
| 8s (default) | $1.04 |
| 10s | $1.30 |

Failed runs are not charged.

#### Prompting

- Describe subject, action, camera, and sound in plain sentences.
- Quote dialogue and name the speaker.

#### Limits

- 16:9 or 9:16 only.

#### Also on SandBase

Other Gemini Omni Flash endpoints: `google/gemini-omni-flash/image-to-video`, `google/gemini-omni-flash/reference-to-video`, `google/gemini-omni-flash/edit`, `google/gemini-omni-flash/1.1/text-to-video` (newer).
