---
title: Gemini Omni Flash 1.2 API for video generation and extensions | RunAPI | RunAPI
description: Generate 3-15 second videos with Gemini Omni Flash 1.2, edit a source video, reuse characters, or extend a completed video by 3-10 seconds.
url: https://runapi.ai/models/gemini-omni/flash-1-2.md
canonical: https://runapi.ai/models/gemini-omni/flash-1-2
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
alternates:
  en: https://runapi.ai/models/gemini-omni/flash-1-2
  zh-CN: https://runapi.ai/zh-CN/models/gemini-omni/flash-1-2
  es: https://runapi.ai/es/models/gemini-omni/flash-1-2
  ja: https://runapi.ai/ja/models/gemini-omni/flash-1-2
  de: https://runapi.ai/de/models/gemini-omni/flash-1-2
  fr: https://runapi.ai/fr/models/gemini-omni/flash-1-2
  pt-BR: https://runapi.ai/pt-BR/models/gemini-omni/flash-1-2
  ko: https://runapi.ai/ko/models/gemini-omni/flash-1-2
  it: https://runapi.ai/it/models/gemini-omni/flash-1-2
  nl: https://runapi.ai/nl/models/gemini-omni/flash-1-2
  pl: https://runapi.ai/pl/models/gemini-omni/flash-1-2
  tr: https://runapi.ai/tr/models/gemini-omni/flash-1-2
  zh-TW: https://runapi.ai/zh-TW/models/gemini-omni/flash-1-2
  zh-HK: https://runapi.ai/zh-HK/models/gemini-omni/flash-1-2
  ar: https://runapi.ai/ar/models/gemini-omni/flash-1-2
  x-default: https://runapi.ai/models/gemini-omni/flash-1-2
model: Gemini Omni
provider: Google
variant_id: gemini-omni-flash-1-2
sdk_model_id: gemini-omni-flash-1-2
modality: video
price_from_cents: 3
billing_unit: second
status: active
---

> HTML version: https://runapi.ai/models/gemini-omni/flash-1-2
> Site index for agents: https://runapi.ai/llms.txt


# gemini-omni-flash-1-2 API

Use gemini-omni-flash-1-2 from the Gemini Omni family via RunAPI. Per-call pricing, no subscription, and failed generations are never charged.

