ComfyUI Node
MiniMax Music Generation
A ComfyUI node in JM-MiniMax-API/Music with 11 inputs and 2 outputs.
MiniMax Music Generation
- audio_path
- audio_url
◄api_key—►
◄prompt—►
◄lyrics—►
◄modelmusic-1.5►
◄filename_prefixmusic_output►
◄streamfalse►
◄output_formathex►
◄sample_rate44100►
◄bitrate256000►
◄formatmp3►
◄aigc_watermarkfalse►
CategoryJM-MiniMax-API/Music
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| prompt | STRING | 音乐的描述,用于指定风格、情绪和场景。长度限制为10-300个字符 | |
| lyrics | STRING | 歌曲的歌词,使用\n分隔每行。长度限制为10-600个字符 | |
| model | COMBO | music-1.5 | 1 options: music-1.5 |
| filename_prefix | STRING | music_output | — |
| streamopt | BOOLEAN | false | 是否使用流式传输 |
| output_formatopt | COMBO | hex | hex: 返回十六进制编码的音频数据; url: 返回音频下载链接(有效期24小时) |
| sample_rateopt | COMBO | 44100 | 4 options: 16000, 24000, 32000, 44100 |
| bitrateopt | COMBO | 256000 | 4 options: 32000, 64000, 128000, 256000 |
| formatopt | COMBO | mp3 | 3 options: mp3, wav, pcm |
| aigc_watermarkopt | BOOLEAN | false | 是否在音频末尾添加水印 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| audio_path | STRING | — |
| audio_url | STRING | — |