diff --git a/__init__.py b/__init__.py index ebb910f..3564876 100644 --- a/__init__.py +++ b/__init__.py @@ -25,9 +25,12 @@ NODE_CLASS_MAPPINGS = { "abyz22_bypass":abyz22_bypass, "abyz22_smallhead":abyz22_smallhead, "abyz22_lamaPreprocessor":abyz22_lamaPreprocessor, + "abyz22_lamaInpaint":abyz22_lamaInpaint, "abyz22_makecircles":abyz22_makecircles, "abyz22_Topipe":abyz22_Topipe, "abyz22_Frompipe":abyz22_Frompipe, + "abyz22_Editpipe":abyz22_Editpipe, + "abyz22_Convertpipe":abyz22_Convertpipe, } # A dictionary that contains the friendly/humanly readable titles for the nodes @@ -48,7 +51,10 @@ NODE_DISPLAY_NAME_MAPPINGS = { "abyz22_bypass":"abyz22_bypass", "abyz22_smallhead":"abyz22_smallhead", "abyz22_lamaPreprocessor":"abyz22_lamaPreprocessor", + "abyz22_lamaInpaint":"abyz22_lamaInpaint", "abyz22_makecircles":"abyz22_makecircles", "abyz22_Topipe":"abyz22_Topipe", "abyz22_Frompipe":"abyz22_Frompipe", + "abyz22_Editpipe":"abyz22_Editpipe", + "abyz22_Convertpipe":"abyz22_Convertpipe", } diff --git a/annotator/lama/__init__.py b/annotator/lama/__init__.py index 2e00b69..0b6cc6f 100644 --- a/annotator/lama/__init__.py +++ b/annotator/lama/__init__.py @@ -65,9 +65,9 @@ class LamaInpainting: image_feed = torch.cat([color, mask], dim=2) image_feed = rearrange(image_feed, 'h w c -> 1 c h w') - print('before : ',image_feed.shape) + # print('before : ',image_feed.shape) result = self.model(image_feed)[0] - print('after : ', result.shape) + # print('after : ', result.shape) result = rearrange(result, 'c h w -> h w c') result = result * mask + color * (1 - mask) result *= 255.0 diff --git a/imgs/sample.json b/imgs/sample.json index 42eabc4..47f54a0 100644 --- a/imgs/sample.json +++ b/imgs/sample.json @@ -1,6 +1,6 @@ { - "last_node_id": 851, - "last_link_id": 1354, + "last_node_id": 904, + "last_link_id": 1547, "nodes": [ { "id": 3, @@ -55,7 +55,7 @@ "flags": { "collapsed": true }, - "order": 244, + "order": 257, "mode": 2, "inputs": [ { @@ -131,7 +131,7 @@ "1": 270 }, "flags": {}, - "order": 313, + "order": 328, "mode": 2, "inputs": [ { @@ -156,7 +156,7 @@ "1": 280 }, "flags": {}, - "order": 265, + "order": 274, "mode": 2, "inputs": [ { @@ -183,7 +183,7 @@ "1": 26 }, "flags": {}, - "order": 242, + "order": 255, "mode": 2, "inputs": [ { @@ -221,7 +221,7 @@ "1": 280 }, "flags": {}, - "order": 262, + "order": 271, "mode": 2, "inputs": [ { @@ -236,32 +236,6 @@ "color": "#232", "bgcolor": "#353" }, - { - "id": 17, - "type": "PreviewImage", - "pos": [ - 2550, - 2450 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 143, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 21, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 18, "type": "ImageListToImageBatch", @@ -276,7 +250,7 @@ "flags": { "collapsed": true }, - "order": 266, + "order": 275, "mode": 2, "inputs": [ { @@ -314,7 +288,7 @@ "1": 30 }, "flags": {}, - "order": 231, + "order": 243, "mode": 2, "inputs": [ { @@ -354,7 +328,7 @@ "flags": { "collapsed": false }, - "order": 263, + "order": 272, "mode": 2, "inputs": [ { @@ -392,7 +366,7 @@ "1": 100 }, "flags": {}, - "order": 175, + "order": 183, "mode": 2, "inputs": [ { @@ -475,13 +449,13 @@ "1": 200 }, "flags": {}, - "order": 145, + "order": 153, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 38 + "link": 1463 } ], "outputs": [ @@ -525,7 +499,7 @@ "1": 310 }, "flags": {}, - "order": 233, + "order": 241, "mode": 2, "inputs": [ { @@ -617,125 +591,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 43, - "type": "KSampler (Efficient)", - "pos": [ - 1959.482417285754, - 1188.9997427200396 - ], - "size": { - "0": 220, - "1": 350 - }, - "flags": {}, - "order": 211, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 155 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 44, - "slot_index": 1 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 45, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 46 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 47, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [ - 55 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 56 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 48, - 51, - 116 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 30, - 7, - "dpmpp_2m", - "karras", - 1, - "none", - "true" - ], - "color": "#332922", - "bgcolor": "#593930", - "shape": 2 - }, { "id": 44, "type": "PreviewImage", @@ -748,7 +603,7 @@ "1": 270 }, "flags": {}, - "order": 221, + "order": 229, "mode": 2, "inputs": [ { @@ -775,7 +630,7 @@ "flags": { "collapsed": true }, - "order": 268, + "order": 270, "mode": 2, "inputs": [ { @@ -812,7 +667,7 @@ "1": 270 }, "flags": {}, - "order": 304, + "order": 314, "mode": 2, "inputs": [ { @@ -839,7 +694,7 @@ "flags": { "collapsed": true }, - "order": 222, + "order": 230, "mode": 2, "inputs": [ { @@ -953,7 +808,7 @@ "flags": { "collapsed": false }, - "order": 315, + "order": 326, "mode": 2, "inputs": [ { @@ -978,7 +833,7 @@ "1": 30 }, "flags": {}, - "order": 245, + "order": 253, "mode": 2, "inputs": [ { @@ -1014,7 +869,7 @@ "1": 280 }, "flags": {}, - "order": 287, + "order": 295, "mode": 2, "inputs": [ { @@ -1039,7 +894,7 @@ "1": 26 }, "flags": {}, - "order": 267, + "order": 269, "mode": 2, "inputs": [ { @@ -1075,7 +930,7 @@ "1": 280 }, "flags": {}, - "order": 286, + "order": 294, "mode": 2, "inputs": [ { @@ -1088,32 +943,6 @@ "Node name for S&R": "PreviewImage" } }, - { - "id": 56, - "type": "PreviewImage", - "pos": [ - 2529.4824172857584, - 1258.9997427200396 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 147, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 64, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 59, "type": "ControlNetApply", @@ -1126,7 +955,7 @@ "1": 100 }, "flags": {}, - "order": 201, + "order": 211, "mode": 2, "inputs": [ { @@ -1177,13 +1006,13 @@ "flags": { "collapsed": false }, - "order": 148, + "order": 147, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 69 + "link": 1445 } ], "outputs": [ @@ -1251,7 +1080,7 @@ "1": 100 }, "flags": {}, - "order": 191, + "order": 199, "mode": 2, "inputs": [ { @@ -1288,56 +1117,6 @@ 1.25 ] }, - { - "id": 67, - "type": "DWPreprocessor", - "pos": [ - 1339.482417285755, - 998.9997427200401 - ], - "size": { - "0": 370, - "1": 200 - }, - "flags": {}, - "order": 149, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 74 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 73 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "DWPreprocessor" - }, - "widgets_values": [ - "disable", - "enable", - "disable", - 512, - "yolo_nas_s_fp16.onnx", - "dw-ll_ucoco_384_bs5.torchscript.pt" - ] - }, { "id": 77, "type": "ImpactSimpleDetectorSEGS", @@ -1350,7 +1129,7 @@ "1": 310 }, "flags": {}, - "order": 172, + "order": 187, "mode": 2, "inputs": [ { @@ -1403,45 +1182,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 78, - "type": "SAMLoader", - "pos": [ - 1289.5522760526515, - 3389.753084595001 - ], - "size": { - "0": 280, - "1": 82 - }, - "flags": { - "pinned": false, - "collapsed": false - }, - "order": 7, - "mode": 2, - "outputs": [ - { - "name": "SAM_MODEL", - "type": "SAM_MODEL", - "links": [ - 82, - 97 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "SAMLoader" - }, - "widgets_values": [ - "sam_vit_b_01ec64.pth", - "AUTO" - ], - "color": "#223", - "bgcolor": "#335" - }, { "id": 79, "type": "ImpactImageBatchToImageList", @@ -1456,13 +1196,13 @@ "flags": { "collapsed": true }, - "order": 139, + "order": 162, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 84 + "link": 1514 } ], "outputs": [ @@ -1498,7 +1238,7 @@ "collapsed": true, "pinned": false }, - "order": 8, + "order": 7, "mode": 2, "outputs": [ { @@ -1532,7 +1272,7 @@ "1": 30 }, "flags": {}, - "order": 188, + "order": 202, "mode": 2, "inputs": [ { @@ -1570,7 +1310,7 @@ "flags": { "pinned": false }, - "order": 9, + "order": 8, "mode": 2, "outputs": [ { @@ -1611,7 +1351,7 @@ "1": 46 }, "flags": {}, - "order": 199, + "order": 214, "mode": 2, "inputs": [ { @@ -1652,7 +1392,7 @@ "1": 30 }, "flags": {}, - "order": 189, + "order": 203, "mode": 2, "inputs": [ { @@ -1688,7 +1428,7 @@ "1": 26 }, "flags": {}, - "order": 208, + "order": 224, "mode": 2, "inputs": [ { @@ -1713,127 +1453,6 @@ "Node name for S&R": "MaskToImage" } }, - { - "id": 4, - "type": "KSampler (Efficient)", - "pos": [ - 1990, - 2380 - ], - "size": { - "0": 220, - "1": 350 - }, - "flags": {}, - "order": 200, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 4 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 5, - "slot_index": 1 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 6, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 7 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 8, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 136 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [ - 138 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 139 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 9, - 12, - 120 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 30, - 7, - "dpmpp_2m", - "karras", - 1, - "none", - "true" - ], - "color": "#332922", - "bgcolor": "#593930", - "shape": 2 - }, { "id": 29, "type": "PreviewImage", @@ -1846,7 +1465,7 @@ "1": 250 }, "flags": {}, - "order": 301, + "order": 317, "mode": 2, "inputs": [ { @@ -1871,7 +1490,7 @@ "1": 150 }, "flags": {}, - "order": 294, + "order": 308, "mode": 2, "inputs": [ { @@ -1924,7 +1543,7 @@ "flags": { "collapsed": false }, - "order": 10, + "order": 9, "mode": 2, "outputs": [ { @@ -1958,13 +1577,13 @@ "flags": { "collapsed": false }, - "order": 144, + "order": 152, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 26 + "link": 1461 } ], "outputs": [ @@ -1998,13 +1617,13 @@ "1": 50 }, "flags": {}, - "order": 174, + "order": 182, "mode": 2, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 145 + "link": 1466 }, { "name": "conditioning_from", @@ -2039,13 +1658,13 @@ "1": 50 }, "flags": {}, - "order": 176, + "order": 181, "mode": 2, "inputs": [ { "name": "conditioning_to", "type": "CONDITIONING", - "link": 157 + "link": 1447 }, { "name": "conditioning_from", @@ -2069,31 +1688,6 @@ "Node name for S&R": "ConditioningConcat" } }, - { - "id": 5, - "type": "PreviewImage", - "pos": [ - 2220, - 2450 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 209, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 9 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 26, "type": "MaskToImage", @@ -2108,7 +1702,7 @@ "flags": { "collapsed": false }, - "order": 243, + "order": 256, "mode": 2, "inputs": [ { @@ -2149,7 +1743,7 @@ "flags": { "collapsed": true }, - "order": 210, + "order": 221, "mode": 2, "inputs": [ { @@ -2188,7 +1782,7 @@ "1": 310 }, "flags": {}, - "order": 220, + "order": 232, "mode": 2, "inputs": [ { @@ -2254,7 +1848,7 @@ "1": 310 }, "flags": {}, - "order": 219, + "order": 231, "mode": 2, "inputs": [ { @@ -2322,7 +1916,7 @@ "flags": { "pinned": false }, - "order": 11, + "order": 10, "mode": 2, "outputs": [ { @@ -2363,7 +1957,7 @@ "1": 100 }, "flags": {}, - "order": 190, + "order": 200, "mode": 2, "inputs": [ { @@ -2412,7 +2006,7 @@ "1": 310 }, "flags": {}, - "order": 226, + "order": 233, "mode": 2, "inputs": [ { @@ -2466,152 +2060,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 129, - "type": "KSampler (Efficient)", - "pos": [ - 5317.434676070521, - 2383.827726146227 - ], - "size": { - "0": 220, - "1": 350 - }, - "flags": {}, - "order": 205, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 188 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 189, - "slot_index": 1 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 190, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 191 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 192, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 198 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [ - 200 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 201 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 193, - 196, - 230 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 30, - 7, - "dpmpp_2m", - "karras", - 1, - "none", - "true" - ], - "color": "#332922", - "bgcolor": "#593930", - "shape": 2 - }, - { - "id": 130, - "type": "PreviewImage", - "pos": [ - 5547.434676070521, - 2453.827726146227 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 214, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 193 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 131, "type": "MaskToImage", @@ -2626,7 +2074,7 @@ "flags": { "collapsed": true }, - "order": 254, + "order": 259, "mode": 2, "inputs": [ { @@ -2653,31 +2101,6 @@ "color": "#232", "bgcolor": "#353" }, - { - "id": 132, - "type": "PreviewImage", - "pos": [ - 6207.434676070521, - 2453.827726146227 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 299, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 195 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 134, "type": "UpscaleModelLoader", @@ -2693,7 +2116,7 @@ "collapsed": true, "pinned": false }, - "order": 12, + "order": 11, "mode": 2, "outputs": [ { @@ -2729,7 +2152,7 @@ "flags": { "collapsed": false }, - "order": 13, + "order": 12, "mode": 2, "outputs": [ { @@ -2752,31 +2175,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 137, - "type": "PreviewImage", - "pos": [ - 6537.434676070521, - 2453.827726146227 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 319, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 204 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 138, "type": "ImpactSEGSToMaskBatch", @@ -2789,7 +2187,7 @@ "1": 30 }, "flags": {}, - "order": 237, + "order": 245, "mode": 2, "inputs": [ { @@ -2854,7 +2252,7 @@ "1": 26 }, "flags": {}, - "order": 253, + "order": 258, "mode": 2, "inputs": [ { @@ -2907,55 +2305,6 @@ "color": "#232", "bgcolor": "#353" }, - { - "id": 145, - "type": "ControlNetApply", - "pos": [ - 5107.434676070521, - 2453.827726146227 - ], - "size": { - "0": 211.60000610351562, - "1": 100 - }, - "flags": {}, - "order": 196, - "mode": 2, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": 211 - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": 212 - }, - { - "name": "image", - "type": "IMAGE", - "link": 213 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 189 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ControlNetApply" - }, - "widgets_values": [ - 0.25 - ] - }, { "id": 146, "type": "TilePreprocessor", @@ -2970,13 +2319,13 @@ "flags": { "collapsed": false }, - "order": 165, + "order": 158, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 214 + "link": 1476 } ], "outputs": [ @@ -3012,7 +2361,7 @@ "flags": { "collapsed": false }, - "order": 14, + "order": 13, "mode": 2, "outputs": [ { @@ -3046,7 +2395,7 @@ "flags": { "collapsed": false }, - "order": 255, + "order": 260, "mode": 2, "inputs": [ { @@ -3085,7 +2434,7 @@ "1": 30 }, "flags": {}, - "order": 239, + "order": 247, "mode": 2, "inputs": [ { @@ -3163,7 +2512,7 @@ "1": 250 }, "flags": {}, - "order": 311, + "order": 321, "mode": 2, "inputs": [ { @@ -3188,7 +2537,7 @@ "1": 100 }, "flags": {}, - "order": 184, + "order": 185, "mode": 2, "inputs": [ { @@ -3239,7 +2588,7 @@ "flags": { "collapsed": false }, - "order": 15, + "order": 14, "mode": 2, "outputs": [ { @@ -3259,138 +2608,6 @@ "control_v11p_sd15_openpose.pth" ] }, - { - "id": 168, - "type": "ConditioningConcat", - "pos": [ - 4867.434676070521, - 2683.827726146227 - ], - "size": { - "0": 253.60000610351562, - "1": 50 - }, - "flags": {}, - "order": 183, - "mode": 2, - "inputs": [ - { - "name": "conditioning_to", - "type": "CONDITIONING", - "link": 234 - }, - { - "name": "conditioning_from", - "type": "CONDITIONING", - "link": 235 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 199 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ConditioningConcat" - } - }, - { - "id": 164, - "type": "CLIPTextEncode", - "pos": [ - 4667.434676070521, - 1913.8277261462272 - ], - "size": { - "0": 330, - "1": 100 - }, - "flags": {}, - "order": 162, - "mode": 2, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 228 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 223 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (pussy:1.4), (naked:1.4),(navel:1.4), (bare legs:1.4), (bare thigh:1.4), " - ] - }, - { - "id": 165, - "type": "abyz22_blendimages", - "pos": [ - 6267.434676070521, - 2273.827726146227 - ], - "size": { - "0": 210, - "1": 100 - }, - "flags": {}, - "order": 292, - "mode": 2, - "inputs": [ - { - "name": "imageA", - "type": "IMAGE", - "link": 229 - }, - { - "name": "imageB", - "type": "IMAGE", - "link": 230 - }, - { - "name": "mask", - "type": "IMAGE", - "link": 231 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 195, - 232 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "abyz22_blendimages" - }, - "widgets_values": [ - 1 - ], - "color": "#232", - "bgcolor": "#353" - }, { "id": 126, "type": "UltralyticsDetectorProvider", @@ -3405,7 +2622,7 @@ "flags": { "pinned": false }, - "order": 16, + "order": 15, "mode": 2, "outputs": [ { @@ -3434,134 +2651,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 123, - "type": "PreviewImage", - "pos": [ - 2306.288526291999, - 141.83248129858674 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 177, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 248 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 176, - "type": "PreviewImage", - "pos": [ - 1976.288526291999, - 141.83248129858674 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 151, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 257, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 122, - "type": "PreviewImage", - "pos": [ - 2636.288526291999, - 141.83248129858674 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 192, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 176 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 108, - "type": "abyz22_blendimages", - "pos": [ - 2930, - 2250 - ], - "size": { - "0": 210, - "1": 100 - }, - "flags": {}, - "order": 285, - "mode": 2, - "inputs": [ - { - "name": "imageA", - "type": "IMAGE", - "link": 119 - }, - { - "name": "imageB", - "type": "IMAGE", - "link": 120 - }, - { - "name": "mask", - "type": "IMAGE", - "link": 121 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 11, - 122 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "abyz22_blendimages" - }, - "widgets_values": [ - 1 - ], - "color": "#232", - "bgcolor": "#353" - }, { "id": 13, "type": "ImpactSEGSToMaskBatch", @@ -3574,7 +2663,7 @@ "1": 30 }, "flags": {}, - "order": 230, + "order": 242, "mode": 2, "inputs": [ { @@ -3612,7 +2701,7 @@ "1": 174 }, "flags": {}, - "order": 232, + "order": 244, "mode": 2, "inputs": [ { @@ -3662,7 +2751,7 @@ "1": 174 }, "flags": {}, - "order": 246, + "order": 254, "mode": 2, "inputs": [ { @@ -3712,7 +2801,7 @@ "flags": { "collapsed": true }, - "order": 288, + "order": 296, "mode": 2, "inputs": [ { @@ -3788,7 +2877,7 @@ "1": 174 }, "flags": {}, - "order": 238, + "order": 246, "mode": 2, "inputs": [ { @@ -3841,7 +2930,7 @@ "pinned": false, "collapsed": false }, - "order": 17, + "order": 16, "mode": 2, "outputs": [ { @@ -3864,46 +2953,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 184, - "type": "ImpactImageBatchToImageList", - "pos": [ - 1350, - 3800 - ], - "size": { - "0": 210, - "1": 26 - }, - "flags": { - "collapsed": false - }, - "order": 155, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 317 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 268 - ], - "shape": 6, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ImpactImageBatchToImageList" - }, - "color": "#223", - "bgcolor": "#335" - }, { "id": 185, "type": "MaskToImage", @@ -3918,7 +2967,7 @@ "flags": { "collapsed": false }, - "order": 203, + "order": 217, "mode": 2, "inputs": [ { @@ -3958,7 +3007,7 @@ "flags": { "collapsed": false }, - "order": 212, + "order": 227, "mode": 2, "inputs": [ { @@ -3996,7 +3045,7 @@ "1": 98 }, "flags": {}, - "order": 18, + "order": 17, "mode": 2, "outputs": [ { @@ -4048,7 +3097,7 @@ "flags": { "pinned": false }, - "order": 19, + "order": 18, "mode": 2, "outputs": [ { @@ -4088,7 +3137,7 @@ "1": 30 }, "flags": {}, - "order": 194, + "order": 207, "mode": 2, "inputs": [ { @@ -4128,7 +3177,7 @@ "flags": { "collapsed": false }, - "order": 250, + "order": 266, "mode": 2, "inputs": [ { @@ -4166,7 +3215,7 @@ "1": 350 }, "flags": {}, - "order": 296, + "order": 311, "mode": 2, "inputs": [ { @@ -4194,7 +3243,7 @@ 26 ], "flags": {}, - "order": 235, + "order": 251, "mode": 2, "inputs": [ { @@ -4238,7 +3287,7 @@ 26 ], "flags": {}, - "order": 64, + "order": 66, "mode": 2, "inputs": [ { @@ -4275,7 +3324,7 @@ 26 ], "flags": {}, - "order": 65, + "order": 67, "mode": 2, "inputs": [ { @@ -4315,7 +3364,7 @@ 26 ], "flags": {}, - "order": 63, + "order": 65, "mode": 2, "inputs": [ { @@ -4353,7 +3402,7 @@ "1": 250 }, "flags": {}, - "order": 264, + "order": 273, "mode": 2, "inputs": [ { @@ -4380,7 +3429,7 @@ "flags": { "collapsed": true }, - "order": 215, + "order": 223, "mode": 2, "inputs": [ { @@ -4421,7 +3470,7 @@ "flags": { "pinned": false }, - "order": 20, + "order": 19, "mode": 2, "outputs": [ { @@ -4462,7 +3511,7 @@ "1": 310 }, "flags": {}, - "order": 227, + "order": 234, "mode": 2, "inputs": [ { @@ -4530,7 +3579,7 @@ "pinned": false, "collapsed": false }, - "order": 21, + "order": 20, "mode": 2, "outputs": [ { @@ -4566,7 +3615,7 @@ "1": 150 }, "flags": {}, - "order": 300, + "order": 310, "mode": 2, "inputs": [ { @@ -4605,255 +3654,6 @@ "color": "#232", "bgcolor": "#353" }, - { - "id": 142, - "type": "PreviewImage", - "pos": [ - 5877.434676070521, - 2453.827726146227 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 164, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 209, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 121, - "type": "KSampler (Efficient)", - "pos": [ - 1656.288526291999, - 151.83248129858674 - ], - "size": { - "0": 290, - "1": 350 - }, - "flags": {}, - "order": 178, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 386 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 249 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 388 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 247 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 385 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 176 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 20, - 7, - "euler", - "normal", - 1, - "none", - "true" - ], - "color": "#223322", - "bgcolor": "#335533", - "shape": 1 - }, - { - "id": 102, - "type": "Reroute", - "pos": [ - 1190, - 3350 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 86, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1030, - "label": "clip", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 108 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 88, - "type": "Reroute", - "pos": [ - 1190, - 3380 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 87, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1031, - "label": "VAE", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 88 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 86, - "type": "Reroute", - "pos": [ - 1190, - 3420 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 90, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1034, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 84, - 105, - 109 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 96, "type": "Reroute", @@ -4866,13 +3666,13 @@ 26 ], "flags": {}, - "order": 88, + "order": 121, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1032, + "link": 1490, "label": "Positive", "slot_index": 0 } @@ -4891,45 +3691,6 @@ "horizontal": false } }, - { - "id": 115, - "type": "CLIPTextEncode", - "pos": [ - 1220, - 2670 - ], - "size": { - "0": 290, - "1": 120 - }, - "flags": {}, - "order": 142, - "mode": 2, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 143 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 144 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "(navel:1.4), (lowrise pants:1.1), (wide pelvis:1.3)," - ] - }, { "id": 11, "type": "Float", @@ -4944,7 +3705,7 @@ "flags": { "collapsed": false }, - "order": 22, + "order": 21, "mode": 2, "outputs": [ { @@ -4967,81 +3728,6 @@ "color": "#2a363b", "bgcolor": "#3f5159" }, - { - "id": 39, - "type": "CLIPTextEncode", - "pos": [ - 1340, - 1910 - ], - "size": { - "0": 330, - "1": 100 - }, - "flags": {}, - "order": 141, - "mode": 2, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 39 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 35 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (pussy:1.4), (naked:1.4),(navel:1.4), (bare legs:1.4), (bare thigh:1.4), " - ] - }, - { - "id": 37, - "type": "Reroute", - "pos": [ - 1180, - 2430 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 93, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1039, - "label": "VAE" - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 8 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 31, "type": "Reroute", @@ -5054,13 +3740,13 @@ 26 ], "flags": {}, - "order": 97, + "order": 110, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1043, + "link": 1454, "label": "latent_image" } ], @@ -5069,229 +3755,7 @@ "name": "", "type": "LATENT", "links": [ - 7 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 113, - "type": "Reroute", - "pos": [ - 1180, - 2550 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 94, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1041, - "label": "positive", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 145 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 35, - "type": "Reroute", - "pos": [ - 1180, - 2350 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 91, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1037, - "label": "model" - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 4 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 169, - "type": "CLIPTextEncode", - "pos": [ - 4558.75207919552, - 2677.269693411852 - ], - "size": { - "0": 290, - "1": 120 - }, - "flags": {}, - "order": 163, - "mode": 2, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 236 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 235 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "(navel:1.4), (lowrise pants:1.1), (wide pelvis:1.3)," - ] - }, - { - "id": 162, - "type": "Reroute", - "pos": [ - 4624.333181606249, - 2450 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 127, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1090, - "label": "VAE" - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 192 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 167, - "type": "Reroute", - "pos": [ - 4624.333181606249, - 2570 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 128, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1092, - "label": "positive", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 234 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 160, - "type": "Reroute", - "pos": [ - 4624.333181606249, - 2370 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 125, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1088, - "label": "model" - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 188 + 1460 ] } ], @@ -5312,13 +3776,13 @@ 26 ], "flags": {}, - "order": 98, + "order": 97, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1046, + "link": 1436, "label": "model" } ], @@ -5336,205 +3800,6 @@ "horizontal": false } }, - { - "id": 71, - "type": "Reroute", - "pos": [ - 1197.0138109914992, - 1491.7524520052687 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 102, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1050, - "label": "negative" - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 45 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 120, - "type": "abyz22_Padding Image", - "pos": [ - 1286.288526291999, - 151.83248129858674 - ], - "size": { - "0": 317.4000244140625, - "1": 286 - }, - "flags": {}, - "order": 150, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 251, - "slot_index": 0 - }, - { - "name": "conditioning", - "type": "CONDITIONING", - "link": 253 - }, - { - "name": "vae", - "type": "VAE", - "link": 255, - "slot_index": 2 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 248 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "pose_image", - "type": "IMAGE", - "links": null, - "shape": 3 - }, - { - "name": "conditioning", - "type": "CONDITIONING", - "links": [ - 249 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "latent", - "type": "LATENT", - "links": [ - 247 - ], - "shape": 3, - "slot_index": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Padding Image" - }, - "widgets_values": [ - "control_v11p_sd15_openpose.pth", - 1.75, - "noise", - "Random", - 0.3, - 1.8, - 3731842397, - "fixed" - ] - }, - { - "id": 104, - "type": "abyz22_ImpactWildcardEncode_GetPrompt", - "pos": [ - 1487.0138109914992, - 611.5051680697219 - ], - "size": { - "0": 370, - "1": 214 - }, - "flags": {}, - "order": 146, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 111 - }, - { - "name": "clip", - "type": "CLIP", - "link": 112 - }, - { - "name": "wildcard_text", - "type": "STRING", - "link": 154, - "widget": { - "name": "wildcard_text" - } - } - ], - "outputs": [ - { - "name": "model", - "type": "MODEL", - "links": [ - 155, - 156 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "clip", - "type": "CLIP", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "conditioning", - "type": "CONDITIONING", - "links": [ - 158 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "populated_text", - "type": "STRING", - "links": [], - "shape": 3, - "slot_index": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_ImpactWildcardEncode_GetPrompt" - }, - "widgets_values": [ - "", - true, - "Select the LoRA to add to the text", - "Select the Wildcard to add to the text", - 3731842397, - "fixed" - ] - }, { "id": 119, "type": "Note", @@ -5547,7 +3812,7 @@ "1": 58 }, "flags": {}, - "order": 23, + "order": 22, "mode": 2, "properties": { "text": "" @@ -5570,7 +3835,7 @@ "1": 100 }, "flags": {}, - "order": 24, + "order": 23, "mode": 2, "properties": { "text": "" @@ -5593,7 +3858,7 @@ "1": 130 }, "flags": {}, - "order": 25, + "order": 24, "mode": 2, "properties": { "text": "" @@ -5616,7 +3881,7 @@ "1": 120 }, "flags": {}, - "order": 26, + "order": 25, "mode": 2, "properties": { "text": "" @@ -5627,58 +3892,6 @@ "color": "#232", "bgcolor": "#353" }, - { - "id": 193, - "type": "ControlNetApply", - "pos": [ - 2570, - 4250 - ], - "size": { - "0": 211.60000610351562, - "1": 100 - }, - "flags": {}, - "order": 270, - "mode": 2, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": 1071 - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": 287, - "slot_index": 1 - }, - { - "name": "image", - "type": "IMAGE", - "link": 288 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 290 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ControlNetApply" - }, - "widgets_values": [ - 1 - ], - "color": "#323", - "bgcolor": "#535" - }, { "id": 197, "type": "VAEEncodeForInpaint", @@ -5691,7 +3904,7 @@ "1": 100 }, "flags": {}, - "order": 271, + "order": 289, "mode": 2, "inputs": [ { @@ -5744,7 +3957,7 @@ "1": 58 }, "flags": {}, - "order": 27, + "order": 26, "mode": 2, "outputs": [ { @@ -5778,7 +3991,7 @@ "1": 50 }, "flags": {}, - "order": 249, + "order": 265, "mode": 2, "inputs": [ { @@ -5824,7 +4037,7 @@ 26 ], "flags": {}, - "order": 234, + "order": 250, "mode": 2, "inputs": [ { @@ -5862,7 +4075,7 @@ "1": 350 }, "flags": {}, - "order": 290, + "order": 304, "mode": 2, "inputs": [ { @@ -5949,7 +4162,7 @@ "Node name for S&R": "KSampler (Efficient)" }, "widgets_values": [ - 3731842395, + 3731842409, null, 30, 7, @@ -5977,13 +4190,13 @@ "flags": { "collapsed": false }, - "order": 248, + "order": 264, "mode": 2, "inputs": [ { "name": "positive", "type": "CONDITIONING", - "link": 325, + "link": 1519, "slot_index": 0 }, { @@ -6056,7 +4269,7 @@ "1": 350 }, "flags": {}, - "order": 289, + "order": 303, "mode": 2, "inputs": [ { @@ -6072,32 +4285,6 @@ "color": "#322", "bgcolor": "#533" }, - { - "id": 180, - "type": "PreviewImage", - "pos": [ - 3370, - 3840 - ], - "size": { - "0": 440, - "1": 360 - }, - "flags": {}, - "order": 156, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 336 - } - ], - "title": "Original Image", - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 204, "type": "PreviewImage", @@ -6110,7 +4297,7 @@ "1": 360 }, "flags": {}, - "order": 247, + "order": 263, "mode": 2, "inputs": [ { @@ -6136,7 +4323,7 @@ "1": 350 }, "flags": {}, - "order": 272, + "order": 290, "mode": 2, "inputs": [ { @@ -6163,7 +4350,7 @@ "1": 310 }, "flags": {}, - "order": 259, + "order": 281, "mode": 2, "inputs": [ { @@ -6189,7 +4376,7 @@ "1": 310 }, "flags": {}, - "order": 283, + "order": 299, "mode": 2, "inputs": [ { @@ -6215,7 +4402,7 @@ "1": 310 }, "flags": {}, - "order": 140, + "order": 161, "mode": 2, "inputs": [ { @@ -6243,7 +4430,7 @@ "flags": { "collapsed": false }, - "order": 28, + "order": 27, "mode": 2, "outputs": [ { @@ -6278,13 +4465,13 @@ 26 ], "flags": {}, - "order": 85, + "order": 118, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1029, + "link": 1486, "label": "model" } ], @@ -6314,7 +4501,7 @@ "1": 100 }, "flags": {}, - "order": 138, + "order": 160, "mode": 2, "inputs": [ { @@ -6353,7 +4540,7 @@ "1": 50 }, "flags": {}, - "order": 171, + "order": 186, "mode": 2, "inputs": [ { @@ -6394,7 +4581,7 @@ "1": 60 }, "flags": {}, - "order": 29, + "order": 28, "mode": 2, "properties": { "text": "" @@ -6420,7 +4607,7 @@ "pinned": false, "collapsed": false }, - "order": 30, + "order": 29, "mode": 2, "outputs": [ { @@ -6457,7 +4644,7 @@ "flags": { "collapsed": true }, - "order": 275, + "order": 293, "mode": 2, "inputs": [ { @@ -6497,7 +4684,7 @@ "flags": { "collapsed": true }, - "order": 225, + "order": 240, "mode": 2, "inputs": [ { @@ -6523,48 +4710,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 466, - "type": "TilePreprocessor", - "pos": [ - 1550, - 5346.46874671875 - ], - "size": { - "0": 210, - "1": 82 - }, - "flags": { - "collapsed": false - }, - "order": 160, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 743 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 742 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "TilePreprocessor" - }, - "widgets_values": [ - 3, - 512 - ] - }, { "id": 467, "type": "ControlNetLoader", @@ -6579,7 +4724,7 @@ "flags": { "collapsed": false }, - "order": 31, + "order": 30, "mode": 2, "outputs": [ { @@ -6599,46 +4744,6 @@ "control_v11f1e_sd15_tile.pth" ] }, - { - "id": 473, - "type": "Reroute", - "pos": [ - 1280, - 5266.46874671875 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 123, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1081, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 738, - 743, - 754, - 760 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 476, "type": "ControlNetLoader", @@ -6653,7 +4758,7 @@ "flags": { "collapsed": false }, - "order": 32, + "order": 31, "mode": 2, "outputs": [ { @@ -6685,13 +4790,13 @@ 26 ], "flags": {}, - "order": 118, + "order": 134, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1083, + "link": 1524, "label": "model" } ], @@ -6700,7 +4805,7 @@ "name": "", "type": "MODEL", "links": [ - 717 + 1533 ] } ], @@ -6721,13 +4826,13 @@ 26 ], "flags": {}, - "order": 119, + "order": 135, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1084, + "link": 1525, "label": "clip", "slot_index": 0 } @@ -6747,42 +4852,6 @@ "horizontal": false } }, - { - "id": 480, - "type": "Reroute", - "pos": [ - 1280, - 5226.46874671875 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 120, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1085, - "label": "VAE" - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 721 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 481, "type": "Reroute", @@ -6795,13 +4864,13 @@ 26 ], "flags": {}, - "order": 122, + "order": 138, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1086, + "link": 1528, "label": "negative", "slot_index": 0 } @@ -6832,7 +4901,7 @@ "1": 30 }, "flags": {}, - "order": 251, + "order": 267, "mode": 2, "inputs": [ { @@ -6870,7 +4939,7 @@ "1": 70 }, "flags": {}, - "order": 33, + "order": 32, "mode": 2, "properties": { "text": "" @@ -6896,7 +4965,7 @@ "collapsed": true, "pinned": false }, - "order": 34, + "order": 33, "mode": 2, "outputs": [ { @@ -6932,7 +5001,7 @@ "flags": { "collapsed": false }, - "order": 35, + "order": 34, "mode": 2, "outputs": [ { @@ -6967,7 +5036,7 @@ "1": 90 }, "flags": {}, - "order": 36, + "order": 35, "mode": 2, "properties": { "text": "" @@ -6990,7 +5059,7 @@ "1": 26 }, "flags": {}, - "order": 274, + "order": 292, "mode": 2, "inputs": [ { @@ -7026,7 +5095,7 @@ "1": 80 }, "flags": {}, - "order": 37, + "order": 36, "mode": 2, "properties": { "text": "" @@ -7049,7 +5118,7 @@ "1": 174 }, "flags": {}, - "order": 252, + "order": 268, "mode": 2, "inputs": [ { @@ -7101,7 +5170,7 @@ "flags": { "collapsed": true }, - "order": 291, + "order": 305, "mode": 2, "inputs": [ { @@ -7140,7 +5209,7 @@ "1": 100 }, "flags": {}, - "order": 195, + "order": 208, "mode": 2, "inputs": [ { @@ -7189,7 +5258,7 @@ "1": 270 }, "flags": {}, - "order": 307, + "order": 323, "mode": 2, "inputs": [ { @@ -7217,7 +5286,7 @@ "1": 270 }, "flags": {}, - "order": 159, + "order": 173, "mode": 2, "inputs": [ { @@ -7244,7 +5313,7 @@ "1": 270 }, "flags": {}, - "order": 317, + "order": 332, "mode": 2, "inputs": [ { @@ -7272,13 +5341,13 @@ 26 ], "flags": {}, - "order": 121, + "order": 137, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1087, + "link": 1527, "label": "positive", "slot_index": 0 } @@ -7311,7 +5380,7 @@ "1": 270 }, "flags": {}, - "order": 224, + "order": 239, "mode": 2, "inputs": [ { @@ -7339,7 +5408,7 @@ "1": 50 }, "flags": {}, - "order": 182, + "order": 195, "mode": 2, "inputs": [ { @@ -7380,7 +5449,7 @@ "1": 100 }, "flags": {}, - "order": 204, + "order": 218, "mode": 2, "inputs": [ { @@ -7417,58 +5486,20 @@ 0.25 ] }, - { - "id": 562, - "type": "Reroute", - "pos": [ - 1258.7223905416922, - -136.7460908479433 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 114, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1060, - "label": "Image" - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 883, - 884 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 572, "type": "PreviewImage", "pos": [ - 2279.8636495761352, - -312.92994718345795 + 2296.8632833651964, + -317.65993375572367 ], "size": { "0": 310, "1": 250 }, "flags": {}, - "order": 152, - "mode": 2, + "order": 142, + "mode": 0, "inputs": [ { "name": "images", @@ -7481,107 +5512,20 @@ "Node name for S&R": "PreviewImage" } }, - { - "id": 558, - "type": "ControlNetLoader", - "pos": [ - 1119.863649576137, - -342.92994718345795 - ], - "size": { - "0": 315, - "1": 58 - }, - "flags": {}, - "order": 38, - "mode": 2, - "outputs": [ - { - "name": "CONTROL_NET", - "type": "CONTROL_NET", - "links": [ - 857 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ControlNetLoader" - }, - "widgets_values": [ - "control_v11p_sd15_inpaint.pth" - ], - "color": "#323", - "bgcolor": "#535" - }, - { - "id": 557, - "type": "ControlNetApply", - "pos": [ - 1509.863649576137, - -352.92994718345795 - ], - "size": { - "0": 317.4000244140625, - "1": 98 - }, - "flags": {}, - "order": 179, - "mode": 2, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": 873, - "slot_index": 0 - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": 857, - "slot_index": 1 - }, - { - "name": "image", - "type": "IMAGE", - "link": 886 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 859 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ControlNetApply" - }, - "widgets_values": [ - 1 - ], - "color": "#323", - "bgcolor": "#535" - }, { "id": 561, "type": "PreviewImage", "pos": [ - 2589.8636495761352, - -312.92994718345795 + 2606.8632833651964, + -317.65993375572367 ], "size": { "0": 470, "1": 340 }, "flags": {}, - "order": 202, - "mode": 2, + "order": 210, + "mode": 0, "inputs": [ { "name": "images", @@ -7594,180 +5538,6 @@ "Node name for S&R": "PreviewImage" } }, - { - "id": 574, - "type": "abyz22_lamaPreprocessor", - "pos": [ - 1349.863649576137, - -202.9299471834582 - ], - "size": { - "0": 393, - "1": 246 - }, - "flags": {}, - "order": 153, - "mode": 2, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": 884 - }, - { - "name": "vae", - "type": "VAE", - "link": 885 - } - ], - "outputs": [ - { - "name": "LaMa Preprocessed Image", - "type": "IMAGE", - "links": [ - 886 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "LaMa Preprocessed Latent", - "type": "LATENT", - "links": [ - 887 - ], - "shape": 3, - "slot_index": 1 - } - ], - "properties": { - "Node name for S&R": "abyz22_lamaPreprocessor" - }, - "widgets_values": [ - 256, - 0.22, - 0.8, - 256, - 0.5, - 0.5, - 3731842397, - "fixed" - ], - "color": "#323", - "bgcolor": "#535" - }, - { - "id": 559, - "type": "KSampler (Efficient)", - "pos": [ - 1929.863649576137, - -302.92994718345795 - ], - "size": { - "0": 330, - "1": 350 - }, - "flags": {}, - "order": 193, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 875, - "slot_index": 0 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 859 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 876, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 887 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 877, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 861 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 20, - 7.5, - "dpmpp_2m", - "karras", - 1, - "none", - "true" - ], - "color": "#323", - "bgcolor": "#535", - "shape": 1 - }, { "id": 446, "type": "UltralyticsDetectorProvider", @@ -7782,7 +5552,7 @@ "flags": { "pinned": false }, - "order": 39, + "order": 37, "mode": 2, "outputs": [ { @@ -7825,7 +5595,7 @@ "1": 76.0001449584961 }, "flags": {}, - "order": 158, + "order": 172, "mode": 2, "inputs": [ { @@ -7864,7 +5634,7 @@ "1": 310 }, "flags": {}, - "order": 236, + "order": 252, "mode": 2, "inputs": [ { @@ -7932,7 +5702,7 @@ "flags": { "collapsed": false }, - "order": 40, + "order": 38, "mode": 2, "outputs": [ { @@ -7964,7 +5734,7 @@ "1": 80 }, "flags": {}, - "order": 41, + "order": 39, "mode": 0, "title": "ControlNet Download", "properties": { @@ -7988,7 +5758,7 @@ "1": 80 }, "flags": {}, - "order": 42, + "order": 40, "mode": 0, "properties": { "text": "" @@ -8011,7 +5781,7 @@ "1": 70 }, "flags": {}, - "order": 43, + "order": 41, "mode": 2, "properties": { "text": "" @@ -8036,7 +5806,7 @@ "flags": { "pinned": false }, - "order": 44, + "order": 42, "mode": 2, "outputs": [ { @@ -8077,7 +5847,7 @@ "1": 120 }, "flags": {}, - "order": 45, + "order": 43, "mode": 2, "properties": { "text": "" @@ -8100,7 +5870,7 @@ "1": 90 }, "flags": {}, - "order": 46, + "order": 44, "mode": 2, "properties": { "text": "" @@ -8123,7 +5893,7 @@ "1": 250 }, "flags": {}, - "order": 273, + "order": 291, "mode": 2, "inputs": [ { @@ -8136,51 +5906,6 @@ "Node name for S&R": "PreviewImage" } }, - { - "id": 76, - "type": "UltralyticsDetectorProvider", - "pos": [ - 1280, - 3260 - ], - "size": { - "0": 280, - "1": 80 - }, - "flags": { - "pinned": false - }, - "order": 47, - "mode": 2, - "outputs": [ - { - "name": "BBOX_DETECTOR", - "type": "BBOX_DETECTOR", - "links": [ - 80 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "SEGM_DETECTOR", - "type": "SEGM_DETECTOR", - "links": [ - 83 - ], - "shape": 3, - "slot_index": 1 - } - ], - "properties": { - "Node name for S&R": "UltralyticsDetectorProvider" - }, - "widgets_values": [ - "segm/person_yolov8m-seg.pt" - ], - "color": "#223", - "bgcolor": "#335" - }, { "id": 84, "type": "ImageListToImageBatch", @@ -8195,7 +5920,7 @@ "flags": { "collapsed": true }, - "order": 217, + "order": 235, "mode": 2, "inputs": [ { @@ -8231,7 +5956,7 @@ "1": 310 }, "flags": {}, - "order": 173, + "order": 188, "mode": 2, "inputs": [ { @@ -8296,7 +6021,7 @@ "1": 250 }, "flags": {}, - "order": 218, + "order": 236, "mode": 2, "inputs": [ { @@ -8309,31 +6034,6 @@ "Node name for S&R": "PreviewImage" } }, - { - "id": 7, - "type": "PreviewImage", - "pos": [ - 2880, - 2450 - ], - "size": { - "0": 330, - "1": 270 - }, - "flags": {}, - "order": 293, - "mode": 2, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 11 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 593, "type": "UltralyticsDetectorProvider", @@ -8348,8 +6048,8 @@ "flags": { "pinned": false }, - "order": 48, - "mode": 0, + "order": 45, + "mode": 2, "outputs": [ { "name": "BBOX_DETECTOR", @@ -8391,8 +6091,8 @@ "1": 310 }, "flags": {}, - "order": 169, - "mode": 0, + "order": 191, + "mode": 2, "inputs": [ { "name": "bbox_detector", @@ -8459,8 +6159,8 @@ "pinned": false, "collapsed": false }, - "order": 49, - "mode": 0, + "order": 46, + "mode": 2, "outputs": [ { "name": "SAM_MODEL", @@ -8483,47 +6183,6 @@ "color": "#223", "bgcolor": "#335" }, - { - "id": 596, - "type": "ImpactImageBatchToImageList", - "pos": [ - 4766.200585937502, - 3532.4001953125 - ], - "size": { - "0": 210, - "1": 26 - }, - "flags": { - "collapsed": true - }, - "order": 134, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 897 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 894, - 913 - ], - "shape": 6, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ImpactImageBatchToImageList" - }, - "color": "#223", - "bgcolor": "#335" - }, { "id": 597, "type": "UpscaleModelLoader", @@ -8539,8 +6198,8 @@ "collapsed": true, "pinned": false }, - "order": 50, - "mode": 0, + "order": 47, + "mode": 2, "outputs": [ { "name": "UPSCALE_MODEL", @@ -8575,8 +6234,8 @@ "flags": { "collapsed": false }, - "order": 51, - "mode": 0, + "order": 48, + "mode": 2, "outputs": [ { "name": "FLOAT", @@ -8610,8 +6269,8 @@ "1": 30 }, "flags": {}, - "order": 186, - "mode": 0, + "order": 205, + "mode": 2, "inputs": [ { "name": "segs", @@ -8646,8 +6305,8 @@ "1": 46 }, "flags": {}, - "order": 198, - "mode": 0, + "order": 216, + "mode": 2, "inputs": [ { "name": "masks_a", @@ -8687,8 +6346,8 @@ "1": 30 }, "flags": {}, - "order": 187, - "mode": 0, + "order": 206, + "mode": 2, "inputs": [ { "name": "segs", @@ -8723,8 +6382,8 @@ "1": 26 }, "flags": {}, - "order": 207, - "mode": 0, + "order": 226, + "mode": 2, "inputs": [ { "name": "mask", @@ -8761,8 +6420,8 @@ "flags": { "pinned": false }, - "order": 52, - "mode": 0, + "order": 49, + "mode": 2, "outputs": [ { "name": "BBOX_DETECTOR", @@ -8802,8 +6461,8 @@ "1": 90 }, "flags": {}, - "order": 53, - "mode": 0, + "order": 50, + "mode": 2, "properties": { "text": "" }, @@ -8827,8 +6486,8 @@ "flags": { "collapsed": false }, - "order": 54, - "mode": 0, + "order": 51, + "mode": 2, "outputs": [ { "name": "CONTROL_NET", @@ -8859,8 +6518,8 @@ "1": 100 }, "flags": {}, - "order": 185, - "mode": 0, + "order": 204, + "mode": 2, "inputs": [ { "name": "conditioning", @@ -8910,8 +6569,8 @@ "flags": { "collapsed": false }, - "order": 55, - "mode": 0, + "order": 52, + "mode": 2, "outputs": [ { "name": "CONTROL_NET", @@ -8930,56 +6589,6 @@ "control_v11p_sd15_openpose.pth" ] }, - { - "id": 652, - "type": "DWPreprocessor", - "pos": [ - 3726.1979003906245, - 3152.4001953125 - ], - "size": { - "0": 370, - "1": 200 - }, - "flags": {}, - "order": 136, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 962 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 961 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "DWPreprocessor" - }, - "widgets_values": [ - "disable", - "enable", - "disable", - 512, - "yolox_l.onnx", - "dw-ll_ucoco_384_bs5.torchscript.pt" - ] - }, { "id": 613, "type": "Reroute", @@ -8992,13 +6601,13 @@ 26 ], "flags": {}, - "order": 81, - "mode": 0, + "order": 127, + "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1020, + "link": 1497, "label": "Positive", "slot_index": 0 } @@ -9019,45 +6628,6 @@ "horizontal": false } }, - { - "id": 653, - "type": "CLIPTextEncode", - "pos": [ - 3766.1979003906245, - 2892.4001953125 - ], - "size": { - "0": 330, - "1": 100 - }, - "flags": {}, - "order": 133, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 963 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 965 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (tits:1.2), (naked:1.4)" - ] - }, { "id": 655, "type": "ConditioningConcat", @@ -9070,8 +6640,8 @@ "1": 50 }, "flags": {}, - "order": 168, - "mode": 0, + "order": 190, + "mode": 2, "inputs": [ { "name": "conditioning_to", @@ -9111,7 +6681,7 @@ "1": 106 }, "flags": {}, - "order": 229, + "order": 248, "mode": 2, "inputs": [ { @@ -9140,292 +6710,6 @@ 24 ] }, - { - "id": 648, - "type": "TilePreprocessor", - "pos": [ - 3896.1979003906245, - 3522.4001953125 - ], - "size": { - "0": 210, - "1": 82 - }, - "flags": { - "collapsed": false - }, - "order": 137, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 969, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 958 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "TilePreprocessor" - }, - "widgets_values": [ - 3, - 512 - ] - }, - { - "id": 449, - "type": "KSampler (Efficient)", - "pos": [ - 2000, - 5166.46874671875 - ], - "size": { - "0": 220, - "1": 350 - }, - "flags": {}, - "order": 213, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 717 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 856, - "slot_index": 1 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 719, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 720 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 721, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 727 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [ - 729 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 730 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 722, - 725, - 761 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 30, - 6.5, - "dpmpp_2m", - "karras", - 1, - "none", - "true" - ], - "color": "#332922", - "bgcolor": "#593930", - "shape": 2 - }, - { - "id": 474, - "type": "Reroute", - "pos": [ - 1280, - 5306.46874671875 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 124, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1082, - "label": "latent_image" - } - ], - "outputs": [ - { - "name": "", - "type": "LATENT", - "links": [ - 720 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 657, - "type": "Reroute", - "pos": [ - 3736.2005859374995, - 3612.4001953125 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 84, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1023, - "label": "latent_image" - } - ], - "outputs": [ - { - "name": "", - "type": "LATENT", - "links": [ - 973 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 647, - "type": "ControlNetApply", - "pos": [ - 4166.197900390627, - 3412.4001953125 - ], - "size": { - "0": 211.60000610351562, - "1": 100 - }, - "flags": {}, - "order": 197, - "mode": 0, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": 956 - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": 957 - }, - { - "name": "image", - "type": "IMAGE", - "link": 958 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 953 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "ControlNetApply" - }, - "widgets_values": [ - 0.25 - ] - }, { "id": 605, "type": "Reroute", @@ -9438,13 +6722,13 @@ 26 ], "flags": {}, - "order": 80, - "mode": 0, + "order": 126, + "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1019, + "link": 1495, "label": "VAE", "slot_index": 0 } @@ -9465,121 +6749,6 @@ "horizontal": false } }, - { - "id": 645, - "type": "KSampler (Efficient)", - "pos": [ - 4436.197900390627, - 3322.4001953125 - ], - "size": { - "0": 220, - "1": 350 - }, - "flags": {}, - "order": 206, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 970, - "slot_index": 0 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 953, - "slot_index": 1 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 967, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 973, - "slot_index": 3 - }, - { - "name": "optional_vae", - "type": "VAE", - "link": 983, - "slot_index": 4 - }, - { - "name": "script", - "type": "SCRIPT", - "link": null - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CONDITIONING+", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "CONDITIONING-", - "type": "CONDITIONING", - "links": [], - "shape": 3, - "slot_index": 2 - }, - { - "name": "LATENT", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 988 - ], - "shape": 3, - "slot_index": 5 - } - ], - "properties": { - "Node name for S&R": "KSampler (Efficient)" - }, - "widgets_values": [ - 3731842397, - null, - 30, - 7, - "dpmpp_2m", - "karras", - 1, - "none", - "true (tiled)" - ], - "color": "#332922", - "bgcolor": "#593930", - "shape": 2 - }, { "id": 482, "type": "CLIPTextEncode", @@ -9592,7 +6761,7 @@ "1": 100 }, "flags": {}, - "order": 157, + "order": 171, "mode": 2, "inputs": [ { @@ -9619,48 +6788,6 @@ "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (tits:1.2), (naked:1.4)" ] }, - { - "id": 603, - "type": "Reroute", - "pos": [ - 3736.2005859374995, - 3482.4001953125 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 83, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1022, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 897, - 923, - 962, - 969, - 987 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 601, "type": "ImageListToImageBatch", @@ -9675,8 +6802,8 @@ "flags": { "collapsed": false }, - "order": 216, - "mode": 0, + "order": 237, + "mode": 2, "inputs": [ { "name": "images", @@ -9711,8 +6838,8 @@ "1": 310 }, "flags": {}, - "order": 281, - "mode": 0, + "order": 301, + "mode": 2, "inputs": [ { "name": "images", @@ -9737,8 +6864,8 @@ "1": 310 }, "flags": {}, - "order": 256, - "mode": 0, + "order": 284, + "mode": 2, "inputs": [ { "name": "images", @@ -9764,8 +6891,8 @@ "1": 50 }, "flags": {}, - "order": 167, - "mode": 0, + "order": 189, + "mode": 2, "inputs": [ { "name": "conditioning_to", @@ -9805,8 +6932,8 @@ "1": 310 }, "flags": {}, - "order": 170, - "mode": 0, + "order": 192, + "mode": 2, "inputs": [ { "name": "bbox_detector", @@ -9870,8 +6997,8 @@ "1": 106 }, "flags": {}, - "order": 228, - "mode": 0, + "order": 249, + "mode": 2, "inputs": [ { "name": "image(mask)", @@ -9906,12 +7033,12 @@ 40, 2830 ], - "size": { - "0": 330, - "1": 560 - }, + "size": [ + 330, + 560 + ], "flags": {}, - "order": 66, + "order": 68, "mode": 0, "inputs": [ { @@ -9997,7 +7124,7 @@ "Node name for S&R": "KSampler (Efficient)" }, "widgets_values": [ - 3731842397, + 3731842410, null, 20, 7, @@ -10023,7 +7150,7 @@ "1": 462 }, "flags": {}, - "order": 56, + "order": 53, "mode": 0, "inputs": [ { @@ -10138,13 +7265,13 @@ 26 ], "flags": {}, - "order": 78, - "mode": 0, + "order": 124, + "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1017, + "link": 1493, "label": "model" } ], @@ -10154,216 +7281,7 @@ "type": "MODEL", "links": [ 899, - 970 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 619, - "type": "Reroute", - "pos": [ - 3736.2005859374995, - 3412.4001953125 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 79, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1018, - "label": "clip", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 926, - 963 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 606, - "type": "Reroute", - "pos": [ - 3736.2005859374995, - 3572.4001953125 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 82, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1021, - "label": "negative", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 901, - 967 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 672, - "type": "abyz22_Frompipe", - "pos": [ - 3506.2005859374995, - 3422.4001953125 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 69, - "mode": 0, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1016 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1017 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1018 - ], - "shape": 3 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1019 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1020 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1021 - ], - "shape": 3 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1022 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [ - 1023 - ], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, - { - "id": 89, - "type": "Reroute", - "pos": [ - 1190, - 3510 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 89, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1033, - "label": "negative", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 87 + 1511 ] } ], @@ -10384,7 +7302,7 @@ "1": 90 }, "flags": {}, - "order": 57, + "order": 54, "mode": 2, "properties": { "text": "" @@ -10395,100 +7313,6 @@ "color": "#ffffff", "bgcolor": "#ffffff" }, - { - "id": 673, - "type": "abyz22_Frompipe", - "pos": [ - 1060, - 3110 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 70, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1035, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1029 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1030 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1031 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1032 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1033 - ], - "shape": 3 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1034 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 36, "type": "Reroute", @@ -10501,13 +7325,13 @@ 26 ], "flags": {}, - "order": 92, + "order": 105, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1038, + "link": 1451, "label": "clip", "slot_index": 0 } @@ -10517,8 +7341,8 @@ "name": "", "type": "CLIP", "links": [ - 39, - 143 + 1464, + 1467 ], "slot_index": 0 } @@ -10528,46 +7352,6 @@ "horizontal": false } }, - { - "id": 30, - "type": "Reroute", - "pos": [ - 1180, - 2470 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 96, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1040, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 21, - 26, - 38, - 119 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 38, "type": "Reroute", @@ -10580,13 +7364,13 @@ 26 ], "flags": {}, - "order": 95, + "order": 108, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1042, + "link": 1456, "label": "negative", "slot_index": 0 } @@ -10605,85 +7389,6 @@ "horizontal": false } }, - { - "id": 671, - "type": "abyz22_Topipe", - "pos": [ - 640, - 2490 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 68, - "mode": 0, - "inputs": [ - { - "name": "MODEL", - "type": "MODEL", - "link": 1001 - }, - { - "name": "CLIP", - "type": "CLIP", - "link": 1004 - }, - { - "name": "VAE", - "type": "VAE", - "link": 1005 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "link": 1002 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "link": 1003 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "link": 1006 - }, - { - "name": "latent_Image", - "type": "LATENT", - "link": 1024 - }, - { - "name": "latent", - "type": "LATENT", - "link": 1008 - } - ], - "outputs": [ - { - "name": "pipe", - "type": "PIPE", - "links": [ - 1016, - 1035, - 1044, - 1045, - 1053, - 1064, - 1067, - 1073, - 1095 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "abyz22_Topipe" - } - }, { "id": 69, "type": "Reroute", @@ -10696,13 +7401,13 @@ 26 ], "flags": {}, - "order": 99, + "order": 98, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1047, + "link": 1437, "label": "clip", "slot_index": 0 } @@ -10712,159 +7417,7 @@ "name": "", "type": "CLIP", "links": [ - 112 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 70, - "type": "Reroute", - "pos": [ - 1197.0138109914992, - 1271.7524520052687 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 100, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1048, - "label": "VAE", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 47 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 116, - "type": "Reroute", - "pos": [ - 1207.0138109914992, - 1401.7524520052687 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 101, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1049, - "label": "positive", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 157 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 63, - "type": "Reroute", - "pos": [ - 1197.0138109914992, - 1311.7524520052687 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 103, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1051, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 64, - 69, - 74, - 115 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 64, - "type": "Reroute", - "pos": [ - 1197.0138109914992, - 1351.7524520052687 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 104, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1052, - "label": "latent_image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "LATENT", - "links": [ - 46 + 1448 ] } ], @@ -10885,7 +7438,7 @@ "1": 100 }, "flags": {}, - "order": 58, + "order": 55, "mode": 2, "outputs": [ { @@ -10905,142 +7458,6 @@ "(large breast:1.4), (huge breast:1.3)," ] }, - { - "id": 675, - "type": "abyz22_Frompipe", - "pos": [ - 1080, - 810 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 72, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1045, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1046 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1047 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1048 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1049 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1050 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1051 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [ - 1052 - ], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, - { - "id": 172, - "type": "Reroute", - "pos": [ - 1240, - 360 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 109, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1055, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 251, - 257 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 173, "type": "Reroute", @@ -11053,13 +7470,13 @@ 26 ], "flags": {}, - "order": 107, + "order": 94, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1056, + "link": 1434, "label": "positive", "slot_index": 0 } @@ -11069,45 +7486,7 @@ "name": "", "type": "CONDITIONING", "links": [ - 253 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 229, - "type": "Reroute", - "pos": [ - 1250, - 430 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 108, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1057, - "label": "negative", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 388 + 1540 ], "slot_index": 0 } @@ -11129,13 +7508,13 @@ 26 ], "flags": {}, - "order": 106, + "order": 93, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1058, + "link": 1432, "label": "VAE", "slot_index": 0 } @@ -11145,8 +7524,7 @@ "name": "", "type": "VAE", "links": [ - 255, - 385 + 1539 ], "slot_index": 0 } @@ -11156,156 +7534,25 @@ "horizontal": false } }, - { - "id": 228, - "type": "Reroute", - "pos": [ - 1250, - 320 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 105, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1054, - "label": "model", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 386 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 676, - "type": "abyz22_Frompipe", - "pos": [ - 1070, - 150 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 73, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1053, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1054 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1058 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1056 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1057 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1055 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 566, "type": "Reroute", "pos": [ - 1268.7223905416922, - -66.74609084794317 + 1356.9996337890611, + -54.72998657226563 ], "size": [ 75, 26 ], "flags": {}, - "order": 113, - "mode": 2, + "order": 90, + "mode": 0, "inputs": [ { "name": "", "type": "*", - "link": 1062, + "link": 1426, "label": "negative", "slot_index": 0 } @@ -11324,101 +7571,25 @@ "horizontal": false } }, - { - "id": 564, - "type": "Reroute", - "pos": [ - 1268.7223905416922, - -26.746090847943222 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 111, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1063, - "label": "VAE", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 877, - 885 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 563, - "type": "Reroute", - "pos": [ - 1258.7223905416922, - -106.74609084794317 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 112, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1061, - "label": "positive" - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 873 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 565, "type": "Reroute", "pos": [ - 1268.7223905416922, - -176.7460908479433 + 1356.9996337890611, + -164.7299865722656 ], "size": [ 75, 26 ], "flags": {}, - "order": 110, - "mode": 2, + "order": 87, + "mode": 0, "inputs": [ { "name": "", "type": "*", - "link": 1059, + "link": 1423, "label": "model", "slot_index": 0 } @@ -11428,7 +7599,7 @@ "name": "", "type": "MODEL", "links": [ - 875 + 1544 ] } ], @@ -11437,99 +7608,6 @@ "horizontal": false } }, - { - "id": 677, - "type": "abyz22_Frompipe", - "pos": [ - 1058.7223905416922, - -236.7460908479433 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 74, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1064, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1059 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1063 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1061 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1062 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1060 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 183, "type": "ImpactSimpleDetectorSEGS", @@ -11542,7 +7620,7 @@ "1": 310 }, "flags": {}, - "order": 180, + "order": 193, "mode": 2, "inputs": [ { @@ -11606,13 +7684,13 @@ 26 ], "flags": {}, - "order": 116, + "order": 132, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1069, + "link": 1518, "label": "Negative" } ], @@ -11644,7 +7722,7 @@ "1": 350 }, "flags": {}, - "order": 269, + "order": 287, "mode": 2, "inputs": [ { @@ -11730,7 +7808,7 @@ "Node name for S&R": "KSampler (Efficient)" }, "widgets_values": [ - 3731842395, + 3731842409, null, 30, 7, @@ -11756,13 +7834,13 @@ 26 ], "flags": {}, - "order": 117, + "order": 133, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1068, + "link": 1516, "label": "Image", "slot_index": 0 } @@ -11772,85 +7850,9 @@ "name": "", "type": "IMAGE", "links": [ - 317, 318, - 336 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 213, - "type": "Reroute", - "pos": [ - 1740, - 4330 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 154, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1072, - "label": "Positive" - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 325, - 1071 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 679, - "type": "Reroute", - "pos": [ - 1420, - 4520 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 115, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1070, - "label": "Positive", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - 1072 + 1521, + 1522 ], "slot_index": 0 } @@ -11872,7 +7874,7 @@ "1": 90 }, "flags": {}, - "order": 67, + "order": 70, "mode": 2, "inputs": [ { @@ -11910,7 +7912,7 @@ "1": 90 }, "flags": {}, - "order": 59, + "order": 56, "mode": 2, "properties": { "text": "" @@ -11921,95 +7923,6 @@ "color": "#ffffff", "bgcolor": "#ffffff" }, - { - "id": 678, - "type": "abyz22_Frompipe", - "pos": [ - 1060, - 4390 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 75, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1067, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1070 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1069 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1068 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 477, "type": "DWPreprocessor", @@ -12022,7 +7935,7 @@ "1": 200 }, "flags": {}, - "order": 161, + "order": 174, "mode": 2, "inputs": [ { @@ -12060,103 +7973,6 @@ "dw-ll_ucoco_384_bs5.torchscript.pt" ] }, - { - "id": 680, - "type": "abyz22_Frompipe", - "pos": [ - 1060, - 4906.46874671875 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 76, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1073, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1083 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1084 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1085 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1087 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1086 - ], - "shape": 3, - "slot_index": 4 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1081 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [ - 1082 - ], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 585, "type": "Note", @@ -12169,7 +7985,7 @@ "1": 90 }, "flags": {}, - "order": 60, + "order": 57, "mode": 2, "properties": { "text": "" @@ -12192,7 +8008,7 @@ "1": 50 }, "flags": {}, - "order": 181, + "order": 194, "mode": 2, "inputs": [ { @@ -12222,142 +8038,6 @@ "Node name for S&R": "ConditioningConcat" } }, - { - "id": 674, - "type": "abyz22_Frompipe", - "pos": [ - 1090, - 2110 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 71, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1044, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1037 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1038 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1039 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1041 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1042 - ], - "shape": 3 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1040 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [ - 1043 - ], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, - { - "id": 155, - "type": "Reroute", - "pos": [ - 4624.333181606249, - 2490 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 130, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1091, - "label": "Image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "IMAGE", - "links": [ - 209, - 214, - 226, - 229 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, { "id": 163, "type": "Reroute", @@ -12370,13 +8050,13 @@ 26 ], "flags": {}, - "order": 129, + "order": 115, "mode": 2, "inputs": [ { "name": "", "type": "*", - "link": 1093, + "link": 1501, "label": "negative", "slot_index": 0 } @@ -12386,7 +8066,7 @@ "name": "", "type": "CONDITIONING", "links": [ - 190 + 1482 ] } ], @@ -12395,227 +8075,6 @@ "horizontal": false } }, - { - "id": 156, - "type": "Reroute", - "pos": [ - 4624.333181606249, - 2530 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 131, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1094, - "label": "latent_image", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "LATENT", - "links": [ - 191 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 159, - "type": "DWPreprocessor", - "pos": [ - 4724.333181606249, - 2190 - ], - "size": { - "0": 370, - "1": 200 - }, - "flags": {}, - "order": 166, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 226 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 225 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "DWPreprocessor" - }, - "widgets_values": [ - "disable", - "enable", - "disable", - 512, - "yolox_l.onnx", - "dw-ll_ucoco_384_bs5.torchscript.pt" - ] - }, - { - "id": 161, - "type": "Reroute", - "pos": [ - 4634.333181606249, - 2410 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 126, - "mode": 2, - "inputs": [ - { - "name": "", - "type": "*", - "link": 1089, - "label": "clip", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 228, - 236 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 681, - "type": "abyz22_Frompipe", - "pos": [ - 4484.333181606249, - 2150 - ], - "size": { - "0": 216.59999084472656, - "1": 166 - }, - "flags": {}, - "order": 77, - "mode": 2, - "inputs": [ - { - "name": "pipe", - "type": "PIPE", - "link": 1095, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 1088 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1089 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 1090 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "Positive", - "type": "CONDITIONING", - "links": [ - 1092 - ], - "shape": 3, - "slot_index": 3 - }, - { - "name": "Negative", - "type": "CONDITIONING", - "links": [ - 1093 - ], - "shape": 3 - }, - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 1091 - ], - "shape": 3, - "slot_index": 5 - }, - { - "name": "latent Image", - "type": "LATENT", - "links": [ - 1094 - ], - "shape": 3, - "slot_index": 6 - }, - { - "name": "latent", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "abyz22_Frompipe" - } - }, { "id": 616, "type": "PreviewImage", @@ -12628,8 +8087,8 @@ "1": 310 }, "flags": {}, - "order": 135, - "mode": 0, + "order": 165, + "mode": 2, "inputs": [ { "name": "images", @@ -12654,7 +8113,7 @@ "1": 198 }, "flags": {}, - "order": 223, + "order": 238, "mode": 2, "inputs": [ { @@ -12712,8 +8171,8 @@ "1": 100 }, "flags": {}, - "order": 132, - "mode": 0, + "order": 163, + "mode": 2, "inputs": [ { "name": "clip", @@ -12751,7 +8210,7 @@ "1": 280 }, "flags": {}, - "order": 298, + "order": 313, "mode": 2, "inputs": [ { @@ -12780,7 +8239,7 @@ "flags": { "pinned": false }, - "order": 308, + "order": 324, "mode": 2, "inputs": [ { @@ -12843,7 +8302,7 @@ }, "widgets_values": [ 2, - 1057746658545678, + 3731842410, "randomize", 10, 7, @@ -12878,7 +8337,7 @@ "1": 100 }, "flags": {}, - "order": 297, + "order": 312, "mode": 2, "inputs": [ { @@ -12931,7 +8390,7 @@ "1": 86 }, "flags": {}, - "order": 309, + "order": 325, "mode": 2, "inputs": [ { @@ -12989,7 +8448,7 @@ "1": 180 }, "flags": {}, - "order": 318, + "order": 333, "mode": 2, "inputs": [ { @@ -13047,7 +8506,7 @@ "1": 86 }, "flags": {}, - "order": 306, + "order": 316, "mode": 2, "inputs": [ { @@ -13106,7 +8565,7 @@ "flags": { "pinned": false }, - "order": 305, + "order": 315, "mode": 2, "inputs": [ { @@ -13169,7 +8628,7 @@ }, "widgets_values": [ 2, - 3731842397, + 3731842410, "fixed", 10, 7, @@ -13204,7 +8663,7 @@ "1": 100 }, "flags": {}, - "order": 295, + "order": 306, "mode": 2, "inputs": [ { @@ -13255,7 +8714,7 @@ "1": 180 }, "flags": {}, - "order": 316, + "order": 327, "mode": 2, "inputs": [ { @@ -13313,7 +8772,7 @@ "1": 180 }, "flags": {}, - "order": 314, + "order": 329, "mode": 2, "inputs": [ { @@ -13373,7 +8832,7 @@ "flags": { "pinned": false }, - "order": 302, + "order": 318, "mode": 2, "inputs": [ { @@ -13436,7 +8895,7 @@ }, "widgets_values": [ 2, - 3731842397, + 3731842410, "fixed", 10, 7, @@ -13471,7 +8930,7 @@ "1": 86 }, "flags": {}, - "order": 303, + "order": 319, "mode": 2, "inputs": [ { @@ -13518,11 +8977,459 @@ } }, { - "id": 135, + "id": 845, + "type": "ImpactImageInfo", + "pos": [ + 7290, + 1750 + ], + "size": { + "0": 210, + "1": 86 + }, + "flags": {}, + "order": 322, + "mode": 2, + "inputs": [ + { + "name": "value", + "type": "IMAGE", + "link": 1331, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "batch", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": [ + 1328 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "width", + "type": "INT", + "links": [ + 1329 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "channel", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImpactImageInfo" + } + }, + { + "id": 844, + "type": "Image Resize", + "pos": [ + 7550, + 1890 + ], + "size": { + "0": 210, + "1": 180 + }, + "flags": {}, + "order": 331, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1330 + }, + { + "name": "resize_height", + "type": "INT", + "link": 1328, + "widget": { + "name": "resize_height" + } + }, + { + "name": "resize_width", + "type": "INT", + "link": 1329, + "widget": { + "name": "resize_width" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Resize" + }, + "widgets_values": [ + "resize", + "true", + "lanczos", + 0.5, + 1024, + 1536 + ] + }, + { + "id": 847, + "type": "ImpactImageInfo", + "pos": [ + 2990, + 2910 + ], + "size": { + "0": 210, + "1": 86 + }, + "flags": {}, + "order": 283, + "mode": 2, + "inputs": [ + { + "name": "value", + "type": "IMAGE", + "link": 1335 + } + ], + "outputs": [ + { + "name": "batch", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": [ + 1332 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "width", + "type": "INT", + "links": [ + 1333 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "channel", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImpactImageInfo" + } + }, + { + "id": 846, + "type": "Image Resize", + "pos": [ + 3270, + 3030 + ], + "size": { + "0": 210, + "1": 180 + }, + "flags": {}, + "order": 300, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "resize_height", + "type": "INT", + "link": 1332, + "widget": { + "name": "resize_height" + } + }, + { + "name": "resize_width", + "type": "INT", + "link": 1333, + "widget": { + "name": "resize_width" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Resize" + }, + "widgets_values": [ + "resize", + "true", + "lanczos", + 0.5, + 1024, + 1536 + ] + }, + { + "id": 103, + "type": "abyz22_blend_onecolor", + "pos": [ + 2410, + 3120 + ], + "size": { + "0": 315, + "1": 150 + }, + "flags": {}, + "order": 261, + "mode": 2, + "inputs": [ + { + "name": "imageA", + "type": "IMAGE", + "link": 109 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 891 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 104, + 1334, + 1335 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "abyz22_blend_onecolor" + }, + "widgets_values": [ + 0.79, + 222, + 85, + 76 + ] + }, + { + "id": 848, + "type": "Image Resize", + "pos": [ + 6686.200585937502, + 3002.4001953125 + ], + "size": { + "0": 210, + "1": 180 + }, + "flags": {}, + "order": 302, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "resize_height", + "type": "INT", + "link": 1336, + "widget": { + "name": "resize_height" + } + }, + { + "name": "resize_width", + "type": "INT", + "link": 1337, + "widget": { + "name": "resize_width" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Resize" + }, + "widgets_values": [ + "resize", + "true", + "lanczos", + 0.5, + 1024, + 1536 + ] + }, + { + "id": 849, + "type": "ImpactImageInfo", + "pos": [ + 6436.200585937502, + 2902.4001953125 + ], + "size": { + "0": 210, + "1": 86 + }, + "flags": {}, + "order": 286, + "mode": 2, + "inputs": [ + { + "name": "value", + "type": "IMAGE", + "link": 1339, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "batch", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": [ + 1336 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "width", + "type": "INT", + "links": [ + 1337 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "channel", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImpactImageInfo" + } + }, + { + "id": 666, + "type": "abyz22_blendimages", + "pos": [ + 6076.200585937502, + 3182.4001953125 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 262, + "mode": 2, + "inputs": [ + { + "name": "imageA", + "type": "IMAGE", + "link": 987 + }, + { + "name": "imageB", + "type": "IMAGE", + "link": 988, + "slot_index": 1 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 991 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 994, + 1338, + 1339 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "abyz22_blendimages" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 598, "type": "UltimateSDUpscale", "pos": [ - 7267.434676070521, - 1913.8277261462272 + 6436.200585937502, + 3052.4001953125 ], "size": { "0": 240, @@ -13531,7 +9438,3577 @@ "flags": { "pinned": false }, - "order": 310, + "order": 285, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1338 + }, + { + "name": "model", + "type": "MODEL", + "link": 899, + "slot_index": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 999, + "slot_index": 2 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 901, + "slot_index": 3 + }, + { + "name": "vae", + "type": "VAE", + "link": 902, + "slot_index": 4 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 903 + }, + { + "name": "upscale_by", + "type": "FLOAT", + "link": 904, + "widget": { + "name": "upscale_by" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 921 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UltimateSDUpscale" + }, + "widgets_values": [ + 2, + 3731842409, + "fixed", + 10, + 7, + "dpmpp_2m", + "karras", + 0.55, + "Linear", + 1280, + 1920, + 36, + 32, + "None", + 1, + 64, + 8, + 16, + false, + false + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 40, + "type": "UltralyticsDetectorProvider", + "pos": [ + 1979.482417285754, + 878.9997427200404 + ], + "size": { + "0": 280, + "1": 80 + }, + "flags": { + "pinned": false + }, + "order": 58, + "mode": 2, + "outputs": [ + { + "name": "BBOX_DETECTOR", + "type": "BBOX_DETECTOR", + "links": [ + 40 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "SEGM_DETECTOR", + "type": "SEGM_DETECTOR", + "links": null, + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "UltralyticsDetectorProvider" + }, + "widgets_values": [ + "segm/breasts_seg.pt" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 81, + "type": "UltimateSDUpscale", + "pos": [ + 3020, + 3080 + ], + "size": { + "0": 240, + "1": 610 + }, + "flags": { + "pinned": false + }, + "order": 282, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1334 + }, + { + "name": "model", + "type": "MODEL", + "link": 167, + "slot_index": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 86, + "slot_index": 2 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 87, + "slot_index": 3 + }, + { + "name": "vae", + "type": "VAE", + "link": 88, + "slot_index": 4 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 89 + }, + { + "name": "upscale_by", + "type": "FLOAT", + "link": 90, + "widget": { + "name": "upscale_by" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 103 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UltimateSDUpscale" + }, + "widgets_values": [ + 2, + 3731842410, + "fixed", + 10, + 7, + "dpmpp_2m", + "karras", + 0.6, + "Linear", + 1280, + 1920, + 36, + 32, + "None", + 1, + 64, + 8, + 16, + false, + false + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 170, + "type": "PreviewImage", + "pos": [ + 6400, + 1910 + ], + "size": { + "0": 210, + "1": 250 + }, + "flags": {}, + "order": 280, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 237 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 872, + "type": "Reroute", + "pos": [ + 1389.5995605468734, + -515.3605444335923 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 86, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1421, + "label": "negative", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1377 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 870, + "type": "Reroute", + "pos": [ + 1389.5995605468734, + -475.3605444335924 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 84, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1422, + "label": "VAE", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 1379, + 1392 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 869, + "type": "Reroute", + "pos": [ + 1379.5995605468734, + -555.3605444335923 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 85, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1420, + "label": "positive" + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1372 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 868, + "type": "Reroute", + "pos": [ + 1379.5995605468734, + -585.3605444335923 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 69, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1416, + "label": "Image" + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 1386, + 1415 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 877, + "type": "LoadImage", + "pos": [ + 1069.5995605468734, + -795.3605444335923 + ], + "size": { + "0": 210, + "1": 160 + }, + "flags": {}, + "order": 59, + "mode": 2, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1416 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 1396 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "clipspace/clipspace-mask-518711.59999999404.png [input]", + "image" + ] + }, + { + "id": 866, + "type": "KSampler (Efficient)", + "pos": [ + 1889.5995605468734, + -765.3605444335923 + ], + "size": { + "0": 330, + "1": 350 + }, + "flags": {}, + "order": 196, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1375, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 1411 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1377, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1413 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 1379, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1409 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842409, + null, + 20, + 7.5, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 873, + "type": "PreviewImage", + "pos": [ + 2249.5995605468734, + -708.9807861328114 + ], + "size": { + "0": 150, + "1": 250 + }, + "flags": {}, + "order": 72, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1386 + } + ], + "title": "Orignal", + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 892, + "type": "PreviewImage", + "pos": [ + 2399.5995605468734, + -708.9807861328114 + ], + "size": { + "0": 150, + "1": 250 + }, + "flags": { + "collapsed": false + }, + "order": 177, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1414 + } + ], + "title": "Only LaMa", + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 888, + "type": "PreviewImage", + "pos": [ + 2549.5995605468734, + -708.9807861328114 + ], + "size": { + "0": 150, + "1": 250 + }, + "flags": {}, + "order": 209, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1409 + } + ], + "title": "LaMa+inpaint", + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 558, + "type": "ControlNetLoader", + "pos": [ + 1156.9996337890611, + -304.7299865722657 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 60, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 857 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11p_sd15_inpaint.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 876, + "type": "abyz22_lamaInpaint", + "pos": [ + 1560, + -510 + ], + "size": { + "0": 300, + "1": 90 + }, + "flags": {}, + "order": 141, + "mode": 2, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 1415 + }, + { + "name": "vae", + "type": "VAE", + "link": 1392 + }, + { + "name": "mask", + "type": "MASK", + "link": 1396 + }, + { + "name": "mask_(img)", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "LaMa Preprocessed Image", + "type": "IMAGE", + "links": [ + 1393 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "LaMa Preprocessed Latent", + "type": "LATENT", + "links": [ + 1413 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "LaMa Image", + "type": "IMAGE", + "links": [ + 1414 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "abyz22_lamaInpaint" + } + }, + { + "id": 864, + "type": "ControlNetApply", + "pos": [ + 1540, + -660 + ], + "size": { + "0": 317.4000244140625, + "1": 98 + }, + "flags": {}, + "order": 176, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 1372, + "slot_index": 0 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 1373, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": 1393 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1411 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 865, + "type": "ControlNetLoader", + "pos": [ + 1360, + -770 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 61, + "mode": 2, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 1373 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11p_sd15_inpaint.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 871, + "type": "Reroute", + "pos": [ + 1389.5995605468734, + -625.3605444335923 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 83, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1419, + "label": "model", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 1375 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 894, + "type": "abyz22_Frompipe", + "pos": [ + 1070, + -600 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 73, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1418 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1419 + ], + "shape": 3 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1422 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1420 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1421 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": null, + "shape": 3 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 562, + "type": "Reroute", + "pos": [ + 1346.9996337890611, + -124.7299865722656 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 91, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1424, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 883, + 884 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 563, + "type": "Reroute", + "pos": [ + 1346.9996337890611, + -94.7299865722656 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 89, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1425, + "label": "positive", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 873 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 564, + "type": "Reroute", + "pos": [ + 1356.9996337890611, + -14.729986572265624 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 88, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1427, + "label": "VAE", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 885, + 1546 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 896, + "type": "abyz22_Frompipe", + "pos": [ + 1070, + -160 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1428, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1423 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1427 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1425 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1426 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1424 + ], + "shape": 3 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": null, + "shape": 3 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 172, + "type": "Reroute", + "pos": [ + 1240, + 360 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 96, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1431, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 1537, + 1547 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 229, + "type": "Reroute", + "pos": [ + 1250, + 430 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 95, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1433, + "label": "negative", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1541 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 897, + "type": "abyz22_Frompipe", + "pos": [ + 1060, + 140 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 75, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1429, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1430 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1432 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1434 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1433 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1431 + ], + "shape": 3 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": null, + "shape": 3 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 71, + "type": "Reroute", + "pos": [ + 1197.0138109914992, + 1491.7524520052687 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 101, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1440, + "label": "negative", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 45 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 43, + "type": "KSampler (Efficient)", + "pos": [ + 1959.482417285754, + 1188.9997427200396 + ], + "size": { + "0": 220, + "1": 350 + }, + "flags": {}, + "order": 219, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 155 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 44, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 45, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1444 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 1441, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [ + 55 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 48, + 51, + 116 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 30, + 7, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 2 + }, + { + "id": 70, + "type": "Reroute", + "pos": [ + 1197.0138109914992, + 1271.7524520052687 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 99, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1442, + "label": "VAE", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 1441 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 64, + "type": "Reroute", + "pos": [ + 1200, + 1350 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 103, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1443, + "label": "latent_image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + 1444 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 63, + "type": "Reroute", + "pos": [ + 1197.0138109914992, + 1311.7524520052687 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 102, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1438, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 115, + 1445, + 1446, + 1457 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 116, + "type": "Reroute", + "pos": [ + 1207.0138109914992, + 1401.7524520052687 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 100, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1439, + "label": "positive", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1447 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 104, + "type": "abyz22_ImpactWildcardEncode_GetPrompt", + "pos": [ + 1487.0138109914992, + 611.5051680697219 + ], + "size": { + "0": 370, + "1": 214 + }, + "flags": {}, + "order": 146, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 111 + }, + { + "name": "clip", + "type": "CLIP", + "link": 1448, + "slot_index": 1 + }, + { + "name": "wildcard_text", + "type": "STRING", + "link": 154, + "widget": { + "name": "wildcard_text" + } + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 155, + 156 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "clip", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": [ + 158 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "populated_text", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_ImpactWildcardEncode_GetPrompt" + }, + "widgets_values": [ + "", + true, + "Select the LoRA to add to the text", + "Select the Wildcard to add to the text", + 3731842410, + "fixed" + ] + }, + { + "id": 898, + "type": "abyz22_Frompipe", + "pos": [ + 1090, + 800 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 76, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1435, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1436 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1437 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1442 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1439 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1440 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1438 + ], + "shape": 3 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [ + 1443 + ], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 2529.4824172857584, + 1258.9997427200396 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 149, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1457, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 35, + "type": "Reroute", + "pos": [ + 1180, + 2350 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 104, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1450, + "label": "model" + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 1459 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 4, + "type": "KSampler (Efficient)", + "pos": [ + 1990, + 2380 + ], + "size": { + "0": 220, + "1": 350 + }, + "flags": {}, + "order": 212, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1459 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 5, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 6, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1460, + "slot_index": 3 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 1465, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 136 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [ + 138 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 139 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9, + 12, + 120 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 30, + 7, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 2 + }, + { + "id": 30, + "type": "Reroute", + "pos": [ + 1180, + 2470 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 109, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1453, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 1461, + 1463, + 1468, + 1469 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 39, + "type": "CLIPTextEncode", + "pos": [ + 1340, + 1910 + ], + "size": { + "0": 330, + "1": 100 + }, + "flags": {}, + "order": 150, + "mode": 2, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1464, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 35 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (pussy:1.4), (naked:1.4),(navel:1.4), (bare legs:1.4), (bare thigh:1.4), " + ] + }, + { + "id": 37, + "type": "Reroute", + "pos": [ + 1180, + 2430 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 106, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1452, + "label": "VAE" + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 1465 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 113, + "type": "Reroute", + "pos": [ + 1180, + 2550 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 107, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1455, + "label": "positive", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1466 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 115, + "type": "CLIPTextEncode", + "pos": [ + 1220, + 2670 + ], + "size": { + "0": 290, + "1": 120 + }, + "flags": {}, + "order": 151, + "mode": 2, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1467, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 144 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(navel:1.4), (lowrise pants:1.1), (wide pelvis:1.3)," + ] + }, + { + "id": 7, + "type": "PreviewImage", + "pos": [ + 2880, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 307, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 11 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 17, + "type": "PreviewImage", + "pos": [ + 2550, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 154, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1468, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 108, + "type": "abyz22_blendimages", + "pos": [ + 2930, + 2250 + ], + "size": { + "0": 210, + "1": 100 + }, + "flags": {}, + "order": 297, + "mode": 2, + "inputs": [ + { + "name": "imageA", + "type": "IMAGE", + "link": 1469, + "slot_index": 0 + }, + { + "name": "imageB", + "type": "IMAGE", + "link": 120 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 121 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 11, + 122 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "abyz22_blendimages" + }, + "widgets_values": [ + 1 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 5, + "type": "PreviewImage", + "pos": [ + 2220, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 220, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 9 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 159, + "type": "DWPreprocessor", + "pos": [ + 4730, + 2190 + ], + "size": { + "0": 370, + "1": 200 + }, + "flags": {}, + "order": 157, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 226 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 225 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DWPreprocessor" + }, + "widgets_values": [ + "disable", + "enable", + "disable", + 512, + "yolox_l.onnx", + "dw-ll_ucoco_384_bs5.torchscript.pt" + ] + }, + { + "id": 137, + "type": "PreviewImage", + "pos": [ + 6540, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 330, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 204 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 132, + "type": "PreviewImage", + "pos": [ + 6210, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 309, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 195 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 142, + "type": "PreviewImage", + "pos": [ + 5880, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 159, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1477, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 161, + "type": "Reroute", + "pos": [ + 4634.333181606249, + 2410 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 112, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1472, + "label": "clip", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + 1480, + 1483 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 162, + "type": "Reroute", + "pos": [ + 4624.333181606249, + 2450 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 113, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1474, + "label": "VAE", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 1481 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 129, + "type": "KSampler (Efficient)", + "pos": [ + 5317.434676070521, + 2383.827726146227 + ], + "size": { + "0": 220, + "1": 350 + }, + "flags": {}, + "order": 213, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1505 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 189, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1482, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1478, + "slot_index": 3 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 1481, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 198 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [ + 200 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 201 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 193, + 196, + 230 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 30, + 7, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 2 + }, + { + "id": 145, + "type": "ControlNetApply", + "pos": [ + 5100, + 2460 + ], + "size": [ + 210, + 100 + ], + "flags": {}, + "order": 201, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 211 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 212 + }, + { + "name": "image", + "type": "IMAGE", + "link": 213 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 189 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 0.25 + ] + }, + { + "id": 164, + "type": "CLIPTextEncode", + "pos": [ + 4667.434676070521, + 1913.8277261462272 + ], + "size": { + "0": 330, + "1": 100 + }, + "flags": {}, + "order": 156, + "mode": 2, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1483, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 223 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (pussy:1.4), (naked:1.4),(navel:1.4), (bare legs:1.4), (bare thigh:1.4), " + ] + }, + { + "id": 169, + "type": "CLIPTextEncode", + "pos": [ + 4560, + 2680 + ], + "size": { + "0": 290, + "1": 120 + }, + "flags": {}, + "order": 155, + "mode": 2, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1480, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 235 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(navel:1.4), (lowrise pants:1.1), (wide pelvis:1.3)," + ] + }, + { + "id": 168, + "type": "ConditioningConcat", + "pos": [ + 4870, + 2690 + ], + "size": { + "0": 253.60000610351562, + "1": 50 + }, + "flags": {}, + "order": 184, + "mode": 2, + "inputs": [ + { + "name": "conditioning_to", + "type": "CONDITIONING", + "link": 1479 + }, + { + "name": "conditioning_from", + "type": "CONDITIONING", + "link": 235 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 199 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConditioningConcat" + } + }, + { + "id": 899, + "type": "abyz22_Frompipe", + "pos": [ + 1090, + 2090 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 77, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1449, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1450 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1451 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1452 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1455 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1456 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1453 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [ + 1454 + ], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 102, + "type": "Reroute", + "pos": [ + 1190, + 3350 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 119, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1487, + "label": "clip", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + 108 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 88, + "type": "Reroute", + "pos": [ + 1190, + 3380 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 120, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1488, + "label": "VAE", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 88 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 89, + "type": "Reroute", + "pos": [ + 1190, + 3510 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 122, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1491, + "label": "negative", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 87 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 619, + "type": "Reroute", + "pos": [ + 3736.2005859374995, + 3412.4001953125 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 125, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1494, + "label": "clip", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + 926, + 1509 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 606, + "type": "Reroute", + "pos": [ + 3736.2005859374995, + 3572.4001953125 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 128, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1498, + "label": "negative", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 901, + 967 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 657, + "type": "Reroute", + "pos": [ + 3736.2005859374995, + 3612.4001953125 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 130, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1499, + "label": "latent_image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + 973 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 902, + "type": "abyz22_Frompipe", + "pos": [ + 3500, + 3410 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 80, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1492, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1493 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1494 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1495 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1497 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1498 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1508 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [ + 1499 + ], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 167, + "type": "Reroute", + "pos": [ + 4624.333181606249, + 2570 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 114, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1500, + "label": "positive", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1479 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 900, + "type": "abyz22_Frompipe", + "pos": [ + 4500, + 2080 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 78, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1470, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": null, + "shape": 3 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1471 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1472 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1474 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1500 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1501 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1503 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [ + 1504 + ], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 155, + "type": "Reroute", + "pos": [ + 4624.333181606249, + 2490 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 116, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1503, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 226, + 1476, + 1477, + 1506 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 156, + "type": "Reroute", + "pos": [ + 4624.333181606249, + 2530 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 117, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1504, + "label": "latent_image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + 1478 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 160, + "type": "Reroute", + "pos": [ + 4624.333181606249, + 2370 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 111, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1471, + "label": "model" + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 1505 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 130, + "type": "PreviewImage", + "pos": [ + 5550, + 2450 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 222, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 193 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 135, + "type": "UltimateSDUpscale", + "pos": [ + 7270, + 1910 + ], + "size": { + "0": 240, + "1": 610 + }, + "flags": { + "pinned": false + }, + "order": 320, "mode": 2, "inputs": [ { @@ -13594,7 +13071,7 @@ }, "widgets_values": [ 2, - 3731842397, + 3731842410, "fixed", 10, 7, @@ -13618,431 +13095,35 @@ "bgcolor": "#3f5159" }, { - "id": 845, - "type": "ImpactImageInfo", - "pos": [ - 7290, - 1750 - ], - "size": { - "0": 210, - "1": 86 - }, - "flags": {}, - "order": 312, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "IMAGE", - "link": 1331, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "batch", - "type": "INT", - "links": null, - "shape": 3 - }, - { - "name": "height", - "type": "INT", - "links": [ - 1328 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "width", - "type": "INT", - "links": [ - 1329 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "channel", - "type": "INT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "ImpactImageInfo" - } - }, - { - "id": 844, - "type": "Image Resize", - "pos": [ - 7550, - 1890 - ], - "size": { - "0": 210, - "1": 180 - }, - "flags": {}, - "order": 320, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1330 - }, - { - "name": "resize_height", - "type": "INT", - "link": 1328, - "widget": { - "name": "resize_height" - } - }, - { - "name": "resize_width", - "type": "INT", - "link": 1329, - "widget": { - "name": "resize_width" - } - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "Image Resize" - }, - "widgets_values": [ - "resize", - "true", - "lanczos", - 0.5, - 1024, - 1536 - ] - }, - { - "id": 847, - "type": "ImpactImageInfo", - "pos": [ - 2990, - 2910 - ], - "size": { - "0": 210, - "1": 86 - }, - "flags": {}, - "order": 261, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "IMAGE", - "link": 1335 - } - ], - "outputs": [ - { - "name": "batch", - "type": "INT", - "links": null, - "shape": 3 - }, - { - "name": "height", - "type": "INT", - "links": [ - 1332 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "width", - "type": "INT", - "links": [ - 1333 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "channel", - "type": "INT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "ImpactImageInfo" - } - }, - { - "id": 846, - "type": "Image Resize", - "pos": [ - 3270, - 3030 - ], - "size": { - "0": 210, - "1": 180 - }, - "flags": {}, - "order": 284, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": null - }, - { - "name": "resize_height", - "type": "INT", - "link": 1332, - "widget": { - "name": "resize_height" - } - }, - { - "name": "resize_width", - "type": "INT", - "link": 1333, - "widget": { - "name": "resize_width" - } - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "Image Resize" - }, - "widgets_values": [ - "resize", - "true", - "lanczos", - 0.5, - 1024, - 1536 - ] - }, - { - "id": 103, - "type": "abyz22_blend_onecolor", - "pos": [ - 2410, - 3120 - ], - "size": { - "0": 315, - "1": 150 - }, - "flags": {}, - "order": 241, - "mode": 2, - "inputs": [ - { - "name": "imageA", - "type": "IMAGE", - "link": 109 - }, - { - "name": "mask", - "type": "IMAGE", - "link": 891 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 104, - 1334, - 1335 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "abyz22_blend_onecolor" - }, - "widgets_values": [ - 0.79, - 222, - 85, - 76 - ] - }, - { - "id": 848, - "type": "Image Resize", - "pos": [ - 6686.200585937502, - 3002.4001953125 - ], - "size": { - "0": 210, - "1": 180 - }, - "flags": {}, - "order": 282, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": null - }, - { - "name": "resize_height", - "type": "INT", - "link": 1336, - "widget": { - "name": "resize_height" - } - }, - { - "name": "resize_width", - "type": "INT", - "link": 1337, - "widget": { - "name": "resize_width" - } - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "Image Resize" - }, - "widgets_values": [ - "resize", - "true", - "lanczos", - 0.5, - 1024, - 1536 - ] - }, - { - "id": 849, - "type": "ImpactImageInfo", - "pos": [ - 6436.200585937502, - 2902.4001953125 - ], - "size": { - "0": 210, - "1": 86 - }, - "flags": {}, - "order": 258, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "IMAGE", - "link": 1339, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "batch", - "type": "INT", - "links": null, - "shape": 3 - }, - { - "name": "height", - "type": "INT", - "links": [ - 1336 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "width", - "type": "INT", - "links": [ - 1337 - ], - "shape": 3, - "slot_index": 2 - }, - { - "name": "channel", - "type": "INT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "ImpactImageInfo" - } - }, - { - "id": 666, + "id": 165, "type": "abyz22_blendimages", "pos": [ - 6076.200585937502, - 3182.4001953125 + 6270, + 2270 ], "size": { - "0": 315, - "1": 98 + "0": 210, + "1": 100 }, "flags": {}, - "order": 240, - "mode": 0, + "order": 298, + "mode": 2, "inputs": [ { "name": "imageA", "type": "IMAGE", - "link": 987 + "link": 1506, + "slot_index": 0 }, { "name": "imageB", "type": "IMAGE", - "link": 988, - "slot_index": 1 + "link": 230 }, { "name": "mask", "type": "IMAGE", - "link": 991 + "link": 231 } ], "outputs": [ @@ -14050,9 +13131,8 @@ "name": "image", "type": "IMAGE", "links": [ - 994, - 1338, - 1339 + 195, + 232 ], "shape": 3, "slot_index": 0 @@ -14063,66 +13143,30 @@ }, "widgets_values": [ 1 - ] + ], + "color": "#232", + "bgcolor": "#353" }, { - "id": 598, - "type": "UltimateSDUpscale", + "id": 652, + "type": "DWPreprocessor", "pos": [ - 6436.200585937502, - 3052.4001953125 + 3726.1979003906245, + 3152.4001953125 ], "size": { - "0": 240, - "1": 610 + "0": 370, + "1": 200 }, - "flags": { - "pinned": false - }, - "order": 257, - "mode": 0, + "flags": {}, + "order": 166, + "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 1338 - }, - { - "name": "model", - "type": "MODEL", - "link": 899, - "slot_index": 1 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 999, - "slot_index": 2 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 901, - "slot_index": 3 - }, - { - "name": "vae", - "type": "VAE", - "link": 902, - "slot_index": 4 - }, - { - "name": "upscale_model", - "type": "UPSCALE_MODEL", - "link": 903 - }, - { - "name": "upscale_by", - "type": "FLOAT", - "link": 904, - "widget": { - "name": "upscale_by" - } + "link": 1507, + "slot_index": 0 } ], "outputs": [ @@ -14130,39 +13174,1062 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 921 + 961 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DWPreprocessor" + }, + "widgets_values": [ + "disable", + "enable", + "disable", + 512, + "yolox_l.onnx", + "dw-ll_ucoco_384_bs5.torchscript.pt" + ] + }, + { + "id": 603, + "type": "Reroute", + "pos": [ + 3736.2005859374995, + 3482.4001953125 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 129, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1508, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 923, + 987, + 1507, + 1510, + 1513 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 653, + "type": "CLIPTextEncode", + "pos": [ + 3766.1979003906245, + 2892.4001953125 + ], + "size": { + "0": 330, + "1": 100 + }, + "flags": {}, + "order": 164, + "mode": 2, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1509, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 965 ], "shape": 3, "slot_index": 0 } ], "properties": { - "Node name for S&R": "UltimateSDUpscale" + "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ - 2, - 3731842397, - "fixed", - 10, + "best quality, (1girl:1.3),,(nude:1.4), (NSFW:1.4), (tits:1.2), (naked:1.4)" + ] + }, + { + "id": 648, + "type": "TilePreprocessor", + "pos": [ + 3896.1979003906245, + 3522.4001953125 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "collapsed": false + }, + "order": 167, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1510, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 958 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "TilePreprocessor" + }, + "widgets_values": [ + 3, + 512 + ] + }, + { + "id": 645, + "type": "KSampler (Efficient)", + "pos": [ + 4440, + 3320 + ], + "size": { + "0": 220, + "1": 350 + }, + "flags": {}, + "order": 225, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1511, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 953, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 967, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 973, + "slot_index": 3 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 983, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 988 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842409, + null, + 30, 7, "dpmpp_2m", "karras", - 0.55, - "Linear", - 1280, - 1920, - 36, - 32, - "None", 1, - 64, - 8, - 16, - false, - false + "none", + "true (tiled)" ], - "color": "#2a363b", - "bgcolor": "#3f5159" + "color": "#332922", + "bgcolor": "#593930", + "shape": 2 + }, + { + "id": 596, + "type": "ImpactImageBatchToImageList", + "pos": [ + 4770, + 3530 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": false + }, + "order": 168, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1513, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 894, + 913 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImpactImageBatchToImageList" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 647, + "type": "ControlNetApply", + "pos": [ + 4180, + 3410 + ], + "size": { + "0": 211.60000610351562, + "1": 100 + }, + "flags": {}, + "order": 215, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 956 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 957 + }, + { + "name": "image", + "type": "IMAGE", + "link": 958 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 953 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 0.25 + ] + }, + { + "id": 78, + "type": "SAMLoader", + "pos": [ + 1290, + 3390 + ], + "size": [ + 250, + 80 + ], + "flags": { + "pinned": false, + "collapsed": false + }, + "order": 62, + "mode": 2, + "outputs": [ + { + "name": "SAM_MODEL", + "type": "SAM_MODEL", + "links": [ + 82, + 97 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SAMLoader" + }, + "widgets_values": [ + "sam_vit_b_01ec64.pth", + "AUTO" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 76, + "type": "UltralyticsDetectorProvider", + "pos": [ + 1280, + 3260 + ], + "size": [ + 280, + 80 + ], + "flags": { + "pinned": false + }, + "order": 63, + "mode": 2, + "outputs": [ + { + "name": "BBOX_DETECTOR", + "type": "BBOX_DETECTOR", + "links": [ + 80 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "SEGM_DETECTOR", + "type": "SEGM_DETECTOR", + "links": [ + 83 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "UltralyticsDetectorProvider" + }, + "widgets_values": [ + "segm/person_yolov8m-seg.pt" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 86, + "type": "Reroute", + "pos": [ + 1190, + 3420 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 123, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1489, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 105, + 109, + 1514 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 901, + "type": "abyz22_Frompipe", + "pos": [ + 1070, + 2890 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 79, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1484, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1486 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1487 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1488 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1490 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1491 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1489 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 679, + "type": "Reroute", + "pos": [ + 1420, + 4520 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 131, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1517, + "label": "Positive", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 1519, + 1520 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 193, + "type": "ControlNetApply", + "pos": [ + 2570, + 4250 + ], + "size": { + "0": 211.60000610351562, + "1": 100 + }, + "flags": {}, + "order": 288, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 1520, + "slot_index": 0 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 287, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": 288 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 290 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 180, + "type": "PreviewImage", + "pos": [ + 3370, + 3840 + ], + "size": { + "0": 440, + "1": 360 + }, + "flags": {}, + "order": 169, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1521, + "slot_index": 0 + } + ], + "title": "Original Image", + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 184, + "type": "ImpactImageBatchToImageList", + "pos": [ + 1350, + 3800 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": false + }, + "order": 170, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1522, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 268 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImpactImageBatchToImageList" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 903, + "type": "abyz22_Frompipe", + "pos": [ + 1080, + 4080 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 81, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1515, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1517 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1518 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1516 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } + }, + { + "id": 671, + "type": "abyz22_Topipe", + "pos": [ + 640, + 2490 + ], + "size": { + "0": 216.59999084472656, + "1": 166 + }, + "flags": {}, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 1001 + }, + { + "name": "CLIP", + "type": "CLIP", + "link": 1004 + }, + { + "name": "VAE", + "type": "VAE", + "link": 1005 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "link": 1002 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "link": 1003 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "link": 1006 + }, + { + "name": "latent_Image", + "type": "LATENT", + "link": 1024 + }, + { + "name": "latent", + "type": "LATENT", + "link": 1008 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": [ + 1418, + 1428, + 1429, + 1435, + 1449, + 1470, + 1484, + 1492, + 1515, + 1523 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "abyz22_Topipe" + } + }, + { + "id": 480, + "type": "Reroute", + "pos": [ + 1280, + 5226.46874671875 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 136, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1526, + "label": "VAE" + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 721 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 904, + "type": "abyz22_Frompipe", + "pos": [ + 1070, + 4870 + ], + "size": { + "0": 216.59999084472656, + "1": 186 + }, + "flags": {}, + "order": 82, + "mode": 2, + "inputs": [ + { + "name": "pipe", + "type": "PIPE", + "link": 1523, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "pipe", + "type": "PIPE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1524 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1525 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1526 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "Positive", + "type": "CONDITIONING", + "links": [ + 1527 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "Negative", + "type": "CONDITIONING", + "links": [ + 1528 + ], + "shape": 3, + "slot_index": 5 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1535 + ], + "shape": 3, + "slot_index": 6 + }, + { + "name": "latent Image", + "type": "LATENT", + "links": [ + 1536 + ], + "shape": 3, + "slot_index": 7 + }, + { + "name": "latent", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Frompipe" + } }, { "id": 118, @@ -14178,122 +14245,43 @@ "flags": { "collapsed": false }, - "order": 61, + "order": 64, "mode": 0, "inputs": [], "properties": { "Node name for S&R": "GlobalSeed //Inspire" }, "widgets_values": [ - 3731842397, + 3731842410, true, "fixed", - 3731842397 + 3731842410 ], "color": "#222", "bgcolor": "#000" }, { - "id": 40, - "type": "UltralyticsDetectorProvider", + "id": 466, + "type": "TilePreprocessor", "pos": [ - 1979.482417285754, - 878.9997427200404 + 1550, + 5346.46874671875 ], "size": { - "0": 280, - "1": 80 + "0": 210, + "1": 82 }, "flags": { - "pinned": false + "collapsed": false }, - "order": 62, - "mode": 2, - "outputs": [ - { - "name": "BBOX_DETECTOR", - "type": "BBOX_DETECTOR", - "links": [ - 40 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "SEGM_DETECTOR", - "type": "SEGM_DETECTOR", - "links": null, - "shape": 3, - "slot_index": 1 - } - ], - "properties": { - "Node name for S&R": "UltralyticsDetectorProvider" - }, - "widgets_values": [ - "segm/breasts_seg.pt" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 81, - "type": "UltimateSDUpscale", - "pos": [ - 3020, - 3080 - ], - "size": { - "0": 240, - "1": 610 - }, - "flags": { - "pinned": false - }, - "order": 260, + "order": 175, "mode": 2, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 1334 - }, - { - "name": "model", - "type": "MODEL", - "link": 167, - "slot_index": 1 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 86, - "slot_index": 2 - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": 87, - "slot_index": 3 - }, - { - "name": "vae", - "type": "VAE", - "link": 88, - "slot_index": 4 - }, - { - "name": "upscale_model", - "type": "UPSCALE_MODEL", - "link": 89 - }, - { - "name": "upscale_by", - "type": "FLOAT", - "link": 90, - "widget": { - "name": "upscale_by" - } + "link": 1531, + "slot_index": 0 } ], "outputs": [ @@ -14301,59 +14289,796 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 103 + 742 ], "shape": 3, "slot_index": 0 } ], "properties": { - "Node name for S&R": "UltimateSDUpscale" + "Node name for S&R": "TilePreprocessor" }, "widgets_values": [ - 2, - 3731842397, - "fixed", - 10, - 7, - "dpmpp_2m", - "karras", - 0.6, - "Linear", - 1280, - 1920, - 36, - 32, - "None", - 1, - 64, - 8, - 16, - false, - false - ], - "color": "#2a363b", - "bgcolor": "#3f5159" + 3, + 512 + ] }, { - "id": 170, - "type": "PreviewImage", + "id": 449, + "type": "KSampler (Efficient)", "pos": [ - 6400, - 1910 + 2000, + 5166.46874671875 ], "size": { - "0": 210, - "1": 250 + "0": 220, + "1": 350 }, "flags": {}, - "order": 280, + "order": 228, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1533 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 856, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 719, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1534, + "slot_index": 3 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 721, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 727 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [ + 729 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 730 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 722, + 725, + 761 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 30, + 6.5, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 2 + }, + { + "id": 473, + "type": "Reroute", + "pos": [ + 1280, + 5266.46874671875 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 139, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1535, + "label": "Image", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 738, + 754, + 760, + 1531 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 474, + "type": "Reroute", + "pos": [ + 1280, + 5306.46874671875 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 140, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1536, + "label": "latent_image" + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + 1534 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 67, + "type": "DWPreprocessor", + "pos": [ + 1420, + 990 + ], + "size": [ + 300, + 200 + ], + "flags": {}, + "order": 148, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1446 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DWPreprocessor" + }, + "widgets_values": [ + "disable", + "enable", + "disable", + 512, + "yolo_nas_s_fp16.onnx", + "dw-ll_ucoco_384_bs5.torchscript.pt" + ] + }, + { + "id": 228, + "type": "Reroute", + "pos": [ + 1250, + 320 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 92, + "mode": 2, + "inputs": [ + { + "name": "", + "type": "*", + "link": 1430, + "label": "model", + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 1538 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 120, + "type": "abyz22_Padding Image", + "pos": [ + 1340, + 150 + ], + "size": { + "0": 317.4000244140625, + "1": 286 + }, + "flags": {}, + "order": 144, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1537, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 1540, + "slot_index": 1 + }, + { + "name": "vae", + "type": "VAE", + "link": 1539, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 1542 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "pose_image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": [ + 249 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 247 + ], + "shape": 3, + "slot_index": 3 + } + ], + "properties": { + "Node name for S&R": "abyz22_Padding Image" + }, + "widgets_values": [ + "control_v11p_sd15_openpose.pth", + 1.75, + "noise", + "Random", + 0.3, + 1.8, + 3731842410, + "fixed" + ] + }, + { + "id": 121, + "type": "KSampler (Efficient)", + "pos": [ + 1680, + 150 + ], + "size": { + "0": 290, + "1": 350 + }, + "flags": {}, + "order": 180, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1538 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 249 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1541 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 247 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": null + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1543 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 20, + 7, + "euler", + "normal", + 1, + "none", + "true" + ], + "color": "#223322", + "bgcolor": "#335533", + "shape": 1 + }, + { + "id": 557, + "type": "ControlNetApply", + "pos": [ + 1556.9996337890611, + -314.7299865722657 + ], + "size": { + "0": 317.4000244140625, + "1": 98 + }, + "flags": {}, + "order": 178, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 873, + "slot_index": 0 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 857, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": 1545 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 859 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetApply" + }, + "widgets_values": [ + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 574, + "type": "abyz22_lamaPreprocessor", + "pos": [ + 1510, + -200 + ], + "size": { + "0": 393, + "1": 246 + }, + "flags": {}, + "order": 143, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 884 + }, + { + "name": "vae", + "type": "VAE", + "link": 885 + } + ], + "outputs": [ + { + "name": "LaMa Preprocessed Image", + "type": "IMAGE", + "links": [ + 1545 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "LaMa Preprocessed Latent", + "type": "LATENT", + "links": [ + 887 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "abyz22_lamaPreprocessor" + }, + "widgets_values": [ + 96, + 0.22, + 0.8, + 56, + 0.5, + 0.5, + 3731842410, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 559, + "type": "KSampler (Efficient)", + "pos": [ + 1946.8632833651982, + -307.65993375572367 + ], + "size": { + "0": 330, + "1": 350 + }, + "flags": {}, + "order": 197, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1544, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 859 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 876, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 887 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 1546, + "slot_index": 4 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 861 + ], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler (Efficient)" + }, + "widgets_values": [ + 3731842410, + null, + 20, + 7.5, + "dpmpp_2m", + "karras", + 1, + "none", + "true" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 123, + "type": "PreviewImage", + "pos": [ + 2310, + 140 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 179, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 237 + "link": 1542 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 176, + "type": "PreviewImage", + "pos": [ + 1980, + 140 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 145, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1547, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 122, + "type": "PreviewImage", + "pos": [ + 2640, + 140 + ], + "size": { + "0": 330, + "1": 270 + }, + "flags": {}, + "order": 198, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1543 } ], "properties": { @@ -14386,14 +15111,6 @@ 2, "SAM_MODEL" ], - [ - 4, - 35, - 0, - 4, - 0, - "MODEL" - ], [ 5, 20, @@ -14410,22 +15127,6 @@ 2, "CONDITIONING" ], - [ - 7, - 31, - 0, - 4, - 3, - "LATENT" - ], - [ - 8, - 37, - 0, - 4, - 4, - "VAE" - ], [ 9, 4, @@ -14506,14 +15207,6 @@ 0, "IMAGE" ], - [ - 21, - 30, - 0, - 17, - 0, - "IMAGE" - ], [ 22, 6, @@ -14546,14 +15239,6 @@ 2, "IMAGE" ], - [ - 26, - 30, - 0, - 21, - 0, - "IMAGE" - ], [ 28, 24, @@ -14634,22 +15319,6 @@ 2, "IMAGE" ], - [ - 38, - 30, - 0, - 34, - 0, - "IMAGE" - ], - [ - 39, - 36, - 0, - 39, - 0, - "CLIP" - ], [ 40, 40, @@ -14690,22 +15359,6 @@ 2, "CONDITIONING" ], - [ - 46, - 64, - 0, - 43, - 3, - "LATENT" - ], - [ - 47, - 70, - 0, - 43, - 4, - "VAE" - ], [ 48, 43, @@ -14810,14 +15463,6 @@ 0, "IMAGE" ], - [ - 64, - 63, - 0, - 56, - 0, - "IMAGE" - ], [ 65, 45, @@ -14850,14 +15495,6 @@ 2, "IMAGE" ], - [ - 69, - 63, - 0, - 60, - 0, - "IMAGE" - ], [ 72, 66, @@ -14874,14 +15511,6 @@ 2, "IMAGE" ], - [ - 74, - 63, - 0, - 67, - 0, - "IMAGE" - ], [ 80, 76, @@ -14914,14 +15543,6 @@ 3, "SEGM_DETECTOR" ], - [ - 84, - 86, - 0, - 79, - 0, - "IMAGE" - ], [ 86, 100, @@ -15106,14 +15727,6 @@ 0, "MODEL" ], - [ - 112, - 69, - 0, - 104, - 1, - "CLIP" - ], [ 114, 41, @@ -15146,14 +15759,6 @@ 2, "IMAGE" ], - [ - 119, - 30, - 0, - 108, - 0, - "IMAGE" - ], [ 120, 4, @@ -15250,14 +15855,6 @@ 4, "VAE" ], - [ - 143, - 36, - 0, - 115, - 0, - "CLIP" - ], [ 144, 115, @@ -15266,14 +15863,6 @@ 1, "CONDITIONING" ], - [ - 145, - 113, - 0, - 114, - 0, - "CONDITIONING" - ], [ 146, 114, @@ -15306,14 +15895,6 @@ 1, "MODEL" ], - [ - 157, - 116, - 0, - 117, - 0, - "CONDITIONING" - ], [ 158, 104, @@ -15346,14 +15927,6 @@ 1, "MODEL" ], - [ - 176, - 121, - 5, - 122, - 0, - "IMAGE" - ], [ 178, 26, @@ -15386,14 +15959,6 @@ 2, "SAM_MODEL" ], - [ - 188, - 160, - 0, - 129, - 0, - "MODEL" - ], [ 189, 145, @@ -15402,30 +15967,6 @@ 1, "CONDITIONING" ], - [ - 190, - 163, - 0, - 129, - 2, - "CONDITIONING" - ], - [ - 191, - 156, - 0, - 129, - 3, - "LATENT" - ], - [ - 192, - 162, - 0, - 129, - 4, - "VAE" - ], [ 193, 129, @@ -15554,14 +16095,6 @@ 0, "IMAGE" ], - [ - 209, - 155, - 0, - 142, - 0, - "IMAGE" - ], [ 210, 131, @@ -15594,14 +16127,6 @@ 2, "IMAGE" ], - [ - 214, - 155, - 0, - 146, - 0, - "IMAGE" - ], [ 219, 152, @@ -15658,22 +16183,6 @@ 0, "IMAGE" ], - [ - 228, - 161, - 0, - 164, - 0, - "CLIP" - ], - [ - 229, - 155, - 0, - 165, - 0, - "IMAGE" - ], [ 230, 129, @@ -15706,14 +16215,6 @@ 1, "IMAGE" ], - [ - 234, - 167, - 0, - 168, - 0, - "CONDITIONING" - ], [ 235, 169, @@ -15722,14 +16223,6 @@ 1, "CONDITIONING" ], - [ - 236, - 161, - 0, - 169, - 0, - "CLIP" - ], [ 237, 151, @@ -15754,14 +16247,6 @@ 3, "LATENT" ], - [ - 248, - 120, - 0, - 123, - 0, - "IMAGE" - ], [ 249, 120, @@ -15770,38 +16255,6 @@ 1, "CONDITIONING" ], - [ - 251, - 172, - 0, - 120, - 0, - "IMAGE" - ], - [ - 253, - 173, - 0, - 120, - 1, - "CONDITIONING" - ], - [ - 255, - 174, - 0, - 120, - 2, - "VAE" - ], - [ - 257, - 172, - 0, - 176, - 0, - "IMAGE" - ], [ 258, 2, @@ -16066,14 +16519,6 @@ 0, "*" ], - [ - 317, - 215, - 0, - 184, - 0, - "IMAGE" - ], [ 318, 215, @@ -16098,14 +16543,6 @@ 0, "CLIP" ], - [ - 325, - 213, - 0, - 188, - 0, - "CONDITIONING" - ], [ 328, 214, @@ -16162,14 +16599,6 @@ 1, "VAE" ], - [ - 336, - 215, - 0, - 180, - 0, - "IMAGE" - ], [ 337, 206, @@ -16210,30 +16639,6 @@ 2, "SAM_MODEL" ], - [ - 385, - 174, - 0, - 121, - 4, - "VAE" - ], - [ - 386, - 228, - 0, - 121, - 0, - "MODEL" - ], - [ - 388, - 229, - 0, - 121, - 2, - "CONDITIONING" - ], [ 715, 453, @@ -16250,14 +16655,6 @@ 2, "SAM_MODEL" ], - [ - 717, - 478, - 0, - 449, - 0, - "MODEL" - ], [ 719, 481, @@ -16266,14 +16663,6 @@ 2, "CONDITIONING" ], - [ - 720, - 474, - 0, - 449, - 3, - "LATENT" - ], [ 721, 480, @@ -16426,14 +16815,6 @@ 2, "IMAGE" ], - [ - 743, - 473, - 0, - 466, - 0, - "IMAGE" - ], [ 752, 476, @@ -16570,14 +16951,6 @@ 0, "CONDITIONING" ], - [ - 875, - 565, - 0, - 559, - 0, - "MODEL" - ], [ 876, 566, @@ -16586,14 +16959,6 @@ 2, "CONDITIONING" ], - [ - 877, - 564, - 0, - 559, - 4, - "VAE" - ], [ 883, 562, @@ -16618,14 +16983,6 @@ 1, "VAE" ], - [ - 886, - 574, - 0, - 557, - 2, - "IMAGE" - ], [ 887, 574, @@ -16698,14 +17055,6 @@ 3, "SEGM_DETECTOR" ], - [ - 897, - 603, - 0, - 596, - 0, - "IMAGE" - ], [ 899, 604, @@ -16914,22 +17263,6 @@ 2, "IMAGE" ], - [ - 962, - 603, - 0, - 652, - 0, - "IMAGE" - ], - [ - 963, - 619, - 0, - 653, - 0, - "CLIP" - ], [ 964, 613, @@ -16962,22 +17295,6 @@ 2, "CONDITIONING" ], - [ - 969, - 603, - 0, - 648, - 0, - "IMAGE" - ], - [ - 970, - 604, - 0, - 645, - 0, - "MODEL" - ], [ 973, 657, @@ -17114,70 +17431,6 @@ 7, "LATENT" ], - [ - 1016, - 671, - 0, - 672, - 0, - "PIPE" - ], - [ - 1017, - 672, - 0, - 604, - 0, - "*" - ], - [ - 1018, - 672, - 1, - 619, - 0, - "*" - ], - [ - 1019, - 672, - 2, - 605, - 0, - "*" - ], - [ - 1020, - 672, - 3, - 613, - 0, - "*" - ], - [ - 1021, - 672, - 4, - 606, - 0, - "*" - ], - [ - 1022, - 672, - 5, - 603, - 0, - "*" - ], - [ - 1023, - 672, - 6, - 657, - 0, - "*" - ], [ 1024, 112, @@ -17186,462 +17439,6 @@ 6, "LATENT" ], - [ - 1029, - 673, - 0, - 87, - 0, - "*" - ], - [ - 1030, - 673, - 1, - 102, - 0, - "*" - ], - [ - 1031, - 673, - 2, - 88, - 0, - "*" - ], - [ - 1032, - 673, - 3, - 96, - 0, - "*" - ], - [ - 1033, - 673, - 4, - 89, - 0, - "*" - ], - [ - 1034, - 673, - 5, - 86, - 0, - "*" - ], - [ - 1035, - 671, - 0, - 673, - 0, - "PIPE" - ], - [ - 1037, - 674, - 0, - 35, - 0, - "*" - ], - [ - 1038, - 674, - 1, - 36, - 0, - "*" - ], - [ - 1039, - 674, - 2, - 37, - 0, - "*" - ], - [ - 1040, - 674, - 5, - 30, - 0, - "*" - ], - [ - 1041, - 674, - 3, - 113, - 0, - "*" - ], - [ - 1042, - 674, - 4, - 38, - 0, - "*" - ], - [ - 1043, - 674, - 6, - 31, - 0, - "*" - ], - [ - 1044, - 671, - 0, - 674, - 0, - "PIPE" - ], - [ - 1045, - 671, - 0, - 675, - 0, - "PIPE" - ], - [ - 1046, - 675, - 0, - 68, - 0, - "*" - ], - [ - 1047, - 675, - 1, - 69, - 0, - "*" - ], - [ - 1048, - 675, - 2, - 70, - 0, - "*" - ], - [ - 1049, - 675, - 3, - 116, - 0, - "*" - ], - [ - 1050, - 675, - 4, - 71, - 0, - "*" - ], - [ - 1051, - 675, - 5, - 63, - 0, - "*" - ], - [ - 1052, - 675, - 6, - 64, - 0, - "*" - ], - [ - 1053, - 671, - 0, - 676, - 0, - "PIPE" - ], - [ - 1054, - 676, - 0, - 228, - 0, - "*" - ], - [ - 1055, - 676, - 5, - 172, - 0, - "*" - ], - [ - 1056, - 676, - 3, - 173, - 0, - "*" - ], - [ - 1057, - 676, - 4, - 229, - 0, - "*" - ], - [ - 1058, - 676, - 2, - 174, - 0, - "*" - ], - [ - 1059, - 677, - 0, - 565, - 0, - "*" - ], - [ - 1060, - 677, - 5, - 562, - 0, - "*" - ], - [ - 1061, - 677, - 3, - 563, - 0, - "*" - ], - [ - 1062, - 677, - 4, - 566, - 0, - "*" - ], - [ - 1063, - 677, - 2, - 564, - 0, - "*" - ], - [ - 1064, - 671, - 0, - 677, - 0, - "PIPE" - ], - [ - 1067, - 671, - 0, - 678, - 0, - "PIPE" - ], - [ - 1068, - 678, - 5, - 215, - 0, - "*" - ], - [ - 1069, - 678, - 4, - 214, - 0, - "*" - ], - [ - 1070, - 678, - 3, - 679, - 0, - "*" - ], - [ - 1071, - 213, - 0, - 193, - 0, - "CONDITIONING" - ], - [ - 1072, - 679, - 0, - 213, - 0, - "*" - ], - [ - 1073, - 671, - 0, - 680, - 0, - "PIPE" - ], - [ - 1081, - 680, - 5, - 473, - 0, - "*" - ], - [ - 1082, - 680, - 6, - 474, - 0, - "*" - ], - [ - 1083, - 680, - 0, - 478, - 0, - "*" - ], - [ - 1084, - 680, - 1, - 479, - 0, - "*" - ], - [ - 1085, - 680, - 2, - 480, - 0, - "*" - ], - [ - 1086, - 680, - 4, - 481, - 0, - "*" - ], - [ - 1087, - 680, - 3, - 485, - 0, - "*" - ], - [ - 1088, - 681, - 0, - 160, - 0, - "*" - ], - [ - 1089, - 681, - 1, - 161, - 0, - "*" - ], - [ - 1090, - 681, - 2, - 162, - 0, - "*" - ], - [ - 1091, - 681, - 5, - 155, - 0, - "*" - ], - [ - 1092, - 681, - 3, - 167, - 0, - "*" - ], - [ - 1093, - 681, - 4, - 163, - 0, - "*" - ], - [ - 1094, - 681, - 6, - 156, - 0, - "*" - ], - [ - 1095, - 671, - 0, - 681, - 0, - "PIPE" - ], [ 1216, 772, @@ -17857,6 +17654,1078 @@ 849, 0, "IMAGE" + ], + [ + 1372, + 869, + 0, + 864, + 0, + "CONDITIONING" + ], + [ + 1373, + 865, + 0, + 864, + 1, + "CONTROL_NET" + ], + [ + 1375, + 871, + 0, + 866, + 0, + "MODEL" + ], + [ + 1377, + 872, + 0, + 866, + 2, + "CONDITIONING" + ], + [ + 1379, + 870, + 0, + 866, + 4, + "VAE" + ], + [ + 1386, + 868, + 0, + 873, + 0, + "IMAGE" + ], + [ + 1392, + 870, + 0, + 876, + 1, + "VAE" + ], + [ + 1393, + 876, + 0, + 864, + 2, + "IMAGE" + ], + [ + 1396, + 877, + 1, + 876, + 2, + "MASK" + ], + [ + 1409, + 866, + 5, + 888, + 0, + "IMAGE" + ], + [ + 1411, + 864, + 0, + 866, + 1, + "CONDITIONING" + ], + [ + 1413, + 876, + 1, + 866, + 3, + "LATENT" + ], + [ + 1414, + 876, + 2, + 892, + 0, + "IMAGE" + ], + [ + 1415, + 868, + 0, + 876, + 0, + "IMAGE" + ], + [ + 1416, + 877, + 0, + 868, + 0, + "*" + ], + [ + 1418, + 671, + 0, + 894, + 0, + "PIPE" + ], + [ + 1419, + 894, + 1, + 871, + 0, + "*" + ], + [ + 1420, + 894, + 4, + 869, + 0, + "*" + ], + [ + 1421, + 894, + 5, + 872, + 0, + "*" + ], + [ + 1422, + 894, + 3, + 870, + 0, + "*" + ], + [ + 1423, + 896, + 1, + 565, + 0, + "*" + ], + [ + 1424, + 896, + 6, + 562, + 0, + "*" + ], + [ + 1425, + 896, + 4, + 563, + 0, + "*" + ], + [ + 1426, + 896, + 5, + 566, + 0, + "*" + ], + [ + 1427, + 896, + 3, + 564, + 0, + "*" + ], + [ + 1428, + 671, + 0, + 896, + 0, + "PIPE" + ], + [ + 1429, + 671, + 0, + 897, + 0, + "PIPE" + ], + [ + 1430, + 897, + 1, + 228, + 0, + "*" + ], + [ + 1431, + 897, + 6, + 172, + 0, + "*" + ], + [ + 1432, + 897, + 3, + 174, + 0, + "*" + ], + [ + 1433, + 897, + 5, + 229, + 0, + "*" + ], + [ + 1434, + 897, + 4, + 173, + 0, + "*" + ], + [ + 1435, + 671, + 0, + 898, + 0, + "PIPE" + ], + [ + 1436, + 898, + 1, + 68, + 0, + "*" + ], + [ + 1437, + 898, + 2, + 69, + 0, + "*" + ], + [ + 1438, + 898, + 6, + 63, + 0, + "*" + ], + [ + 1439, + 898, + 4, + 116, + 0, + "*" + ], + [ + 1440, + 898, + 5, + 71, + 0, + "*" + ], + [ + 1441, + 70, + 0, + 43, + 4, + "VAE" + ], + [ + 1442, + 898, + 3, + 70, + 0, + "*" + ], + [ + 1443, + 898, + 7, + 64, + 0, + "*" + ], + [ + 1444, + 64, + 0, + 43, + 3, + "LATENT" + ], + [ + 1445, + 63, + 0, + 60, + 0, + "IMAGE" + ], + [ + 1446, + 63, + 0, + 67, + 0, + "IMAGE" + ], + [ + 1447, + 116, + 0, + 117, + 0, + "CONDITIONING" + ], + [ + 1448, + 69, + 0, + 104, + 1, + "CLIP" + ], + [ + 1449, + 671, + 0, + 899, + 0, + "PIPE" + ], + [ + 1450, + 899, + 1, + 35, + 0, + "*" + ], + [ + 1451, + 899, + 2, + 36, + 0, + "*" + ], + [ + 1452, + 899, + 3, + 37, + 0, + "*" + ], + [ + 1453, + 899, + 6, + 30, + 0, + "*" + ], + [ + 1454, + 899, + 7, + 31, + 0, + "*" + ], + [ + 1455, + 899, + 4, + 113, + 0, + "*" + ], + [ + 1456, + 899, + 5, + 38, + 0, + "*" + ], + [ + 1457, + 63, + 0, + 56, + 0, + "IMAGE" + ], + [ + 1459, + 35, + 0, + 4, + 0, + "MODEL" + ], + [ + 1460, + 31, + 0, + 4, + 3, + "LATENT" + ], + [ + 1461, + 30, + 0, + 21, + 0, + "IMAGE" + ], + [ + 1463, + 30, + 0, + 34, + 0, + "IMAGE" + ], + [ + 1464, + 36, + 0, + 39, + 0, + "CLIP" + ], + [ + 1465, + 37, + 0, + 4, + 4, + "VAE" + ], + [ + 1466, + 113, + 0, + 114, + 0, + "CONDITIONING" + ], + [ + 1467, + 36, + 0, + 115, + 0, + "CLIP" + ], + [ + 1468, + 30, + 0, + 17, + 0, + "IMAGE" + ], + [ + 1469, + 30, + 0, + 108, + 0, + "IMAGE" + ], + [ + 1470, + 671, + 0, + 900, + 0, + "PIPE" + ], + [ + 1471, + 900, + 1, + 160, + 0, + "*" + ], + [ + 1472, + 900, + 2, + 161, + 0, + "*" + ], + [ + 1474, + 900, + 3, + 162, + 0, + "*" + ], + [ + 1476, + 155, + 0, + 146, + 0, + "IMAGE" + ], + [ + 1477, + 155, + 0, + 142, + 0, + "IMAGE" + ], + [ + 1478, + 156, + 0, + 129, + 3, + "LATENT" + ], + [ + 1479, + 167, + 0, + 168, + 0, + "CONDITIONING" + ], + [ + 1480, + 161, + 0, + 169, + 0, + "CLIP" + ], + [ + 1481, + 162, + 0, + 129, + 4, + "VAE" + ], + [ + 1482, + 163, + 0, + 129, + 2, + "CONDITIONING" + ], + [ + 1483, + 161, + 0, + 164, + 0, + "CLIP" + ], + [ + 1484, + 671, + 0, + 901, + 0, + "PIPE" + ], + [ + 1486, + 901, + 1, + 87, + 0, + "*" + ], + [ + 1487, + 901, + 2, + 102, + 0, + "*" + ], + [ + 1488, + 901, + 3, + 88, + 0, + "*" + ], + [ + 1489, + 901, + 6, + 86, + 0, + "*" + ], + [ + 1490, + 901, + 4, + 96, + 0, + "*" + ], + [ + 1491, + 901, + 5, + 89, + 0, + "*" + ], + [ + 1492, + 671, + 0, + 902, + 0, + "PIPE" + ], + [ + 1493, + 902, + 1, + 604, + 0, + "*" + ], + [ + 1494, + 902, + 2, + 619, + 0, + "*" + ], + [ + 1495, + 902, + 3, + 605, + 0, + "*" + ], + [ + 1497, + 902, + 4, + 613, + 0, + "*" + ], + [ + 1498, + 902, + 5, + 606, + 0, + "*" + ], + [ + 1499, + 902, + 7, + 657, + 0, + "*" + ], + [ + 1500, + 900, + 4, + 167, + 0, + "*" + ], + [ + 1501, + 900, + 5, + 163, + 0, + "*" + ], + [ + 1503, + 900, + 6, + 155, + 0, + "*" + ], + [ + 1504, + 900, + 7, + 156, + 0, + "*" + ], + [ + 1505, + 160, + 0, + 129, + 0, + "MODEL" + ], + [ + 1506, + 155, + 0, + 165, + 0, + "IMAGE" + ], + [ + 1507, + 603, + 0, + 652, + 0, + "IMAGE" + ], + [ + 1508, + 902, + 6, + 603, + 0, + "*" + ], + [ + 1509, + 619, + 0, + 653, + 0, + "CLIP" + ], + [ + 1510, + 603, + 0, + 648, + 0, + "IMAGE" + ], + [ + 1511, + 604, + 0, + 645, + 0, + "MODEL" + ], + [ + 1513, + 603, + 0, + 596, + 0, + "IMAGE" + ], + [ + 1514, + 86, + 0, + 79, + 0, + "IMAGE" + ], + [ + 1515, + 671, + 0, + 903, + 0, + "PIPE" + ], + [ + 1516, + 903, + 6, + 215, + 0, + "*" + ], + [ + 1517, + 903, + 4, + 679, + 0, + "*" + ], + [ + 1518, + 903, + 5, + 214, + 0, + "*" + ], + [ + 1519, + 679, + 0, + 188, + 0, + "CONDITIONING" + ], + [ + 1520, + 679, + 0, + 193, + 0, + "CONDITIONING" + ], + [ + 1521, + 215, + 0, + 180, + 0, + "IMAGE" + ], + [ + 1522, + 215, + 0, + 184, + 0, + "IMAGE" + ], + [ + 1523, + 671, + 0, + 904, + 0, + "PIPE" + ], + [ + 1524, + 904, + 1, + 478, + 0, + "*" + ], + [ + 1525, + 904, + 2, + 479, + 0, + "*" + ], + [ + 1526, + 904, + 3, + 480, + 0, + "*" + ], + [ + 1527, + 904, + 4, + 485, + 0, + "*" + ], + [ + 1528, + 904, + 5, + 481, + 0, + "*" + ], + [ + 1531, + 473, + 0, + 466, + 0, + "IMAGE" + ], + [ + 1533, + 478, + 0, + 449, + 0, + "MODEL" + ], + [ + 1534, + 474, + 0, + 449, + 3, + "LATENT" + ], + [ + 1535, + 904, + 6, + 473, + 0, + "*" + ], + [ + 1536, + 904, + 7, + 474, + 0, + "*" + ], + [ + 1537, + 172, + 0, + 120, + 0, + "IMAGE" + ], + [ + 1538, + 228, + 0, + 121, + 0, + "MODEL" + ], + [ + 1539, + 174, + 0, + 120, + 2, + "VAE" + ], + [ + 1540, + 173, + 0, + 120, + 1, + "CONDITIONING" + ], + [ + 1541, + 229, + 0, + 121, + 2, + "CONDITIONING" + ], + [ + 1542, + 120, + 0, + 123, + 0, + "IMAGE" + ], + [ + 1543, + 121, + 5, + 122, + 0, + "IMAGE" + ], + [ + 1544, + 565, + 0, + 559, + 0, + "MODEL" + ], + [ + 1545, + 574, + 0, + 557, + 2, + "IMAGE" + ], + [ + 1546, + 564, + 0, + 559, + 4, + "VAE" + ], + [ + 1547, + 172, + 0, + 176, + 0, + "IMAGE" ] ], "groups": [ @@ -17947,10 +18816,10 @@ { "title": "Outpainting (lama)", "bounding": [ - 1048, - -427, - 2021, - 484 + 1057, + -392, + 2030, + 453 ], "color": "#a1309b", "font_size": 24, @@ -17967,6 +18836,18 @@ "color": "#8A8", "font_size": 24, "locked": false + }, + { + "title": "Inpaint with LaMa", + "bounding": [ + 1060, + -869, + 1650, + 470 + ], + "color": "#88A", + "font_size": 24, + "locked": false } ], "config": {}, diff --git a/imgs/sample.png b/imgs/sample.png index 0c411d6..76e859a 100644 Binary files a/imgs/sample.png and b/imgs/sample.png differ diff --git a/lowrise.py b/lowrise.py index e6f902b..bad74e9 100644 --- a/lowrise.py +++ b/lowrise.py @@ -21,7 +21,7 @@ from PIL import ImageDraw # CATEGORY = "abyz22" -# def run(sefl,*args,**kwargs): +# def run(self,*args,**kwargs): # return None diff --git a/outpainting_lama.py b/outpainting_lama.py index 191a5d1..1983aa3 100644 --- a/outpainting_lama.py +++ b/outpainting_lama.py @@ -14,6 +14,7 @@ from PIL import Image from numpy import dtype from scipy import ndimage from torch import device +import nodes # Get the absolute path of various directories my_dir = os.path.dirname(os.path.abspath(__file__)) @@ -358,18 +359,18 @@ class abyz22_lamaPreprocessor: ): # pixel= 1,768,512,3 # 모드 설정 # print("☆★ " * 20) - - if Width==0 and Height==0: + + if Width == 0 and Height == 0: encoded_image = self._encode_image(vae, pixels.to("cuda" if torch.cuda.is_available() else "cpu")) encoded_image_dict = {"samples": encoded_image.cpu()} mask_with_1 = torch.ones_like(pixels[:, :, :, 0]) encoded_image_dict = SetLatentNoiseMask().set_mask(encoded_image_dict, mask_with_1)[0] - return (pixels.to("cuda" if torch.cuda.is_available() else "cpu"),encoded_image_dict) - + return (pixels.to("cuda" if torch.cuda.is_available() else "cpu"), encoded_image_dict) + np.random.seed(seed) random.seed(seed) model_lama = LamaInpainting() - image,imgs, masks = None, None,None + image, imgs, masks = None, None, None if Width_Ratio_min > Width_Ratio_max: Width_Ratio_min, Width_Ratio_max = Width_Ratio_max, Width_Ratio_min if Height_Ratio_min > Height_Ratio_max: @@ -382,7 +383,7 @@ class abyz22_lamaPreprocessor: Down, Right = int(Height - Up), int(Width - Left) copy_img = pixels.clone()[i, :, :, :] - final_img_with_alpha = copy_img*255.0 + final_img_with_alpha = copy_img * 255.0 if Up + Down > 0: image = torch.rand((pixels.shape[1] + Up + Down, pixels.shape[2], pixels.shape[3])) image[Up : Up + pixels.shape[1], :, :] = copy_img @@ -480,3 +481,88 @@ class abyz22_lamaPreprocessor: ) FUNCTION = "preprocess" CATEGORY = "abyz22" + + +class abyz22_lamaInpaint: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "pixels": ("IMAGE",), # N,H,W,C + "vae": ("VAE",), + }, + "optional": { + "mask": ("MASK",), # N,H,W + "mask_(img)": ("IMAGE",), + }, + } + + RETURN_TYPES = ( + "IMAGE", + "LATENT", + "IMAGE", + ) + RETURN_NAMES = ( + "LaMa Preprocessed Image", + "LaMa Preprocessed Latent", + "LaMa Image", + ) + FUNCTION = "preprocess" + CATEGORY = "abyz22" + FUNCTION = "run" + + def _encode_image(self, vae, image): + # encoder = VAEEncode() + wrapper = VAEWrapper(vae) + image = image[:, :, :, 0:3] + image_without_alpha = image.to(wrapper.vae.vae_dtype) * 2.0 - 1.0 + image = image_without_alpha.permute(0, 3, 1, 2) + # image = rearrange(image_without_alpha, "1 w h c -> 1 c w h") + encoded_image = wrapper.encode_first_stage_(image) + if torch.all(torch.isnan(encoded_image.mean())): + print("All values produced are NANs, automatically upcasting dtype to float32") + wrapper.to(torch.float32) + encoded_image = wrapper.encode_first_stage_(image) + vae_output = wrapper.get_first_stage_encoding_(encoded_image) + return vae_output + + def run(self, *args, **kwargs): + pixels, vae = kwargs["pixels"], kwargs["vae"] + if kwargs.get("mask") is not None: + mask = kwargs.get("mask") + elif kwargs.get("mask_(img)") is not None: + # print(len(kwargs.get("mask_(img)"))) + # print(kwargs.get("mask_(img)")[0].shape) + mask = kwargs.get("mask_(img)")[0][:, :, :, 0] + else: + mask = torch.zeros_like(pixels)[:, :, :, 0] + print("mask shape : ", mask.shape, mask.min(), mask.max()) + # 이미지 크기/값 lama에 맞추기 (0.0~1.0 -> 0~255) + for i in range(pixels.shape[0]): + image_with_alpha = (torch.cat([pixels[i], mask[i].unsqueeze(-1)], -1).numpy() * 255).astype(np.uint8) # 알파채널 합침 + + model_lama = LamaInpainting() + final_img = model_lama(image_with_alpha) + final_img = torch.from_numpy(final_img) / 255.0 + print(final_img.shape) + final_img = torchvision.transforms.Resize((final_img.shape[0:2]))(final_img.permute(2, 0, 1)).permute(1, 2, 0) + final_img = final_img.unsqueeze(0) + lama_image=final_img.clone().to("cuda" if torch.cuda.is_available() else "cpu") + encoded_image = self._encode_image(vae, final_img.to("cuda" if torch.cuda.is_available() else "cpu")) + encoded_image_dict = {"samples": encoded_image.cpu()} + # mask = torch.ones_like(pixels[:, :, :, 0]) + latent = SetLatentNoiseMask().set_mask(encoded_image_dict, mask)[0] + + latent = nodes.VAEEncode().encode(vae, final_img)[0] + # latent = nodes.VAEEncodeForInpaint().encode(vae, final_img, mask, grow_mask_by=6)[0] + + print('before concat : ',final_img.shape,mask.unsqueeze(-1).shape) + final_img = torch.cat([final_img, mask.unsqueeze(-1)], -1) + print(final_img.shape, final_img.min(), final_img.max()) + c = final_img[:, :, :, 0:3] + m = final_img[:, :, :, 3:4] + m = (m > 0.5).float() + final_img = c * (1 - m) - m + print(final_img.shape, final_img.min(), final_img.max()) + + return (final_img.to("cuda" if torch.cuda.is_available() else "cpu"), latent,lama_image) diff --git a/outpainting_node.py b/outpainting_node.py index 6107b69..759d58e 100644 --- a/outpainting_node.py +++ b/outpainting_node.py @@ -79,7 +79,7 @@ class abyz22_Pad_Image: pose_image = obj.estimate_pose( image, "disable", "enable", "disable", resolution=resolution, bbox_detector="yolox_s.onnx", pose_estimator="dw-ss_ucoco.onnx" )["result"][0] - padded_image,padded_pose_image=None,None + padded_image, padded_pose_image = None, None # Resize_by = random.uniform(Ratio_min, Ratio_max) for i, Resize_by in enumerate(Resize_bys): @@ -93,7 +93,7 @@ class abyz22_Pad_Image: # resized_image = 3,768,512 dx, dy = abs(image.shape[2] - resized_image.shape[2]), abs(image.shape[1] - resized_image.shape[1]) rdx, rdy = random.randint(0, dx), random.randint(0, dy) - if Resize_by < 1: + if Resize_by <= 1: mode_list = { "Top-Left": (0, dx, 0, dy), "Top": (int(round(dx / 2)), int(round(dx / 2)) + 1, 0, dy), @@ -162,7 +162,7 @@ class abyz22_Pad_Image: final_image = padded_image final_pose_image = padded_pose_image else: - final_image = torch.cat((final_image, padded_image)) + final_image = torch.cat((final_image, padded_image)) # TODO 여기서 문제 발생? expected Tensor as element 0 in argument 0, but got NoneType final_pose_image = torch.cat((final_pose_image, padded_pose_image)) latent = nodes.VAEEncode().encode(vae, final_image)[0] diff --git a/utils.py b/utils.py index 573c57a..bfd435c 100644 --- a/utils.py +++ b/utils.py @@ -39,15 +39,15 @@ class abyz22_Topipe: CATEGORY = "abyz22" def run(sefl, *args, **kwargs): - pipe={} - pipe['MODEL']=kwargs.get('MODEL') - pipe['CLIP']=kwargs.get('CLIP') - pipe['VAE']=kwargs.get('VAE') - pipe['POSITIVE']=kwargs.get('Positive') - pipe['NEGATIVE']=kwargs.get('Negative') - pipe['IMAGE']=kwargs.get('IMAGE') - pipe['latent_image']=kwargs.get('latent_Image') - pipe['latent']=kwargs.get('latent') + pipe = {} + pipe["MODEL"] = kwargs.get("MODEL") + pipe["CLIP"] = kwargs.get("CLIP") + pipe["VAE"] = kwargs.get("VAE") + pipe["POSITIVE"] = kwargs.get("Positive") + pipe["NEGATIVE"] = kwargs.get("Negative") + pipe["IMAGE"] = kwargs.get("IMAGE") + pipe["latent_image"] = kwargs.get("latent_Image") + pipe["latent"] = kwargs.get("latent") return (pipe,) @@ -62,6 +62,7 @@ class abyz22_Frompipe: } RETURN_TYPES = ( + "PIPE", "MODEL", "CLIP", "VAE", @@ -72,6 +73,7 @@ class abyz22_Frompipe: "LATENT", ) RETURN_NAMES = ( + "pipe", "MODEL", "CLIP", "VAE", @@ -96,7 +98,86 @@ class abyz22_Frompipe: image = pipe.get("IMAGE") latent_image = pipe.get("latent_image") latent = pipe.get("latent") - return (model, clip, vae, positive, negative, image, latent_image, latent,) + return (pipe, model, clip, vae, positive, negative, image, latent_image, latent) + + +class abyz22_Editpipe: + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "pipe": ("PIPE",), + }, + "optional": { + "MODEL": ("MODEL",), + "CLIP": ("CLIP",), + "VAE": ("VAE",), + "Positive": ("CONDITIONING",), + "Negative": ("CONDITIONING",), + "IMAGE": ("IMAGE",), + "latent_Image": ("LATENT",), + "latent": ("LATENT",), + }, + } + + RETURN_TYPES = ("PIPE",) + RETURN_NAMES = ("pipe",) + + FUNCTION = "run" + + CATEGORY = "abyz22" + + def run(sefl, *args, **kwargs): + pipe = kwargs["pipe"] + if kwargs.get("MODEL") is not None: + pipe["MODEL"] = kwargs["MODEL"] + if kwargs.get("CLIP") is not None: + pipe["CLIP"] = kwargs["CLIP"] + if kwargs.get("VAE") is not None: + pipe["VAE"] = kwargs["VAE"] + if kwargs.get("Positive") is not None: + pipe["POSITIVE"] = kwargs["Positive"] + if kwargs.get("Negative") is not None: + pipe["NEGATIVE"] = kwargs["Negative"] + if kwargs.get("IMAGE") is not None: + pipe["IMAGE"] = kwargs["IMAGE"] + if kwargs.get("latent_Image") is not None: + pipe["latent_image"] = kwargs["latent_Image"] + + return (pipe,) + +class abyz22_Convertpipe: + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "pipe": ("PIPE",), + }, + } + + RETURN_TYPES = ("BASIC_PIPE",) + RETURN_NAMES = ("basic_pipe",) + + FUNCTION = "run" + + CATEGORY = "abyz22" + + def run(sefl, *args, **kwargs): + pipe = kwargs["pipe"] + model=pipe['MODEL'] + clip=pipe['CLIP'] + vae=pipe['VAE'] + positive=pipe['POSITIVE'] + negative=pipe['NEGATIVE'] + + basic_pipe=(model,clip,vae,positive,negative) + return (basic_pipe,) def tensor_convert_rgba(image, prefer_copy=True):