**Google / [Gemini Omni](https://runapi.ai/models/gemini-omni.md)**
**Operational · video · Commercial OK**

## Generate, edit, and extend video with Flash 1.2

Use gemini-omni-flash-1-2 for text-to-video, reference-guided generation, source-video editing, or first and last frame control. Generation duration is an integer from 3 to 15 seconds.

Create reusable characters from an image and include up to two of your own character IDs in generation or editing. Characters cannot be combined with first or last frame control.

**Output resolutions:** 360p / 720p / 1080p / 4k
**Aspect ratios:** 16:9 / 9:16 / auto
**Optional seed:** 10000-99999



<!-- catalog-model-detail-slot: model-playground -->

## Try Gemini Omni Flash 1.2

Pick any model and generate in seconds.


**Model:**
- **Text to video** — `text_to_video` · `gemini-omni-flash-1-2` · $0.03-$0.17 / second · `aspect_ratio`: 16:9, 9:16, auto · `output_resolution`: 360p, 720p, 1080p, 4k · `seed`:  · `duration_seconds`: 3 · `character_ids`: 
- **Extend video**

**Prompt:** Describe what you want to create...

**Estimated:** $0.03-$0.17 / second

- [Generate](https://runapi.ai/login)
Sign in to generate with RunAPI.
<!-- /catalog-model-detail-slot: model-playground -->

### Switch variant

- [gemini-omni-audio](https://runapi.ai/models/gemini-omni/audio.md)
- [gemini-omni-character](https://runapi.ai/models/gemini-omni/character.md)
- [gemini-omni-flash-1-1](https://runapi.ai/models/gemini-omni/flash-1-1.md)
- **gemini-omni-flash-1-2** (current)
- [gemini-omni-flash-preview](https://runapi.ai/models/gemini-omni/flash-preview.md)
- [gemini-omni-text-to-video](https://runapi.ai/models/gemini-omni/text-to-video.md)

6 versions available





gemini-omni-flash-1-2 targets the sweet spot of quality and cost within the Gemini Omni family. It shares the same API key, request shape, and async task lifecycle as every other RunAPI model — switch to this variant by changing one model ID parameter. Install the Gemini Omni skill to load docs, typed schemas, pricing notes, and setup steps into your coding workspace. Billing is metered per completed request in USD with no subscription or minimum spend, and failed generations are never charged.

- Pay-per-call pricing in USD with no subscription
- Failed generations are never charged
- Streaming when supported by the model
- Model-specific request parameters and capability limits
- Switch variant by changing one model ID parameter
- Unified billing across all models and providers




## Technical details

| Field | Value |
|---|---|
| Provider | Google |
| Model ID | gemini-omni-flash-1-2 |
| Modality | Video |
| Task types | Asynchronous |
| API endpoint | [/api/v1/gemini_omni/text_to_video, /api/v1/gemini_omni/extend_video](https://runapi.ai/docs/api/gemini-omni/create-audio) |
| Billing unit | second |
| Input parameters | aspect_ratio, callback_url, character_ids, duration_seconds, first_frame_image_url, last_frame_image_url, model, output_resolution, prompt, reference_image_urls, reference_video_urls, seed, source_task_id |
| Max resolution | 360p, 720p, 1080p, 4k |
| Aspect ratios | 16:9, 9:16, auto |
| Catalog status | Operational |



**HOW IT WORKS**

## Use This Model in 3 Steps

1. **Get Your Key** - Sign up for free and create an API key for gemini-omni-flash-1-2 from the dashboard.
2. **Send a Request** - POST to /api/v1/gemini_omni/text_to_video with the gemini-omni-flash-1-2 model slug and your parameters.
3. **Get Results** - Poll the task or follow the callback to retrieve the completed gemini-omni-flash-1-2 result.



<!-- catalog-model-detail-slot: feature-cards -->

## What this model offers

- **Output resolution** — Supports 360p, 720p, 1080p, 4k from the published endpoint schema.
- **Flexible parameters** — Configure 11 documented parameters, including aspect_ratio, character_ids, duration_seconds, first_frame_image_url, last_frame_image_url.
- **Endpoint coverage** — Exposes 2 public endpoint(s): text_to_video, extend_video.
- **Webhook delivery** — Asynchronous tasks accept a callback URL for completion notifications.
<!-- /catalog-model-detail-slot: feature-cards -->



## Gemini Omni Flash 1.2 Pricing

| Endpoint | Resolution | Duration | Price |
|---|---|---|---|
| `text_to_video` | Not available | second | $0.03-$0.17 / second<br>Output resolution: 4k: $0.17 / second<br>Output resolution: 360p: $0.03 / second<br>Output resolution: 720p: $0.07 / second<br>Output resolution: 1080p: $0.08 / second |
| `extend_video` | Not available | second | $0.03-$0.07 / second<br>Output resolution: 360p: $0.03 / second<br>Output resolution: 720p: $0.07 / second |



**API REFERENCE**

## Endpoint Specification

| Field | Value |
|---|---|
| Endpoint | `POST /api/v1/gemini_omni/text_to_video` |
| Model ID | `gemini-omni-flash-1-2` |
| Task Types | `text_to_video, extend_video` |
| Max Duration | `Unavailable` |
| Resolutions | `360p, 720p, 1080p, 4k` |
| Aspect Ratios | `16:9, 9:16, auto` |
| Output Format | `Unavailable` |
| Avg Generation Time | `Unavailable` |


<!-- catalog-model-detail-slot: request-parameters -->

## Request parameters

### `seed`

**Optional** · `integer`

Deterministic generation seed.

### `prompt`

**Required** · `string`

Video generation or edit prompt.

### `aspect_ratio`

**Optional** · `value`

Output aspect ratio. (16:9, 9:16, auto)

### `callback_url`

**Optional** · `string`

Webhook URL for terminal Task delivery.

### `character_ids`

**Optional** · `array`

Own completed character IDs; character images do not consume reference slots.

### `duration_seconds`

**Optional** · `integer`

Generated seconds, required except video edit; first and last frames allow at most 10 seconds.

### `output_resolution`

**Optional** · `value`

Output resolution. (360p, 720p, 1080p, 4k)

### `last_frame_image_url`

**Optional** · `string`

Last frame, requires first frame and duration of 3–10 seconds.

### `reference_image_urls`

**Optional** · `array`

Reference images, one slot each; up to seven shared slots with video.

### `reference_video_urls`

**Optional** · `array`

Source video for edit; consumes two reference slots and determines output and billable duration.

### `first_frame_image_url`

**Optional** · `string`

First frame, exclusive with reference images, videos and characters.

<!-- /catalog-model-detail-slot: request-parameters -->

**Request example**

```json
{
  "model": "gemini-omni-flash-1-2",
  "prompt": "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
  "duration_seconds": 3
}
```

### Model skill — gemini-omni-flash-1-2

Install the skill once, then use the variant ID from this page while building.

```sh
npx skills add runapi-ai/gemini-omni -g
```

```text
Install the Gemini Omni skill for this app:

1. Add runapi-ai/gemini-omni with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps with model ID gemini-omni-flash-1-2.
4. Confirm the install path when done.
```

### Use gemini-omni-flash-1-2 with a model skill

1. **Install** — Install the model skill for the Gemini Omni line. The skill loads docs, typed schemas, pricing notes, and setup steps into your coding workspace so your agent has the right context.
2. **Configure** — Set the model field to the full model ID shown on this page and configure your RunAPI API key as an environment variable. The same key works across all models and providers.
3. **Call** — Use the skill instructions while adding prompt, input, and callback handling to your application. RunAPI routes the request to the provider, manages the async lifecycle, and returns structured JSON.
4. **Receive** — Read the task response by polling the task ID, streaming when supported, or handling the webhook callback at your configured URL. Generated outputs are stored and retrievable by task ID.

### What's different about gemini-omni-flash-1-2

- **VS GEMINI-OMNI-AUDIO: 3-15 second video generation, source-video edits, reusable characters, and extensions** — Synchronous reusable voice resource creation from preset voices
- **VS GEMINI-OMNI-CHARACTER: 3-15 second video generation, source-video edits, reusable characters, and extensions** — Synchronous reusable character resource creation from one reference image
- **VS GEMINI-OMNI-FLASH-1-1: 3-15 second video generation, source-video edits, reusable characters, and extensions** — Fast multimodal video generation with frame and reference controls

## USE CASES

**Ad & social content**

Generate product launch clips and short-form ads from a text brief, cutting production from weeks to hours.

**E-learning**

Convert lesson scripts into animated explainer videos at scale without a camera or crew.

**Creator workflows**

Produce viral short-form content for social platforms directly from a prompt.



## Frequently asked questions about Gemini Omni Flash 1.2

### What inputs can I combine?

Use up to six reference images and one reference_video_urls item. The video occupies two of the seven reference slots. Characters do not occupy reference slots.

### How do first and last frames work?

Set first_frame_image_url and optionally last_frame_image_url. A last frame requires a first frame. Frame control cannot be combined with reference images, source video, or character IDs.

### Which videos can I extend?

Use extend_video with a completed Flash 1.2 generation or extension task from your account. The source must be 360p or 720p and no longer than 15 seconds. Add an integer 3-10 seconds and optionally up to three reference images. The result contains the original video and the new segment.

### How do I retrieve the video?

Generation and extension return asynchronous tasks. Query the task or supply callback_url for completion notifications. For an extension, the returned video duration includes both the original and added segments.

### How do I select gemini-omni-flash-1-2?

Pass the model ID shown in the quickstart.

### What's the rate limit on this variant?

Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.

### Can I switch variants later?

Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.

### Does it stream?

Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.

### Where do I report quality issues?

Open an issue on the public GitHub repo or email support at contact@runapi.ai. Include the task ID and model ID so the team can investigate the specific generation.

### Do I need a separate provider account?

No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.


### RELATED

- [gemini-omni-audio](https://runapi.ai/models/gemini-omni/audio.md) — by Google · Free
- [gemini-omni-character](https://runapi.ai/models/gemini-omni/character.md) — by Google · Free
- [gemini-omni-flash-preview](https://runapi.ai/models/gemini-omni/flash-preview.md) — by Google · $0.35 / call
- [gemini-omni-flash-1-1](https://runapi.ai/models/gemini-omni/flash-1-1.md) — by Google · $0.47 / call

### Start building with Gemini Omni.

- [Create free account](https://runapi.ai/login)
- [Read the quickstart →](https://runapi.ai/docs/api/gemini-omni/create-audio)
## Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

[Contact Us](https://runapi.ai/contact.md)



---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
- [Prompt Gallery](https://runapi.ai/prompts.md)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Referral program](https://runapi.ai/referral-program.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "SoftwareApplication",
    "name": "Gemini Omni gemini-omni-flash-1-2",
    "applicationCategory": "DeveloperApplication",
    "offers": {
      "@type": "Offer",
      "price": "0.0300",
      "priceCurrency": "USD",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "unitText": "second"
      }
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Models",
        "item": "https://runapi.ai/models"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Gemini Omni",
        "item": "https://runapi.ai/models/gemini-omni"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "gemini-omni-flash-1-2",
        "item": "https://runapi.ai/models/gemini-omni/flash-1-2"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "HowTo",
    "name": "Use gemini-omni-flash-1-2 with a model skill",
    "description": "Use gemini-omni-flash-1-2 via RunAPI — the Gemini Omni family. Per-call pricing, model ID, specs, and developer setup guide.",
    "totalTime": "PT5M",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "Install",
        "text": "Install the model skill for the Gemini Omni line. The skill loads docs, typed schemas, pricing notes, and setup steps into your coding workspace so your agent has the right context.",
        "url": "https://runapi.ai/models/gemini-omni/flash-1-2#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "Configure",
        "text": "Set the model field to the full model ID shown on this page and configure your RunAPI API key as an environment variable. The same key works across all models and providers.",
        "url": "https://runapi.ai/models/gemini-omni/flash-1-2#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "Call",
        "text": "Use the skill instructions while adding prompt, input, and callback handling to your application. RunAPI routes the request to the provider, manages the async lifecycle, and returns structured JSON.",
        "url": "https://runapi.ai/models/gemini-omni/flash-1-2#how-step-3"
      },
      {
        "@type": "HowToStep",
        "position": 4,
        "name": "Receive",
        "text": "Read the task response by polling the task ID, streaming when supported, or handling the webhook callback at your configured URL. Generated outputs are stored and retrievable by task ID.",
        "url": "https://runapi.ai/models/gemini-omni/flash-1-2#how-step-4"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "What inputs can I combine?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Use up to six reference images and one reference_video_urls item. The video occupies two of the seven reference slots. Characters do not occupy reference slots."
        }
      },
      {
        "@type": "Question",
        "name": "How do first and last frames work?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Set first_frame_image_url and optionally last_frame_image_url. A last frame requires a first frame. Frame control cannot be combined with reference images, source video, or character IDs."
        }
      },
      {
        "@type": "Question",
        "name": "Which videos can I extend?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Use extend_video with a completed Flash 1.2 generation or extension task from your account. The source must be 360p or 720p and no longer than 15 seconds. Add an integer 3-10 seconds and optionally up to three reference images. The result contains the original video and the new segment."
        }
      },
      {
        "@type": "Question",
        "name": "How do I retrieve the video?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Generation and extension return asynchronous tasks. Query the task or supply callback_url for completion notifications. For an extension, the returned video duration includes both the original and added segments."
        }
      },
      {
        "@type": "Question",
        "name": "How do I select gemini-omni-flash-1-2?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Pass the model ID shown in the quickstart."
        }
      },
      {
        "@type": "Question",
        "name": "What's the rate limit on this variant?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades."
        }
      },
      {
        "@type": "Question",
        "name": "Can I switch variants later?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape."
        }
      },
      {
        "@type": "Question",
        "name": "Does it stream?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery."
        }
      },
      {
        "@type": "Question",
        "name": "Where do I report quality issues?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Open an issue on the public GitHub repo or email support at contact@runapi.ai. Include the task ID and model ID so the team can investigate the specific generation."
        }
      },
      {
        "@type": "Question",
        "name": "Do I need a separate provider account?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider."
        }
      }
    ]
  }
]
```
