[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Gemini Omni 1.2 Flash](https://spiral.ai/integrations/codex/gemini-omni-1-2-flash)

# How to Use Gemini Omni 1.2 Flash in Codex

Gemini Omni 1.2 Flash makes short product videos, explainers, and editable scenes with sound. Compared with Gemini Omni 1.1 Flash, it extends native clips from 10 to 15 seconds and follows visual references more closely.

|  |  |
| --- | --- |
| Model | Gemini Omni 1.2 Flash |
| Available through | Gemini, Vertex AI |
| Category | Video |
| Price | About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Gemini Omni 1.2 Flash in Codex

- Use Gemini Omni 1.2 Flash and the product photos in this project to create an 8-second landscape catalog clip at 720p. Request a slow camera orbit around the product, then save the result with the campaign assets.
- Read the campaign brief in this project and use Gemini Omni 1.2 Flash to draft a 15-second portrait ad at 720p. Use the approved product images as references and flag any visible differences.
- Use Gemini Omni 1.2 Flash to connect the project's opening and closing storyboard images in an 8-second landscape shot. Request a continuous camera move and save the result for review.
- Use Gemini Omni 1.2 Flash to revise the project's 10-second campaign clip according to the creative notes. Keep it 10 seconds long and place the edit beside the original for comparison.
- Use Gemini Omni 1.2 Flash to turn the project's character sheet into a 12-second scene at 720p. Give the character one short spoken line from the approved script, then flag appearance or lip-sync issues for review.

## How to set up Gemini Omni 1.2 Flash in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Gemini Omni 1.2 Flash**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "gemini",
    "model": "gemini-omni-1.2-flash",
    "input": {
      "input": "<input>"
    }
  }'
