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.
- Prezzo base
- $0.15USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 7
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.15 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- MiniMax
- ID modello
- minimax/music/2.5
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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"Schema di input
7 parametri · 1 obbligatori · 6 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
prompt | string | Obbligatorio | A description of the music style, mood, genre, and scenario. Up to 2000 characters. · Lunghezza minima: 1 · Lunghezza massima: 2000 |
format | string | Facoltativo | File format of the generated audio. · Opzioni: mp3, wav, pcm · Predefinito: "mp3" mp3wavpcm |
lyrics | string | Facoltativo | 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. · Lunghezza massima: 3500 · Predefinito: "" |
bitrate | integer | Facoltativo | Bitrate of the generated audio, in bits per second. · Opzioni: 32000, 64000, 128000, 256000 · Predefinito: 256000 3200064000128000256000 |
sample_rate | integer | Facoltativo | Sample rate of the generated audio, in Hz. · Opzioni: 16000, 24000, 32000, 44100 · Predefinito: 44100 16000240003200044100 |
is_instrumental | boolean | Facoltativo | When true, generates vocal-free instrumental music. · Predefinito: false |
lyrics_optimizer | boolean | Facoltativo | When true and lyrics is empty, auto-generates lyrics from the prompt. · Predefinito: false |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
MiniMax Music 2.5Questo modello MiniMax | Audio | $0.15 / esecuzione | 11 apr 2026 |
MiniMax | Audio | $0.12 / esecuzione | 5 ott 2026 |
MiniMax | Audio | $0.15 / esecuzione | 11 apr 2026 |
MiniMax | Audio | $0.10 / esecuzione | 4 feb 2026 |
MiniMax | Audio | $0.06 / esecuzione | 4 feb 2026 |
MiniMax | Audio | $0.03 / esecuzione | 30 ott 2025 |
Domande
FAQ
Come chiamo MiniMax Music 2.5 tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "minimax/music/2.5" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account MiniMax separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a MiniMax Music 2.5 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su MiniMax.
