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

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

Use Gemini Omni Flash Reference to Video to guide a scene with combined references. Unlike Gemini Omni Flash Image to Video, it uses references to direct the subject and style rather than simply animating one frame.

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

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

- Use Gemini Omni Flash Reference to Video with the product and studio reference images in this project to create an 8-second landscape shot. Place the product on the referenced surface, request a slow push in, and review the result against the supplied images.
- Estimate, then generate a 5-second 9:16 clip with Gemini Omni Flash Reference 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 Reference 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 Reference to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Gemini Omni Flash Reference to Video.

## How to set up Gemini Omni Flash Reference 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 Reference 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/reference-to-video",
    "input": {
      "prompt": "A cat playfully batting at a ball of yarn in a sunlit living room.",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

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

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

## Gemini Omni Flash Reference to Video tools and prices

- [Gemini Omni Flash · Reference to Video](https://spiral.ai/tools/fal/google/gemini-omni-flash/reference-to-video) (fal): Up to $1.352 per run at the default inputs. $0.169 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 Reference 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.

### Artwork animation

Use a supplied portrait or illustration to plan a short animation with a small gesture and a slow camera move. Review whether the face, composition, and important details remain recognizable.

### Product footage from visual references

Turn product imagery into a proposed studio shot with a slow orbit and controlled lighting. Inspect shape and surface details before treating the result as a faithful product depiction.

## Overview

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

## Gemini Omni Flash Reference to Video in other agents

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

## More opencode guides

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

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

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

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

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

Up to $1.352 per run at the default inputs. $0.169 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 Reference to Video in opencode?**

No. Spiral runs Gemini Omni Flash Reference 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 Reference to Video in opencode?**

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

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

Gemini Omni Flash Reference 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.

