Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

MiniMax Music 2.5

minimax/music/2.5

MiniMax Music 2.5 composes a full song with vocals and accompaniment from a style prompt and lyrics, or an instrumental track without lyrics.

Base price
$0.15USD / run
Execution
async
Model type
audio
Input fields
7
Production route

Try the model

Playground

Open playground
Input
A description of the music style, mood, genre, and scenario. Up to 2000 characters.
Lyrics of the song, up to 3500 characters. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst]. Required unless is_instrumental or lyrics_optimizer is true.
When true, generates vocal-free instrumental music.
When true and lyrics is empty, auto-generates lyrics from the prompt.
Sample rate of the generated audio, in Hz.
Bitrate of the generated audio, in bits per second.
File format of the generated audio.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.15 / run

Context & modalities

Input
Schema-defined
Output
audio

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
MiniMax
Model ID
minimax/music/2.5
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

MiniMax Music 2.5

MiniMax Music 2.5 writes a song with vocals from a style prompt and lyrics, or an instrumental track.

Fields

FieldTypeDefaultNotes
promptstring, up to 2000 chars, required—Style: genre, mood, instruments, scenario.
lyricsstring, up to 3500 chars""Lyrics with [Verse] / [Chorus] style tags. Needed unless one of the two switches below is on.
is_instrumentalbooleanfalseGenerate without vocals.
lyrics_optimizerbooleanfalseWrite lyrics from the prompt when lyrics is empty.
sample_rate16000 / 24000 / 32000 / 4410044100Sample rate in Hz.
bitrate32000 / 64000 / 128000 / 256000256000Bitrate in bits per second.
formatmp3 / wav / pcmmp3Output file format.

Billing

$0.15 per song.

RequestPrice
One song$0.15
10 songs$1.50

Failed runs are not charged.

Prompting

  • Put style in prompt and words in lyrics.

Also on SandBase

Related: minimax/music/2.6, minimax/music/3.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
minimax/music/2.5
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "minimax/music/2.5",
  "format": "mp3",
  "lyrics": "[verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\n[chorus]\nWandering, longing, where should I go",
  "prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop",
  "bitrate": 256000,
  "sample_rate": 44100,
  "is_instrumental": false,
  "lyrics_optimizer": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

Input Schema

7 parameters · 1 required · 6 optional

ParameterTypeRequiredDescription
promptstringRequiredA description of the music style, mood, genre, and scenario. Up to 2000 characters. · Min length: 1 · Max length: 2000
formatstringOptionalFile format of the generated audio. · Options: mp3, wav, pcm · Default: "mp3"
mp3wavpcm
lyricsstringOptionalLyrics of the song, up to 3500 characters. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst]. Required unless is_instrumental or lyrics_optimizer is true. · Max length: 3500 · Default: ""
bitrateintegerOptionalBitrate of the generated audio, in bits per second. · Options: 32000, 64000, 128000, 256000 · Default: 256000
3200064000128000256000
sample_rateintegerOptionalSample rate of the generated audio, in Hz. · Options: 16000, 24000, 32000, 44100 · Default: 44100
16000240003200044100
is_instrumentalbooleanOptionalWhen true, generates vocal-free instrumental music. · Default: false
lyrics_optimizerbooleanOptionalWhen true and lyrics is empty, auto-generates lyrics from the prompt. · Default: false
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model runs asynchronously. Submit a request, then poll for the result.

  1. Submit: POST to /v1/run and read the returned id.
  2. Poll: GET /v1/run/{id} until status is completed, failed or timeout.
  3. Retrieve: read outputs from the completed response.

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
MiniMaxAudio$0.15 / runApr 11, 2026
MiniMaxAudio$0.12 / runOct 5, 2026
MiniMaxAudio$0.15 / runApr 11, 2026
MiniMaxAudio$0.10 / runFeb 4, 2026
MiniMaxAudio$0.06 / runFeb 4, 2026
MiniMaxAudio$0.03 / runOct 30, 2025

Questions

FAQ

How do I call MiniMax Music 2.5 through SandBase?

Create a SandBase API key, then send requests with the model ID "minimax/music/2.5" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate MiniMax account?

No. One SandBase API key and balance gives you access to MiniMax Music 2.5 and the other models in the catalog; you do not need to sign up with MiniMax separately.