You're looking at a specific version of this model. Jump to the model overview.

minimax /music-01:0254c7e2

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
sample_rate
None
44100
Sample rate for the generated music
bitrate
None
256000
Bitrate for the generated music
lyrics
string
Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Maximum 350 to 400 characters.
voice_id
string
Reuse a previously uploaded voice ID
song_file
string
Reference song, should contain music and vocals. Must be a .wav or .mp3 file longer than 15 seconds.
voice_file
string
Voice reference. Must be a .wav or .mp3 file longer than 15 seconds. If only a voice reference is given, an a cappella vocal hum will be generated.
instrumental_id
string
Reuse a previously uploaded instrumental ID
instrumental_file
string
Instrumental reference. Must be a .wav or .mp3 file longer than 15 seconds. If only an instrumental reference is given, a track without vocals will be generated.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}