[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [MMAudio V2](https://spiral.ai/integrations/claude-code/mmaudio-v2)

# How to Use MMAudio V2 in Claude Code

MMAudio V2 adds synchronized sound effects and ambience to existing video, using a 44.1 kHz audio model. The authors recommend V2 and report better generalization to new footage than the earlier MMAudio checkpoint.

|  |  |
| --- | --- |
| Model | MMAudio V2 |
| Available through | fal |
| Category | Video |
| Price | $0.0013 per second. Billed on `duration`, default 8. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MMAudio V2 in Claude Code

- Use MMAudio V2 on the 8-second product handling clip in this project. Request light cardboard rustling and a soft placement sound, with no speech or music, then save a review copy beside the source.
- Find the golf practice clip in the project and prepare an 8-second shot around the swing. Use MMAudio V2 for a sharp club strike and quiet outdoor ambience, then mark the contact moment for review.
- Use MMAudio V2 to make two sound passes for the project's 8-second rain scene: gentle rain and heavier rain. Keep the footage identical and put both results in a comparison page.
- Use MMAudio V2 on the 8-second drum clip in the assets directory. Request dry drum hits matching the visible strikes, exclude voices and background music, and prepare a playback view for checking extra or missed hits.
- Take the project's 8-second animal clip and use MMAudio V2 for barking with light outdoor ambience. Make two attempts with different seeds and label both outputs for a timing review.

## How to set up MMAudio V2 in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 MMAudio V2**: 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": "fal-ai/mmaudio-v2",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/mmaudio_input.mp4",
      "prompt": "Indian holy music"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds MMAudio V2 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## MMAudio V2 tools and prices

- [MMAudio V2 · Video to Video](https://spiral.ai/tools/fal/fal-ai/mmaudio-v2) (fal): $0.0013 per second. Billed on `duration`, default 8.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| negative_prompt |  |  | The negative prompt to generate the audio for. |
| seed | 0 to 65535 | — | The seed for the random number generator |
| num_steps | 4 to 50 | 25 | The number of steps to generate the audio for. |
| duration | 1 to 30 | 8 | The duration of the audio to generate. |
| cfg_strength | 0 to 20 | 4.5 | The strength of Classifier Free Guidance. |
| mask_away_clip |  | false | Whether to mask away the clip. |

## What can you do with MMAudio V2 in Claude Code?

Add draft Foley to video assets in a game, website, or editing project with MMAudio V2. A coding agent can prepare short shots and organize sound comparisons for review.

### Foley for silent AI footage

Add ambience and action sounds to short generated shots. Review each result against visible movement before using it in an edit.

### Nature footage

Try environmental sound for short outdoor shots, describing the audible setting and the main visible action.

### Animal clips

Generate barking or howling for footage with visible animal activity. Check that vocalizations occur at plausible moments.

### Sports impact sounds

Add a draft sound pass to a short golf or racket-sport shot, then inspect the contact point for timing errors.

### Percussion footage

Try synchronized hits for a short drum performance. Listen for missed strikes and extra hits before keeping the result.

### Product handling videos

Prototype Foley for short shots of objects being opened, placed, or handled. Describe the materials and desired sounds as a sound-design brief.

### Sound alternatives for an edit

Generate several interpretations of the same short shot by changing the sound description. Compare ambience, prominence of effects, and synchronization.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## MMAudio V2 in other agents

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

## More Claude Code guides

- [Luma Ray 3.2 Video to Video](https://spiral.ai/integrations/claude-code/luma-ray-3-2-video-to-video)
- [Marey Realism 1.5 Image to Video](https://spiral.ai/integrations/claude-code/marey-realism-1-5-image-to-video)
- [Luma Ray 3.2 Text to Video](https://spiral.ai/integrations/claude-code/luma-ray-3-2-text-to-video)
- [Marey Realism 1.5 Motion Transfer](https://spiral.ai/integrations/claude-code/marey-realism-1-5-motion-transfer)
- [Luma Ray 3.2 Reframe](https://spiral.ai/integrations/claude-code/luma-ray-3-2-reframe)
- [Marey Realism 1.5 Pose Transfer](https://spiral.ai/integrations/claude-code/marey-realism-1-5-pose-transfer)

## Questions about MMAudio V2 in Claude Code

**Can Claude Code use MMAudio V2?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run MMAudio V2 like any built-in tool.

**How much does MMAudio V2 cost in Claude Code?**

$0.0013 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 Claude Code plan is separate.

**Do I need a fal account to use MMAudio V2 in Claude Code?**

No. Spiral runs MMAudio V2 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MMAudio V2 in Claude Code?**

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

**Does Claude Code wait while MMAudio V2 runs?**

MMAudio V2 runs in the background. Claude Code starts the run, checks on it and gives you the video when it's ready.

**What is MMAudio V2 useful for?**

Use it to add sound effects and ambience that follow visible action in existing footage. Its recommended checkpoint generates 44.1 kHz audio.

**Can MMAudio V2 generate dialogue or a musical score?**

Its focus is Foley: sound effects and ambience. Human speech requests can produce unintelligible mumbles, so use a dedicated speech or music model for those tasks.

**What clip length should I start with?**

Start with an 8-second shot, which matches the training duration. The authors warn that large departures from that length can reduce quality.

**Will a 4K source produce better sound?**

Higher source resolution does not improve the generated audio. Choose footage where the action is clear, and judge the result by listening to how the sound matches it.

**How should I prompt MMAudio V2?**

Describe the sounds you want, such as a sharp ball strike with quiet outdoor ambience. If the result follows the text too loosely, try increasing guidance strength and compare the timing again.

