# Google Gemini Omni Flash 1.1 Edit API

> Gemini Omni Flash 1.1 Edit by Google applies natural-language edits to an existing video of up to ten seconds, such as changing style, lighting, or objects, at 360p to 4K output.

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

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/gemini-omni-flash/1.1/edit`
- Price: From $1.12 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/1.1/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.",
  "resolution": "720p"
}'
```

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

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

## README

### Gemini Omni Flash 1.1 Edit

Gemini Omni Flash 1.1 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. |
| `resolution` | `360p` / `720p` / `1080p` / `4k` | `720p` | Sets the per-second rate. |

#### Billing

Billing counts the source and the output: $0.02 per source second plus the output rate ($0.04 at 360p, $0.12 at 720p, $0.18 at 1080p, $0.36 at 4K) for the same length, with a 3-second minimum on the output. The quote before submission assumes an 8-second source.

| Source clip | 360p | 720p | 1080p | 4k |
|---|---|---|---|---|
| 3s source | $0.18 | $0.42 | $0.60 | $1.14 |
| 5s source | $0.30 | $0.70 | $1.00 | $1.90 |
| 8s source | $0.48 | $1.12 | $1.60 | $3.04 |
| 10s source | $0.60 | $1.40 | $2.00 | $3.80 |

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 1.1 endpoints: `google/gemini-omni-flash/1.1/text-to-video`, `google/gemini-omni-flash/1.1/image-to-video`, `google/gemini-omni-flash/1.1/reference-to-video`, `google/gemini-omni-flash/edit` (previous version).
