nohat / workflow.json
Nima nazari
Upload workflow.json
f26eb11 verified
{
"last_node_id": 394,
"last_link_id": 98,
"nodes": [
{
"id": 3,
"type": "KSampler",
"pos": [
5897.5999755859375,
130
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 89
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 2
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
951207821258120,
"randomize",
5,
1.5,
"lcm",
"normal",
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
515,
130
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
2
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"(small head:1.2), solo, dog, cat, (forehead:0.8), ears, eyebrow, (human:1.1)"
]
},
{
"id": 126,
"type": "GroundingDinoSAMSegment (segment anything)",
"pos": [
1015,
386
],
"size": {
"0": 352.79998779296875,
"1": 122
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "sam_model",
"type": "SAM_MODEL",
"link": 9
},
{
"name": "grounding_dino_model",
"type": "GROUNDING_DINO_MODEL",
"link": 10
},
{
"name": "image",
"type": "IMAGE",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": [
25,
31
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "GroundingDinoSAMSegment (segment anything)"
},
"widgets_values": [
"hat",
0.35000000000000003
]
},
{
"id": 130,
"type": "GrowMaskWithBlur",
"pos": [
5067.5999755859375,
130
],
"size": {
"0": 315,
"1": 246
},
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 14
},
{
"name": "expand",
"type": "INT",
"link": 12,
"widget": {
"name": "expand"
}
},
{
"name": "blur_radius",
"type": "FLOAT",
"link": 13,
"widget": {
"name": "blur_radius"
}
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
64
],
"shape": 3
},
{
"name": "mask_inverted",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GrowMaskWithBlur"
},
"widgets_values": [
0,
0,
true,
false,
0,
1,
1,
false
]
},
{
"id": 253,
"type": "IsMaskEmpty",
"pos": [
1457.5999755859375,
460
],
"size": {
"0": 241.79998779296875,
"1": 26
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 25
}
],
"outputs": [
{
"name": "boolean_number",
"type": "NUMBER",
"links": [
26,
29
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "IsMaskEmpty"
}
},
{
"id": 254,
"type": "If ANY execute A else B",
"pos": [
7452.5999755859375,
130
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "ANY",
"type": "*",
"link": 26
},
{
"name": "IF_TRUE",
"type": "*",
"link": 27
},
{
"name": "IF_FALSE",
"type": "*",
"link": 28
}
],
"outputs": [
{
"name": "?",
"type": "*",
"links": [
69
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "If ANY execute A else B"
}
},
{
"id": 262,
"type": "SAMLoader",
"pos": [
100,
546
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
9
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "SAMLoader"
},
"widgets_values": [
"sam_vit_b_01ec64.pth",
"Prefer GPU"
]
},
{
"id": 266,
"type": "LoadImageByUrl //Browser",
"pos": [
100,
990
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
27
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImageByUrl //Browser"
},
"widgets_values": [
"https://lh3.googleusercontent.com/u/0/drive-viewer/AKGpihaZSmRJ-TG6G3uhvLV585FE8FkePMB8FS8nhF02xJjHsu0Ngp4EMXz6b4sAGAQy-Jm4cpSP3-F0No6g14cJOYh6JbWJB33fy_A=w1910-h982",
true
]
},
{
"id": 268,
"type": "If ANY execute A else B",
"pos": [
1957.5999755859375,
130
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "ANY",
"type": "*",
"link": 29
},
{
"name": "IF_TRUE",
"type": "*",
"link": 30
},
{
"name": "IF_FALSE",
"type": "*",
"link": 31
}
],
"outputs": [
{
"name": "?",
"type": "*",
"links": [
33,
37,
45
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "If ANY execute A else B"
}
},
{
"id": 270,
"type": "Bounded Image Crop with Mask",
"pos": [
2267.5999755859375,
130
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 32
},
{
"name": "mask",
"type": "MASK",
"link": 33
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
34
],
"shape": 3
},
{
"name": "IMAGE_BOUNDS",
"type": "IMAGE_BOUNDS",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Bounded Image Crop with Mask"
},
"widgets_values": [
0,
0,
0,
0
]
},
{
"id": 271,
"type": "SolidMask",
"pos": [
100,
1202
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
30
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "SolidMask"
},
"widgets_values": [
1,
512,
512
]
},
{
"id": 274,
"type": "GetImageSize+",
"pos": [
2682.5999755859375,
130
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 34
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
35
],
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": [
36
],
"shape": 3
},
{
"name": "count",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
}
},
{
"id": 275,
"type": "SimpleMath+",
"pos": [
2992.5999755859375,
130
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 35
},
{
"name": "b",
"type": "INT,FLOAT",
"link": 36
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
38
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a+b)/2"
]
},
{
"id": 279,
"type": "SimpleMath+",
"pos": [
3407.5999755859375,
130
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 38
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
12,
39,
46,
53,
61
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a *0.12"
]
},
{
"id": 281,
"type": "SimpleMath+",
"pos": [
3822.5999755859375,
130
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 39
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
13,
59
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a/2"
]
},
{
"id": 283,
"type": "Bounded Image Crop with Mask",
"pos": [
4237.5999755859375,
130
],
"size": {
"0": 315,
"1": 150
},
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 44
},
{
"name": "mask",
"type": "MASK",
"link": 45
},
{
"name": "padding_left",
"type": "INT",
"link": 40,
"widget": {
"name": "padding_left"
}
},
{
"name": "padding_right",
"type": "INT",
"link": 41,
"widget": {
"name": "padding_right"
}
},
{
"name": "padding_top",
"type": "INT",
"link": 42,
"widget": {
"name": "padding_top"
}
},
{
"name": "padding_bottom",
"type": "INT",
"link": 43,
"widget": {
"name": "padding_bottom"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
47,
56
],
"shape": 3
},
{
"name": "IMAGE_BOUNDS",
"type": "IMAGE_BOUNDS",
"links": [
49,
51,
55
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Bounded Image Crop with Mask"
},
"widgets_values": [
64,
64,
64,
64
]
},
{
"id": 285,
"type": "SimpleMath+",
"pos": [
3822.5999755859375,
338
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 46
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
43
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a*4"
]
},
{
"id": 287,
"type": "ImageToMask",
"pos": [
4652.5999755859375,
130
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 47
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
14
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 297,
"type": "Bounded Image Crop",
"pos": [
4652.5999755859375,
318
],
"size": {
"0": 229.20001220703125,
"1": 46
},
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 48
},
{
"name": "image_bounds",
"type": "IMAGE_BOUNDS",
"link": 49
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
62
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Bounded Image Crop"
}
},
{
"id": 299,
"type": "Bounded Image Blend",
"pos": [
6622.5999755859375,
130
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "target",
"type": "IMAGE",
"link": 50
},
{
"name": "target_bounds",
"type": "IMAGE_BOUNDS",
"link": 51
},
{
"name": "source",
"type": "IMAGE",
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
16
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Bounded Image Blend"
},
"widgets_values": [
1,
0
]
},
{
"id": 308,
"type": "SimpleMath+",
"pos": [
3822.5999755859375,
546
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 53
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
40,
41,
42
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a*2"
]
},
{
"id": 312,
"type": "Bounded Image Blend",
"pos": [
4652.5999755859375,
494
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "target",
"type": "IMAGE",
"link": 54
},
{
"name": "target_bounds",
"type": "IMAGE_BOUNDS",
"link": 55
},
{
"name": "source",
"type": "IMAGE",
"link": 56
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
57
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Bounded Image Blend"
},
"widgets_values": [
1,
0
]
},
{
"id": 315,
"type": "ImageToMask",
"pos": [
5067.5999755859375,
506
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 57
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
60
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 316,
"type": "GrowMaskWithBlur",
"pos": [
5482.5999755859375,
358
],
"size": {
"0": 315,
"1": 246
},
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 60
},
{
"name": "expand",
"type": "INT",
"link": 58,
"widget": {
"name": "expand"
}
},
{
"name": "blur_radius",
"type": "FLOAT",
"link": 59,
"widget": {
"name": "blur_radius"
}
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
17
],
"shape": 3
},
{
"name": "mask_inverted",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GrowMaskWithBlur"
},
"widgets_values": [
0,
0,
true,
false,
0,
1,
1,
false
]
},
{
"id": 318,
"type": "SimpleMath+",
"pos": [
3822.5999755859375,
754
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 61
},
{
"name": "b",
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
58
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a*3.5"
]
},
{
"id": 320,
"type": "VAEEncodeForInpaint",
"pos": [
5482.5999755859375,
130
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 62
},
{
"name": "vae",
"type": "VAE",
"link": 63
},
{
"name": "mask",
"type": "MASK",
"link": 64
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
4
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncodeForInpaint"
},
"widgets_values": [
26
]
},
{
"id": 337,
"type": "LoadImageByUrl //Browser",
"pos": [
100,
1438
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
76
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImageByUrl //Browser"
},
"widgets_values": [
"https://lh3.googleusercontent.com/u/0/drive-viewer/AKGpihaq5qkXPVcAKk6FeKOTF03u7C_qaYLuklNRWjq4xb1oWnTezTc5mLe_ziy0n3uFBTwEzXNCHo5VzrAGErNhXqezAypOs_HyKc0=w1910-h982",
true
]
},
{
"id": 342,
"type": "GetImageSize+",
"pos": [
8177.5999755859375,
130
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 70
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
71,
84
],
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": [
74,
85
],
"shape": 3
},
{
"name": "count",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
}
},
{
"id": 343,
"type": "SimpleMath+",
"pos": [
8487.599975585938,
130
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 71
},
{
"name": "b",
"type": "INT,FLOAT",
"link": 72
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
65
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a/2) -(b/2) -20"
]
},
{
"id": 344,
"type": "GetImageSize+",
"pos": [
1015,
638
],
"size": {
"0": 210,
"1": 66
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 73
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
72,
82
],
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": [
75,
83
],
"shape": 3
},
{
"name": "count",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GetImageSize+"
}
},
{
"id": 345,
"type": "SimpleMath+",
"pos": [
8487.599975585938,
338
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "a",
"type": "INT,FLOAT",
"link": 74
},
{
"name": "b",
"type": "INT,FLOAT",
"link": 75
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
66
],
"shape": 3
},
{
"name": "FLOAT",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a/2) -(b/2) -20"
]
},
{
"id": 346,
"type": "ImageScale",
"pos": [
515,
1412
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
73,
77
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
250,
0,
"disabled"
]
},
{
"id": 347,
"type": "Cut By Mask",
"pos": [
1015,
814
],
"size": {
"0": 342.5999755859375,
"1": 122
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 77
},
{
"name": "mask",
"type": "IMAGE",
"link": 78
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
80
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 350,
"type": "Paste By Mask",
"pos": [
9317.599975585938,
130
],
"size": {
"0": 342.5999755859375,
"1": 118
},
"flags": {},
"order": 48,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": 79
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": 80
},
{
"name": "mask",
"type": "IMAGE",
"link": 81
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
86,
87
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"resize"
]
},
{
"id": 351,
"type": "EmptyImage",
"pos": [
1457.5999755859375,
616
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 82,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 83,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
68
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
16777215
]
},
{
"id": 352,
"type": "EmptyImage",
"pos": [
8487.599975585938,
546
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 84,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 85,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyImage"
},
"widgets_values": [
512,
512,
1,
0
]
},
{
"id": 370,
"type": "LoadImageByUrl //Browser",
"pos": [
100,
1650
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
78
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImageByUrl //Browser"
},
"widgets_values": [
"https://lh3.googleusercontent.com/u/0/drive-viewer/AKGpihbFdLf435w_0TewXijYpjdOGGJVoh4Kihk8Jn8jtJ15M6dUFQQGmbra-CPfTnZ7tqg3UHEuu36Bl2yS3pljEacymwlF-0m9sI8=w1910-h982",
true
]
},
{
"id": 385,
"type": "CR Overlay Transparent Image",
"pos": [
9760.199951171875,
130
],
"size": {
"0": 315,
"1": 174
},
"flags": {},
"order": 49,
"mode": 0,
"inputs": [
{
"name": "back_image",
"type": "IMAGE",
"link": 86
},
{
"name": "overlay_image",
"type": "IMAGE",
"link": 87
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
88
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Overlay Transparent Image"
},
"widgets_values": [
0,
0,
0,
0,
1
]
},
{
"id": 128,
"type": "GroundingDinoModelLoader (segment anything)",
"pos": [
100,
358
],
"size": {
"0": 361.20001220703125,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "GROUNDING_DINO_MODEL",
"type": "GROUNDING_DINO_MODEL",
"links": [
10
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "GroundingDinoModelLoader (segment anything)"
},
"widgets_values": [
"GroundingDINO_SwinT_OGC (694MB)"
]
},
{
"id": 146,
"type": "ImageResize+",
"pos": [
515,
715
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 91
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
32,
48,
50
],
"shape": 3
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
768,
768,
"lanczos",
"keep proportion",
"downscale if bigger",
0
]
},
{
"id": 173,
"type": "ImageResize+",
"pos": [
515,
1064
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 23
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
],
"shape": 3
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"lanczos",
"keep proportion",
"downscale if bigger",
0
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
1468,
141
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 92
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
3
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"(hat, cap, crown, headwear, headdress:1.2), big head, on head, bad head, deformed head,( wearing shirt:0.7)"
]
},
{
"id": 387,
"type": "Images to RGB",
"pos": [
10175.199951171875,
130
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 88
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
94
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Images to RGB"
}
},
{
"id": 88,
"type": "CheckpointLoaderSimple",
"pos": [
105,
166
],
"size": {
"0": 360.11322021484375,
"1": 98
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
19
],
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
5,
20,
92
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
63
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"caa95002a1c17218748a33473edcf29aac44653946baef832137aa50c398cced.safetensors?attname=epiCRealism_pure Evolution V5-inpainting.safetensors"
]
},
{
"id": 161,
"type": "LoraLoader",
"pos": [
515,
460
],
"size": {
"0": 388.27642822265625,
"1": 126
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 19
},
{
"name": "clip",
"type": "CLIP",
"link": 20
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
89
],
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"pytorch_lora_weights.safetensors",
1,
1
]
},
{
"id": 278,
"type": "MaskToImage",
"pos": [
2268,
323
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 37
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
44,
54
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
6379,
142
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
52
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 137,
"type": "ImageCompositeMasked",
"pos": [
7037.5999755859375,
130
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 15
},
{
"name": "source",
"type": "IMAGE",
"link": 16
},
{
"name": "mask",
"type": "MASK",
"link": 17
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
true
]
},
{
"id": 339,
"type": "CR Overlay Transparent Image",
"pos": [
8902.599975585938,
130
],
"size": {
"0": 315,
"1": 174
},
"flags": {},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "back_image",
"type": "IMAGE",
"link": 67
},
{
"name": "overlay_image",
"type": "IMAGE",
"link": 68
},
{
"name": "offset_x",
"type": "INT",
"link": 65,
"widget": {
"name": "offset_x"
}
},
{
"name": "offset_y",
"type": "INT",
"link": 66,
"widget": {
"name": "offset_y"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
81
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CR Overlay Transparent Image"
},
"widgets_values": [
0,
0,
0,
0,
1
]
},
{
"id": 341,
"type": "ImageScale",
"pos": [
7763,
130
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 69
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
70,
79
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
0,
1024,
"disabled"
]
},
{
"id": 265,
"type": "LoadImage",
"pos": [
85,
648
],
"size": {
"0": 315,
"1": 314
},
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23,
91
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"test-api.jpg",
"image"
]
},
{
"id": 391,
"type": "Image Save",
"pos": [
10525,
132
],
"size": {
"0": 315,
"1": 606
},
"flags": {},
"order": 51,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 94
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Image Save"
},
"widgets_values": [
"",
"ComfyUI",
"_",
4,
"false",
"jpg",
300,
80,
"true",
"false",
"false",
"false",
"true",
"true",
"true"
]
}
],
"links": [
[
2,
6,
0,
3,
1,
"CONDITIONING"
],
[
3,
7,
0,
3,
2,
"CONDITIONING"
],
[
4,
320,
0,
3,
3,
"LATENT"
],
[
5,
88,
1,
6,
0,
"CLIP"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
88,
2,
8,
1,
"VAE"
],
[
9,
262,
0,
126,
0,
"SAM_MODEL"
],
[
10,
128,
0,
126,
1,
"GROUNDING_DINO_MODEL"
],
[
11,
146,
0,
126,
2,
"IMAGE"
],
[
12,
279,
0,
130,
1,
"INT"
],
[
13,
281,
1,
130,
2,
"FLOAT"
],
[
14,
287,
0,
130,
0,
"MASK"
],
[
15,
173,
0,
137,
0,
"IMAGE"
],
[
16,
299,
0,
137,
1,
"IMAGE"
],
[
17,
316,
0,
137,
2,
"MASK"
],
[
19,
88,
0,
161,
0,
"MODEL"
],
[
20,
88,
1,
161,
1,
"CLIP"
],
[
23,
265,
0,
173,
0,
"IMAGE"
],
[
25,
126,
1,
253,
0,
"MASK"
],
[
26,
253,
0,
254,
0,
"*"
],
[
27,
266,
0,
254,
1,
"*"
],
[
28,
137,
0,
254,
2,
"*"
],
[
29,
253,
0,
268,
0,
"*"
],
[
30,
271,
0,
268,
1,
"*"
],
[
31,
126,
1,
268,
2,
"*"
],
[
32,
146,
0,
270,
0,
"IMAGE"
],
[
33,
268,
0,
270,
1,
"MASK"
],
[
34,
270,
0,
274,
0,
"IMAGE"
],
[
35,
274,
0,
275,
0,
"INT,FLOAT"
],
[
36,
274,
1,
275,
1,
"INT,FLOAT"
],
[
37,
268,
0,
278,
0,
"MASK"
],
[
38,
275,
0,
279,
0,
"INT,FLOAT"
],
[
39,
279,
0,
281,
0,
"INT,FLOAT"
],
[
40,
308,
0,
283,
2,
"INT"
],
[
41,
308,
0,
283,
3,
"INT"
],
[
42,
308,
0,
283,
4,
"INT"
],
[
43,
285,
0,
283,
5,
"INT"
],
[
44,
278,
0,
283,
0,
"IMAGE"
],
[
45,
268,
0,
283,
1,
"MASK"
],
[
46,
279,
0,
285,
0,
"INT,FLOAT"
],
[
47,
283,
0,
287,
0,
"IMAGE"
],
[
48,
146,
0,
297,
0,
"IMAGE"
],
[
49,
283,
1,
297,
1,
"IMAGE_BOUNDS"
],
[
50,
146,
0,
299,
0,
"IMAGE"
],
[
51,
283,
1,
299,
1,
"IMAGE_BOUNDS"
],
[
52,
8,
0,
299,
2,
"IMAGE"
],
[
53,
279,
0,
308,
0,
"INT,FLOAT"
],
[
54,
278,
0,
312,
0,
"IMAGE"
],
[
55,
283,
1,
312,
1,
"IMAGE_BOUNDS"
],
[
56,
283,
0,
312,
2,
"IMAGE"
],
[
57,
312,
0,
315,
0,
"IMAGE"
],
[
58,
318,
0,
316,
1,
"INT"
],
[
59,
281,
1,
316,
2,
"FLOAT"
],
[
60,
315,
0,
316,
0,
"MASK"
],
[
61,
279,
0,
318,
0,
"INT,FLOAT"
],
[
62,
297,
0,
320,
0,
"IMAGE"
],
[
63,
88,
2,
320,
1,
"VAE"
],
[
64,
130,
0,
320,
2,
"MASK"
],
[
65,
343,
0,
339,
2,
"INT"
],
[
66,
345,
0,
339,
3,
"INT"
],
[
67,
352,
0,
339,
0,
"IMAGE"
],
[
68,
351,
0,
339,
1,
"IMAGE"
],
[
69,
254,
0,
341,
0,
"IMAGE"
],
[
70,
341,
0,
342,
0,
"IMAGE"
],
[
71,
342,
0,
343,
0,
"INT,FLOAT"
],
[
72,
344,
0,
343,
1,
"INT,FLOAT"
],
[
73,
346,
0,
344,
0,
"IMAGE"
],
[
74,
342,
1,
345,
0,
"INT,FLOAT"
],
[
75,
344,
1,
345,
1,
"INT,FLOAT"
],
[
76,
337,
0,
346,
0,
"IMAGE"
],
[
77,
346,
0,
347,
0,
"IMAGE"
],
[
78,
370,
0,
347,
1,
"IMAGE"
],
[
79,
341,
0,
350,
0,
"IMAGE"
],
[
80,
347,
0,
350,
1,
"IMAGE"
],
[
81,
339,
0,
350,
2,
"IMAGE"
],
[
82,
344,
0,
351,
0,
"INT"
],
[
83,
344,
1,
351,
1,
"INT"
],
[
84,
342,
0,
352,
0,
"INT"
],
[
85,
342,
1,
352,
1,
"INT"
],
[
86,
350,
0,
385,
0,
"IMAGE"
],
[
87,
350,
0,
385,
1,
"IMAGE"
],
[
88,
385,
0,
387,
0,
"IMAGE"
],
[
89,
161,
0,
3,
0,
"MODEL"
],
[
91,
265,
0,
146,
0,
"IMAGE"
],
[
92,
88,
1,
7,
0,
"CLIP"
],
[
94,
387,
0,
391,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"groupNodes": {},
"ds": {
"scale": 1.4420993610649975,
"offset": {
"0": -10237.932223867789,
"1": -96.46412109193292
}
}
},
"version": 0.4
}