# Google Gemini Omni Flash Reference to Video API

> Gemini Omni Flash Reference to Video by Google generates a short video with synchronized audio that keeps subjects, products, or style consistent with up to ten reference images.

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

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/gemini-omni-flash/reference-to-video`
- Price: From $1.04 per run
- Capabilities: reference 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/reference-to-video",
  "images": [
    "https://static.sandbase.ai/examples/google/gemini-omni-flash/reference-to-video/input_images_0.png",
    "https://static.sandbase.ai/examples/google/gemini-omni-flash/reference-to-video/input_images_1.png"
  ],
  "prompt": "A cat playfully batting at a ball of yarn in a sunlit living room.",
  "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 Reference to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "google/gemini-omni-flash/reference-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 Reference to Video and the other models in the catalog; you do not need to sign up with Google separately.

## README

### Gemini Omni Flash Reference to Video

Gemini Omni Flash reference-to-video: up to 10 reference images keep subjects, products, or style consistent in a new clip with synchronized audio.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 20,000 characters. |
| `images` | image URL[] (≤10) | — | Up to 10 reference images, Image 1, Image 2, … |
| `duration` | integer 3–10 | 8 | Output length in seconds (3–10). |
| `aspect_ratio` | `16:9` / `9:16` | `16:9` | Output frame shape. |

#### 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

- Give each reference a role and refer to it by number.

#### Limits

- Send at least one reference.

#### Also on SandBase

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