ComfyUI reads widgets_values positionally including linked widgets. Missing placeholder values for linked inputs caused remaining widget values to shift — e.g. CompositionInferenceNode showed 0.4 in ollama_url and 0.8 in model. Add placeholders for linked widget positions in: CompositionInferenceNode, MoodJsonUnpacker, PromptEnricher, CLIPTextEncode, EmptyLatentImage. Fix applies to both example_comprehensive.json and example_composition.json. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
511 lines
15 KiB
JSON
511 lines
15 KiB
JSON
{
|
|
"id": "comprehensive-fear-of-the-art",
|
|
"revision": 0,
|
|
"last_node_id": 22,
|
|
"last_link_id": 28,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadAudio",
|
|
"pos": [-2400, 200],
|
|
"size": [315, 100],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{"name": "AUDIO", "type": "AUDIO", "links": [1, 2]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "LoadAudio"},
|
|
"widgets_values": ["audio.mp3", null, null],
|
|
"title": "Load Audio"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "AudioMoodAnalyzer",
|
|
"pos": [-1950, -100],
|
|
"size": [576, 820],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "audio", "type": "AUDIO", "link": 1}
|
|
],
|
|
"outputs": [
|
|
{"name": "mood_json", "type": "STRING", "links": [3, 4, 5]},
|
|
{"name": "subject_json", "type": "STRING", "links": [6]},
|
|
{"name": "environment_prompt", "type": "STRING", "links": [20]},
|
|
{"name": "subject_prompt", "type": "STRING", "links": [21]},
|
|
{"name": "merge_prompt", "type": "STRING", "links": [7]},
|
|
{"name": "summary", "type": "STRING", "links": [22]}
|
|
],
|
|
"properties": {"cnr_id": "comfyui_fearnworksnodes", "Node name for S&R": "AudioMoodAnalyzer"},
|
|
"widgets_values": [
|
|
"http://localhost:11434/api/generate",
|
|
"qwen3:14b",
|
|
0.4,
|
|
0.8,
|
|
"Analyze the music as pure sound, not lyrics. Translate sonic qualities into dark, painterly, emotional visual direction.",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"painterly",
|
|
"",
|
|
true,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "ClapAudioAnalyzer",
|
|
"pos": [-1950, 850],
|
|
"size": [576, 400],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "audio", "type": "AUDIO", "link": 2}
|
|
],
|
|
"outputs": [
|
|
{"name": "clap_json", "type": "STRING", "links": [23]},
|
|
{"name": "semantic_summary", "type": "STRING", "links": [24]}
|
|
],
|
|
"properties": {"cnr_id": "comfyui_fearnworksnodes", "Node name for S&R": "ClapAudioAnalyzer"},
|
|
"widgets_values": [
|
|
"laion/clap-htsat-unfused",
|
|
"auto",
|
|
"dark atmospheric tension\nmelancholic isolation\naggressive emotional pressure\nfragile human vulnerability\nnocturnal fear\nritualistic heaviness\ndreamlike surreal space\nclaustrophobic anxiety\nslow emotional collapse\nexplosive catharsis\ncold empty space\ndistorted memory\nspiritual dread\nsubmerged sadness\nviolent inner pressure"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CompositionInferenceNode",
|
|
"pos": [-1200, 0],
|
|
"size": [430, 200],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "mood_json", "type": "STRING", "link": 3},
|
|
{"name": "subject_json", "type": "STRING", "link": 6}
|
|
],
|
|
"outputs": [
|
|
{"name": "composition_json", "type": "STRING", "links": [25]},
|
|
{"name": "composition_prompt", "type": "STRING", "links": [26]},
|
|
{"name": "width", "type": "INT", "links": [8]},
|
|
{"name": "height", "type": "INT", "links": [9]}
|
|
],
|
|
"properties": {"cnr_id": "comfyui_fearnworksnodes", "Node name for S&R": "CompositionInferenceNode"},
|
|
"widgets_values": [
|
|
"",
|
|
"",
|
|
"http://localhost:11434/api/generate",
|
|
"qwen3:14b",
|
|
0.4,
|
|
0.8
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "MoodJsonUnpacker",
|
|
"pos": [-1200, 350],
|
|
"size": [350, 300],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "mood_json", "type": "STRING", "link": 4}
|
|
],
|
|
"outputs": [
|
|
{"name": "sonic_mood", "type": "STRING", "links": null},
|
|
{"name": "energy_profile", "type": "STRING", "links": null},
|
|
{"name": "tension_profile", "type": "STRING", "links": null},
|
|
{"name": "color_palette", "type": "STRING", "links": null},
|
|
{"name": "lighting_implications", "type": "STRING", "links": null},
|
|
{"name": "texture_implications", "type": "STRING", "links": null},
|
|
{"name": "composition_suggestions", "type": "STRING", "links": null},
|
|
{"name": "avoid", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfyui_fearnworksnodes", "Node name for S&R": "MoodJsonUnpacker"},
|
|
"widgets_values": [""]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PromptEnricher",
|
|
"pos": [-1200, 750],
|
|
"size": [430, 200],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "prompt", "type": "STRING", "link": 7},
|
|
{"name": "mood_json", "type": "STRING", "link": 5}
|
|
],
|
|
"outputs": [
|
|
{"name": "enriched_prompt", "type": "STRING", "links": [10]}
|
|
],
|
|
"properties": {"cnr_id": "comfyui_fearnworksnodes", "Node name for S&R": "PromptEnricher"},
|
|
"widgets_values": [
|
|
"",
|
|
"",
|
|
"color_palette\nlighting_implications\ntexture_implications"
|
|
],
|
|
"title": "Prompt Enricher (merge_prompt + mood)"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "UNETLoader",
|
|
"pos": [-650, -400],
|
|
"size": [415, 110],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{"name": "MODEL", "type": "MODEL", "links": [11]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "UNETLoader"},
|
|
"widgets_values": ["your_model.safetensors", "default"],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"title": "UNET Loader — set your model"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "DualCLIPLoader",
|
|
"pos": [-650, -250],
|
|
"size": [415, 155],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{"name": "CLIP", "type": "CLIP", "links": [12, 13]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "DualCLIPLoader"},
|
|
"widgets_values": ["clip_l.safetensors", "t5xxl_fp16.safetensors", "flux"],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"title": "CLIP Loader — set your clips"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "VAELoader",
|
|
"pos": [-650, -50],
|
|
"size": [415, 82],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{"name": "VAE", "type": "VAE", "links": [14]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "VAELoader"},
|
|
"widgets_values": ["ae.safetensors"],
|
|
"color": "#432",
|
|
"bgcolor": "#653",
|
|
"title": "VAE Loader — set your VAE"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [-100, -100],
|
|
"size": [450, 200],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "clip", "type": "CLIP", "link": 12},
|
|
{"name": "text", "type": "STRING", "link": 10}
|
|
],
|
|
"outputs": [
|
|
{"name": "CONDITIONING", "type": "CONDITIONING", "links": [15]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "CLIPTextEncode"},
|
|
"widgets_values": ["enriched prompt auto-filled by link"],
|
|
"title": "POSITIVE — enriched merge prompt",
|
|
"color": "#232",
|
|
"bgcolor": "#353"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [-100, 200],
|
|
"size": [450, 200],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "clip", "type": "CLIP", "link": 13}
|
|
],
|
|
"outputs": [
|
|
{"name": "CONDITIONING", "type": "CONDITIONING", "links": [16]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "CLIPTextEncode"},
|
|
"widgets_values": ["worst quality, low quality, glossy ai art, generic fantasy, oversaturated, plastic skin, clean digital rendering, perfect symmetry, hyper polished, anime, cartoon, text, logo, watermark"],
|
|
"title": "NEGATIVE — edit to taste",
|
|
"color": "#322",
|
|
"bgcolor": "#533"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [-100, 500],
|
|
"size": [315, 106],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "width", "type": "INT", "link": 8},
|
|
{"name": "height", "type": "INT", "link": 9}
|
|
],
|
|
"outputs": [
|
|
{"name": "LATENT", "type": "LATENT", "links": [17]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "EmptyLatentImage"},
|
|
"widgets_values": [1024, 1024, 1],
|
|
"title": "Latent — w/h from Composition"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "KSampler",
|
|
"pos": [500, -50],
|
|
"size": [315, 474],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "model", "type": "MODEL", "link": 11},
|
|
{"name": "positive", "type": "CONDITIONING", "link": 15},
|
|
{"name": "negative", "type": "CONDITIONING", "link": 16},
|
|
{"name": "latent_image", "type": "LATENT", "link": 17}
|
|
],
|
|
"outputs": [
|
|
{"name": "LATENT", "type": "LATENT", "links": [18]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "KSampler"},
|
|
"widgets_values": [42, "fixed", 20, 7.0, "euler", "normal", 1.0]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "VAEDecode",
|
|
"pos": [950, 0],
|
|
"size": [225, 72],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "samples", "type": "LATENT", "link": 18},
|
|
{"name": "vae", "type": "VAE", "link": 14}
|
|
],
|
|
"outputs": [
|
|
{"name": "IMAGE", "type": "IMAGE", "links": [19]}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "VAEDecode"},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "PreviewImage",
|
|
"pos": [1300, -100],
|
|
"size": [500, 500],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "images", "type": "IMAGE", "link": 19}
|
|
],
|
|
"outputs": [],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewImage"}
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": "PreviewAny",
|
|
"pos": [-1750, 1400],
|
|
"size": [430, 250],
|
|
"flags": {},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 20}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "environment_prompt"
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": "PreviewAny",
|
|
"pos": [-1200, 1400],
|
|
"size": [430, 250],
|
|
"flags": {},
|
|
"order": 16,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 21}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "subject_prompt"
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": "PreviewAny",
|
|
"pos": [-650, 1400],
|
|
"size": [430, 250],
|
|
"flags": {},
|
|
"order": 17,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 22}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "summary"
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "PreviewAny",
|
|
"pos": [-100, 1400],
|
|
"size": [430, 250],
|
|
"flags": {},
|
|
"order": 18,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 23}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "clap_json"
|
|
},
|
|
{
|
|
"id": 20,
|
|
"type": "PreviewAny",
|
|
"pos": [-100, 1750],
|
|
"size": [430, 150],
|
|
"flags": {},
|
|
"order": 19,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 24}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "clap_semantic_summary"
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "PreviewAny",
|
|
"pos": [500, 1400],
|
|
"size": [430, 250],
|
|
"flags": {},
|
|
"order": 20,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 25}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "composition_json"
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "PreviewAny",
|
|
"pos": [500, 1750],
|
|
"size": [430, 150],
|
|
"flags": {},
|
|
"order": 21,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "source", "type": "*", "link": 26}
|
|
],
|
|
"outputs": [
|
|
{"name": "STRING", "type": "STRING", "links": null}
|
|
],
|
|
"properties": {"cnr_id": "comfy-core", "ver": "0.21.0", "Node name for S&R": "PreviewAny"},
|
|
"widgets_values": [null, null, null],
|
|
"title": "composition_prompt"
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "AUDIO"],
|
|
[2, 1, 0, 3, 0, "AUDIO"],
|
|
[3, 2, 0, 4, 0, "STRING"],
|
|
[4, 2, 0, 5, 0, "STRING"],
|
|
[5, 2, 0, 6, 1, "STRING"],
|
|
[6, 2, 1, 4, 1, "STRING"],
|
|
[7, 2, 4, 6, 0, "STRING"],
|
|
[8, 4, 2, 12, 0, "INT"],
|
|
[9, 4, 3, 12, 1, "INT"],
|
|
[10, 6, 0, 10, 1, "STRING"],
|
|
[11, 7, 0, 13, 0, "MODEL"],
|
|
[12, 8, 0, 10, 0, "CLIP"],
|
|
[13, 8, 0, 11, 0, "CLIP"],
|
|
[14, 9, 0, 14, 1, "VAE"],
|
|
[15, 10, 0, 13, 1, "CONDITIONING"],
|
|
[16, 11, 0, 13, 2, "CONDITIONING"],
|
|
[17, 12, 0, 13, 3, "LATENT"],
|
|
[18, 13, 0, 14, 0, "LATENT"],
|
|
[19, 14, 0, 15, 0, "IMAGE"],
|
|
[20, 2, 2, 16, 0, "STRING"],
|
|
[21, 2, 3, 17, 0, "STRING"],
|
|
[22, 2, 5, 18, 0, "STRING"],
|
|
[23, 3, 0, 19, 0, "STRING"],
|
|
[24, 3, 1, 20, 0, "STRING"],
|
|
[25, 4, 0, 21, 0, "STRING"],
|
|
[26, 4, 1, 22, 0, "STRING"]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Audio Analysis",
|
|
"bounding": [-2450, -200, 1400, 1500],
|
|
"color": "#3f789e",
|
|
"font_size": 24
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Image Generation Pipeline",
|
|
"bounding": [-700, -500, 1150, 1200],
|
|
"color": "#593930",
|
|
"font_size": 24
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "Previews",
|
|
"bounding": [-1800, 1350, 1700, 650],
|
|
"color": "#2a363b",
|
|
"font_size": 24
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.4,
|
|
"offset": [1600, 600]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|