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

# Gemini Omni 1.1 Flash 全パラメータ概要

> - 5つの動画モードの全パラメータ
- テキストから動画、画像から動画、参照素材から動画、動画編集、動画延長の5モードがあります。
- `quality`: テキスト/画像/参照は4段階で既定720p。編集/延長はautoも対応し既定auto。
- `duration`: 長さ: 生成モードは3～10、編集はautoのみ、延長は追加秒数3～10。
- `aspect_ratio`: 既定値auto。編集と延長はautoのみ指定可能。
- モデルが同期したネイティブ音声を自動生成します。
- 否定条件はpromptへ直接記述します。
- 非同期処理: [タスク状態を照会](/ja/api-manual/task-management/get-task-detail)
- 生成リンクの有効期限は24時間です。



## OpenAPI

````yaml ja/api-manual/video-series/gemini-omni-1.1-flash/gemini-omni-1.1-flash-overview.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Gemini Omni 1.1 Flash 全パラメータ概要
  description: 5つの動画モードの全パラメータ
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
paths:
  /v1/videos/generations:
    post:
      tags:
        - 動画生成
      summary: Gemini Omni 1.1 Flash 全パラメータ概要
      description: |-
        - 5つの動画モードの全パラメータ
        - テキストから動画、画像から動画、参照素材から動画、動画編集、動画延長の5モードがあります。
        - `quality`: テキスト/画像/参照は4段階で既定720p。編集/延長はautoも対応し既定auto。
        - `duration`: 長さ: 生成モードは3～10、編集はautoのみ、延長は追加秒数3～10。
        - `aspect_ratio`: 既定値auto。編集と延長はautoのみ指定可能。
        - モデルが同期したネイティブ音声を自動生成します。
        - 否定条件はpromptへ直接記述します。
        - 非同期処理: [タスク状態を照会](/ja/api-manual/task-management/get-task-detail)
        - 生成リンクの有効期限は24時間です。
      operationId: createGeminiOmni11FlashGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeminiOmni11FlashRequest'
            examples:
              text_to_video:
                summary: テキストから動画
                value:
                  model: gemini-omni-1.1-flash-text-to-video
                  prompt: ガラス玉が木製レールを転がり、水に落ちてしぶきを上げる。
                  quality: 720p
                  duration: 3
                  aspect_ratio: '16:9'
              image_to_video:
                summary: 開始・終了フレームから動画
                value:
                  model: gemini-omni-1.1-flash-image-to-video
                  prompt: 人物がゆっくり振り向いて微笑む。
                  image_urls:
                    - https://example.com/first-frame.png
                    - https://example.com/last-frame.png
                  quality: 720p
                  duration: 3
                  aspect_ratio: '16:9'
              reference_to_video:
                summary: 参照素材から動画
                value:
                  model: gemini-omni-1.1-flash-reference-to-video
                  prompt: 参照画像の人物とカメラワークを維持する。
                  image_urls:
                    - https://example.com/character.png
                  video_urls:
                    - https://example.com/reference.mp4
                  quality: 720p
                  duration: 3
                  aspect_ratio: '16:9'
              video_edit:
                summary: 動画編集
                value:
                  model: gemini-omni-1.1-flash-video-edit
                  prompt: ほかを変えずに照明を暖かくする。
                  video_urls:
                    - https://example.com/source.mp4
                  quality: auto
                  duration: auto
                  aspect_ratio: auto
              video_extend:
                summary: 動画延長
                value:
                  model: gemini-omni-1.1-flash-video-extend
                  prompt: 人物が歩き続け、ゆっくり画面外へ出る。
                  video_urls:
                    - https://example.com/source.mp4
                  duration: 3
                  quality: auto
                  aspect_ratio: auto
      responses:
        '200':
          description: 動画タスクの作成に成功しました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: リクエストパラメータエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_request
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 未認証、Tokenが無効または期限切れ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: 残高不足、チャージが必要
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: アクセス権限がありません
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: >-
                    Token does not have access to model:
                    gemini-omni-1.1-flash-text-to-video
                  type: invalid_request_error
        '429':
          description: リクエスト頻度が上限を超えました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: サーバー内部エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    GeminiOmni11FlashRequest:
      type: object
      required:
        - model
        - prompt
      additionalProperties: false
      properties:
        model:
          type: string
          description: |-
            タスクと入力素材に合うモデルIDを選択してください：

            - `gemini-omni-1.1-flash-text-to-video`
            - `gemini-omni-1.1-flash-image-to-video`
            - `gemini-omni-1.1-flash-reference-to-video`
            - `gemini-omni-1.1-flash-video-edit`
            - `gemini-omni-1.1-flash-video-extend`
          enum:
            - gemini-omni-1.1-flash-text-to-video
            - gemini-omni-1.1-flash-image-to-video
            - gemini-omni-1.1-flash-reference-to-video
            - gemini-omni-1.1-flash-video-edit
            - gemini-omni-1.1-flash-video-extend
          example: gemini-omni-1.1-flash-text-to-video
        prompt:
          type: string
          description: 生成、編集、延長の目的を記述するプロンプト。
          example: ガラス玉が木製レールを転がり、水に落ちてしぶきを上げる。
        image_urls:
          type: array
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 10
          description: '画像URL: 画像から動画は1～2枚、参照素材から動画は最大10枚、編集・延長は任意で最大10枚。'
          example:
            - https://example.com/character.png
            - https://example.com/scene.png
        video_urls:
          type: array
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 3
          description: '動画URL: 参照は最大3本、編集は10秒以内を1本、延長は30秒以内を1本。'
          example:
            - https://example.com/reference.mp4
        quality:
          type: string
          description: >-
            動画解像度


            **対応値：**

            - `360p`：横 640×360 / 縦 360×640

            - `720p`：横 1280×720 / 縦 720×1280

            - `1080p`：横 1920×1080 / 縦 1080×1920

            - `4k`：横 3840×2160 / 縦 2160×3840

            - `auto`：動画編集・延長のみ。入力動画の解像度に従う


            **デフォルト：**

            - テキスト・画像・参照素材から動画：`720p`

            - 動画編集・延長：`auto`


            **課金：** 出力動画は出力 token で課金されます。動画編集・延長では、入力・出力動画の token
            は最終出力解像度で計算されます。
          enum:
            - 360p
            - 720p
            - 1080p
            - 4k
            - auto
          example: 720p
        duration:
          description: |-
            動画の長さ

            - テキスト・画像・参照素材から動画：`3`～`10` 秒の整数。デフォルトは `3`
            - 動画編集：`auto` のみ。デフォルトは `auto`。出力時間は入力動画に従う
            - 動画延長：`3`～`10` 秒の整数。デフォルトは `3`。追加する秒数を指定
          oneOf:
            - type: integer
              minimum: 3
              maximum: 10
            - type: string
              enum:
                - auto
          example: 3
        aspect_ratio:
          type: string
          description: 既定値auto。編集と延長はautoのみ指定可能。
          enum:
            - '16:9'
            - '9:16'
            - auto
          default: auto
          example: auto
        callback_url:
          type: string
          description: >-
            タスク完了後のHTTPSコールバックアドレス


            **コールバックのタイミング：**

            - タスクの完了（completed）、失敗（failed）、キャンセル（cancelled）時にトリガーされます

            - 課金確定後に送信されます


            **セキュリティ制限：**

            - HTTPSプロトコルのみ対応

            - 内部ネットワークIPアドレス（127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x
            など）へのコールバックは禁止

            - URLの長さは `2048` 文字以内


            **コールバックの仕組み：**

            - タイムアウト時間：`10` 秒

            - 失敗後は最大 `3` 回まで再試行します（失敗後それぞれ `1` 秒／`2` 秒／`4` 秒後に再試行します）

            - コールバックのレスポンスボディの形式はタスク照会インターフェースの返却形式と同一です

            - コールバックアドレスが2xxステータスコードを返した場合は成功とみなし、それ以外のステータスコードは再試行をトリガーします
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
      allOf:
        - if:
            properties:
              model:
                const: gemini-omni-1.1-flash-text-to-video
            required:
              - model
          then:
            properties:
              duration:
                type: integer
                default: 3
              quality:
                enum:
                  - 360p
                  - 720p
                  - 1080p
                  - 4k
                default: 720p
            not:
              anyOf:
                - required:
                    - image_urls
                - required:
                    - video_urls
        - if:
            properties:
              model:
                const: gemini-omni-1.1-flash-image-to-video
            required:
              - model
          then:
            required:
              - image_urls
            properties:
              image_urls:
                maxItems: 2
              duration:
                type: integer
                default: 3
              quality:
                enum:
                  - 360p
                  - 720p
                  - 1080p
                  - 4k
                default: 720p
            not:
              anyOf:
                - required:
                    - video_urls
        - if:
            properties:
              model:
                const: gemini-omni-1.1-flash-reference-to-video
            required:
              - model
          then:
            required:
              - image_urls
            properties:
              video_urls:
                maxItems: 3
              duration:
                type: integer
                default: 3
              quality:
                enum:
                  - 360p
                  - 720p
                  - 1080p
                  - 4k
                default: 720p
        - if:
            properties:
              model:
                const: gemini-omni-1.1-flash-video-edit
            required:
              - model
          then:
            required:
              - video_urls
            properties:
              video_urls:
                maxItems: 1
              image_urls:
                maxItems: 10
              duration:
                type: string
                enum:
                  - auto
                default: auto
              aspect_ratio:
                enum:
                  - auto
              quality:
                enum:
                  - 360p
                  - 720p
                  - 1080p
                  - 4k
                  - auto
                default: auto
        - if:
            properties:
              model:
                const: gemini-omni-1.1-flash-video-extend
            required:
              - model
          then:
            required:
              - video_urls
            properties:
              video_urls:
                maxItems: 1
              image_urls:
                maxItems: 10
              duration:
                type: integer
                default: 3
              aspect_ratio:
                enum:
                  - auto
              quality:
                enum:
                  - 360p
                  - 720p
                  - 1080p
                  - 4k
                  - auto
                default: auto
    VideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: タスク作成のタイムスタンプ
          example: 1757169743
        id:
          type: string
          description: タスクID
          example: task-unified-1757169743-7cvnl5zw
        model:
          type: string
          description: 実際に使用されたモデル名
          example: gemini-omni-1.1-flash-text-to-video
        object:
          type: string
          enum:
            - video.generation.task
          description: タスクの具体的な種別
        progress:
          type: integer
          description: タスクの進捗率 (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: タスク状態。作成APIは processing を返します。
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: 動画タスクの詳細情報
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: タスクの出力タイプ
          example: video
        usage:
          $ref: '#/components/schemas/Usage'
          description: 使用量と課金情報
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: エラーコード識別子
            message:
              type: string
              description: エラーの説明情報
            type:
              type: string
              description: エラーの種類
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: タスクがキャンセル可能かどうか
          example: false
        estimated_time:
          type: integer
          description: 完了までの推定時間（秒）
          minimum: 0
          example: 60
        video_duration:
          type: integer
          description: モードごとの出力動画時間。
          example: 3
    Usage:
      type: object
      description: 使用量と課金情報
      properties:
        billing_rule:
          type: string
          description: 課金ルール
          enum:
            - per_call
            - per_token
            - per_second
          example: per_token
        credits_reserved:
          type: number
          description: 消費が見込まれるクレジット数
          minimum: 0
          example: 102.34
        user_group:
          type: string
          description: ユーザーが所属する課金グループ
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##すべてのインターフェースはBearer Tokenによる認証が必要です##


        **API Key の取得：**


        [API Key 管理ページ](https://evolink.ai/dashboard/keys) にアクセスして API Key
        を取得してください


        **利用時はリクエストヘッダーに以下を追加します：**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````