Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

MiniMax Music 2.6

minimax/music/2.6

MiniMax 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
Route de production

Essayer le modèle

Bac à sable

Ouvrir le Playground
Entrée
A description of the music style, mood, genre, and scenario.
Lyrics of the song. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst].
When true, generates vocal-free instrumental music.
When true and lyrics is empty, auto-generates lyrics from the prompt.
Sample rate of generated audio.
Bitrate of generated audio.
Format of generated audio.
SortieExemple
  1. Que souhaitez-vous faire ensuite ?

    Ouvrir l’original

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

  • Entrée
    {
      "lyrics": "[verse]\nMorning light on the water\n[chorus]\nWe keep on running",
      "prompt": "Upbeat indie pop, bright guitars, female vocal"
    }
    Ouvrir le résultat ↗

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

FieldTypeDefaultNotes
promptstring, required—Style: genre, mood, instruments.
lyricsstring`[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_instrumentalbooleanfalseGenerate without vocals.
lyrics_optimizerbooleanfalseLet MiniMax polish the lyrics.
sample_rate16000 / 24000 / 32000 / 44100—Sample rate of generated audio.
bitrate32000 / 64000 / 128000 / 256000—Bitrate of generated audio.
formatmp3 / wav / pcm—Format of generated audio.

Billing

$0.15 per song.

RequestPrice
One song$0.15

Failed runs are not charged.

Prompting

  • Put style in prompt and words in lyrics.

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.

API de production
point de terminaison Unified Run API
https://api.sandbase.ai/v1/run
ID du modèle
minimax/music/2.6
# 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"
01

Schéma d'entrée

7 paramètres · 1 obligatoires · 6 facultatifs

ParamètreTypeObligatoireDescription
promptstringObligatoireA 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"
formatstringFacultatifFormat of generated audio. · Options : mp3, wav, pcm
mp3wavpcm
lyricsstringFacultatifLyrics 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"
bitrateintegerFacultatifBitrate of generated audio. · Options : 32000, 64000, 128000, 256000
3200064000128000256000
sample_rateintegerFacultatifSample rate of generated audio. · Options : 16000, 24000, 32000, 44100
16000240003200044100
is_instrumentalbooleanFacultatifWhen true, generates vocal-free instrumental music. · Par défaut : false
lyrics_optimizerbooleanFacultatifWhen true and lyrics is empty, auto-generates lyrics from the prompt. · Par défaut : false
02

Schéma de sortie

ChampTypeDescription
idstringIdentifiant unique de la tâche de génération
statusstringStatut de la tâche : pending, running, completed, failed, timeout
modelstringModèle utilisé pour la génération
outputsarrayTableau des éléments de sortie
outputs[].urlstringURL de l'artefact généré
outputs[].content_typestringType MIME (par ex. image/png, video/mp4)
errorobject | nullDétails de l'erreur en cas d'échec, null en cas de succès
error.typestringCode de type d'erreur lisible par machine
error.messagestringDescription 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.

  1. Envoyer : faites un POST vers /v1/run et lisez le id renvoyé.
  2. Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit completed, failed ou timeout.
  3. Récupérer : lisez outputs dans la réponse terminée.

Choisissez votre modèle

Comparer les modèles

Tous les modèles d’image et de vidéo
ModèleTypePrix par défautLancement
MiniMaxAudio$0.15 / exécution11 avr. 2026
MiniMaxAudio$0.12 / exécution5 oct. 2026
MiniMaxAudio$0.15 / exécution11 avr. 2026
MiniMaxAudio$0.10 / exécution4 févr. 2026
MiniMaxAudio$0.06 / exécution4 févr. 2026
MiniMaxAudio$0.03 / exécution30 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.