All models
MiniMax Music 2.6
minimax/music-2.6
MiniMax MusicAudio GenerationVocalsInstrumental
MiniMax's music generation model that creates full-length songs with vocals from text prompts and lyrics, or instrumental tracks. Supports BPM/key control and auto-generated lyrics.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "minimax/music-2.6",
"prompt": "<your prompt>"
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "minimax/music-2.6", "prompt": "<your prompt>"}'Examples
Parameters
Input
prompt string required
Description of the music style, mood, and scenario
bitrate number optional
Audio bitrate
format string optional
Audio format
is_instrumental boolean optional default: false
Generate instrumental music (no vocals)
lyrics string optional
Song lyrics, using \n to separate lines
lyrics_optimizer boolean optional default: false
Automatically generate lyrics based on the prompt description
sample_rate number optional
Audio sample rate
Output
audio: URL to the generated audio file