How to Use MiniMax Music 2.5 in opencode
MiniMax Music 2.5 turns lyrics and a style description into complete songs with singing and accompaniment. Its section tags let you shape verses, choruses, instrumental breaks, and changes in vocal delivery.
Prompts to try with MiniMax Music 2.5 in opencode
Copy an example into opencode, or ask in your own words.
Read the game's character notes and use MiniMax Music 2.5 to create an English character song. Write original [Verse], [Chorus], and [Bridge] sections, with restrained piano verses and a determined chorus supported by strings.
Use the product brief in this project to write an original launch song with MiniMax Music 2.5. Aim for upbeat funk-pop, warm lead vocals, rhythmic guitar, and a chorus about the product's main benefit without inventing claims.
Read the screenplay's final scene and create an end-credit song with MiniMax Music 2.5. Use reflective indie folk, fingerpicked guitar, intimate verses, a fuller final chorus, and an [Outro].
Turn the English learning rhyme in this project's lesson content into a song with MiniMax Music 2.5. Preserve its teaching points, organize it into verses and a repeating chorus, and request clear singing with light piano accompaniment.
Use the original lyrics in this project to make two song demos with MiniMax Music 2.5: one vocal jazz arrangement with brushed drums and upright bass, and one acoustic folk arrangement. Keep the words and section order the same.
How to set up MiniMax Music 2.5 in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 2.5
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/v2.5", "input": { "prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop" } }'
Then paste one of the prompts above: opencode finds MiniMax Music 2.5 on Spiral, shows the price and runs it.
MiniMax Music 2.5 providers and prices
Spiral runs MiniMax Music 2.5 through fal. Open a card for today's price, with every fee included.
Settings you can ask for
MiniMax Music 2.5 works from your prompt and lyrics. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Is instrumental | on or off | off | When true, generates vocal-free instrumental music. |
| Lyrics optimizer | on or off | off | When true and lyrics is empty, auto-generates lyrics from the prompt. |
Every API field of Minimax Music 2.5 is on its tool page: open its card above.
What can you do with MiniMax Music 2.5 in opencode?
Create sung themes and song demos from the project's story, characters, or product brief. Use the files to draft original lyrics and give MiniMax Music 2.5 clear section and performance directions.
Songwriting demos
Turn original lyrics into a sung demo to hear how the verses, chorus, and bridge work together.
Brand song concepts
Try an original brand chorus with a clear genre, mood, and vocal direction before choosing a musical direction.
Film end-credit songs
Create a lyrical song that follows a story's emotional arc, moving from restrained verses to a fuller closing chorus.
Game character themes
Write a sung theme around a character's motives and story, with contrasting sections for doubt and resolve.
Podcast theme songs
Develop an original sung theme around a show's premise, then select an excerpt during editing.
Educational songs
Set an original English or Mandarin lesson rhyme to music, using a repeating chorus for the central idea.
Personal celebration songs
Turn a birthday, reunion, or farewell story into verses and a chorus with a fitting vocal style.
Arrangement experiments
Explore how the same original lyrics feel with different instrumentation, moods, and section-level performance directions.
More on MiniMax Music 2.5 and opencode
Overview
MiniMax Music 2.5 in other agents
Questions about MiniMax Music 2.5 in opencode
Can opencode use MiniMax Music 2.5?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MiniMax Music 2.5 like any built-in tool.
How much does MiniMax Music 2.5 cost in opencode?
$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 opencode plan is separate.
Do I need a fal account to use MiniMax Music 2.5 in opencode?
No. Spiral runs MiniMax Music 2.5 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.5 in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while MiniMax Music 2.5 runs?
MiniMax Music 2.5 runs in the background. opencode starts the run, checks on it and gives you the audio when it's ready.
What does MiniMax Music 2.5 create?
It creates complete songs with singing, accompaniment, and arrangements from lyrics and a description of the sound you want.
How long can a song be?
The published maximum is approximately five minutes per generation. Treat that as an upper limit when planning a song.
Which languages work best?
English and Mandarin Chinese have the strongest support. Other languages can work, but pronunciation is less consistent, so review the singing before using it.
How do I control the song's arrangement?
Mark the lyrics with section tags such as [Verse], [Chorus], [Bridge], and [Outro]. Add instrument names and performance directions where the arrangement or singing should change.
What should I put in the music description?
Specify genre, mood, and the scene or use the song should suit. For example, describe reflective indie folk for a farewell scene instead of asking for a good song.
Start using MiniMax Music 2.5 in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


