ComfyUI Node
MusicGen (Hugging Face)
A ComfyUI node in audio/musicgen with 10 inputs and 2 outputs.
MusicGen (Hugging Face)
- conditioning_audio
- audio
- info
◄model_sizesmall►
◄duration10.0000►
◄guidance_scale3.0►
◄do_sampletrue►
◄max_new_tokens256►
◄seed42►
◄promptupbeat electronic music with drums and synth►
◄temperature1.0►
◄duration_override0.0►
Categoryaudio/musicgen
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| model_size | COMBO | small | 3 options: small, medium, large |
| duration | FLOAT | 10.00001–30 | — |
| guidance_scale | FLOAT | 3.01–10 | — |
| do_sample | BOOLEAN | true | — |
| max_new_tokens | INT | 25650–1503 | — |
| seed | INT | 420–999999999 | — |
| promptopt | STRING | upbeat electronic music with drums and synth | — |
| conditioning_audioopt | AUDIO | — | |
| temperatureopt | FLOAT | 1.00.1–2 | — |
| duration_overrideopt | FLOAT | 0.00–30 | Override duration parameter with value from BPMDurationInput node |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| audio | AUDIO | — |
| info | STRING | — |