How to Use MiniMax Music 01 in Claude Code
MiniMax Music 01 turns your lyrics and a reference song into a vocal track up to 60 seconds long. Its reference-led approach suits chorus demos, sung intros, and short soundtrack ideas when you already have a sound in mind.
Prompts to try with MiniMax Music 01 in Claude Code
Copy an example into Claude Code, or ask in your own words.
Read the project README and write a four-line launch jingle under 300 characters. Use MiniMax Music 01 with assets/audio/reference.mp3, first checking that it exceeds 15 seconds and contains music and vocals; enclose the lyrics in ##.
Use the protagonist's dialogue in this project to draft a short character chorus. Generate it with MiniMax Music 01 using assets/audio/character-reference.wav, after checking that the recording exceeds 15 seconds and includes music and vocals. Keep the lyrics under 400 characters and wrap them in ##.
Read the trailer brief and draft a compact vocal theme for a music segment no longer than 60 seconds. Use MiniMax Music 01 with the project's supplied vocal-and-music reference, and show me the lyrics before generating.
Find the tutorial's three main actions in the project documentation and write a four-line mnemonic song. Use MiniMax Music 01 with the supplied reference recording, keeping the lyrics under 300 characters and enclosed in ##.
Take the chorus in lyrics.txt and write two alternatives under 400 characters each. Generate both with MiniMax Music 01 using the same supplied reference recording, wrapping each lyric in ## so I can compare the wording.
How to set up MiniMax Music 01 in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- 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
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run MiniMax Music 01
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": "fal-ai/minimax-music", "input": { "prompt": "## Fast and Limitless \n In the heart of the code, where dreams collide, \n\nFAL'\''s the name, taking tech for a ride. \nGenerative media, blazing the trail, …", "reference_audio_url": "https://fal.media/files/lion/OOTBTSlxKMH_E8H6hoSlb.mpga" } }'
Then paste one of the prompts above: Claude Code finds MiniMax Music 01 on Spiral, shows the price and runs it.
MiniMax Music 01 providers and prices
Spiral runs MiniMax Music 01 through fal. Open a card for today's price, with every fee included.
What can you do with MiniMax Music 01 in Claude Code?
Create short vocal themes for a game's characters, a product demo, or a project trailer. Your coding agent can turn project context into compact lyrics and use reference audio to guide MiniMax Music 01.
Chorus demos
Turn a short original chorus and a reference recording into a sung sketch before developing the rest of the song.
Sung podcast intros
Draft a few lines introducing your show, then generate a vocal theme using a reference that fits its tone.
Product jingles
Explore a short sung product message with accompaniment, using reference audio to guide the musical style.
Character theme sketches
Write a brief lyric from a character's perspective and test it as a vocal theme for a game or animated story.
Short film song demos
Create a vocal song sketch for a scene that needs less than a minute of music, guided by a reference recording.
Lyric comparisons
Generate two short lyric drafts against the same reference recording and listen for which wording works better when sung.
Genre experiments
Try the same compact lyric with pop, rock, and electronic references to compare musical directions.
More on MiniMax Music 01 and Claude Code
Overview
MiniMax Music 01 in other agents
Questions about MiniMax Music 01 in Claude Code
Can Claude Code use MiniMax Music 01?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run MiniMax Music 01 like any built-in tool.
How much does MiniMax Music 01 cost in Claude Code?
$0.0455 per generation. 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 01 in Claude Code?
No. Spiral runs MiniMax Music 01 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 01 in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while MiniMax Music 01 runs?
MiniMax Music 01 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 01 useful for?
It suits short vocal demos where you have lyrics and a reference song to guide the sound. Try chorus sketches, sung podcast intros, or soundtrack ideas within its 60-second ceiling.
Can MiniMax Music 01 make a full-length song?
A single generation is capped at 60 seconds. Plan a short song section or demo around that limit.
How should I choose reference audio?
Choose a recording whose rhythm and vocal style fit your goal. Use WAV or MP3 audio longer than 15 seconds containing both music and vocals.
How much lyric text can MiniMax Music 01 take?
The current endpoint documentation allows up to 600 characters. Start with a compact verse or chorus so your draft suits the short output.
How do I request accompaniment?
Put ## at the beginning and end of your lyrics. The endpoint documentation identifies these markers as the instruction to add accompaniment.
Start using MiniMax Music 01 in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


