[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [MiniMax Music 2.6](https://spiral.ai/integrations/claude-code/minimax-music-2-6)

# How to Use MiniMax Music 2.6 in Claude Code

MiniMax Music 2.6 turns lyrics and a style brief into a complete song, or creates instrumental backing tracks. Compared with MiniMax Music 2.5, it adds improvements to bass reproduction and drums.

|  |  |
| --- | --- |
| Model | MiniMax Music 2.6 |
| Available through | fal |
| Category | Audio |
| Price | $0.195 per run at the default inputs. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiniMax Music 2.6 in Claude Code

- Read the boss encounter notes in this project and use MiniMax Music 2.6 to create an instrumental score with tight drums, deep bass, and an ominous mood. Save the result with the game's audio assets.
- Use MiniMax Music 2.6 to create instrumental backing music for the product demo described in this repository: electronic pop, 100 BPM, crisp plucked synths, restrained percussion. Trim a suitable passage to the demo's finished length.
- Read the original lyrics in this project, organize them with [Verse] and [Chorus] markers, and use MiniMax Music 2.6 to make an acoustic folk demo with a quiet singer and warm guitar.
- Use the exploration scene brief in this project to request an instrumental track from MiniMax Music 2.6. Ask for soft piano, sparse strings, a slow tempo, and a curious mood; audition it against the scene.
- Use MiniMax Music 2.6 to make an instrumental theme for this app's walkthrough video: light jazz, brushed drums, upright bass, and understated piano. Select a passage that leaves room for the narration.

## How to set up MiniMax Music 2.6 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 MiniMax Music 2.6**: 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/minimax-music/v2.6",
    "input": {
      "prompt": "City Pop, 80s retro, groovy synth bass, warm female vocal, 104 BPM, nostalgic urban night"
    }
  }'
```

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

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

## MiniMax Music 2.6 tools and prices

- [Minimax Music 2.6](https://spiral.ai/tools/fal/fal-ai/minimax-music/v2.6) (fal): $0.195 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lyrics |  |  | Lyrics of the song. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Post Chorus], [Hook], [Bridge], [Interlude], [Transition], [Build Up], [Break], [Inst], [Solo], [Outro]. Max 3500 characters. Required when is_instrumental is false. |
| lyrics_optimizer |  | false | When true and lyrics is empty, auto-generates lyrics from the prompt. |
| is_instrumental |  | false | When true, generates vocal-free instrumental music. |
| audio_setting |  | — | Audio configuration settings |

## What can you do with MiniMax Music 2.6 in Claude Code?

Create music for a game, app, or product demo from the project's creative brief. A coding agent can turn scene notes into a music request and help trim the generated track to fit an edit.

### Songwriting demos

Turn original lyrics into a sung demo. Mark the verses and choruses, then specify the instruments and vocal delivery you want to audition.

### Indie game scoring

Create instrumental music for a boss encounter, exploration scene, or menu. Describe the mood and instrumentation, then audition the result against gameplay.

### Product video backing tracks

Generate an instrumental track from a written creative brief. Cut a suitable passage to match the finished video.

### Podcast theme music

Create an instrumental theme with a clear musical identity, then select a passage for the opening or closing edit.

### Personal celebration songs

Write a birthday or anniversary song around specific memories. Use verse and chorus markers to organize the story and its repeated refrain.

### Background music for lessons

Create restrained instrumental accompaniment for an educational video. Ask for sparse instrumentation and audition it beneath the narration.

### Arrangement comparisons

Use the same original lyrics to explore different musical directions, such as acoustic folk and electronic pop. Compare how the requested instruments and vocal delivery change the song.

## Overview

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

## MiniMax Music 2.6 in other agents

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

## More Claude Code guides

- [MiniMax Music 2.5](https://spiral.ai/integrations/claude-code/minimax-music-2-5)
- [MiniMax Music 3](https://spiral.ai/integrations/claude-code/minimax-music-3)
- [MiniMax Music 2.0](https://spiral.ai/integrations/claude-code/minimax-music-2-0)
- [MiniMax Speech 2.5 HD](https://spiral.ai/integrations/claude-code/minimax-speech-2-5-hd)
- [MiniMax Music 1.5](https://spiral.ai/integrations/claude-code/minimax-music-1-5)
- [MiniMax Speech 2.5 Turbo](https://spiral.ai/integrations/claude-code/minimax-speech-2-5-turbo)

## Questions about MiniMax Music 2.6 in Claude Code

**Can Claude Code use MiniMax Music 2.6?**

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

**How much does MiniMax Music 2.6 cost in Claude Code?**

$0.195 per run at the default inputs. 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 MiniMax Music 2.6 in Claude Code?**

No. Spiral runs MiniMax Music 2.6 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MiniMax Music 2.6 in Claude Code?**

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

**Does Claude Code wait while MiniMax Music 2.6 runs?**

MiniMax Music 2.6 runs in the background. Claude Code starts the run, checks on it and gives you the audio when it's ready.

**What is MiniMax Music 2.6 useful for?**

Use it to turn written lyrics into a song with singing and accompaniment, or to create instrumental music. Practical starting points include song demos, game soundtracks, and backing tracks for videos.

**How long can a MiniMax Music 2.6 song be?**

MiniMax's model README reports a maximum of six minutes per generation, with most songs lasting two to four minutes. For a cue that must fit an exact edit, generate a track and trim the section you need.

**How should I describe the music I want?**

Give a concrete brief: genre, mood, tempo, instruments, vocal delivery, and production sound. For example, request an intimate folk song with acoustic guitar and a quiet singer instead of simply asking for sad music.

**Can I guide the verse and chorus arrangement?**

Yes. Place markers such as [Verse], [Chorus], and [Bridge] before the corresponding lyrics to guide the arrangement.

**Which languages work best for singing?**

MiniMax's Music 2.6 README identifies English and Mandarin Chinese as the strongest supported languages. It warns that pronunciation is less consistent in other languages, so review those vocals before using them.

