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

Codex · AudioReleased 2026-01-16

How to Use MiniMax Music 2.5 in Codex

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 Codex

Copy an example into Codex, 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.

MiniMax Music 2.5Codex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.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: Codex 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.

falAudio
Minimax Music 2.5
fal-ai/minimax-music/v2.5

Settings you can ask for

MiniMax Music 2.5 works from your prompt and lyrics. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Is instrumentalon or offoff

When true, generates vocal-free instrumental music.

Lyrics optimizeron or offoff

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 Codex?

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.

Questions about MiniMax Music 2.5 in Codex

Can Codex use MiniMax Music 2.5?

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

How much does MiniMax Music 2.5 cost in Codex?

$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 Codex plan is separate.

Do I need a fal account to use MiniMax Music 2.5 in Codex?

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 Codex?

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

Does Codex wait while MiniMax Music 2.5 runs?

MiniMax Music 2.5 runs in the background. Codex 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.

Get started

Start using MiniMax Music 2.5 in Codex

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

Paste this into Codex:

Set up Codex

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