Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

MiniMax Music 3

minimax/music/3

MiniMax 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.

Precio base
$0.12USD / ejecución
Ejecución
async
Tipo de modelo
audio
Campos de entrada
4
Ruta de producción

Probar el modelo

Entorno de pruebas

Abrir playground
Entrada
Music description: style, mood, vocals, instrumentation, and arrangement.
Lyrics to sing. Put structure tags such as [intro], [verse], [chorus], [bridge], [instrumental], and [outro] on their own lines.
1300
Upper bound on the generated song length in seconds (1-300). The model may stop earlier; billing uses this upper bound. Rango: de 1 a 300.
Random seed for reproducible results. Omit for a random seed. Rango: de 0 a 2147483647.
SalidaEjemplo
  1. ¿Qué le gustaría hacer después?

    Abrir original

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

  • Entrada
    {
      "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."
    }
    Abrir resultado ↗

Ficha del modelo

Especificaciones

Precios

Precio base
$0.12 / ejecución

Contexto y modalidades

Entrada
Definido por esquema
Salida
audio

Capacidades

Chat
No compatible
Visión
No compatible
Razonamiento
No compatible
Salida estructurada
No compatible
Llamadas a funciones
No compatible
Entrada de audio
No compatible

Acceso

Proveedor
MiniMax
ID del modelo
minimax/music/3
Ejecución
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README de la 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

FieldTypeDefaultNotes
promptstring, required—Style: genre, mood, instruments, tempo.
lyricsstring, required—Song lyrics; mark sections like [verse], [chorus].
durationinteger 1–30060Song length in seconds (1–300).
seedinteger 0–2147483647randomFix it to compare prompt changes.

Billing

$0.002 per second of music; the final charge uses the generated length.

SongPrice
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 in lyrics.

Limits

  • Up to 5 minutes.

Also on SandBase

Related: minimax/music/2.6.

Empiece a construir

Envíe su primera solicitud

Endpoint compatible con OpenAI con autenticación unificada y seguimiento de uso.

API de producción
Endpoint de Unified Run API
https://api.sandbase.ai/v1/run
ID del modelo
minimax/music/3
# 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"
01

Esquema de entrada

4 parámetros · 2 obligatorios · 2 opcionales

ParámetroTipoObligatorioDescripción
lyricsstringObligatorioLyrics to sing. Put structure tags such as [intro], [verse], [chorus], [bridge], [instrumental], and [outro] on their own lines. · Longitud mínima: 1
promptstringObligatorioMusic description: style, mood, vocals, instrumentation, and arrangement. · Longitud mínima: 1
seedintegerOpcionalRandom seed for reproducible results. Omit for a random seed. · Mín.: 0 · Máx.: 2147483647
durationintegerOpcionalUpper bound on the generated song length in seconds (1-300). The model may stop earlier; billing uses this upper bound. · Mín.: 1 · Máx.: 300 · Valor predeterminado: 60
02

Esquema de salida

CampoTipoDescripción
idstringIdentificador único de la tarea de generación
statusstringEstado de la tarea: pending, running, completed, failed, timeout
modelstringModelo usado para la generación
outputsarrayMatriz de elementos de salida
outputs[].urlstringURL del artefacto generado
outputs[].content_typestringTipo MIME (por ejemplo, image/png, video/mp4)
errorobject | nullDetalles del error si falla; null en caso de éxito
error.typestringCódigo de tipo de error legible por máquina
error.messagestringDescripción del error legible por humanos

Flujo asíncrono

Este modelo se ejecuta de forma asíncrona. Envía una solicitud y luego consulta el resultado.

  1. Enviar: haz POST a /v1/run y lee el id devuelto.
  2. Consultar: haz GET a /v1/run/{id} hasta que el estado sea completed, failed o timeout.
  3. Recuperar: lee outputs de la respuesta completada.

Elija su modelo

Comparar modelos

Todos los modelos de imagen y video
ModeloTipoPrecio predeterminadoLanzamiento
MiniMax Music 3Este modelo
MiniMax
Audio$0.12 / ejecución5 oct 2026
MiniMaxAudio$0.15 / ejecución11 abr 2026
MiniMaxAudio$0.15 / ejecución11 abr 2026
MiniMaxAudio$0.10 / ejecución4 feb 2026
MiniMaxAudio$0.06 / ejecución4 feb 2026
MiniMaxAudio$0.03 / ejecución30 oct 2025

Preguntas

FAQ

¿Cómo llamo a MiniMax Music 3 a través de SandBase?

Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "minimax/music/3" a Unified Run API (/v1/run) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.

¿Necesito una cuenta separada de MiniMax?

No. Una sola clave API y saldo de SandBase te dan acceso a MiniMax Music 3 y a los demás modelos del catálogo; no necesitas registrarte aparte en MiniMax.