[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Mirelo SFX 2.0 Video to Audio](https://spiral.ai/integrations/gemini-cli/mirelo-sfx-2-0-video-to-audio)

# How to Use Mirelo SFX 2.0 Video to Audio in Gemini CLI

Mirelo SFX 2.0 Video to Audio creates effects timed to existing footage. Unlike Mirelo SFX 2.0 Text to Audio, it uses visible action to guide the soundtrack and can generate around existing dialogue, though the voice may change.

|  |  |
| --- | --- |
| Model | Mirelo SFX 2.0 Video to Audio |
| Available through | fal |
| Category | Audio |
| Price | $0.0195 per second. Billed on `duration`, default 10. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Mirelo SFX 2.0 Video to Audio in Gemini CLI

- Use Mirelo SFX 2.0 Video to Audio on the project's 10-second door animation preview. Generate effects only, with the latch and closing impact following the visible action, and save the audio beside the preview.
- Use Mirelo SFX 2.0 Video to Audio to draft effects for the project's 20-second gameplay trailer. Add distant wind as guidance, exclude music, and save two soundtracks for comparison against the picture.
- Make a 3-second whoosh with Mirelo SFX 2.0 Video to Audio for a menu transition in my app. Save the result in ./assets.
- Create rain on a tin roof with distant thunder with Mirelo SFX 2.0 Video to Audio, 20 seconds, for a video background.
- Generate five short UI clicks and confirmation chimes with Mirelo SFX 2.0 Video to Audio and tell me what they cost.

## How to set up Mirelo SFX 2.0 Video to Audio in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 Mirelo SFX 2.0 Video to Audio**: 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": "mirelo-ai/sfx2.0/video-to-audio",
    "input": {
      "video_url": "https://di3otfzjg1gxa.cloudfront.net/chase.mp4"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Mirelo SFX 2.0 Video to Audio on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Mirelo SFX 2.0 Video to Audio tools and prices

- [Mirelo SFX2.0 · Video to Audio](https://spiral.ai/tools/fal/mirelo-ai/sfx2.0/video-to-audio) (fal): $0.0195 per second. Billed on `duration`, default 10.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| text_prompt |  | — | Optional text guiding the soundtrack. Name sounds the picture does not show, such as off-screen sounds or an ambience bed, to have them worked into it. |
| negative_prompt |  | — | Sounds to keep out of the result, as a short comma-separated list. |
| preserve_speech |  | true | Keep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech. |
| duration | 1 to 600 | 10 | Seconds of sound to generate, from 1 s to 600 s, clamped to the video's length. Over 10 s generates in 10 s windows. A video shorter than 1 s answers 400. |
| num_samples | 1 to 4 | 2 | Number of variations to generate. Billed per sample. |
| seed | -1 to 18446744073709552000 | — | Seed for generation. -1 or None for random. |

## What can you do with Mirelo SFX 2.0 Video to Audio in Gemini CLI?

Create sound effects and ambience for the app, game, or media project you are building. Have the agent save selected takes alongside the project's audio assets and audition them in context.

### Sound design for product ads

Create packaging rustles, switch clicks, and mechanical sounds from a written brief, or generate them against footage of the product in use.

### Game cinematic audio

Build footsteps, impacts, and environmental sound for a game cinematic. Describe individual cues or use a rendered sequence to guide their timing.

### Scene ambience

Create rain, wind, traffic, or room tone for a scene. Start with a sound description or matching footage, then audition the result under the edit.

### Sound design drafts

Compare different sound treatments before finishing a mix. Generate cues from the sound brief or a soundtrack from the cut, then choose the texture that fits.

### Foley for silent footage

Generate footsteps, splashes, impacts, and handling sounds that follow visible actions. Review each cue against the picture before using the soundtrack.

### Consistent sound across a stitched edit

Process an assembled sequence together to give shots of the same place a consistent sound. Keep the edit within the 10-minute limit.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Mirelo SFX 2.0 Video to Audio in other agents

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

## More Gemini CLI guides

- [Mirelo SFX 2.0 Text to Audio](https://spiral.ai/integrations/gemini-cli/mirelo-sfx-2-0-text-to-audio)
- [Mureka 9.5](https://spiral.ai/integrations/gemini-cli/mureka-9-5)
- [MiniMax Voice Design](https://spiral.ai/integrations/gemini-cli/minimax-voice-design)
- [Mureka 9.5 Instrumental](https://spiral.ai/integrations/gemini-cli/mureka-9-5-instrumental)
- [MiniMax Voice Cloning](https://spiral.ai/integrations/gemini-cli/minimax-voice-cloning)
- [Nova-3](https://spiral.ai/integrations/gemini-cli/nova-3)

## Questions about Mirelo SFX 2.0 Video to Audio in Gemini CLI

**Can Gemini CLI use Mirelo SFX 2.0 Video to Audio?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Mirelo SFX 2.0 Video to Audio like any built-in tool.

**How much does Mirelo SFX 2.0 Video to Audio cost in Gemini CLI?**

$0.0195 per second. Billed on `duration`, default 10. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Mirelo SFX 2.0 Video to Audio in Gemini CLI?**

No. Spiral runs Mirelo SFX 2.0 Video to Audio on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Mirelo SFX 2.0 Video to Audio in Gemini CLI?**

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

**Does Gemini CLI wait while Mirelo SFX 2.0 Video to Audio runs?**

Mirelo SFX 2.0 Video to Audio runs in the background. Gemini CLI starts the run, checks on it and gives you the audio when it's ready.

**What is Mirelo SFX 2.0 useful for?**

Use it for sound effects and ambience: footsteps, impacts, rain, machinery, and room tone. These can become individual cues or layers in a larger sound edit.

**How long can Mirelo SFX 2.0 audio be?**

The maximum is 10 minutes. Choose a duration that covers the cue or scene you need rather than generating extra audio to trim later.

**How should I describe a sound?**

Name the source, action, and audible texture, such as boots crunching through fresh snow or heavy rain striking a metal roof. Concrete sound descriptions give clearer direction than mood words alone.

**Will it reliably exclude unwanted sounds?**

Treat exclusions as guidance and listen to the result. Mirelo describes negative prompting as experimental, so a request to exclude music or thunder is not a guarantee.

**Does Mirelo SFX 2.0 produce stereo audio?**

Mirelo documents 48 kHz mono output. Plan any stereo placement or spatial mixing in your editor.