```

Then paste one of the prompts above: Codex finds Gemini Omni 1.2 Flash on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Gemini Omni 1.2 Flash tools and prices

- [Gemini Omni 1.2 Flash · Video Generation](https://spiral.ai/tools/gemini/gemini-omni-1.2-flash) (Gemini): About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens.
- [Gemini Omni 1.2 Flash · Video Generation](https://spiral.ai/tools/vertex/gemini-omni-1.2-flash) (Vertex AI): About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| response_format |  | — |  |
| generation_config |  | — | Configuration parameters for the model interaction. |

## What can you do with Gemini Omni 1.2 Flash in Codex?

Create video assets from a project's creative brief and reference images. Use the agent to prepare short scenes, compare results with project assets, and organize revisions.

### Product photography into video

Use product photos as references for a short catalog clip. Review packaging, colors, and shape against the originals.

### Character scene drafts

Turn character references into a short scene with dialogue. Check appearance and speaker assignment before approving the take.

### Social ad concepts

Draft a portrait product spot within 15 seconds. Compare different scenes before selecting a direction.

### Short visual explainers

Create a 15-second scene illustrating one idea, with spoken explanation. Review the result for factual accuracy.

### Storyboard transitions

Connect two storyboard images with a 3–10 second shot to test how a scene could move between them.

### Revisions to existing footage

Request changes to a supplied 3–15 second clip while preserving its duration. Compare the edit with the original.

### Landscape and portrait creative

Produce separate landscape and portrait treatments of a campaign idea. Review each composition for its intended placement.

## Overview

- [Google Vertex AI](https://spiral.ai/providers/vertex)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Gemini Omni 1.2 Flash in other agents

- [Amp](https://spiral.ai/integrations/amp/gemini-omni-1-2-flash)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gemini-omni-1-2-flash)
- [Claude](https://spiral.ai/integrations/claude-desktop/gemini-omni-1-2-flash)
- [Claude Code](https://spiral.ai/integrations/claude-code/gemini-omni-1-2-flash)
- [Cline](https://spiral.ai/integrations/cline/gemini-omni-1-2-flash)
- [Cursor](https://spiral.ai/integrations/cursor/gemini-omni-1-2-flash)
- [Devin](https://spiral.ai/integrations/devin/gemini-omni-1-2-flash)
- [dots](https://spiral.ai/integrations/dots/gemini-omni-1-2-flash)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gemini-omni-1-2-flash)
- [Gemini](https://spiral.ai/integrations/gemini/gemini-omni-1-2-flash)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/gemini-omni-1-2-flash)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gemini-omni-1-2-flash)
- [goose](https://spiral.ai/integrations/goose/gemini-omni-1-2-flash)
- [Grok](https://spiral.ai/integrations/grok/gemini-omni-1-2-flash)
- [Grok Build](https://spiral.ai/integrations/grok-build/gemini-omni-1-2-flash)
- [Hermes](https://spiral.ai/integrations/hermes/gemini-omni-1-2-flash)
- [Instinct](https://spiral.ai/integrations/instinct/gemini-omni-1-2-flash)
- [Manus](https://spiral.ai/integrations/manus/gemini-omni-1-2-flash)
- [Muse](https://spiral.ai/integrations/muse/gemini-omni-1-2-flash)
- [Muse Code](https://spiral.ai/integrations/muse-code/gemini-omni-1-2-flash)
- [n8n](https://spiral.ai/integrations/n8n/gemini-omni-1-2-flash)
- [Notion](https://spiral.ai/integrations/notion/gemini-omni-1-2-flash)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gemini-omni-1-2-flash)
- [opencode](https://spiral.ai/integrations/opencode/gemini-omni-1-2-flash)
- [Perplexity](https://spiral.ai/integrations/perplexity/gemini-omni-1-2-flash)
- [Raycast](https://spiral.ai/integrations/raycast/gemini-omni-1-2-flash)
- [VS Code](https://spiral.ai/integrations/vscode/gemini-omni-1-2-flash)
- [Windsurf](https://spiral.ai/integrations/windsurf/gemini-omni-1-2-flash)
- [Zapier](https://spiral.ai/integrations/zapier/gemini-omni-1-2-flash)

## More Codex guides

- [Gemini Omni 1.1 Flash Preview](https://spiral.ai/integrations/codex/gemini-omni-1-1-flash-preview)
- [Gemini Omni Flash 1.1 Edit](https://spiral.ai/integrations/codex/gemini-omni-flash-1-1-edit)
- [Gemini Omni 1.1 Flash](https://spiral.ai/integrations/codex/gemini-omni-1-1-flash)
- [Gemini Omni Flash 1.1 Image to Video](https://spiral.ai/integrations/codex/gemini-omni-flash-1-1-image-to-video)
- [FLUX Video Upscale](https://spiral.ai/integrations/codex/flux-video-upscale)
- [Gemini Omni Flash 1.1 Reference to Video](https://spiral.ai/integrations/codex/gemini-omni-flash-1-1-reference-to-video)

## Questions about Gemini Omni 1.2 Flash in Codex

**Can Codex use Gemini Omni 1.2 Flash?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Gemini Omni 1.2 Flash like any built-in tool.

**How much does Gemini Omni 1.2 Flash cost in Codex?**

About $1.788598 per run at the default inputs for 60 seconds of input. $15.60 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need a Gemini account to use Gemini Omni 1.2 Flash in Codex?**

No. Spiral runs Gemini Omni 1.2 Flash on its own Gemini account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Gemini Omni 1.2 Flash in Codex?**

About two minutes: add the hosted server, then sign in.

**Which provider runs Gemini Omni 1.2 Flash?**

Spiral offers Gemini Omni 1.2 Flash through Gemini and Vertex AI. Name one in your prompt, or let Codex pick.

**Does Codex wait while Gemini Omni 1.2 Flash runs?**

Gemini Omni 1.2 Flash runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.

**How long can a Gemini Omni 1.2 Flash video be?**

Generation and editing support 3–15 seconds. A clip connecting first and last frames supports 3–10 seconds.

**Does Gemini Omni 1.2 Flash generate sound?**

Yes. It generates video with audio, including dialogue with lip-sync and distinct speakers.

**Can Gemini Omni 1.2 Flash follow product or character references?**

Yes. Images and videos can guide generation, and Google reports stronger consistency for products, characters, and brand details. Check those details before using the result.

**Can Gemini Omni 1.2 Flash edit an existing video?**

Yes. Describe the changes you want and keep the output duration equal to the source duration, within 3–15 seconds.

**What does Gemini Omni 1.2 Flash struggle with?**

Google identifies fast sports action, rapid script changes, and complex physics as areas still being improved. Review clips involving these demands particularly closely.

