MiniMax Music 01
minimax/minimax-musicMiniMax Music 01 generates a full song with vocals and accompaniment from your lyrics, following the style and voice of a reference song longer than 15 seconds.
- Prezzo base
- $0.35USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 2
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.35 / 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/minimax-music
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
MiniMax Music 01
MiniMax Music 01 writes a full song with vocals from your lyrics, matching the style and voice of a reference song.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
lyrics | string, up to 600 chars, required | — | Up to 600 characters. Newline between lines, blank line for a pause, wrap in ## to add accompaniment. |
reference_audio | audio file or URL, required | — | Song with music and vocals, .wav or .mp3, longer than 15 s. |
Billing
$0.35 per song.
| Request | Price |
|---|---|
| One song | $0.35 |
| 10 songs | $3.50 |
Failed runs are not charged.
Prompting
- Pick a reference song whose genre and voice you want; the lyrics set the words and structure.
Also on SandBase
Related: minimax/music/2.6, minimax/music/3, minimax/music/2.5.
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/minimax-music",
"lyrics": "## Fast and Limitless \n In the heart of the code, where dreams collide, \n\nFAL's the name, taking tech for a ride. \nGenerative media, blazing the trail, \n\nFast inference power, we'll never fail.\n##",
"reference_audio": "https://static.sandbase.ai/examples/minimax/minimax-music/input_reference_audio_url_0.mpga"
}
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
2 parametri · 2 obbligatori · 0 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
lyrics | string | Obbligatorio | Lyrics to sing, up to 600 characters. Use a newline between lines and a blank line for a pause; wrap the lyrics in ## to add accompaniment. · Lunghezza minima: 1 · Lunghezza massima: 600 |
reference_audio | string | Obbligatorio | Reference song file or URL that contains both music and vocals. Must be a .wav or .mp3 file longer than 15 seconds. |
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 01Questo modello MiniMax | Audio | $0.35 / esecuzione | 17 dic 2024 |
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 |
Domande
FAQ
Come chiamo MiniMax Music 01 tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "minimax/minimax-music" 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 01 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su MiniMax.
