MiniMax Music 2.5
minimax/music/2.5MiniMax 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
Try the model
Playground
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
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, up to 2000 chars, required | — | Style: genre, mood, instruments, scenario. |
lyrics | string, up to 3500 chars | "" | Lyrics with [Verse] / [Chorus] style tags. Needed unless one of the two switches below is on. |
is_instrumental | boolean | false | Generate without vocals. |
lyrics_optimizer | boolean | false | Write lyrics from the prompt when lyrics is empty. |
sample_rate | 16000 / 24000 / 32000 / 44100 | 44100 | Sample rate in Hz. |
bitrate | 32000 / 64000 / 128000 / 256000 | 256000 | Bitrate in bits per second. |
format | mp3 / wav / pcm | mp3 | Output file format. |
Billing
$0.15 per song.
| Request | Price |
|---|---|
| One song | $0.15 |
| 10 songs | $1.50 |
Failed runs are not charged.
Prompting
- Put style in
promptand words inlyrics.
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.
# 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"Input Schema
7 parameters · 1 required · 6 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | A description of the music style, mood, genre, and scenario. Up to 2000 characters. · Min length: 1 · Max length: 2000 |
format | string | Optional | File format of the generated audio. · Options: mp3, wav, pcm · Default: "mp3" mp3wavpcm |
lyrics | string | Optional | 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. · Max length: 3500 · Default: "" |
bitrate | integer | Optional | Bitrate of the generated audio, in bits per second. · Options: 32000, 64000, 128000, 256000 · Default: 256000 3200064000128000256000 |
sample_rate | integer | Optional | Sample rate of the generated audio, in Hz. · Options: 16000, 24000, 32000, 44100 · Default: 44100 16000240003200044100 |
is_instrumental | boolean | Optional | When true, generates vocal-free instrumental music. · Default: false |
lyrics_optimizer | boolean | Optional | When true and lyrics is empty, auto-generates lyrics from the prompt. · Default: false |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
MiniMax Music 2.5This model MiniMax | Audio | $0.15 / run | Apr 11, 2026 |
MiniMax | Audio | $0.12 / run | Oct 5, 2026 |
MiniMax | Audio | $0.15 / run | Apr 11, 2026 |
MiniMax | Audio | $0.10 / run | Feb 4, 2026 |
MiniMax | Audio | $0.06 / run | Feb 4, 2026 |
MiniMax | Audio | $0.03 / run | Oct 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.
