[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Gemini Omni Flash Text to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-text-to-video)

# How to Use Gemini Omni Flash Text to Video in opencode

Use Gemini Omni Flash Text to Video to create scenes with synchronized audio from a written brief. Unlike Gemini Omni Flash Image to Video, it starts without a still image.

|  |  |
| --- | --- |
| Model | Gemini Omni Flash Text to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $1.30 per run at the default inputs. $0.1625 per unit of `duration`. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Gemini Omni Flash Text to Video in opencode

- Read the homepage brief in this project, then use Gemini Omni Flash Text to Video to create an 8-second landscape clip of sunlit leaves moving beside a window. Use one continuous shot with a slow push in and gentle outdoor ambience. Save it with the site's media assets.
- Use Gemini Omni Flash Text to Video to create an 8-second landscape lesson asset showing one ball rolling down a ramp and striking a second ball. Request one continuous side view and natural contact sounds. Save the result for a physics accuracy review.
- Estimate, then generate a 5-second 9:16 clip with Gemini Omni Flash Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Gemini Omni Flash Text to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Gemini Omni Flash Text to Video and list what each cost.

## How to set up Gemini Omni Flash Text to Video in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Flash Text to Video**: 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": "fal",
    "model": "google/gemini-omni-flash",
    "input": {
      "prompt": "A cinematic wide shot of a lighthouse on a rocky cliff at dusk, waves crashing below, the beam slowly sweeping across the dark sea."
    }
  }'
```

Then paste one of the prompts above: opencode finds Gemini Omni Flash Text to Video on Spiral, shows the price and runs it.

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

## Gemini Omni Flash Text to Video tools and prices

- [Gemini Omni Flash · Text to Video](https://spiral.ai/tools/fal/google/gemini-omni-flash) (fal): Up to $1.30 per run at the default inputs. $0.1625 per unit of `duration`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| aspect_ratio | 16:9, 9:16 | 16:9 | The aspect ratio of the generated video. |
| duration | 3 to 10 | 8 | The duration of the generated video, in seconds. |

## What can you do with Gemini Omni Flash Text to Video in opencode?

Create short video assets and shot previews for a project from its creative brief. Ask the coding agent to generate the clip, save it with the project assets, and flag movement or lettering that needs review.

### Short science explainers

Visualize one idea, such as a rolling ball transferring motion. Start with a written scene, an illustration to animate, or visual references; check the physical behavior before using it in a lesson.

### Film shot planning

Preview a camera move before a shoot. Describe the shot from scratch, animate a storyboard frame, or combine visual references for the proposed scene.

### Social video concepts

Test a short visual idea with its own ambience or music. Build from a written brief or supplied visuals, then inspect movement and any generated lettering before editing the final post.

### Atmospheric website clips

Create a quiet scene for a website, such as leaves moving beside a window. Begin with a scene description or visual material, and request one continuous shot with restrained motion.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Gemini Omni Flash Text to Video in other agents

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

## More opencode guides

- [Gemini Omni Flash Reference to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-reference-to-video)
- [Grok Imagine 1.5 Lite Image to Video](https://spiral.ai/integrations/opencode/grok-imagine-1-5-lite-image-to-video)
- [Gemini Omni Flash Image to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-image-to-video)
- [Grok Imagine 1.5 Lite Text to Video](https://spiral.ai/integrations/opencode/grok-imagine-1-5-lite-text-to-video)
- [Gemini Omni Flash 1.1 Text to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-1-1-text-to-video)
- [Grok Imagine Extend Video](https://spiral.ai/integrations/opencode/grok-imagine-extend-video)

## Questions about Gemini Omni Flash Text to Video in opencode

**Can opencode use Gemini Omni Flash Text to Video?**

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

**How much does Gemini Omni Flash Text to Video cost in opencode?**

Up to $1.30 per run at the default inputs. $0.1625 per unit of `duration`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Gemini Omni Flash Text to Video in opencode?**

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

**How long does it take to set up Gemini Omni Flash Text to Video in opencode?**

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

**Does opencode wait while Gemini Omni Flash Text to Video runs?**

Gemini Omni Flash Text to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is Gemini Omni Flash useful for?**

Use it for short visual explanations, scene concepts, and clips that need sound alongside the picture. Its grounding in science, history, and culture makes it worth trying for ideas that need recognizable context.

**Does Gemini Omni Flash generate sound?**

Yes. It generates synchronized audio alongside the video, including ambience, effects, and music. Describe the sound you want as part of the scene brief.

**How do I request one shot without cuts?**

Include 'one continuous shot' in your prompt and describe the camera movement. For example, request a close-up that slowly pulls back.

**Can I rely on Gemini Omni Flash for readable text?**

Check every word before using the clip. Google lists perfectly accurate text as an ongoing challenge, so add essential captions and labels afterward.

**How well does Gemini Omni Flash handle physical motion?**

Google reports improved understanding of forces such as gravity and fluid dynamics. Use that for visual demonstrations, but review the result rather than treating it as a scientific simulation.

