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

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

Gemini Omni Flash 1.1 Reference to Video combines visual references into a new scene. Unlike Gemini Omni Flash 1.1 Image to Video, it can draw on images and short videos together to guide appearance and motion.

|  |  |
| --- | --- |
| Model | Gemini Omni Flash 1.1 Reference to Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 360p $0.039, 720p (default) $0.13, 1080p $0.195, 4k $0.39 per second. Billed on `duration`, default 8. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

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

- Use Gemini Omni Flash 1.1 Reference to Video with the character and room images in the assets folder. Create an eight-second scene of the character entering the room, with one continuous shot and no visible text.
- Estimate, then generate a 5-second 9:16 clip with Gemini Omni Flash 1.1 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 1.1 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 1.1 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 1.1 Reference to Video.

## How to set up Gemini Omni Flash 1.1 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 1.1 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/v1.1/reference-to-video",
    "input": {
      "prompt": "A cat inspired by <IMAGE_REF_0> walks through the setting in <VIDEO_REF_0>."
    }
  }'
```

Then paste one of the prompts above: opencode finds Gemini Omni Flash 1.1 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 1.1 Reference to Video tools and prices

- [Gemini Omni Flash 1.1 Reference to Video](https://spiral.ai/tools/fal/google/gemini-omni-flash/v1.1/reference-to-video) (fal): `resolution`: 360p $0.039, 720p (default) $0.13, 1080p $0.195, 4k $0.39 per second. Billed on `duration`, default 8.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_urls |  | — | URLs of reference images to incorporate into the video. |
| reference_video_urls |  | — | URLs of up to three reference videos. Each video must be at most ten seconds long. |
| aspect_ratio | 16:9, 9:16 | 16:9 | The aspect ratio of the generated video. |
| resolution | 360p, 720p, 1080p, 4k | 720p | The resolution 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 1.1 Reference to Video in opencode?

Turn a project's creative brief into video assets and shot studies with Gemini Omni Flash 1.1. A coding agent can use project files to prepare precise direction and organize results for review.

### Product scene concepts

Explore a tabletop product shot with a slow camera move and controlled lighting. Create the scene, animate product artwork, combine visual references, or revise existing footage according to the source material available.

### Film shot planning

Preview a camera move before a shoot. Work from a written scene, opening artwork, visual references, or a rough clip, then review whether the framing communicates the intended action.

### Atmospheric website footage

Create or revise a quiet scene for a website background, such as curtains moving beside a sunlit window. Keep the motion restrained and leave room for text added during page production.

### Visual treatment studies

Compare realistic, illustrated, and claymation treatments for a scene. Use a written concept or supplied imagery to generate footage, or restyle an existing clip.

### Artwork brought into motion

Start from an illustration or product image and direct a small movement, such as drifting clouds or a slow camera push. Review whether the important shapes and details survive the animation.

## Overview

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

## Gemini Omni Flash 1.1 Reference to Video in other agents

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

## More opencode guides

- [Gemini Omni Flash 1.1 Image to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-1-1-image-to-video)
- [Gemini Omni Flash 1.1 Text to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-1-1-text-to-video)
- [Gemini Omni Flash 1.1 Edit](https://spiral.ai/integrations/opencode/gemini-omni-flash-1-1-edit)
- [Gemini Omni Flash Image to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-image-to-video)
- [Gemini Omni 1.2 Flash](https://spiral.ai/integrations/opencode/gemini-omni-1-2-flash)
- [Gemini Omni Flash Reference to Video](https://spiral.ai/integrations/opencode/gemini-omni-flash-reference-to-video)

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

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

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

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

`resolution`: 360p $0.039, 720p (default) $0.13, 1080p $0.195, 4k $0.39 per second. Billed on `duration`, default 8. 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 1.1 Reference to Video in opencode?**

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

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

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

Gemini Omni Flash 1.1 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 1.1 useful for?**

Use it to explore short video scenes, camera moves, and visual treatments. It accepts natural-language direction, so a brief can describe the intended shot or a specific change to footage.

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

Include “one continuous shot” in your direction and describe the camera movement. Keep the action focused so the shot has a clear beginning and finish.

**What should I check before using the result?**

Check character and object consistency, complex movement, and every visible word. Google identifies all three as areas where errors can remain.

**Is Gemini Omni Flash 1.1's 4K output native?**

Google describes 1080p and 4K output as upscaled. Treat those as delivery resolutions and review the result at its intended display size.

**Which resolution should I use while testing an idea?**

Start at 360p to compare composition and motion before requesting a full-resolution result. Google recommends this approach for testing concepts.

