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

# Gemini Omni Flash 1.1 · Text to video

> Creates video with synchronized audio from text or a still image, with output resolutions up to 4K, grounded in Gemini's real-world knowledge and physics understanding.

[← Gemini Omni Flash](/api-documentation/ai-generation/models/gemini-omni-flash)

**Model name:** `gemini-omni-flash-1.1`\
**Generation type:** `text_to_video`\
**Endpoint:** [`POST /api/asset_generator/`](/api-reference/ai-generation/post-ai-generation)

## Pricing

| Duration | 360p | 720p | 1080p | 4k |
| - | - | - | - | - |
| 3s | **1.0** | **3.0** | **4.5** | **9.0** |
| 4s | **1.5** | **4.0** | **6.0** | **12.0** |
| 5s | **1.5** | **5.0** | **7.5** | **15.0** |
| 6s | **2.0** | **6.0** | **9.0** | **18.0** |
| 7s | **2.5** | **7.0** | **10.5** | **21.0** |
| 8s | **2.5** | **8.0** | **12.0** | **24.0** |
| 9s | **3.0** | **9.0** | **13.5** | **27.0** |
| 10s | **3.0** | **10.0** | **15.0** | **30.0** |

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

## Quick start

<CodeGroup>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://api.creatify.ai/api/asset_generator/ \
    --header 'Content-Type: application/json' \
    --header 'X-API-ID: your-api-id' \
    --header 'X-API-KEY: your-api-key' \
    --data '{
      "model_name": "gemini-omni-flash-1.1",
      "input_params": {
        "prompt": "A slow cinematic tracking shot along a sunlit coastal road."
      }
    }'
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://api.creatify.ai/api/asset_generator/",
      headers={"X-API-ID": "your-api-id", "X-API-KEY": "your-api-key"},
      json={
          "model_name": "gemini-omni-flash-1.1",
          "input_params": {
              "prompt": "A slow cinematic tracking shot along a sunlit coastal road."
          },
      },
  )
  print(response.json()["id"])
  ```
</CodeGroup>

## Input parameters

Send these fields in `input_params`.

<ParamField body="prompt" type="string" required>
  The text prompt describing the video you want to generate.

  Minimum characters: `1`.
  Maximum characters: `2000`.
</ParamField>

<ParamField body="duration" type="string" default={"8"}>
  The duration of the generated video, in seconds.

  Allowed values: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`.
</ParamField>

<ParamField body="aspect_ratio" type="string" default={"16:9"}>
  The aspect ratio of the generated video.

  Allowed values: `"16:9"`, `"9:16"`.
</ParamField>

<ParamField body="resolution" type="string" default={"720p"}>
  The resolution of the generated video.

  Allowed values: `"360p"`, `"720p"`, `"1080p"`, `"4k"`.
</ParamField>

<Accordion title="Complete JSON schema">
  ```json theme={null}
  {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "prompt"
    ],
    "properties": {
      "prompt": {
        "type": "string",
        "title": "Prompt",
        "maxLength": 2000,
        "minLength": 1,
        "description": "The text prompt describing the video you want to generate."
      },
      "duration": {
        "enum": [
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10"
        ],
        "type": "string",
        "title": "Duration",
        "default": "8",
        "description": "The duration of the generated video, in seconds."
      },
      "aspect_ratio": {
        "enum": [
          "16:9",
          "9:16"
        ],
        "type": "string",
        "title": "Aspect Ratio",
        "default": "16:9",
        "description": "The aspect ratio of the generated video."
      },
      "resolution": {
        "enum": [
          "360p",
          "720p",
          "1080p",
          "4k"
        ],
        "type": "string",
        "title": "Resolution",
        "default": "720p",
        "description": "The resolution of the generated video.",
        "x-advance-settings": true
      }
    }
  }
  ```
</Accordion>

## Response

The request returns the task with `status: "initializing"`. Poll [GET /api/asset\_generator/\{id}/](/api-reference/ai-generation/get-ai-generation-) until `status` is `done` or `failed`, or pass a `webhook_url` to be notified. A finished task lists its files in `assets` and the credits it charged in `credits_used`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.