BlockRun
MiniMax · Music Generation

MiniMax Music 2.5+ API

MiniMax's flagship music generation model. Supports lyrics, instrumental, and style prompts. ~3 min output.

$0.1585 per track · priced before it runs · no subscription

About MiniMax Music 2.5+

MiniMax Music 2.5+ is a music model from MiniMax that writes a track from a style prompt, with your lyrics or without, up to 240 seconds long. It is billed per track, $0.1585 per track. You can call it without an account, an API key or a subscription.

Use MiniMax Music 2.5+ for

  • Background music for videos, games and apps, generated to a style prompt
  • Songs with your own lyrics, or instrumentals with none
  • Jingles and short stings an agent writes and scores in one run

MiniMax Music 2.5+ specs

Endpoint
POST /api/v1/audio/generations
Price
$0.1585 per track
Longest track
240 seconds
Lyrics
Your own lyrics, or none
Instrumental
Yes

How to call MiniMax Music 2.5+

Pass minimax/music-2.5+ as the model field. The first request returns a 402 with the exact price; a signed retry runs it, and the client libraries fold the two into one call — how the payment works. Request and response shapes are in the docs.

curl -X POST https://blockrun.ai/api/v1/audio/generations \
  -H "Content-Type: application/json" \
  -d '{"model": "minimax/music-2.5+", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'

MiniMax Music 2.5+ API questions

How much does the MiniMax Music 2.5+ API cost?

$0.1585 per track, including the per-call transaction fee. The exact price is quoted in the 402 response before anything is generated, and you pay per request with no subscription.

Do I need an API key to use MiniMax Music 2.5+?

No. Each request carries its own payment, so an agent or script can call MiniMax Music 2.5+ with no account and no key. Teams that prefer one can use an API key with card or invoice billing instead.

How do I call MiniMax Music 2.5+?

Send a POST to /api/v1/audio/generations with "model": "minimax/music-2.5+". The request shape is shown above, and the same endpoint serves every music model on the catalog, so switching models is a one-line change.

How long can a MiniMax Music 2.5+ track be?

Up to 240 seconds per generation.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base, Solana or Arc. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Call MiniMax Music 2.5+

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    curl -X POST https://blockrun.ai/api/v1/audio/generations \
      -H "Content-Type: application/json" \
      -d '{"model": "minimax/music-2.5+", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'