minimax/music-2.6
Generate full-length songs or instrumentals from a text prompt, with optional auto-generated lyrics
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
audio_format | string | Audio format for the output | "mp3" | mp3 wav pcm |
bitrate | integer | Bitrate for the generated music | 256000 | 32000 64000 128000 256000 |
is_instrumental | boolean | Generate instrumental music without vocals. When true, prompt is required and lyrics are not needed. | false | — |
lyrics | string | Lyrics for the song. Use \n to separate lines. You can add structure tags like [Intro], [Verse], [Pre Chorus], [Chorus], [Interlude], [Bridge], [Outro], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst], [Solo] to control the arrangement. 1-3500 characters. Not required when is_instrumental is true. | "" | — |
lyrics_optimizer | boolean | Automatically generate lyrics from the prompt when lyrics are empty. | false | — |
prompt | string | A description of the music style, mood, and scenario. For example: 'Pop, melancholic, perfect for a rainy night'. 0-2000 characters. Required when is_instrumental is true. | "" | — |
sample_rate | integer | Sample rate for the generated music | 44100 | 16000 24000 32000 44100 |
audio_format string Audio format for the output
"mp3" bitrate integer Bitrate for the generated music
256000 is_instrumental boolean Generate instrumental music without vocals. When true, prompt is required and lyrics are not needed.
false lyrics string Lyrics for the song. Use \n to separate lines. You can add structure tags like [Intro], [Verse], [Pre Chorus], [Chorus], [Interlude], [Bridge], [Outro], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst], [Solo] to control the arrangement. 1-3500 characters. Not required when is_instrumental is true.
"" lyrics_optimizer boolean Automatically generate lyrics from the prompt when lyrics are empty.
false prompt string A description of the music style, mood, and scenario. For example: 'Pop, melancholic, perfect for a rainy night'. 0-2000 characters. Required when is_instrumental is true.
"" sample_rate integer Sample rate for the generated music
44100 dcd69b2c83c6 Updated: 6/26/2026 10.5K runs
cinemasetfree.com