Workflows / marduk191-turbo inpaint-v2.3.json
marduk191's picture
added turbo inpaint 2.3
c24855a
{
"last_node_id": 194,
"last_link_id": 330,
"nodes": [
{
"id": 14,
"type": "Paste By Mask",
"pos": [
1789.1248797586084,
166.45841920919025
],
"size": {
"0": 228.39999389648438,
"1": 118
},
"flags": {
"collapsed": true
},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": 18
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": 19
},
{
"name": "mask",
"type": "IMAGE",
"link": 20,
"slot_index": 2
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"resize"
]
},
{
"id": 15,
"type": "Cut By Mask",
"pos": [
1799.1248797586084,
215.45841920919023
],
"size": {
"0": 228.39999389648438,
"1": 122
},
"flags": {
"collapsed": true
},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 21
},
{
"name": "mask",
"type": "IMAGE",
"link": 22,
"slot_index": 1
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 16,
"type": "PreviewImage",
"pos": [
939,
471
],
"size": {
"0": 1002.7299194335938,
"1": 806.0042724609375
},
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 23
}
],
"title": "PreviewImage",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 42,
"type": "PreviewImage",
"pos": [
330,
473
],
"size": {
"0": 249,
"1": 246
},
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 121
}
],
"title": "Mask Preview",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 74,
"type": "VAEDecode",
"pos": [
1109.8308824936994,
271.64457097092446
],
"size": {
"0": 140,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 135
},
{
"name": "vae",
"type": "VAE",
"link": 137
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
136
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 5,
"type": "MaskToImage",
"pos": [
812.8308824936995,
225.64457097092446
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
17
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 13,
"type": "Cut By Mask",
"pos": [
1605.8308824936994,
191.64457097092458
],
"size": {
"0": 228.39999389648438,
"1": 122
},
"flags": {
"collapsed": true
},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 142
},
{
"name": "mask",
"type": "IMAGE",
"link": 17
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 10,
"type": "Paste By Mask",
"pos": [
1613.8308824936994,
248.64457097092438
],
"size": {
"0": 253,
"1": 118
},
"flags": {
"collapsed": true
},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": 9
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": 10
},
{
"name": "mask",
"type": "IMAGE",
"link": 11
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"keep_ratio_fill"
]
},
{
"id": 9,
"type": "Cut By Mask",
"pos": [
636.8308824936995,
189.64457097092458
],
"size": {
"0": 273,
"1": 122
},
"flags": {
"collapsed": true
},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 7
},
{
"name": "mask",
"type": "IMAGE",
"link": 52
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9,
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
]
},
{
"id": 61,
"type": "InvertMask",
"pos": [
241.83088249369993,
269.64457097092446
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 104
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
108
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InvertMask"
}
},
{
"id": 6,
"type": "ImageResize",
"pos": [
81.97388138345929,
278.56867139306127
],
"size": {
"0": 266,
"1": 246
},
"flags": {
"collapsed": true
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 153,
"slot_index": 0
},
{
"name": "mask_optional",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7,
18,
53
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
6
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImageResize"
},
"widgets_values": [
"pad to ratio",
1024,
0,
0,
"increase size only",
"16:9",
0.5,
0
]
},
{
"id": 17,
"type": "ImageInvert",
"pos": [
957.9738813834595,
268.56867139306127
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageInvert"
}
},
{
"id": 8,
"type": "MaskToImage",
"pos": [
571.9738813834595,
268.56867139306127
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 6
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 3,
"type": "Inpaint Segments",
"pos": [
221.97388138345934,
189.56867139306135
],
"size": {
"0": 281,
"1": 314
},
"flags": {
"collapsed": true
},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 53
},
{
"name": "mask",
"type": "IMAGE",
"link": 29
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "cut image",
"type": "IMAGE",
"links": [
25,
118
],
"shape": 3,
"slot_index": 0
},
{
"name": "cut mask",
"type": "IMAGE",
"links": [
3,
119,
120
],
"shape": 3,
"slot_index": 1
},
{
"name": "region",
"type": "IMAGE",
"links": [
20,
52
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "Inpaint Segments"
},
"widgets_values": [
1024,
1024,
"RGB",
128,
"keep_ratio",
64,
64,
0,
0,
"match_ratio"
]
},
{
"id": 21,
"type": "MaskToImage",
"pos": [
190.97388138345934,
231.56867139306135
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 108
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 56,
"type": "ImageResize",
"pos": [
229.97388138345934,
316.56867139306127
],
"size": {
"0": 266,
"1": 246
},
"flags": {
"collapsed": true
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 154,
"slot_index": 0
},
{
"name": "mask_optional",
"type": "MASK",
"link": 99
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
104
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ImageResize"
},
"widgets_values": [
"pad to ratio",
1024,
0,
0,
"increase size only",
"16:9",
0.5,
0
]
},
{
"id": 4,
"type": "ImageToMask",
"pos": [
416.97388138345923,
231.56867139306135
],
"size": {
"0": 227,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 3
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
1,
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 12,
"type": "ImageResize+",
"pos": [
1105.9738813834595,
213.56867139306135
],
"size": {
"0": 210,
"1": 170
},
"flags": {
"collapsed": true
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 136
},
{
"name": "width",
"type": "INT",
"link": 14,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 15,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
144
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3,
"slot_index": 1
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
512,
512,
"lanczos",
false,
"always",
0
]
},
{
"id": 11,
"type": "Get resolution [Crystools]",
"pos": [
786.9738813834595,
270.56867139306127
],
"size": {
"0": 210,
"1": 100
},
"flags": {
"collapsed": true
},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 12
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
14
],
"shape": 3,
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"links": [
15
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Get resolution [Crystools]"
}
},
{
"id": 72,
"type": "CLIPTextEncode",
"pos": [
-57,
617
],
"size": {
"0": 377.7320861816406,
"1": 108.49076843261719
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 326
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
248
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 76,
"type": "Upscale by Factor with Model (WLSH)",
"pos": [
1262.9738813834595,
258.56867139306115
],
"size": {
"0": 315,
"1": 102
},
"flags": {
"collapsed": true
},
"order": 40,
"mode": 4,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 140,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 144
},
{
"name": "factor",
"type": "FLOAT",
"link": 182,
"widget": {
"name": "factor"
},
"slot_index": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
142,
145
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Upscale by Factor with Model (WLSH)"
},
"widgets_values": [
"bilinear",
2
]
},
{
"id": 85,
"type": "Reroute",
"pos": [
-35.871730130893944,
322.023685232965
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 274,
"slot_index": 0
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
153,
154
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 64,
"type": "Image Blend by Mask",
"pos": [
418.97388138345923,
187.56867139306135
],
"size": {
"0": 247,
"1": 98
},
"flags": {
"collapsed": true
},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 118
},
{
"name": "image_b",
"type": "IMAGE",
"link": 119
},
{
"name": "mask",
"type": "IMAGE",
"link": 120
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
121
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Blend by Mask"
},
"widgets_values": [
0.5
]
},
{
"id": 73,
"type": "KSampler",
"pos": [
603,
447
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 37,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 139
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 132
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 131
},
{
"name": "latent_image",
"type": "LATENT",
"link": 130
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
135
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
300332951418746,
"randomize",
10,
2,
"dpmpp_sde",
"sgm_uniform",
0.5700000000000001
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 18,
"type": "InpaintModelConditioning",
"pos": [
403.97388138345923,
307.56867139306127
],
"size": {
"0": 216.59999084472656,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 247,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 248,
"slot_index": 1
},
{
"name": "vae",
"type": "VAE",
"link": 124
},
{
"name": "pixels",
"type": "IMAGE",
"link": 25
},
{
"name": "mask",
"type": "MASK",
"link": 26
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
132
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
131
],
"shape": 3,
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [
130
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning"
}
},
{
"id": 65,
"type": "Note",
"pos": [
-770,
790
],
"size": {
"0": 310,
"1": 70
},
"flags": {},
"order": 0,
"mode": 0,
"title": "For Manual Mode 1",
"properties": {
"text": ""
},
"widgets_values": [
"Right click on the image, open in mask editor, select add mask, make the mask, and then click save to node"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 188,
"type": "GroundingDinoModelLoader (segment anything)",
"pos": [
-770,
1050
],
"size": {
"0": 361.20001220703125,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "GROUNDING_DINO_MODEL",
"type": "GROUNDING_DINO_MODEL",
"links": [
309
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GroundingDinoModelLoader (segment anything)"
},
"widgets_values": [
"GroundingDINO_SwinT_OGC (694MB)"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 189,
"type": "GroundingDinoSAMSegment (segment anything)",
"pos": [
-425,
875
],
"size": {
"0": 352.79998779296875,
"1": 122
},
"flags": {},
"order": 18,
"mode": 4,
"inputs": [
{
"name": "sam_model",
"type": "SAM_MODEL",
"link": 310,
"slot_index": 0
},
{
"name": "grounding_dino_model",
"type": "GROUNDING_DINO_MODEL",
"link": 309
},
{
"name": "image",
"type": "IMAGE",
"link": 319,
"slot_index": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": [
317,
320
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "GroundingDinoSAMSegment (segment anything)"
},
"widgets_values": [
"hand",
0.3
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 190,
"type": "SAMLoader",
"pos": [
-770,
910
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
310
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "SAMLoader"
},
"widgets_values": [
"sam_vit_b_01ec64.pth",
"Prefer GPU"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 75,
"type": "DifferentialDiffusion",
"pos": [
422.97388138345923,
349.56867139306127
],
"size": {
"0": 184.8000030517578,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 11,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 312,
"slot_index": 0
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
139,
146
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DifferentialDiffusion"
}
},
{
"id": 96,
"type": "UltralyticsDetectorProvider",
"pos": [
-770,
284
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR",
"links": [
285
],
"shape": 3,
"slot_index": 0
},
{
"name": "SEGM_DETECTOR",
"type": "SEGM_DETECTOR",
"links": [
286
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider"
},
"widgets_values": [
"bbox/hand_yolov8n.pt"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 161,
"type": "MeshGraphormer-DepthMapPreprocessor",
"pos": [
-420,
600
],
"size": {
"0": 315,
"1": 222
},
"flags": {},
"order": 14,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 271
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "INPAINTING_MASK",
"type": "MASK",
"links": [
278,
316
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MeshGraphormer-DepthMapPreprocessor"
},
"widgets_values": [
30,
1024,
"based_on_depth",
5,
88,
0.6,
0.6
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 70,
"type": "CheckpointLoaderSimple",
"pos": [
-768,
129
],
"size": {
"0": 674.6589965820312,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
312
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
325,
326
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
124,
137
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sleipnirTLHTurbo_v27TLHFP32Main.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 167,
"type": "SegmDetectorCombined_v2",
"pos": [
-419,
440
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 16,
"mode": 4,
"inputs": [
{
"name": "segm_detector",
"type": "SEGM_DETECTOR",
"link": 286,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 281
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
308,
315
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2"
},
"widgets_values": [
0.25,
0
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 94,
"type": "BboxDetectorCombined_v2",
"pos": [
-420,
280
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 17,
"mode": 4,
"inputs": [
{
"name": "bbox_detector",
"type": "BBOX_DETECTOR",
"link": 285,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 284,
"slot_index": 1
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
287,
314
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BboxDetectorCombined_v2"
},
"widgets_values": [
0.25,
4
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 130,
"type": "LoadImage",
"pos": [
-774,
424
],
"size": {
"0": 315,
"1": 314.0000305175781
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
271,
274,
281,
284,
319
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
323
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-90393679.90000004.png [input]",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 162,
"type": "Mask Switch (JPS)",
"pos": [
-48,
778
],
"size": {
"0": 335.2957763671875,
"1": 138
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "mask_1",
"type": "MASK",
"link": 323,
"label": "From Loader",
"slot_index": 0
},
{
"name": "mask_2",
"type": "MASK",
"link": 320,
"label": "From GroundingDino",
"slot_index": 1
},
{
"name": "mask_3",
"type": "MASK",
"link": 278,
"label": "From MeshGraphormer"
},
{
"name": "mask_4",
"type": "MASK",
"link": 287,
"label": "From BBOX"
},
{
"name": "mask_5",
"type": "MASK",
"link": 308,
"label": "From SEGS"
}
],
"outputs": [
{
"name": "mask_out",
"type": "MASK",
"links": [
327
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Mask Switch (JPS)"
},
"widgets_values": [
1
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 71,
"type": "CLIPTextEncode",
"pos": [
-45,
442
],
"size": {
"0": 368.58978271484375,
"1": 127.10562133789062
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 325,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
247
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"hand, high quality, highly detailed, highest quality 4k, 8k, 32k"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 77,
"type": "UpscaleModelLoader",
"pos": [
-412,
1050
],
"size": {
"0": 340,
"1": 60
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
140
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"2x_AniScale2_Omni_i16_40K.pth"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 57,
"type": "InvertMask",
"pos": [
227,
374
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 328,
"slot_index": 0
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
99
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InvertMask"
}
},
{
"id": 192,
"type": "GrowMask",
"pos": [
88,
373
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 327
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
328
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
10,
true
]
},
{
"id": 193,
"type": "PrimitiveNode",
"pos": [
-51,
963
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "BOOLEAN",
"type": "BOOLEAN",
"links": [
330
],
"widget": {
"name": "fill_holes"
}
}
],
"title": "fill_holes",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 2,
"type": "GrowMaskWithBlur",
"pos": [
617,
228
],
"size": {
"0": 256,
"1": 246
},
"flags": {
"collapsed": true
},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 1
},
{
"name": "fill_holes",
"type": "BOOLEAN",
"link": 330,
"widget": {
"name": "fill_holes"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "mask",
"type": "MASK",
"links": [
4
],
"shape": 3,
"slot_index": 0
},
{
"name": "mask_inverted",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GrowMaskWithBlur"
},
"widgets_values": [
12,
0,
true,
false,
4,
1,
1,
false
]
},
{
"id": 136,
"type": "Note",
"pos": [
329,
758
],
"size": {
"0": 248.33628845214844,
"1": 163.63697814941406
},
"flags": {},
"order": 8,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Prompt for what you are trying to change. Some adjustments made be made with quality words.\n\n-Mask Switch: select where the mask will pull from for inpainting. 1 is for using the mask editor in the image loader manually.\n\n-Fast Bypasser: Only turn on the models you are using, this will keep vram usage lower.\n\n-Upscale Factor: When \"Enable Upscale by Factor\" is enabled you select the upscale factor here. (whole image)\n\n-Fill_Holes: Enable when masking areas that might need cutouts, like buttons etc\""
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 78,
"type": "Fast Bypasser (rgthree)",
"pos": {
"0": 339,
"1": 980,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 573.7240600585938,
"1": 298
},
"flags": {},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "Upscale by Factor with Model (WLSH)",
"type": "*",
"link": 145,
"dir": 3
},
{
"name": "Differential Diffusion",
"type": "*",
"link": 146,
"dir": 3
},
{
"name": "BBOX Detector (combined)",
"type": "*",
"link": 314,
"dir": 3
},
{
"name": "SEGM Detector (combined)",
"type": "*",
"link": 315,
"dir": 3
},
{
"name": "MeshGraphormer Hand Refiner",
"type": "*",
"link": 316,
"dir": 3
},
{
"name": "GroundingDinoSAMSegment (segment anything)",
"type": "*",
"link": 317,
"dir": 3
},
{
"name": "",
"type": "*",
"link": null,
"dir": 3
}
],
"outputs": [
{
"name": "OPT_CONNECTION",
"type": "*",
"links": [],
"dir": 4,
"slot_index": 0
}
],
"properties": {
"toggleRestriction": "default"
},
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 101,
"type": "PrimitiveNode",
"pos": [
-49,
1066
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 9,
"mode": 0,
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
182
],
"widget": {
"name": "factor"
}
}
],
"title": "Upscale Factor",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
2,
"fixed"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 194,
"type": "Note",
"pos": [
-46,
129
],
"size": [
1984.6426090000004,
264.06770399999994
],
"flags": {
"pinned": true
},
"order": 10,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
" ,---, ,----, \n ,---.-, ,`--.' | ,/ .`| \n ____ ,-. ,---, ' ,' '. ,---,| : : ,` .' : ,---, ___ ,-. ,--, \n ,' , `. ,---, ,--/ /| ,`--.' | / / \\ ,`--.' || | ' ; ; / ,---, ,`--.' | ,-.----. ,--, ,--.'|_ ,--/ /| .--., ,--.'| \n ,-+-,.' _ | __ ,-. ,---.'| ,--, ,--. :/ |/ / :. ; ,/. : / / :' : | .'___,/ ,' ,--, __ ,-.,---.'| ,---. | : : ,---, \\ / \\ ,--.'| ,---, | | :,' .---. ,---. __ ,-.,--. :/ | ,--.' \\| | : ,---. .---. \n ,-+-. ; , || ,' ,'/ /| | | : ,'_ /| : : ' /: |.' '' | | : ;: |.' '; |.'.--.--. | : | ,'_ /|,' ,'/ /|| | : ' ,'\\ : | ' ,-+-. / || : | | |, ,-+-. / | : : ' : /. ./| ' ,'\\ ,' ,'/ /|: : ' / | | /\\/: : ' ' ,'\\ /. ./| \n ,--.'|' | || ,--.--. ' | |' | | | | .--. | | : | ' / `----': |' | ./ :`----': |'---' / / ' ; |.'; ; .--. | | :' | |' |: : : / / | | : | ,--.'|' || | .\\ : ,--.--. `--'_ ,--.'|' |.;__,' / .-'-. ' | / / |' | |' || ' / : : : | ' | / / | .-'-. ' | \n| | ,', | |,/ \\ | | ,',--.__| |,'_ /| : . | ' | : ' ' ;| : , ' ' ; | : /`./ `----' | |,'_ /| : . || | ,': |,-.. ; ,. : ' ' ;| | ,\"' |. : |: | / \\ ,' ,'| | | ,\"' || | | /___/ \\: |. ; ,. :| | ,'' | : : | |-,' | | . ; ,. : /___/ \\: | \n| | / | |--'.--. .-. |' : / / ,' || ' | | . . | | \\ | | | \\ \\ | | | | | : ;_ ' : ;| ' | | . .' : / | : ' |' | |: : | | || | / | || | \\ :.--. .-. | ' | | | | / | |:__,'| : .-'.. ' ' .' | |: :' : / | | \\ | : :/|| | : ' | |: : .-'.. ' ' . \n| : | | , \\__\\/: . .| | ' . ' / || | ' | | | ' : |. \\ ' : ; `---`--- ; ' : ; \\ \\ `. | | '| | ' | | || | ' | | / :' | .; : ' : ;| | | | || : . | \\__\\/: . . | | : | | | | | ' : |__ /___/ \\: '' | .; :| | ' ' : |. \\ | | .'' : |__' | .; :/___/ \\: ' \n| : | |/ ,\" .--.; |; : | ' ; |: |: | : ; ; | | | ' \\ \\ | | ' | | | | | ' `----. \\ ' : |: | : ; ; |; : | ' : |: || : | | | '| | | |/ : |`-' ,\" .--.; | ' : |__ | | | |/ | | '.'| . \\ ' .\\ | : |; : | | | ' \\ \\' : ' | | '.'| : |. \\ ' .\\ \n| | |`-' / / ,. || , ; | | '/ '' : `--' \\' : |--' ' : | ' : ; ' : | / /`--' / ; |.' ' : `--' \\ , ; | | '/ : \\ \\ / ' : || | |--' : : : / / ,. | | | '.'|| | |--' ; : ; \\ \\ ' \\ | \\ \\ / | , ; ' : |--' | | | ; : ;\\ \\ / \\ \\ ' \\ | \n| ;/ ; : .' \\---' | : :|: , .-./; |,' ; |.' | | ' ; |.' '--'. / '---' : , .-./---' | : | `----' ; |.' | |/ | | : ; : .' \\; : ;| |/ | , / \\ \\ |--\" `----' ---' ; |,' | : \\ | , / `----' \\ \\ |--\" \n'---' | , .-./ \\ \\ / `--`----' '--' '---' ; |.' '---' `--'---' `--`----' / \\ / '---' '---' `---'.| | , .-./| , / '---' ---`-' \\ \\ | '--' | |,' ---`-' \\ \\ | \n `--`---' `----' '---' `-'----' `---` `--`---' ---`-' '---\" `--' '---\" \n "
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
4,
0,
2,
0,
"MASK"
],
[
3,
3,
1,
4,
0,
"IMAGE"
],
[
4,
2,
0,
5,
0,
"MASK"
],
[
6,
6,
1,
8,
0,
"MASK"
],
[
7,
6,
0,
9,
0,
"IMAGE"
],
[
9,
9,
0,
10,
0,
"IMAGE"
],
[
10,
13,
0,
10,
1,
"IMAGE"
],
[
11,
5,
0,
10,
2,
"IMAGE"
],
[
12,
9,
0,
11,
0,
"IMAGE"
],
[
14,
11,
0,
12,
1,
"INT"
],
[
15,
11,
1,
12,
2,
"INT"
],
[
17,
5,
0,
13,
1,
"IMAGE"
],
[
18,
6,
0,
14,
0,
"IMAGE"
],
[
19,
10,
0,
14,
1,
"IMAGE"
],
[
20,
3,
2,
14,
2,
"IMAGE"
],
[
21,
14,
0,
15,
0,
"IMAGE"
],
[
22,
17,
0,
15,
1,
"IMAGE"
],
[
23,
15,
0,
16,
0,
"IMAGE"
],
[
24,
8,
0,
17,
0,
"IMAGE"
],
[
25,
3,
0,
18,
3,
"IMAGE"
],
[
26,
4,
0,
18,
4,
"MASK"
],
[
29,
21,
0,
3,
1,
"IMAGE"
],
[
52,
3,
2,
9,
1,
"IMAGE"
],
[
53,
6,
0,
3,
0,
"IMAGE"
],
[
99,
57,
0,
56,
1,
"MASK"
],
[
104,
56,
1,
61,
0,
"MASK"
],
[
108,
61,
0,
21,
0,
"MASK"
],
[
118,
3,
0,
64,
0,
"IMAGE"
],
[
119,
3,
1,
64,
1,
"IMAGE"
],
[
120,
3,
1,
64,
2,
"IMAGE"
],
[
121,
64,
0,
42,
0,
"IMAGE"
],
[
124,
70,
2,
18,
2,
"VAE"
],
[
130,
18,
2,
73,
3,
"LATENT"
],
[
131,
18,
1,
73,
2,
"CONDITIONING"
],
[
132,
18,
0,
73,
1,
"CONDITIONING"
],
[
135,
73,
0,
74,
0,
"LATENT"
],
[
136,
74,
0,
12,
0,
"IMAGE"
],
[
137,
70,
2,
74,
1,
"VAE"
],
[
139,
75,
0,
73,
0,
"MODEL"
],
[
140,
77,
0,
76,
0,
"UPSCALE_MODEL"
],
[
142,
76,
0,
13,
0,
"IMAGE"
],
[
144,
12,
0,
76,
1,
"IMAGE"
],
[
145,
76,
0,
78,
0,
"*"
],
[
146,
75,
0,
78,
1,
"*"
],
[
153,
85,
0,
6,
0,
"IMAGE"
],
[
154,
85,
0,
56,
0,
"IMAGE"
],
[
182,
101,
0,
76,
2,
"FLOAT"
],
[
247,
71,
0,
18,
0,
"CONDITIONING"
],
[
248,
72,
0,
18,
1,
"CONDITIONING"
],
[
271,
130,
0,
161,
0,
"IMAGE"
],
[
274,
130,
0,
85,
0,
"*"
],
[
278,
161,
1,
162,
2,
"MASK"
],
[
281,
130,
0,
167,
1,
"IMAGE"
],
[
284,
130,
0,
94,
1,
"IMAGE"
],
[
285,
96,
0,
94,
0,
"BBOX_DETECTOR"
],
[
286,
96,
1,
167,
0,
"SEGM_DETECTOR"
],
[
287,
94,
0,
162,
3,
"MASK"
],
[
308,
167,
0,
162,
4,
"MASK"
],
[
309,
188,
0,
189,
1,
"GROUNDING_DINO_MODEL"
],
[
310,
190,
0,
189,
0,
"SAM_MODEL"
],
[
312,
70,
0,
75,
0,
"MODEL"
],
[
314,
94,
0,
78,
2,
"*"
],
[
315,
167,
0,
78,
3,
"*"
],
[
316,
161,
1,
78,
4,
"*"
],
[
317,
189,
1,
78,
5,
"*"
],
[
319,
130,
0,
189,
2,
"IMAGE"
],
[
320,
189,
1,
162,
1,
"MASK"
],
[
323,
130,
1,
162,
0,
"MASK"
],
[
325,
70,
1,
71,
0,
"CLIP"
],
[
326,
70,
1,
72,
0,
"CLIP"
],
[
327,
162,
0,
192,
0,
"MASK"
],
[
328,
192,
0,
57,
0,
"MASK"
],
[
330,
193,
0,
2,
1,
"BOOLEAN"
]
],
"groups": [
{
"title": "Brains",
"bounding": [
-48,
92,
1987,
293
],
"color": "#3f789e",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"0246.VERSION": [
0,
0,
4
],
"ds": {
"scale": 0.5131581182307069,
"offset": [
1268.7927694,
515.1711582999997
]
},
"groupNodes": {}
},
"version": 0.4
}