> ## 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 Full Parameter Overview

> - Full parameter reference for all five Gemini Omni 1.1 Flash video modes
- Five modes are available: text-to-video, image-to-video, reference-to-video, video edit, and video extend.
- `quality`: Text/Image/Reference support four tiers and default to 720p. Edit/Extend also support auto and default to auto.
- `duration`: Generation modes use integer 3-10 (default 3); Edit only accepts auto; Extend uses integer 3-10 as appended seconds.
- `aspect_ratio`: Default is auto. Generation modes also support 16:9 and 9:16; Edit and Extend only accept auto.
- The model generates synchronized native audio automatically.
- Write negative requirements directly in prompt.
- Asynchronous processing: [query task status](/en/api-manual/task-management/get-task-detail)
- Generated links remain valid for 24 hours; save them promptly.



## OpenAPI

````yaml en/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 Full Parameter Overview
  description: Full parameter reference for all five Gemini Omni 1.1 Flash video modes
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: Production environment
security:
  - bearerAuth: []
paths:
  /v1/videos/generations:
    post:
      tags:
        - Video Generation
      summary: Gemini Omni 1.1 Flash Full Parameter Overview
      description: >-
        - Full parameter reference for all five Gemini Omni 1.1 Flash video
        modes

        - Five modes are available: text-to-video, image-to-video,
        reference-to-video, video edit, and video extend.

        - `quality`: Text/Image/Reference support four tiers and default to
        720p. Edit/Extend also support auto and default to auto.

        - `duration`: Generation modes use integer 3-10 (default 3); Edit only
        accepts auto; Extend uses integer 3-10 as appended seconds.

        - `aspect_ratio`: Default is auto. Generation modes also support 16:9
        and 9:16; Edit and Extend only accept auto.

        - The model generates synchronized native audio automatically.

        - Write negative requirements directly in prompt.

        - Asynchronous processing: [query task
        status](/en/api-manual/task-management/get-task-detail)

        - Generated links remain valid for 24 hours; save them promptly.
      operationId: createGeminiOmni11FlashGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeminiOmni11FlashRequest'
            examples:
              text_to_video:
                summary: Text-to-video
                value:
                  model: gemini-omni-1.1-flash-text-to-video
                  prompt: >-
                    A glass marble rolls down a wooden track and splashes into
                    water.
                  quality: 720p
                  duration: 3
                  aspect_ratio: '16:9'
              image_to_video:
                summary: First-and-last-frame image-to-video
                value:
                  model: gemini-omni-1.1-flash-image-to-video
                  prompt: The subject slowly turns and smiles.
                  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: Reference-to-video
                value:
                  model: gemini-omni-1.1-flash-reference-to-video
                  prompt: >-
                    Keep the character appearance and camera motion from the
                    references.
                  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: Video edit
                value:
                  model: gemini-omni-1.1-flash-video-edit
                  prompt: >-
                    Make the lighting warmer while keeping everything else
                    unchanged.
                  video_urls:
                    - https://example.com/source.mp4
                  quality: auto
                  duration: auto
                  aspect_ratio: auto
              video_extend:
                summary: Video extend
                value:
                  model: gemini-omni-1.1-flash-video-extend
                  prompt: The person keeps walking and slowly exits the frame.
                  video_urls:
                    - https://example.com/source.mp4
                  duration: 3
                  quality: auto
                  aspect_ratio: auto
      responses:
        '200':
          description: Video task created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_request
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: Not authenticated, token invalid or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Insufficient quota, top-up required
          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: Access denied
          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: Rate limit exceeded
          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: Internal server error
          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: |-
            Choose the model ID that matches the task and input media:

            - `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: Text prompt describing the generation, edit, or extension goal.
          example: A glass marble rolls down a wooden track and splashes into water.
        image_urls:
          type: array
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 10
          description: >-
            Image URLs: Image-to-Video requires 1-2 first/last-frame images;
            Reference-to-Video requires up to 10 images; Video Edit and Video
            Extend accept up to 10 optional reference images.
          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: >-
            Video URLs: Reference-to-Video accepts up to 3 clips of up to 10
            seconds; Video Edit requires one clip up to 10 seconds; Video Extend
            requires one clip up to 30 seconds.
          example:
            - https://example.com/reference.mp4
        quality:
          type: string
          description: >-
            Video resolution


            **Supported values:**

            - `360p`: landscape 640×360 / portrait 360×640

            - `720p`: landscape 1280×720 / portrait 720×1280

            - `1080p`: landscape 1920×1080 / portrait 1080×1920

            - `4k`: landscape 3840×2160 / portrait 2160×3840

            - `auto`: supported only by Video Edit and Video Extend; follows the
            input video's resolution


            **Defaults:**

            - Text-to-Video, Image-to-Video, and Reference-to-Video: `720p`

            - Video Edit and Video Extend: `auto`


            **Billing:** Video output is billed by output tokens. For Video Edit
            and Video Extend, input and output video tokens are both calculated
            using the final output resolution.
          enum:
            - 360p
            - 720p
            - 1080p
            - 4k
            - auto
          example: 720p
        duration:
          description: >-
            Video duration


            - Text-to-Video, Image-to-Video, and Reference-to-Video: integer
            from `3` to `10` seconds; default `3`

            - Video Edit: only `auto` is accepted; default `auto`; output
            duration follows the input video

            - Video Extend: integer from `3` to `10` seconds; default `3`;
            specifies the number of appended seconds
          oneOf:
            - type: integer
              minimum: 3
              maximum: 10
            - type: string
              enum:
                - auto
          example: 3
        aspect_ratio:
          type: string
          description: >-
            Default is auto. Generation modes also support 16:9 and 9:16; Edit
            and Extend only accept auto.
          enum:
            - '16:9'
            - '9:16'
            - auto
          default: auto
          example: auto
        callback_url:
          type: string
          description: >-
            HTTPS callback URL to notify when the task completes


            **Callback timing:**

            - Triggered when the task completes (completed), fails (failed), or
            is cancelled (cancelled)

            - Sent after billing is confirmed


            **Security restrictions:**

            - HTTPS protocol only

            - Callbacks to internal IP addresses are forbidden (127.0.0.1,
            10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)

            - URL length must not exceed `2048` characters


            **Callback mechanism:**

            - Timeout: `10` seconds

            - Up to `3` retries on failure (retried `1`s / `2`s / `4`s after
            each failure respectively)

            - The callback body format matches the response of the task query
            endpoint

            - A 2xx status code from the callback URL is treated as success;
            other status codes trigger a retry
          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: Task creation timestamp
          example: 1757169743
        id:
          type: string
          description: Task ID
          example: task-unified-1757169743-7cvnl5zw
        model:
          type: string
          description: The model name actually used
          example: gemini-omni-1.1-flash-text-to-video
        object:
          type: string
          enum:
            - video.generation.task
          description: The specific type of the task
        progress:
          type: integer
          description: Task progress percentage (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: Task status. The create endpoint returns processing.
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: Detailed video task information
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: The output type of the task
          example: video
        usage:
          $ref: '#/components/schemas/Usage'
          description: Usage and billing information
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code identifier
            message:
              type: string
              description: Error description message
            type:
              type: string
              description: Error type
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: Whether the task can be cancelled
          example: false
        estimated_time:
          type: integer
          description: Estimated completion time (seconds)
          minimum: 0
          example: 60
        video_duration:
          type: integer
          description: Output duration according to the selected mode.
          example: 3
    Usage:
      type: object
      description: Usage and billing information
      properties:
        billing_rule:
          type: string
          description: Billing rule
          enum:
            - per_call
            - per_token
            - per_second
          example: per_token
        credits_reserved:
          type: number
          description: Estimated credits to be consumed
          minimum: 0
          example: 102.34
        user_group:
          type: string
          description: Billing group the user belongs to
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##All endpoints require authentication using a Bearer Token##


        **Get your API Key:**


        Visit the [API Key management page](https://evolink.ai/dashboard/keys)
        to obtain your API Key


        **Add it to the request header:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````