> ## 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.1 Extend

> Gemini Omni Flash 1.1 Extend video API via SnapGen: extension mode of Gemini Omni Flash 1.1, billed from prepaid balance.

`gemini-omni-flash-1.1-extend` is the extension mode of Gemini Omni Flash 1.1: it continues a source clip from its first 10 seconds.

| Property | Value                                                                                             |
| -------- | ------------------------------------------------------------------------------------------------- |
| Model ID | `gemini-omni-flash-1.1-extend`                                                                    |
| Input    | prompt + video + images                                                                           |
| Output   | 360p, 720p, 1080p, 4k video with native audio                                                     |
| Duration | Follows the source clip                                                                           |
| Price    | 360p \$1.20 per request; 720p \$1.20 per request; 1080p \$1.20 per request; 4k \$1.80 per request |

Confirm live rates on the [models page](https://snapgen.org/models/gemini-omni-flash).

<ParamField body="model" type="string" required>
  Set to `gemini-omni-flash-1.1-extend`.
</ParamField>

<ParamField body="prompt" type="string" required>
  Describe the subject, action, camera movement, lighting, and audio intent.
</ParamField>

<Note>
  Do not send `seconds`: the output length follows the source video.
</Note>

<ParamField body="aspect_ratio" type="string">
  One of `16:9`, `9:16`. Send it explicitly; do not send a pixel `size`.
</ParamField>

<ParamField body="resolution" type="string" default="720p">
  One of `360p`, `720p`, `1080p`, `4k`. The price depends on the resolution.
</ParamField>

<ParamField body="image_urls" type="string[]">
  Up to 5 public `http`/`https` image URLs, each up to 5 MB (JPEG, PNG, WEBP).
</ParamField>

<ParamField body="video_url" type="string" required>
  One public source video URL, up to 100 MB (MP4, WEBM, MOV). Send a string, not an array.
</ParamField>

## Request

```bash theme={null}
curl https://api.snapgen.org/v1/videos \
  -H "Authorization: Bearer $SNAPGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-omni-flash-1.1-extend",
    "prompt": "The camera keeps following the runner into the forest",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "video_url": "https://example.com/source.mp4"
  }'
```

The response returns a queued task `id`. Poll and download with the same `model`:

```bash theme={null}
curl "https://api.snapgen.org/v1/videos/$VIDEO_ID?model=gemini-omni-flash-1.1-extend" \
  -H "Authorization: Bearer $SNAPGEN_API_KEY"

curl -L "https://api.snapgen.org/v1/videos/$VIDEO_ID/content?model=gemini-omni-flash-1.1-extend" \
  -H "Authorization: Bearer $SNAPGEN_API_KEY" \
  --output video.mp4
```

See the [Video API workflow](/api-reference/video-generation) for polling intervals, webhooks, and failure handling.

<Note>
  Media inputs must be public `http` or `https` URLs. Private network addresses and
  local files are rejected. Failed generations are not charged.
</Note>
