> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini Omni 1.1 Standard

> Standard supports text-to-video and image-to-video at a fixed 10 seconds / 720p, with up to 5 reference images.

Standard supports text-to-video and image-to-video at a fixed 10 seconds / 720p, with up to 5 reference images.

> [!NOTE]
>
> Use your platform API key, not a supplier key. In mainland China, use [https://toapis.cn](https://toapis.cn) as the Base URL.

[VIP](https://docs.toapis.com/docs/en/api-reference/videos/gemini-omni-flash/generation-1-1-vip.md) | [Official documentation](https://docs.toapis.com/docs/en/api-reference/videos/gemini-omni-1.1-flash-preview-official/generation.md)

## Request parameters

**Authorization** `string` *required*

`Bearer YOUR_API_KEY`

**model** `string` *required*

`gemini-omni-1.1-flash-preview`

**prompt** `string` *required*

Required video description.

**duration** `integer` (default: 10)

Standard: fixed 10 seconds.

**resolution** `string` (default: 720p)

720p

**aspect\_ratio** `string` (default: 16:9)

16:9 or 9:16, default 16:9.

**image\_urls** `string[]`

Standard accepts up to 5 public image URLs.

> [!WARNING]
>
> Upload local media first to obtain public URLs. Do not send base64 or local file paths.

## Request examples

```bash theme={null}
curl https://toapis.com/v1/videos \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gemini-omni-1.1-flash-preview",
    "prompt": "A cinematic tracking shot through a sunlit city",
    "duration": 10,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "image_urls": ["https://example.com/image.png"]
  }'
```

## Retrieve a task

Submission returns a platform task id. Poll GET /v1/videos/{id} and retrieve the video result on completion. Do not use supplier task IDs or supplier polling endpoints.

```bash theme={null}
curl https://toapis.com/v1/videos/YOUR_TASK_ID \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

```json theme={null}
{
  "id": "vid_example",
  "object": "generation.task",
  "model": "gemini-omni-1.1-flash-preview",
  "status": "queued",
  "created_at": 1789600000
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.