> ## 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.</Note>

[VIP](./generation-1-1-vip) | [Official documentation](../gemini-omni-1.1-flash-preview-official/generation)

## Request parameters

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_API_KEY`
</ParamField>

<ParamField body="model" type="string" required>
  `gemini-omni-1.1-flash-preview`
</ParamField>

<ParamField body="prompt" type="string" required>Required video description.</ParamField>
<ParamField body="duration" type="integer" default="10">Standard: fixed 10 seconds.</ParamField>
<ParamField body="resolution" type="string" default="720p">720p</ParamField>
<ParamField body="aspect_ratio" type="string" default="16:9">16:9 or 9:16, default 16:9.</ParamField>
<ParamField body="image_urls" type="string[]">Standard accepts up to 5 public image URLs.</ParamField>

<Warning>Upload local media first to obtain public URLs. Do not send base64 or local file paths.</Warning>

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

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