Files
Project_Velocity/comfy_engine/workflows/dreamweaver_phase3_batch.json
2026-03-27 22:46:29 +05:30

1651 lines
40 KiB
JSON

{
"last_node_id": 42,
"last_link_id": 68,
"nodes": [
{
"id": 1,
"type": "LoadImageBatch",
"pos": [
100,
150
],
"size": [
320,
150
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
55,
56,
57,
58
],
"shape": 3,
"slot_index": 0
},
{
"name": "FILENAME",
"type": "STRING",
"links": [],
"shape": 3,
"slot_index": 1
},
{
"name": "COUNT",
"type": "INT",
"links": [],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "LoadImageBatch"
},
"widgets_values": [
"Project_Velocity/comfy_engine/test_inputs/",
"*.jpg",
8
]
},
{
"id": 2,
"type": "ImageScaleBatch",
"pos": [
500,
150
],
"size": [
320,
150
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2,
3,
4,
5
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleBatch"
},
"widgets_values": [
"lanczos",
1024,
1024
]
},
{
"id": 3,
"type": "Zoe-DepthMapPreprocessor",
"pos": [
900,
150
],
"size": [
320,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Zoe-DepthMapPreprocessor"
},
"widgets_values": [
1024
]
},
{
"id": 4,
"type": "SemSegPreprocessor",
"pos": [
900,
300
],
"size": [
320,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 3
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SemSegPreprocessor"
},
"widgets_values": [
"seg_ofade20k",
1024
]
},
{
"id": 5,
"type": "CannyEdgePreprocessor",
"pos": [
900,
450
],
"size": [
320,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CannyEdgePreprocessor"
},
"widgets_values": [
100,
200,
1024
]
},
{
"id": 6,
"type": "OneFormerCOCOSegmentation",
"pos": [
900,
650
],
"size": [
320,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
9
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "OneFormerCOCOSegmentation"
},
"widgets_values": [
"semantic",
"oneformer_coco_swin_large"
]
},
{
"id": 7,
"type": "MaskCacheLoader",
"pos": [
1300,
650
],
"size": [
320,
150
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "mask_input",
"type": "MASK",
"link": 9
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
10,
52
],
"shape": 3,
"slot_index": 0
},
{
"name": "CACHED",
"type": "BOOLEAN",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MaskCacheLoader"
},
"widgets_values": [
"Project_Velocity/comfy_engine/cache/masks/",
"auto"
]
},
{
"id": 8,
"type": "GrowMask",
"pos": [
1700,
650
],
"size": [
320,
100
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 10
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
11
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
5
]
},
{
"id": 9,
"type": "FeatherMask",
"pos": [
2100,
650
],
"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": "FeatherMask"
},
"widgets_values": [
8
]
},
{
"id": 10,
"type": "ControlNetLoader",
"pos": [
1300,
150
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11f1p_sd15_depth.pth"
]
},
{
"id": 11,
"type": "ControlNetLoader",
"pos": [
1300,
300
],
"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_v11p_sd15_seg.pth"
]
},
{
"id": 12,
"type": "ControlNetLoader",
"pos": [
1300,
450
],
"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_canny.pth"
]
},
{
"id": 13,
"type": "ControlNetApplyAdvanced",
"pos": [
1700,
150
],
"size": [
320,
200
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 16
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 17
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 13
},
{
"name": "image",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
18
],
"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": 14,
"type": "ControlNetApplyAdvanced",
"pos": [
2100,
150
],
"size": [
320,
200
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 18
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"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": [
0.85,
0.2,
0.8
]
},
{
"id": 15,
"type": "ControlNetApplyAdvanced",
"pos": [
2500,
150
],
"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": 8
}
],
"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.6,
0,
0.3
]
},
{
"id": 16,
"type": "CheckpointLoaderSimple",
"pos": [
100,
400
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
21,
59
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
22,
23
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
40,
48
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"realvisxlV50Lightning_v50Lightning.safetensors"
]
},
{
"id": 17,
"type": "CLIPTextEncode",
"pos": [
500,
850
],
"size": [
400,
200
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 22
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
16,
24
],
"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": 18,
"type": "CLIPTextEncode",
"pos": [
500,
1100
],
"size": [
400,
200
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 23
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
17,
25
],
"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, perspective distortion"
]
},
{
"id": 19,
"type": "EmptyLatentImage",
"pos": [
100,
900
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
8
]
},
{
"id": 20,
"type": "SetLatentNoiseMask",
"pos": [
2500,
650
],
"size": [
320,
100
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 26
},
{
"name": "mask",
"type": "MASK",
"link": 12
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SetLatentNoiseMask"
}
},
{
"id": 21,
"type": "KSamplerAdvanced",
"pos": [
2900,
300
],
"size": [
320,
320
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 21
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 20
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 17
},
{
"name": "latent_image",
"type": "LATENT",
"link": 27
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
false,
42,
"randomize",
30,
7.0,
"dpmpp_2m",
"karras",
0.75,
1024,
1024
]
},
{
"id": 22,
"type": "VAEDecodeTiled",
"pos": [
3300,
300
],
"size": [
320,
150
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 28
},
{
"name": "vae",
"type": "VAE",
"link": 40
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29,
41,
42
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled"
},
"widgets_values": [
64
]
},
{
"id": 23,
"type": "UpscaleModelLoader",
"pos": [
2900,
600
],
"size": [
320,
100
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x-UltraSharp.pth"
]
},
{
"id": 24,
"type": "ImageUpscaleWithModel",
"pos": [
3300,
600
],
"size": [
320,
100
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 30
},
{
"name": "image",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31,
43
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 25,
"type": "SaveImage",
"pos": [
3700,
300
],
"size": [
320,
280
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"dreamweaver_phase3_1024"
]
},
{
"id": 26,
"type": "SaveImage",
"pos": [
3700,
600
],
"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_phase3_4K"
]
},
{
"id": 27,
"type": "ImageScale",
"pos": [
3700,
900
],
"size": [
320,
150
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 43
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"lanczos",
3840,
2160,
"center"
]
},
{
"id": 28,
"type": "SaveImage",
"pos": [
4100,
900
],
"size": [
320,
280
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 44
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"dreamweaver_phase3_4KUHD"
]
},
{
"id": 29,
"type": "PreviewImage",
"pos": [
4100,
200
],
"size": [
320,
280
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 42
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 30,
"type": "MaskToImage",
"pos": [
2900,
850
],
"size": [
320,
100
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 31,
"type": "PreviewImage",
"pos": [
3300,
850
],
"size": [
320,
280
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
1,
1,
2,
"IMAGE",
1
],
[
2,
2,
3,
"IMAGE",
2
],
[
3,
2,
4,
"IMAGE",
3
],
[
4,
2,
5,
"IMAGE",
4
],
[
5,
2,
6,
"IMAGE",
5
],
[
6,
3,
13,
"IMAGE",
6
],
[
7,
4,
14,
"IMAGE",
7
],
[
8,
5,
15,
"IMAGE",
8
],
[
9,
6,
7,
"MASK",
9
],
[
10,
7,
8,
"MASK",
10
],
[
11,
8,
9,
"MASK",
11
],
[
12,
9,
20,
"MASK",
12
],
[
13,
10,
13,
"CONTROL_NET",
13
],
[
14,
11,
14,
"CONTROL_NET",
14
],
[
15,
12,
15,
"CONTROL_NET",
15
],
[
16,
17,
13,
"CONDITIONING",
16
],
[
17,
18,
13,
"CONDITIONING",
17
],
[
18,
13,
14,
"positive",
18
],
[
19,
14,
15,
"positive",
19
],
[
20,
15,
21,
"positive",
20
],
[
21,
16,
21,
"MODEL",
21
],
[
22,
16,
17,
"CLIP",
22
],
[
23,
16,
18,
"CLIP",
23
],
[
24,
19,
20,
"LATENT",
26
],
[
25,
20,
21,
"LATENT",
27
],
[
26,
21,
22,
"LATENT",
28
],
[
27,
22,
25,
"IMAGE",
29
],
[
28,
23,
24,
"UPSCALE_MODEL",
30
],
[
29,
24,
26,
"IMAGE",
31
],
[
30,
22,
29,
"IMAGE",
41
],
[
31,
22,
29,
"IMAGE",
42
],
[
32,
24,
27,
"IMAGE",
43
],
[
33,
27,
28,
"IMAGE",
44
],
[
34,
7,
30,
"MASK",
52
],
[
35,
30,
31,
"IMAGE",
45
],
[
36,
16,
22,
"VAE",
40
],
[
37,
1,
6,
"IMAGE",
55
],
[
38,
1,
6,
"IMAGE",
56
],
[
39,
1,
6,
"IMAGE",
57
],
[
40,
1,
6,
"IMAGE",
58
]
],
"groups": [
{
"title": "Batch Input Processing",
"bounding": [
50,
100,
800,
400
],
"color": "#3f789e"
},
{
"title": "Multi-ControlNet Stack",
"bounding": [
1250,
100,
1600,
450
],
"color": "#8f3f7e"
},
{
"title": "Automated Masking & Cache",
"bounding": [
850,
550,
1800,
350
],
"color": "#7e3f5e"
},
{
"title": "Batch Generation",
"bounding": [
2850,
100,
800,
600
],
"color": "#3f7e4a"
},
{
"title": "4K Upscaling Pipeline",
"bounding": [
2850,
550,
1600,
400
],
"color": "#5e3f7e"
},
{
"title": "Multi-Resolution Output",
"bounding": [
3650,
100,
900,
1200
],
"color": "#7e5e3f"
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.55,
"offset": [
0,
0
]
},
"node_versions": {},
"dreamweaver_config": {
"target_hardware": "dual_rtx_pro_6000",
"batch_size": 8,
"enable_mask_caching": true,
"output_resolutions": [
"1024x1024",
"4096x4096",
"3840x2160"
],
"gpu_sharding": true,
"nvlink_enabled": true
}
},
"version": 0.4
}