Create Music Generation Task
Music 2.0 Text-To-Music
MiniMax Music 2.0 Text to Music
Create a music generation task using the music-2.0 model.
POST
Create Music Generation Task
Documentation Index
Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Generate music from text descriptions and lyrics using the MiniMax Music 2.0 model. Music 2.0 offers:- Style description — specify music style, mood, and scenario via
prompt - Lyrics support — provide song lyrics with
lyrics_prompt - Structure tags — organize songs with
[Intro],[Verse],[Chorus],[Bridge],[Outro]tags - Up to 5 minutes — generate songs up to 5 minutes long
- Audio customization — configurable format (MP3/PCM/FLAC), sample rate, and bitrate
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
A description of the music, specifying style, mood, and scenario. 10-2000 characters.
Required string length:
10 - 2000Lyrics of the song. Use \n to separate lines. You may add structure tags like [Intro], [Verse], [Chorus], [Bridge], [Outro] to enhance the arrangement. 10-3000 characters.
Required string length:
10 - 3000Audio configuration settings.
Response
202 - application/json
Accepted - Task created successfully

