MiniMax Music 2.6
/v1/runMiniMax Music 2.6 text-to-music model with enhanced quality, lyrics support, instrumental generation, and configurable audio output.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to minimax/music/2.6.
Default: minimax/music/2.6
A description of the music style, mood, genre, and scenario.
Default: Indie folk, melancholic, introspective, longing, solitary walk, coffee shop
Lyrics of the song. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst].
Default: [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
When true, generates vocal-free instrumental music.
Default: false
When true and lyrics is empty, auto-generates lyrics from the prompt.
Default: false
Sample rate of generated audio.
Allowed values: 16000, 24000, 32000, 44100
Bitrate of generated audio.
Allowed values: 32000, 64000, 128000, 256000
Format of generated audio.
Allowed values: mp3, wav, pcm
Response Schema
The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque AGRouter run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public AGRouter model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: text-to-music
Execution mode declared by the model registry.
Default: async