MiniMax Music 2.6
minimax/music/2.6MiniMax Music 2.6 by MiniMax composes a full song with vocals and accompaniment from a style prompt and lyrics, or an instrumental track without lyrics.
- Prix de base
- $0.15USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 7
Essayer le modèle
Bac à sable
Que souhaitez-vous faire ensuite ?
Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
- Ouvrir le résultat ↗
Entrée
{ "lyrics": "[verse]\nMorning light on the water\n[chorus]\nWe keep on running", "prompt": "Upbeat indie pop, bright guitars, female vocal" }
Fiche modèle
Spécifications
Tarification
- Prix de base
- $0.15 / exécution
Contexte et modalités
- Entrée
- Défini par le schéma
- Sortie
- audio
Fonctionnalités
- Chat
- Non pris en charge
- Vision
- Non pris en charge
- Raisonnement
- Non pris en charge
- Sortie structurée
- Non pris en charge
- Appel de fonction
- Non pris en charge
- Entrée audio
- Non pris en charge
Accès
- Fournisseur
- MiniMax
- ID du modèle
- minimax/music/2.6
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
MiniMax Music 2.6
MiniMax Music 2.6 generates a song with vocals from a style prompt and lyrics, or an instrumental track.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Style: genre, mood, instruments. |
lyrics | string | `[verse] | |
| Streetlights flicker, the night breeze sighs | |||
| Shadows stretch as I walk alone | |||
| An old coat wraps my silent sorrow | |||
| Wandering, longing, where should I go | |||
| [chorus] | |||
| Pushing the wooden door, the aroma spreads | |||
| In a familiar corner, a stranger gazes` | Lyrics with [verse] / [chorus] markers. | ||
is_instrumental | boolean | false | Generate without vocals. |
lyrics_optimizer | boolean | false | Let MiniMax polish the lyrics. |
sample_rate | 16000 / 24000 / 32000 / 44100 | — | Sample rate of generated audio. |
bitrate | 32000 / 64000 / 128000 / 256000 | — | Bitrate of generated audio. |
format | mp3 / wav / pcm | — | Format of generated audio. |
Billing
$0.15 per song.
| Request | Price |
|---|---|
| One song | $0.15 |
Failed runs are not charged.
Prompting
- Put style in
promptand words inlyrics.
Also on SandBase
Related: minimax/music/3 (newer, up to 5 minutes).
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# 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.6",
"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",
"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"Schéma d'entrée
7 paramètres · 1 obligatoires · 6 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
prompt | string | Obligatoire | A description of the music style, mood, genre, and scenario. · Longueur min. : 1 · Longueur max. : 2000 · Par défaut : "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop" |
format | string | Facultatif | Format of generated audio. · Options : mp3, wav, pcm mp3wavpcm |
lyrics | string | Facultatif | Lyrics of the song. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst]. · Longueur max. : 3500 · Par défaut : "[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 | Facultatif | Bitrate of generated audio. · Options : 32000, 64000, 128000, 256000 3200064000128000256000 |
sample_rate | integer | Facultatif | Sample rate of generated audio. · Options : 16000, 24000, 32000, 44100 16000240003200044100 |
is_instrumental | boolean | Facultatif | When true, generates vocal-free instrumental music. · Par défaut : false |
lyrics_optimizer | boolean | Facultatif | When true and lyrics is empty, auto-generates lyrics from the prompt. · Par défaut : false |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description de l'erreur lisible par l'humain |
Flux de travail asynchrone
Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
MiniMax Music 2.6Ce modèle MiniMax | Audio | $0.15 / exécution | 11 avr. 2026 |
MiniMax | Audio | $0.12 / exécution | 5 oct. 2026 |
MiniMax | Audio | $0.15 / exécution | 11 avr. 2026 |
MiniMax | Audio | $0.10 / exécution | 4 févr. 2026 |
MiniMax | Audio | $0.06 / exécution | 4 févr. 2026 |
MiniMax | Audio | $0.03 / exécution | 30 oct. 2025 |
Questions
FAQ
Comment appeler MiniMax Music 2.6 via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "minimax/music/2.6" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Ai-je besoin d’un compte MiniMax distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à MiniMax Music 2.6 et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte MiniMax séparément.
