23 lines
1.3 KiB
JSON
23 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"last_node_id": 7,
|
||
|
|
"nodes": [
|
||
|
|
{"id": 1, "type": "LoadAudio", "pos": [50, 100], "widgets_values": ["melody_reference.wav"], "title": "API Melody Reference"},
|
||
|
|
{"id": 2, "type": "MusicGenLoader", "pos": [50, 350], "widgets_values": ["facebook/musicgen-melody"], "title": "MusicGen Melody Loader"},
|
||
|
|
{"id": 3, "type": "MusicGenTextEncode", "pos": [400, 100], "widgets_values": ["Electronic music following the melody"], "title": "API Music Prompt"},
|
||
|
|
{"id": 4, "type": "MusicGenMelodySampler", "pos": [750, 100], "widgets_values": [42, "fixed", 30.0, 250, 3.0], "title": "MusicGen Melody Sampler"},
|
||
|
|
{"id": 5, "type": "AudioSave", "pos": [1100, 100], "widgets_values": ["musicgen_melody_output", "wav"], "title": "API Audio Output"}
|
||
|
|
],
|
||
|
|
"extra": {
|
||
|
|
"workflow_info": {
|
||
|
|
"name": "MusicGen Melody Text-to-Music",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"category": "text-to-music",
|
||
|
|
"tags": ["musicgen", "melody", "melody-conditioning", "t2m"],
|
||
|
|
"requirements": {"models": ["musicgen-melody"], "custom_nodes": ["comfyui-sound-lab"], "vram_min": "12GB"},
|
||
|
|
"parameters": {"melody_audio": {"node_id": 1, "type": "audio"}, "prompt": {"node_id": 3, "type": "string"}, "duration": {"node_id": 4, "default": 30.0}},
|
||
|
|
"performance": {"avg_generation_time": "35-55 seconds", "vram_usage": "~10-12GB"}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"version": 0.4
|
||
|
|
}
|