Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · AudioReleased 2025-10-29

How to Use MiniMax Music 2.0 in Muse Code

MiniMax Music 2.0 turns your lyrics and a musical brief into complete vocal songs up to five minutes. Use verse, chorus, and bridge tags to shape songwriting demos, theme songs, or duets.

Prompts to try with MiniMax Music 2.0 in Muse Code

Copy an example into Muse Code, or ask in your own words.

Read the game's story documents and use MiniMax Music 2.0 to create an ending-song demo. Draft original lyrics under 3,000 characters with verse, chorus, and bridge tags, and a musical brief under 300 characters describing reflective folk with acoustic guitar.

MiniMax Music 2.0Muse Code
Try asking
  • Use the product README to draft a playful launch song with MiniMax Music 2.0. Keep the lyrics under 3,000 characters, organize them into verses and a chorus, and describe an upbeat pop arrangement in a brief under 300 characters.

  • Read the character dialogue in this project and write an original conversational song for MiniMax Music 2.0. Request a male-female duet, use verse and chorus tags, and keep the musical brief under 300 characters and lyrics under 3,000.

  • Take the original lyrics in this project's song draft and generate two takes with MiniMax Music 2.0. Keep the words and section tags unchanged; use a folk brief for one take and a rock brief for the other, each under 300 characters.

  • Read the narrative brief and use MiniMax Music 2.0 to make an a cappella theme-song demo. Write original lyrics under 3,000 characters with verse, chorus, and outro tags, and keep the vocal arrangement brief under 300 characters.

How to set up MiniMax Music 2.0 in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse 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.

    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.0

    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",
        "input": {
          "prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop",
          "lyrics_prompt": "[verse]Streetlights flicker, the night breeze sighsShadows stretch as I walk aloneAn old coat wraps my silent sorrow\nWandering, longing, where should I…"
        }
      }'

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

MiniMax Music 2.0 providers and prices

Spiral runs MiniMax Music 2.0 through fal. Open a card for today's price, with every fee included.

falAudio

What can you do with MiniMax Music 2.0 in Muse Code?

Turn a project's story or creative brief into a vocal theme with MiniMax Music 2.0. A coding agent can use repository text to draft lyrics, organize song sections, and generate takes for review.

Songwriting demos

Hear original lyrics as a complete vocal song. Mark the verse, chorus, and bridge before generating a demo to review.

Video theme songs

Create a sung theme for a travel series or documentary, with lyrics that reflect its subject and a musical brief that sets the mood.

Game character songs

Turn a character's story into a vocal theme for a game trailer or ending sequence. Use the chorus to repeat the central idea.

Podcast theme demos

Draft a sung identity for a podcast using its premise as the lyric theme. Review the generated song for a passage to use in an edited intro.

Duet concepts

Try a song written as a conversation between two people. Request a male-female duet and review how the vocal exchange serves the lyrics.

A cappella arrangements

Explore a vocal song without instrumental accompaniment. Request a cappella singing and organize the lyrics into clear sections.

Genre auditions

Keep the lyrics fixed while trying different musical briefs. Compare the resulting takes before choosing a direction for a song.

Questions about MiniMax Music 2.0 in Muse Code

Can Muse Code use MiniMax Music 2.0?

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

How much does MiniMax Music 2.0 cost in Muse Code?

$0.039 per generation. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need a fal account to use MiniMax Music 2.0 in Muse Code?

No. Spiral runs MiniMax Music 2.0 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.0 in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while MiniMax Music 2.0 runs?

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

What is MiniMax Music 2.0 useful for?

It suits complete vocal songs built around lyrics you supply, including songwriting demos and content soundtracks. You describe the musical direction separately from the words.

How long can a MiniMax Music 2.0 song be?

MiniMax describes songs with a potential length of up to five minutes. Treat that as an upper limit, rather than a promise that every generation will last five minutes.

How should I write a MiniMax Music 2.0 brief?

Give the musical brief a clear genre, mood, and instrumentation. Keep it within 300 characters, then put the sung words in the lyrics and use section tags to guide the arrangement.

Can MiniMax Music 2.0 edit a finished song?

It does not provide post-generation editing. Revise the lyrics or musical brief and generate another take when you want a change.

Can MiniMax Music 2.0 work from a reference recording?

No. Describe the sound in words; reference audio is not supported.

Get started

Start using MiniMax Music 2.0 in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options