Gemini Omni 1.2 Flash

gemini-omni-1.2-flash

Generate 360p or 720p video with native audio using the Gemini Omni 1.2 Flash API. Use text or up to six reference images for a 3–15 second clip, or set a first frame with an optional last frame. A clip with a last frame can run up to 10 seconds. Make a product demo from photos taken at different angles, or connect two storyboard images into a shot that moves through a shop entrance. Find video generation request examples, supported parameters, and usage pricing on the model page.

Published price
From $0.023 / second
Billing unit
/ second
Context / Max output
— / —
Listed routes
1
Base URL
https://api.openany.si/v1
POST
/v1/videos
GET
/v1/videos/{task_id}
Authentication
Authorization: Bearer $OPENANY_API_KEY

Provider

Call method
Published price $0.023 / second

Request parameters

ParameterType / rangeDefault valueRequiredDescription
promptstringA paper lantern drifts across a still lake at dusk. The camera follows it slowly as ripples catch the light.YesDescribe the scene, movement, and camera behavior.
durationinteger · 3 ~ 1510NoOutput length in whole seconds.
resolutionstring · 360p | 720p720pNoOutput video resolution.
aspect_ratiostring · 16:9 | 9:1616:9NoAspect ratio of the output. Available values depend on the selected input mode.
ninteger · 1 1 ~ 11NoEach submitted job generates one video.

Request example

curl 'https://api.openany.si/v1/videos' \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A paper lantern drifts across a still lake at dusk. The camera follows it slowly as ripples catch the light.",
    "type": "text"
  },
  "model": "gemini-omni-1.2-flash",
  "parameters": {
    "aspect_ratio": "16:9",
    "duration": 10,
    "n": 1,
    "resolution": "720p"
  },
  "route_mode": "balanced"
}'

Response example

Configured response example · not a live result

JSON
{
  "id": "YOUR_TASK_ID",
  "model": "google/gemini-omni-1.2-flash",
  "object": "job",
  "status": "queued",
  "parameters": {
    "n": 1,
    "duration": 10,
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }
}

Error handling

400Check the model ID and request fields.
429Retry with exponential backoff.
5xxRetry only temporary provider failures.

JSON Schema

{
  "type": "object",
  "required": [
    "model",
    "input",
    "parameters"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "prompt"
      ],
      "properties": {
        "type": {
          "const": "text"
        },
        "prompt": {
          "type": "string",
          "minLength": 1,
          "description": "Describe the scene, motion, and camera movement in English or your preferred language."
        }
      },
      "additionalProperties": false
    },
    "model": {
      "type": "string",
      "const": "gemini-omni-1.2-flash"
    },
    "route": {
      "type": "object",
      "properties": {
        "provider": {
          "const": "yir"
        }
      }
    },
    "parameters": {
      "type": "object",
      "properties": {
        "n": {
          "enum": [
            1
          ],
          "type": "integer",
          "default": 1,
          "description": "Each submitted job generates one video."
        },
        "duration": {
          "type": "integer",
          "default": 10,
          "maximum": 15,
          "minimum": 3,
          "description": "Output length in whole seconds."
        },
        "resolution": {
          "enum": [
            "360p",
            "720p"
          ],
          "type": "string",
          "default": "720p",
          "description": "Output video resolution."
        },
        "aspect_ratio": {
          "enum": [
            "16:9",
            "9:16"
          ],
          "type": "string",
          "default": "16:9",
          "description": "Aspect ratio of the output. Available values depend on the selected input mode."
        }
      },
      "additionalProperties": false
    },
    "route_mode": {
      "type": "string",
      "default": "balanced"
    }
  }
}

Model API questions

How do I call Gemini Omni 1.2 Flash through OpenAny?

Use model ID gemini-omni-1.2-flash with an OpenAny key and the operation published in this model's API tab. The model API base is https://api.openany.si/v1. Confirm the protocol and request schema; model availability does not imply every OpenAI API operation is supported.

How is Gemini Omni 1.2 Flash billed?

Compare the published rate and billing unit of the selected provider route. Input, output and cache token rates may differ. Image, audio and video models can use other units. Recorded usage determines the charge under that route's billing contract.

Are Community and Verified routes the same as an official publisher API?

No. Inspect the provider name and supply classification for the specific route. A marketplace listing or a supply label is not a claim of publisher endorsement, identical service or measured uptime. Different route prices may reflect different supply and conditions.

Where do these prices come from, and when were they updated?

Rates come from the provider routes in OpenAny's public model catalog, not an independent quote from the model publisher. The catalog does not supply a price update timestamp. A page or catalog snapshot date is not a price revision date. Compare supply, billing units, tiers and conditions; a lower listed rate alone does not establish equivalent service or explain the price difference.

Use Gemini Omni 1.2 Flash with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.