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" | mp3wavpcm |
bitrate | integer | Bitrate for the generated music | 256000 | 3200064000128000256000 |
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 | 16000240003200044100 |
audio_formatstringAudio format for the output
"mp3"bitrateintegerBitrate for the generated music
256000is_instrumentalbooleanGenerate instrumental music without vocals. When true, prompt is required and lyrics are not needed.
falselyricsstringLyrics 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_optimizerbooleanAutomatically generate lyrics from the prompt when lyrics are empty.
falsepromptstringA 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_rateintegerSample rate for the generated music
44100dcd69b2c83c6Updated: 8/13/202610.5K runs
cinemasetfree