Files
runpod/models/comfyui/workflows/text-to-music/musicgen-small-t2m-production-v1.json
Sebastian Krüger 2213ed3c85 fix: complete ComfyUI workflow schema validation
Fix all 20 production workflows to comply with ComfyUI schema requirements:
- Add missing 'flags', 'order', 'mode', 'properties', 'size' fields to all nodes
- Update deprecated node names:
  - AnimateDiffLoader → AnimateDiffLoaderV1
  - VHSVideoCombine → VHS_VideoCombine
  - IPAdapterApply → IPAdapter
  - IPAdapterApplyFace → IPAdapterFaceID
- Remove deprecated nodes: PreviewVideo, SaveVideo
- Add fix_workflows.py script for future maintenance

Changes:
- 16 workflows updated with complete schema
- 4 workflows (FLUX, SD3.5) were already valid
- All workflows now pass zod schema validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 15:30:08 +01:00

134 lines
2.4 KiB
JSON

{
"last_node_id": 6,
"nodes": [
{
"id": 1,
"type": "MusicGenLoader",
"pos": [
50,
100
],
"widgets_values": [
"facebook/musicgen-small"
],
"title": "MusicGen Small Loader",
"flags": {},
"order": 0,
"mode": 0,
"properties": {
"Node name for S&R": "MusicGenLoader"
},
"size": {
"0": 350,
"1": 100
}
},
{
"id": 2,
"type": "MusicGenTextEncode",
"pos": [
400,
100
],
"widgets_values": [
"Upbeat electronic dance music"
],
"title": "API Music Prompt",
"flags": {},
"order": 1,
"mode": 0,
"properties": {
"Node name for S&R": "MusicGenTextEncode"
},
"size": {
"0": 400,
"1": 200
}
},
{
"id": 3,
"type": "MusicGenSampler",
"pos": [
750,
100
],
"widgets_values": [
42,
"fixed",
30.0,
250,
3.0
],
"title": "MusicGen Sampler",
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"Node name for S&R": "MusicGenSampler"
},
"size": {
"0": 315,
"1": 474
}
},
{
"id": 4,
"type": "AudioSave",
"pos": [
1100,
100
],
"widgets_values": [
"musicgen_small_output",
"wav"
],
"title": "API Audio Output",
"flags": {},
"order": 3,
"mode": 0,
"properties": {
"Node name for S&R": "AudioSave"
},
"size": {
"0": 315,
"1": 100
}
}
],
"extra": {
"workflow_info": {
"name": "MusicGen Small Text-to-Music",
"version": "1.0.0",
"category": "text-to-music",
"tags": [
"musicgen",
"small",
"t2m"
],
"requirements": {
"models": [
"musicgen-small"
],
"custom_nodes": [
"comfyui-sound-lab"
],
"vram_min": "6GB"
},
"parameters": {
"prompt": {
"node_id": 2,
"type": "string"
},
"duration": {
"node_id": 3,
"default": 30.0
}
},
"performance": {
"avg_generation_time": "15-25 seconds",
"vram_usage": "~4-6GB"
}
}
},
"version": 0.4
}