MiniMax Music 3
minimax/music/3MiniMax Music 3 by MiniMax composes a complete song up to five minutes long with expressive vocals and evolving arrangements from a style prompt and lyrics.
- Prezzo base
- $0.12USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 4
Prova il modello
Playground
Cosa vuoi fare dopo?
Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
- Apri risultato ↗
Input
{ "duration": 30, "lyrics": "[verse]\nMorning light filtering through the pine\n[chorus]\nSoftly the world begins to breathe", "prompt": "Genre: acoustic pop. BPM: 96. Warm and intimate. Vocals: soft female lead." }
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.12 / 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/3
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
MiniMax Music 3
MiniMax Music 3 composes a complete song up to five minutes long, with expressive vocals and evolving arrangements, from a style prompt and your lyrics.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Style: genre, mood, instruments, tempo. |
lyrics | string, required | — | Song lyrics; mark sections like [verse], [chorus]. |
duration | integer 1–300 | 60 | Song length in seconds (1–300). |
seed | integer 0–2147483647 | random | Fix it to compare prompt changes. |
Billing
$0.002 per second of music; the final charge uses the generated length.
| Song | Price |
|---|---|
| 30s | $0.06 |
| 60s | $0.12 |
| 180s | $0.36 |
| 300s | $0.60 |
Failed runs are not charged.
Prompting
- Keep style and lyrics separate: style in
prompt, words inlyrics.
Limits
- Up to 5 minutes.
Also on SandBase
Related: minimax/music/2.6.
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/3",
"lyrics": "[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe",
"prompt": "Genre: acoustic pop. BPM: 96. Key: C major. Warm and intimate, building gently into the chorus. Vocals: soft female lead, close and breathy, light stacked harmonies in the chorus. Arrangement: fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus.",
"duration": 60
}
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
4 parametri · 2 obbligatori · 2 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
lyrics | string | Obbligatorio | Lyrics to sing. Put structure tags such as [intro], [verse], [chorus], [bridge], [instrumental], and [outro] on their own lines. · Lunghezza minima: 1 |
prompt | string | Obbligatorio | Music description: style, mood, vocals, instrumentation, and arrangement. · Lunghezza minima: 1 |
seed | integer | Facoltativo | Random seed for reproducible results. Omit for a random seed. · Min: 0 · Max: 2147483647 |
duration | integer | Facoltativo | Upper bound on the generated song length in seconds (1-300). The model may stop earlier; billing uses this upper bound. · Min: 1 · Max: 300 · Predefinito: 60 |
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 3Questo modello MiniMax | Audio | $0.12 / esecuzione | 5 ott 2026 |
MiniMax | Audio | $0.15 / esecuzione | 11 apr 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 3 tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "minimax/music/3" 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 3 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su MiniMax.
