> ## 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 일반

> 일반 버전은 텍스트 및 이미지 기반 영상 생성, 10초 / 720p 고정. 참조 이미지는 최대 5개.

일반 버전은 텍스트 및 이미지 기반 영상 생성, 10초 / 720p 고정. 참조 이미지는 최대 5개.

<Note>플랫폼 API Key를 사용하세요. 중국 본토에서는 [https://toapis.cn을](https://toapis.cn을) 사용할 수 있습니다.</Note>

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

## 요청 매개변수

<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>필수 동영상 설명.</ParamField>
<ParamField body="duration" type="integer" default="10">일반은 10초 고정.</ParamField>
<ParamField body="resolution" type="string" default="720p">720p</ParamField>
<ParamField body="aspect_ratio" type="string" default="16:9">16:9 또는 9:16, 기본 16:9.</ParamField>
<ParamField body="image_urls" type="string[]">일반은 공개 이미지 URL 최대 5개.</ParamField>

<Warning>로컬 미디어는 먼저 업로드하여 공개 URL을 얻습니다. base64나 로컬 경로를 보내지 마세요.</Warning>

## 요청 예시

```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"]
  }'
```

## 결과 조회

반환된 id는 플랫폼 작업 ID입니다. GET /v1/videos/{id}로 완료 결과를 조회합니다. 공급업체 task\_id나 조회 API는 사용하지 않습니다.

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