Spiral gives your agent every tool with one account. Browse the tools →

opencode · VideoReleased 2026-08-27

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.

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

Copy an example into opencode, or ask in your own words.

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.

Gemini Omni Flash 1.1 Reference to Videoopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

Gemini Omni Flash 1.1 Reference to Video providers and prices

Spiral runs Gemini Omni Flash 1.1 Reference to Video through fal. Open a card for today's price, with every fee included.

falVideo
Gemini Omni Flash 1.1 Reference to Video
google/gemini-omni-flash/v1.1/reference-to-video

Settings you can ask for

Gemini Omni Flash 1.1 Reference to Video works from your prompt, image URLs, and reference video URLs. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aspect ratio16:9 or 9:1616:9

The aspect ratio of the generated video.

Resolution360p, 720p, 1080p, or 4k720p

The resolution of the generated video.

Duration3 to 108

The duration of the generated video, in seconds.

Every API field of Gemini Omni Flash 1.1 Reference to Video is on its tool page: open its card above.

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.

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.

Get started

Start using Gemini Omni Flash 1.1 Reference to Video in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options