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

Codex · AudioReleased 2026-04-10

How to Use MiniMax Music 2.6 in Codex

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.

Prompts to try with MiniMax Music 2.6 in Codex

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

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.

MiniMax Music 2.6Codex
Try asking
  • 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 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.6

    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.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: Codex finds MiniMax Music 2.6 on Spiral, shows the price and runs it.

MiniMax Music 2.6 providers and prices

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

falAudio
Minimax Music 2.6
fal-ai/minimax-music/v2.6

Settings you can ask for

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

SettingAllowed valuesDefaultDescription
Lyrics optimizeron or offoff

When true and lyrics is empty, auto-generates lyrics from the prompt.

Is instrumentalon or offoff

When true, generates vocal-free instrumental music.

Every API field of Minimax Music 2.6 is on its tool page: open its card above.

What can you do with MiniMax Music 2.6 in Codex?

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.

Questions about MiniMax Music 2.6 in Codex

Can Codex use MiniMax Music 2.6?

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

How much does MiniMax Music 2.6 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.6 in Codex?

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

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

Does Codex wait while MiniMax Music 2.6 runs?

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

Get started

Start using MiniMax Music 2.6 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