> ## 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 VIP

> VIP는 텍스트, 이미지 및 참조 영상 입력을 지원합니다. 4 / 6 / 8 / 10초와 360p / 720p / 1080p / 4k를 선택하며 기본은 6초 / 720p입니다. 참조 영상이 있으면 길이를 생략합니다.

VIP는 텍스트, 이미지 및 참조 영상 입력을 지원합니다. 4 / 6 / 8 / 10초와 360p / 720p / 1080p / 4k를 선택하며 기본은 6초 / 720p입니다. 참조 영상이 있으면 길이를 생략합니다.

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

[일반](./generation-1-1) | [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-vip`
</ParamField>

<ParamField body="prompt" type="string" required>필수 동영상 설명.</ParamField>
<ParamField body="duration" type="integer" default="6">VIP는 4 / 6 / 8 / 10초, 기본 6초. video\_urls가 있으면 duration과 seconds를 생략합니다.</ParamField>
<ParamField body="resolution" type="string" default="720p">VIP는 360p / 720p / 1080p / 4k, 기본 720p. 대소문자를 구분하지 않습니다.</ParamField>
<ParamField body="aspect_ratio" type="string" default="16:9">16:9 또는 9:16, 기본 16:9.</ParamField>
<ParamField body="image_urls" type="string[]">VIP frame은 1개, reference는 1개 또는 3개. 시작 및 끝 이미지 2개는 지원하지 않습니다. 이미지가 없으면 generation\_type을 생략합니다.</ParamField>
<ParamField body="generation_type" type="string">VIP 전용. frame은 첫 프레임, reference는 참조 이미지. 생략하면 이미지 1개는 frame, 3개는 reference입니다.</ParamField>
<ParamField body="video_urls" type="string[]">VIP 전용, 공개 HTTP(S) 영상 URL 최대 1개. 이미지와 함께 사용 가능합니다. 참조 영상 모드에서는 duration과 seconds를 생략합니다. 출력 길이는 실제 생성 결과를 기준으로 하며 원본 영상과 같다고 보장하지 않습니다.</ParamField>

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

## 요청 예시

<Tabs>
  <Tab title="VIP">
    ```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-vip",
        "prompt": "A cinematic tracking shot through a sunlit city",
        "duration": 8,
        "resolution": "360p",
        "aspect_ratio": "9:16",
        "generation_type": "reference",
        "image_urls": [
          "https://example.com/a.png",
          "https://example.com/b.png",
          "https://example.com/c.png"
        ]
      }'
    ```
  </Tab>

  <Tab title="VIP VIDREF">
    ```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-vip",
        "prompt": "The same scene at night with neon lights",
        "resolution": "4k",
        "aspect_ratio": "16:9",
        "generation_type": "reference",
        "image_urls": ["https://example.com/image.png"],
        "video_urls": ["https://example.com/video.mp4"]
      }'
    ```
  </Tab>
</Tabs>

## 결과 조회

반환된 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-vip",
    "status": "queued",
    "created_at": 1789600000
  }
  ```
</ResponseExample>

## 잘못된 매개변수

잘못된 해상도나 길이, 모드와 맞지 않는 이미지 수, 여러 참조 영상, 참조 영상과 길이 동시 입력은 수정 후 다시 제출하세요.
