Files
Project_Velocity/comfy_engine/workflows/dreamweaver_phase2_multicontrol.json
sayan 8e1ffe0e43 feat: Added the ComfyUI engine (#12)
#11 Added the complete ComfyUI engine.

Co-authored-by: Sayan Datta <sayan@Sayans-MacBook-Air.local>
Reviewed-on: sagnik/Project_Velocity#12
2026-03-27 22:48:34 +05:30

1540 lines
38 KiB
JSON

{
"last_node_id": 35,
"last_link_id": 58,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
100,
150
],
"size": [
320,
280
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
3,
55,
56,
57
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"input_interior.jpg"
]
},
{
"id": 2,
"type": "ImageScale",
"pos": [
500,
150
],
"size": [
320,
200
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4,
5,
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"lanczos",
1216,
832,
"center"
]
},
{
"id": 3,
"type": "Zoe-DepthMapPreprocessor",
"pos": [
500,
400
],
"size": [
320,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Zoe-DepthMapPreprocessor"
},
"widgets_values": [
512
]
},
{
"id": 4,
"type": "CannyEdgePreprocessor",
"pos": [
500,
550
],
"size": [
320,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CannyEdgePreprocessor"
},
"widgets_values": [
100,
200,
512
]
},
{
"id": 5,
"type": "SemSegPreprocessor",
"pos": [
500,
750
],
"size": [
320,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SemSegPreprocessor"
},
"widgets_values": [
"seg_ofade20k",
512
]
},
{
"id": 6,
"type": "GroundingDinoModelLoader (segment anything)",
"pos": [
100,
500
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "GROUNDING_DINO_MODEL",
"type": "GROUNDING_DINO_MODEL",
"links": [
2
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GroundingDinoModelLoader (segment anything)"
},
"widgets_values": [
"GroundingDINO_SwinT_OGC.cfg.py",
"groundingdino_swint_ogc.pth"
]
},
{
"id": 7,
"type": "SAMModelLoader (segment anything)",
"pos": [
100,
650
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SAMModelLoader (segment anything)"
},
"widgets_values": [
"sam_vit_h_4b8939.pth"
]
},
{
"id": 8,
"type": "GroundingDinoSAMSegment (segment anything)",
"pos": [
900,
150
],
"size": [
320,
200
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "sam_model",
"type": "SAM_MODEL",
"link": 10
},
{
"name": "grounding_dino_model",
"type": "GROUNDING_DINO_MODEL",
"link": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 55
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
11
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "GroundingDinoSAMSegment (segment anything)"
},
"widgets_values": [
"walls, floor, ceiling, window, door",
0.3
]
},
{
"id": 9,
"type": "GrowMask",
"pos": [
1300,
150
],
"size": [
320,
100
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 11
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
3
]
},
{
"id": 10,
"type": "FeatherMask",
"pos": [
1700,
150
],
"size": [
320,
100
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 12
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
13,
52
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FeatherMask"
},
"widgets_values": [
5
]
},
{
"id": 11,
"type": "ControlNetLoader",
"pos": [
900,
450
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
14
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11f1p_sd15_depth.pth"
]
},
{
"id": 12,
"type": "ControlNetLoader",
"pos": [
900,
600
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
15
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11p_sd15_seg.pth"
]
},
{
"id": 13,
"type": "ControlNetLoader",
"pos": [
900,
750
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11p_sd15_canny.pth"
]
},
{
"id": 14,
"type": "ControlNetApplyAdvanced",
"pos": [
1300,
400
],
"size": [
320,
200
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 17
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 18
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 14
},
{
"name": "image",
"type": "IMAGE",
"link": 7
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
19
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1.0,
0,
1.0
]
},
{
"id": 15,
"type": "ControlNetApplyAdvanced",
"pos": [
1700,
400
],
"size": [
320,
200
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 19
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 15
},
{
"name": "image",
"type": "IMAGE",
"link": 9
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
20
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.85,
0.2,
0.8
]
},
{
"id": 16,
"type": "ControlNetApplyAdvanced",
"pos": [
2100,
400
],
"size": [
320,
200
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 20
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 16
},
{
"name": "image",
"type": "IMAGE",
"link": 8
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
21
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.6,
0,
0.3
]
},
{
"id": 17,
"type": "CheckpointLoaderSimple",
"pos": [
100,
850
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
22,
53
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
23,
24,
25
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
40,
41
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"realvisxlV50Lightning_v50Lightning.safetensors"
]
},
{
"id": 18,
"type": "CLIPTextEncode",
"pos": [
500,
950
],
"size": [
400,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 23
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
17,
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"scandinavian minimalist interior design, light oak wood flooring, neutral beige textiles, abundant natural light streaming through large windows, clean white walls, simple functional furniture, cozy atmosphere, soft cream and warm gray tones, architectural photography, 8k resolution, photorealistic, global illumination, soft shadows"
]
},
{
"id": 19,
"type": "CLIPTextEncode",
"pos": [
500,
1200
],
"size": [
400,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 24
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18,
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), blurry, distorted, deformed, extra windows, unrealistic lighting, structural changes, wall repositioning, window modification, door relocation, ceiling alteration, geometry changes"
]
},
{
"id": 20,
"type": "EmptyLatentImage",
"pos": [
100,
1000
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1216,
832,
1
]
},
{
"id": 21,
"type": "SetLatentNoiseMask",
"pos": [
2100,
150
],
"size": [
320,
100
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 28
},
{
"name": "mask",
"type": "MASK",
"link": 13
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SetLatentNoiseMask"
}
},
{
"id": 22,
"type": "KSampler",
"pos": [
2500,
300
],
"size": [
320,
280
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 22
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 21
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 18
},
{
"name": "latent_image",
"type": "LATENT",
"link": 29
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
42,
"randomize",
30,
7.0,
"dpmpp_2m",
"karras",
0.75
]
},
{
"id": 23,
"type": "VAEDecode",
"pos": [
2900,
300
],
"size": [
320,
100
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 30
},
{
"name": "vae",
"type": "VAE",
"link": 40
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31,
32,
33
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 24,
"type": "SaveImage",
"pos": [
3300,
200
],
"size": [
320,
280
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 31
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"dreamweaver_phase2_output"
]
},
{
"id": 25,
"type": "PreviewImage",
"pos": [
3300,
550
],
"size": [
320,
280
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 32
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 26,
"type": "IPAdapterAdvanced",
"pos": [
2100,
700
],
"size": [
320,
300
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 53
},
{
"name": "image",
"type": "IMAGE",
"link": 56
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null
},
{
"name": "mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "IPAdapterAdvanced"
},
"widgets_values": [
0.6,
0,
0,
0.5,
"original",
0,
1.0
]
},
{
"id": 27,
"type": "MaskToImage",
"pos": [
2500,
100
],
"size": [
320,
100
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
34
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 28,
"type": "PreviewImage",
"pos": [
2900,
500
],
"size": [
320,
280
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 34
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 29,
"type": "ImageInvert",
"pos": [
2100,
150
],
"size": [
320,
100
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 57
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageInvert"
}
}
],
"links": [
[
1,
1,
2,
"IMAGE",
1
],
[
2,
6,
8,
"GROUNDING_DINO_MODEL",
2
],
[
3,
2,
3,
"IMAGE",
4
],
[
4,
2,
4,
"IMAGE",
5
],
[
5,
2,
5,
"IMAGE",
6
],
[
6,
3,
14,
"IMAGE",
7
],
[
7,
4,
16,
"IMAGE",
8
],
[
8,
5,
15,
"IMAGE",
9
],
[
9,
7,
8,
"SAM_MODEL",
10
],
[
10,
8,
9,
"MASK",
11
],
[
11,
9,
10,
"MASK",
12
],
[
12,
10,
21,
"MASK",
13
],
[
13,
11,
14,
"CONTROL_NET",
14
],
[
14,
12,
15,
"CONTROL_NET",
15
],
[
15,
13,
16,
"CONTROL_NET",
16
],
[
16,
18,
14,
"CONDITIONING",
17
],
[
17,
19,
14,
"CONDITIONING",
18
],
[
18,
14,
15,
"positive",
19
],
[
19,
15,
16,
"positive",
20
],
[
20,
16,
22,
"positive",
21
],
[
21,
17,
22,
"MODEL",
22
],
[
22,
17,
18,
"CLIP",
23
],
[
23,
17,
19,
"CLIP",
24
],
[
24,
20,
21,
"LATENT",
28
],
[
25,
21,
22,
"LATENT",
29
],
[
26,
22,
23,
"LATENT",
30
],
[
27,
23,
24,
"IMAGE",
31
],
[
28,
23,
25,
"IMAGE",
32
],
[
29,
10,
27,
"MASK",
52
],
[
30,
27,
28,
"IMAGE",
34
],
[
31,
17,
23,
"VAE",
40
],
[
32,
17,
26,
"MODEL",
53
],
[
33,
1,
8,
"IMAGE",
55
],
[
34,
1,
26,
"IMAGE",
56
],
[
35,
1,
29,
"IMAGE",
57
]
],
"groups": [
{
"title": "Input & Preprocessing",
"bounding": [
50,
100,
800,
1200
],
"color": "#3f789e"
},
{
"title": "Multi-ControlNet Stack",
"bounding": [
850,
400,
1600,
600
],
"color": "#8f3f7e"
},
{
"title": "Advanced Masking",
"bounding": [
850,
100,
1200,
250
],
"color": "#7e3f5e"
},
{
"title": "Generation",
"bounding": [
2450,
100,
800,
700
],
"color": "#3f7e4a"
},
{
"title": "Output",
"bounding": [
3250,
100,
500,
800
],
"color": "#7e5e3f"
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.65,
"offset": [
0,
0
]
},
"node_versions": {}
},
"version": 0.4
}