PeumeAPI

Developer & public data

MiniMax Music

Text-to-music: turn a style prompt and lyrics into a full song (MiniMax Music 3.0 / 2.6).

$0.225 per call

Call it

curl https://api.peume.com/v1/call/minimax-music \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "music-3.0",
    "is_instrumental": false,
    "lyrics_optimizer": false,
    "output_format": "url",
    "stream": false
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: minimax-music.

Parameters

modelstring

Music model. music-3.0 is MiniMax's current recommended generation; music-2.6 is the previous one. Same $0.15 price per song.

music-3.0 · music-2.6

Example: music-3.0

promptstring

Description of the music's style, mood, and scenario. Required when is_instrumental is true.

lyricsstring

Song lyrics, using \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Solo], etc. Required unless is_instrumental or lyrics_optimizer is true.

is_instrumentalboolean

Generate instrumental music (no vocals). When true, prompt is required.

Example: false

lyrics_optimizerboolean

Auto-generate lyrics from the prompt when lyrics is empty.

Example: false

output_formatstring

Audio is always returned as a CDN URL (link EXPIRES after 24h). Fixed — no other value is accepted.

Example: url

streamboolean

Streaming is not supported; always false. Fixed.

Example: false

audio_settingobject

Audio output configuration.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.