minimax/music/2.5
MiniMax Music 2.5 text-to-music model with lyrics support, instrumental generation, and configurable audio output.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runminimax/music/2.5Input Schema
5 parameters · 1 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | A description of the music style, mood, genre, and scenario. · Min length: 1 · Max length: 2000 · Default: "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop" |
format | string | Optional | Format of generated audio. · Options: mp3, wav, pcm mp3wavpcm |
lyrics | string | Optional | Lyrics of the song. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst]. · Max length: 3500 · Default: "[verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes" |
bitrate | integer | Optional | Bitrate of generated audio. · Options: 32000, 64000, 128000, 256000 3200064000128000256000 |
sample_rate | integer | Optional | Sample rate of generated audio. · Options: 16000, 24000, 32000, 44100 16000240003200044100 |
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 uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "minimax/music/2.5",
"lyrics": "[verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes",
"prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Music 2.5
Music 2.5 is built for full-song music generation, with this exact route focused on lyrics-aware musical arrangement. MiniMax Music 2.5 text-to-music model with lyrics support, instrumental generation, and configurable audio output. It is designed for production workflows that need a clearly scoped media operation instead of a generic assistant response, preserving the supplied direction while returning an artifact ready for review, iteration, or downstream assembly.
The request surface keeps creative direction and delivery choices explicit through format, lyrics, prompt, bitrate, sample_rate, audio_setting. Teams can lock source material, describe the intended result, choose supported output controls, and rerun the same request structure across variations. This makes experiments easier to compare and larger pipelines easier to operate without hiding important decisions inside an opaque preset.
Highlights
- Lyrics-Aware Musical Arrangement. The
minimax/music/2.5route is dedicated to lyrics-aware musical arrangement, keeping inputs and outputs matched to this operation. - Vocal And Instrumental Composition. Within
minimax/music/2.5, documented prompt and media controls direct vocal and instrumental composition while keeping the brief close to the result. - Ready-To-Use Audio Output. The
minimax/music/2.5result provides ready-to-use audio output in a machine-consumable form for review and downstream production. - Route-specific control. For
minimax/music/2.5, documented controls includeformat,lyrics,prompt,bitrate,sample_rate,audio_setting, defining the supported variation space for this exact route.
Pricing
| Configuration | Price |
|---|---|
| Per request | $0.150000 |
When to Use
| Scenario | Why it fits |
|---|---|
| Choose this route | When the deliverable is specifically lyrics-aware musical arrangement, not a neighboring generation or editing task. |
| Production iteration | When creative teams need repeatable vocal and instrumental composition with an explicit request payload. |
| Automated pipelines | When ready-to-use audio output must flow into review, storage, compositing, or publishing. |
| Controlled variations | When a stable brief should be rerun while changing only documented inputs. |
| Prototype to scale | When the same minimax/music/2.5 contract should serve a single experiment and a larger batch later. |
Prompt Guide
Lead with the subject or source, then state the transformation, important spatial or temporal details, style, and finish. Supply only documented fields, keep media URLs reachable, and vary one control at a time when comparing outputs.
{
"prompt": "A directed creative request with subject, setting, style, motion, and finish."
}
Technical Specs
| Property | Value |
|---|---|
| Model ID | minimax/music/2.5 |
| Required inputs | prompt |
format | string |
lyrics | string |
prompt | string |
bitrate | integer |
sample_rate | integer |
audio_setting | object |
output_format | string |
Related Models
minimax/music/v1.5

