# Google Gemini Omni Flash Edit API

> Gemini Omni Flash Edit by Google applies natural-language edits to an existing short video, such as changing style, lighting, or objects, while keeping the rest of the scene consistent.

Source: https://www.sandbase.ai/model/google/gemini-omni-flash/edit
API reference: https://www.sandbase.ai/model/google/gemini-omni-flash/edit/docs

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/gemini-omni-flash/edit`
- Price: From $1.20 per run
- Capabilities: video 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/edit",
  "video": "https://static.sandbase.ai/examples/google/gemini-omni-flash/edit/input_video_0.mp4",
  "prompt": "Make this video anime. Keep everything else the same."
}'
```

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 Edit through SandBase?

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

## README

### Gemini Omni Flash Edit

Gemini Omni Flash edit: change an existing clip of up to 10 seconds with an instruction, such as style, lighting, or objects, while the rest of the scene stays consistent.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 20,000 characters. |
| `video` | video URL, required | — | Source clip, up to 10 seconds. |

#### Billing

Billing counts the source and the output: $0.02 per source second plus $0.13 per output second for the same length, with a 3-second minimum on the output. The quote before submission assumes an 8-second source.

| Source clip | Price |
|---|---|
| 3s source | $0.45 |
| 5s source | $0.75 |
| 8s source | $1.20 |
| 10s source | $1.50 |

Failed runs are not charged.

#### Prompting

- Lead with the change and say what must stay the same.

#### Limits

- Source clips longer than 10 seconds are billed and processed as 10 seconds.

#### 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/reference-to-video`, `google/gemini-omni-flash/1.1/edit` (newer).
