diff --git "a/Inpaint_Module.json" "b/Inpaint_Module.json" new file mode 100644--- /dev/null +++ "b/Inpaint_Module.json" @@ -0,0 +1,26243 @@ +{ + "last_node_id": 698, + "last_link_id": 1240, + "nodes": [ + { + "id": 14, + "type": "VAEDecode", + "pos": [ + -756.6562499999975, + -215.69789632161522 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 356, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 13 + }, + { + "name": "vae", + "type": "VAE", + "link": 14, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 15 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 15, + "type": "SaveImage", + "pos": [ + -492.6562499999979, + -216.69789632161522 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 381, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 15 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 25, + "type": "VAEDecode", + "pos": [ + -764, + 718 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 328, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 27 + }, + { + "name": "vae", + "type": "VAE", + "link": 28, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 29 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 26, + "type": "SaveImage", + "pos": [ + -500, + 717 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 357, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 29 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 37, + "type": "VAEDecode", + "pos": [ + -761.8948688478094, + 1653.3818785833932 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 329, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 46 + }, + { + "name": "vae", + "type": "VAE", + "link": 47, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 48 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 38, + "type": "SaveImage", + "pos": [ + -497.89486884780905, + 1652.3818785833932 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 358, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 48 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 48, + "type": "VAEDecode", + "pos": [ + 1910, + -228 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 330, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 65 + }, + { + "name": "vae", + "type": "VAE", + "link": 66, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 67 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 49, + "type": "SaveImage", + "pos": [ + 2174, + -229 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 359, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 67 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 47, + "type": "ConstrainImage|pysssss", + "pos": [ + 805, + 247 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 161, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 64 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 51, + "type": "VAEEncodeForInpaint", + "pos": [ + 1192, + 251 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 256, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 68 + }, + { + "name": "vae", + "type": "VAE", + "link": 69 + }, + { + "name": "mask", + "type": "MASK", + "link": 71, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 58, + "type": "ConstrainImage|pysssss", + "pos": [ + 804.1022056461455, + 1248.096855346361 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 164, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 78 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 82 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 59, + "type": "VAEDecode", + "pos": [ + 1909.1022056461454, + 773.0968553463607 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 331, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 79 + }, + { + "name": "vae", + "type": "VAE", + "link": 80, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 60, + "type": "SaveImage", + "pos": [ + 2173.1022056461447, + 772.0968553463607 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 360, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 81 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 62, + "type": "VAEEncodeForInpaint", + "pos": [ + 1191.1022056461454, + 1252.096855346361 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 257, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 82 + }, + { + "name": "vae", + "type": "VAE", + "link": 83 + }, + { + "name": "mask", + "type": "MASK", + "link": 86, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 72, + "type": "ConstrainImage|pysssss", + "pos": [ + 792.8920710813867, + 3801.0070681928787 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 173, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 95 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 99 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 73, + "type": "VAEDecode", + "pos": [ + 1897.8920710813866, + 3326.0070681928787 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 362, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 96 + }, + { + "name": "vae", + "type": "VAE", + "link": 97, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 98 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 74, + "type": "SaveImage", + "pos": [ + 2161.8920710813854, + 3325.0070681928787 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 383, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 98 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 76, + "type": "VAEEncodeForInpaint", + "pos": [ + 1179.8920710813866, + 3805.0070681928787 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 302, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 99 + }, + { + "name": "vae", + "type": "VAE", + "link": 100 + }, + { + "name": "mask", + "type": "MASK", + "link": 743, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 92 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 82, + "type": "SAMModelLoader (segment anything)", + "pos": [ + 818.8920710813867, + 3970.0070681928787 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 4, + "outputs": [ + { + "name": "SAM_MODEL", + "type": "SAM_MODEL", + "links": [ + 105 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SAMModelLoader (segment anything)" + }, + "widgets_values": [ + "sam_vit_h (2.56GB)" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 91, + "type": "VAEDecode", + "pos": [ + 1899.37953509663, + 1785.0428053007872 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 361, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 116 + }, + { + "name": "vae", + "type": "VAE", + "link": 117, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 118 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 92, + "type": "SaveImage", + "pos": [ + 2163.37953509663, + 1784.0428053007872 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 382, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 118 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 81, + "type": "GroundingDinoModelLoader (segment anything)", + "pos": [ + 790.8920710813867, + 4090.007068192878 + ], + "size": { + "0": 361.20001220703125, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 4, + "outputs": [ + { + "name": "GROUNDING_DINO_MODEL", + "type": "GROUNDING_DINO_MODEL", + "links": [ + 104 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GroundingDinoModelLoader (segment anything)" + }, + "widgets_values": [ + "GroundingDINO_SwinT_OGC (694MB)" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 83, + "type": "InvertMask", + "pos": [ + 1549.8920710813866, + 4001.007068192878 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 260, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 106 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 743 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 40, + "type": "InpaintModelConditioning", + "pos": [ + -1349.894868847809, + 1658.3818785833932 + ], + "size": { + "0": 216.59999084472656, + "1": 106 + }, + "flags": {}, + "order": 255, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 50 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 51 + }, + { + "name": "vae", + "type": "VAE", + "link": 57 + }, + { + "name": "pixels", + "type": "IMAGE", + "link": 56, + "slot_index": 3 + }, + { + "name": "mask", + "type": "MASK", + "link": 723, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 52 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 53 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 54 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintModelConditioning" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 148, + "type": "ConstrainImage|pysssss", + "pos": [ + 3425.57185114569, + 240.61388024675938 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 189, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 166 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 170 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 149, + "type": "VAEDecode", + "pos": [ + 4530.571851145687, + -234.38611975324062 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 388, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 167 + }, + { + "name": "vae", + "type": "VAE", + "link": 168, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 169 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 174, + "type": "ConstrainImage|pysssss", + "pos": [ + 3419.1013408917797, + 2148.9913288231623 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 183, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 186 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 190 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 179, + "type": "easy imageRemBg", + "pos": [ + 3434.1013408917797, + 2206.9913288231623 + ], + "size": { + "0": 315, + "1": 313.9998779296875 + }, + "flags": {}, + "order": 184, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 193 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 194 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 180, + "type": "InvertMask", + "pos": [ + 3797.1013408917797, + 2299.991328823163 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 264, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 194 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 195 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 175, + "type": "VAEDecode", + "pos": [ + 4524.101340891786, + 1673.9913288231628 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 386, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 187 + }, + { + "name": "vae", + "type": "VAE", + "link": 188, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 199 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 196, + "type": "SaveImage", + "pos": [ + 5475.101340891786, + 1684.9913288231628 + ], + "size": { + "0": 420.9338073730469, + "1": 400.71405029296875 + }, + "flags": {}, + "order": 423, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 214 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 192, + "type": "Reroute", + "pos": [ + 4537.101340891786, + 1793.9913288231623 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 185, + "mode": 4, + "inputs": [ + { + "name": "", + "type": "*", + "link": 206 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 207, + 208 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 194, + "type": "InvertMask", + "pos": [ + 4534.101340891786, + 1932.991328823161 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 338, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 211 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 213, + 217 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 186, + "type": "ImageCompositeMasked", + "pos": [ + 5119.101340891786, + 1677.9913288231628 + ], + "size": { + "0": 315, + "1": 146 + }, + "flags": {}, + "order": 415, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 201 + }, + { + "name": "source", + "type": "IMAGE", + "link": 208 + }, + { + "name": "mask", + "type": "MASK", + "link": 213 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 214 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + false + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 181, + "type": "MaskComposite", + "pos": [ + 4029.647533912181, + 2303.304747545183 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 306, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 195 + }, + { + "name": "source", + "type": "MASK", + "link": 196 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 192, + 197, + 211 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 182, + "type": "MaskToImage", + "pos": [ + 4389.647533912184, + 2299.304747545183 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 337, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 197 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 198 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 183, + "type": "PreviewImage", + "pos": [ + 4658.647533912184, + 2178.304747545183 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 366, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 198 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 210, + "type": "easy imageRemBg", + "pos": [ + 3434.470074777736, + 3778.658731417378 + ], + "size": { + "0": 315, + "1": 313.9999694824219 + }, + "flags": {}, + "order": 180, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 232 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 965 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 224, + "type": "InpaintModelConditioning", + "pos": [ + 4637.470074777737, + 3248.658731417376 + ], + "size": { + "0": 216.59999084472656, + "1": 106 + }, + "flags": {}, + "order": 335, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 256 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 257 + }, + { + "name": "vae", + "type": "VAE", + "link": 261 + }, + { + "name": "pixels", + "type": "IMAGE", + "link": 262, + "slot_index": 3 + }, + { + "name": "mask", + "type": "MASK", + "link": 263 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 258 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 259 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 260 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintModelConditioning" + } + }, + { + "id": 207, + "type": "VAEDecode", + "pos": [ + 5227.470074777737, + 3257.658731417376 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 385, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 227 + }, + { + "name": "vae", + "type": "VAE", + "link": 228, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 264 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 226, + "type": "SaveImage", + "pos": [ + 5794.470074777737, + 3261.658731417376 + ], + "size": { + "0": 409.9322204589844, + "1": 442.07037353515625 + }, + "flags": {}, + "order": 414, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 266 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 225, + "type": "InpaintStitch", + "pos": [ + 5453.470074777737, + 3259.658731417376 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 402, + "mode": 4, + "inputs": [ + { + "name": "stitch", + "type": "STITCH", + "link": 265, + "slot_index": 0 + }, + { + "name": "inpainted_image", + "type": "IMAGE", + "link": 264 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 266 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InpaintStitch" + }, + "widgets_values": [ + "bislerp" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 238, + "type": "easy imageRemBg", + "pos": [ + 11048, + 347 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 271, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 972 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 281 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 234, + "type": "VAEDecode", + "pos": [ + 12360, + -177 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 392, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 274 + }, + { + "name": "vae", + "type": "VAE", + "link": 275, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 276 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 235, + "type": "SaveImage", + "pos": [ + 12605, + -176 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 408, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 276 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 236, + "type": "Note", + "pos": [ + 12598, + 468 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 2, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Xem chi tiết tại : https://github.com/nullquant/ComfyUI-BrushNet\n- ứng dụng để cải thiện khả năng nội suy khá tốt cho model SDXL" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 255, + "type": "VAEDecode", + "pos": [ + 12357, + 898 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 393, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 304 + }, + { + "name": "vae", + "type": "VAE", + "link": 305, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 306 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 256, + "type": "SaveImage", + "pos": [ + 12602, + 899 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 409, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 306 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 254, + "type": "ConstrainImage|pysssss", + "pos": [ + 11053, + 1368 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 212, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 303 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 322 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 265, + "type": "InpaintModelConditioning", + "pos": [ + 11659, + 1040 + ], + "size": { + "0": 216.59999084472656, + "1": 106 + }, + "flags": {}, + "order": 312, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 319, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 320 + }, + { + "name": "vae", + "type": "VAE", + "link": 321, + "slot_index": 2 + }, + { + "name": "pixels", + "type": "IMAGE", + "link": 322, + "slot_index": 3 + }, + { + "name": "mask", + "type": "MASK", + "link": 975, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 327 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 328 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 324, + 326 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintModelConditioning" + } + }, + { + "id": 250, + "type": "KSampler", + "pos": [ + 12010, + 891 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 374, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 325 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 327 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 328 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 326, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 304 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 437759628520939, + "randomize", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 264, + "type": "easy applyFooocusInpaint", + "pos": [ + 11647, + 887 + ], + "size": { + "0": 315, + "1": 102 + }, + "flags": {}, + "order": 345, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 318 + }, + { + "name": "latent", + "type": "LATENT", + "link": 324 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 325 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "easy applyFooocusInpaint" + }, + "widgets_values": [ + "fooocus_inpaint_head", + "inpaint_v26 (1.32GB)" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 247, + "type": "BrushNet", + "pos": [ + 11633, + -192 + ], + "size": { + "0": 315, + "1": 226 + }, + "flags": {}, + "order": 344, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 295 + }, + { + "name": "vae", + "type": "VAE", + "link": 290 + }, + { + "name": "image", + "type": "IMAGE", + "link": 287 + }, + { + "name": "mask", + "type": "MASK", + "link": 974 + }, + { + "name": "brushnet", + "type": "BRMODEL", + "link": 296, + "slot_index": 4 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 288 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 289 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 294 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 291 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 292 + ], + "shape": 3, + "slot_index": 2 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 293 + ], + "shape": 3, + "slot_index": 3 + } + ], + "properties": { + "Node name for S&R": "BrushNet" + }, + "widgets_values": [ + 1, + 0, + 10000 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 282, + "type": "VAEEncode", + "pos": [ + 11637, + 2395 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 346, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 356 + }, + { + "name": "vae", + "type": "VAE", + "link": 976 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 357 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 272, + "type": "VAEDecode", + "pos": [ + 12398, + 1976 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 410, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 336 + }, + { + "name": "vae", + "type": "VAE", + "link": 337, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 338 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 273, + "type": "SaveImage", + "pos": [ + 12643, + 1977 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 419, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 338 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 227, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2870, + "1": 206, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 536.20654296875, + "1": 202 + }, + "flags": { + "pinned": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Nâng cao xử lý Inpaint", + "properties": { + "matchColors": "", + "matchTitle": "Nâng cao", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 114, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2870, + "1": -101, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 535.4971313476562, + "1": 106 + }, + "flags": { + "pinned": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "2 Phương thức load mask", + "properties": { + "matchColors": "", + "matchTitle": "Load mask", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 41, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2870, + "1": -267, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 534.6016235351562, + "1": 110.15609741210938 + }, + "flags": { + "pinned": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "3 Nodes Inpaint căn bản", + "properties": { + "matchColors": "", + "matchTitle": "Inpaint Nodes cơ bản", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 115, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2870, + "1": 58, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 539.0210571289062, + "1": 93.16223907470703 + }, + "flags": { + "pinned": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Các Nodes tự detect Mask", + "properties": { + "matchColors": "", + "matchTitle": "Detect Mask", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 296, + "type": "VAEEncodeForInpaint", + "pos": [ + 3931.3652031662505, + 4869.868463545692 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 334, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 373 + }, + { + "name": "vae", + "type": "VAE", + "link": 374 + }, + { + "name": "mask", + "type": "MASK", + "link": 375, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 367 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 298, + "type": "InvertMask", + "pos": [ + 3794.3652031662505, + 5015.868463545692 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 262, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 377 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 378 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 294, + "type": "VAEDecode", + "pos": [ + 4521.365203166257, + 4389.868463545694 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 384, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 371 + }, + { + "name": "vae", + "type": "VAE", + "link": 372, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 397, + 398 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 306, + "type": "SaveImage", + "pos": [ + 5915.365203166257, + 4401.868463545694 + ], + "size": { + "0": 420.9338073730469, + "1": 400.71405029296875 + }, + "flags": {}, + "order": 400, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 397 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 299, + "type": "MaskComposite", + "pos": [ + 4026.3652031662514, + 5018.868463545692 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 304, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 378 + }, + { + "name": "source", + "type": "MASK", + "link": 379 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 375, + 410 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 311, + "type": "VAEEncode", + "pos": [ + 5104.906303770138, + 4395.734661511231 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 413, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 399 + }, + { + "name": "vae", + "type": "VAE", + "link": 407 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 408 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 314, + "type": "VAEDecode", + "pos": [ + 5677.906303770138, + 4403.734661511231 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 432, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 405 + }, + { + "name": "vae", + "type": "VAE", + "link": 406 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 325, + "type": "VAEEncodeForInpaint", + "pos": [ + 7733.697277749626, + 326.97098182146334 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 324, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 421 + }, + { + "name": "vae", + "type": "VAE", + "link": 422 + }, + { + "name": "mask", + "type": "MASK", + "link": 423, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 414 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 327, + "type": "InvertMask", + "pos": [ + 7596.697277749626, + 472.9709818214632 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 248, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 425 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 426 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 328, + "type": "MaskComposite", + "pos": [ + 7838.697277749626, + 477.9709818214632 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 291, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 426 + }, + { + "name": "source", + "type": "MASK", + "link": 427 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 423, + 428 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 329, + "type": "MaskToImage", + "pos": [ + 8207.697277749636, + 480.9709818214632 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 325, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 428 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 429 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 323, + "type": "SaveImage", + "pos": [ + 9473.697277749636, + -172.02901817853726 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 398, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 420 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 322, + "type": "VAEDecode", + "pos": [ + 9225.697277749636, + -174.02901817853726 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 379, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 418 + }, + { + "name": "vae", + "type": "VAE", + "link": 419, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 420 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 332, + "type": "AIO_Preprocessor", + "pos": [ + 8101.697277749631, + -75.02901817853707 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 247, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 436, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 432 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AIO_Preprocessor" + }, + "widgets_values": [ + "LineartStandardPreprocessor", + 768 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 331, + "type": "ControlNetApplyAdvanced", + "pos": [ + 8100.697277749631, + 57.97098182146303 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 290, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 434 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 435 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 433, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 432 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 439 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 440 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 330, + "type": "PreviewImage", + "pos": [ + 8503.697277749636, + 376.97098182146334 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 353, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 429 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 324, + "type": "Note", + "pos": [ + 8891.697277749636, + 405.97098182146345 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 7, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Có thể kẹp nhiều 1 hoặc nhiều controlnet bằng cách nối tiếp" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 342, + "type": "ConstrainImage|pysssss", + "pos": [ + 7220.887307707679, + 1521.526037592012 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 202, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 449 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 453 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 346, + "type": "VAEEncodeForInpaint", + "pos": [ + 7735.887307707679, + 1526.526037592012 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 343, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 453 + }, + { + "name": "vae", + "type": "VAE", + "link": 454 + }, + { + "name": "mask", + "type": "MASK", + "link": 455, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 446 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 347, + "type": "easy imageRemBg", + "pos": [ + 7235.887307707679, + 1579.526037592012 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 203, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 456 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [], + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 457 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 348, + "type": "InvertMask", + "pos": [ + 7598.887307707679, + 1672.5260375920113 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 269, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 457 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 458 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 349, + "type": "MaskComposite", + "pos": [ + 7840.887307707679, + 1677.5260375920113 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 310, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 458 + }, + { + "name": "source", + "type": "MASK", + "link": 459 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 455 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 343, + "type": "VAEDecode", + "pos": [ + 8920.887307707677, + 1000.526037592014 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 391, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 450 + }, + { + "name": "vae", + "type": "VAE", + "link": 451, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 452 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 344, + "type": "SaveImage", + "pos": [ + 9168.887307707677, + 1002.526037592014 + ], + "size": { + "0": 439.1556091308594, + "1": 466.5009460449219 + }, + "flags": {}, + "order": 407, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 452 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 345, + "type": "Note", + "pos": [ + 8589.887307707671, + 1591.526037592011 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 8, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Inpaint sử dụng IP-Adapter để sao chép background, style" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 358, + "type": "IPAdapterAdvanced", + "pos": [ + 8189.887307707677, + 1101.526037592013 + ], + "size": { + "0": 315, + "1": 278 + }, + "flags": {}, + "order": 270, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 969, + "slot_index": 0 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 970, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": 475, + "slot_index": 2 + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null + }, + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": null, + "slot_index": 5 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 474 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "IPAdapterAdvanced" + }, + "widgets_values": [ + 1, + "linear", + "concat", + 0, + 1, + "V only" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 442, + "type": "easy imageRemBg", + "pos": [ + 13655, + 2002 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 226, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 600, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 598 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 599, + 614 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 8, + "type": "VAEEncode", + "pos": [ + -1528, + 263 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 253, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 8 + }, + { + "name": "vae", + "type": "VAE", + "link": 9, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 10 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 9, + "type": "SetLatentNoiseMask", + "pos": [ + -1291, + 263 + ], + "size": [ + 176.39999389648438, + 266 + ], + "flags": {}, + "order": 295, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 10, + "slot_index": 0 + }, + { + "name": "mask", + "type": "MASK", + "link": 943, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 12 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 16, + "type": "Note", + "pos": [ + -537, + 380 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 9, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Phương pháp inpaint cơ bản đối với node Set Latent Noise Mask ( Dùng mới model thường, denoise không quá cao ). Không hoạt động với model inpaint và các loại model đặc biệt\n- Tô mask trực tiếp bằng cách phải chuột ở load image chọn Mask Editor hoặc chạy SAM detector nếu cài Impact pack" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 28, + "type": "VAEEncodeForInpaint", + "pos": [ + -1482, + 1197 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 254, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 32 + }, + { + "name": "vae", + "type": "VAE", + "link": 31 + }, + { + "name": "mask", + "type": "MASK", + "link": 721, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 34 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 22, + "type": "ConstrainImage|pysssss", + "pos": [ + -1869, + 1193 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": {}, + "order": 153, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 22 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 32 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 960, + 960, + 0, + 0, + "no" + ] + }, + { + "id": 19, + "type": "CLIPTextEncode", + "pos": [ + -1852, + 707 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 157, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 20 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the beach, sky, (high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 31, + "type": "CLIPTextEncode", + "pos": [ + -1848.894868847809, + 1642.3818785833932 + ], + "size": [ + 465.5392761230469, + 420.11549377441406 + ], + "flags": {}, + "order": 154, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 39 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 50 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the beach, sky, (high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 20, + "type": "CLIPTextEncode", + "pos": [ + -1855, + 962 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 158, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 21 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 18 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 32, + "type": "CLIPTextEncode", + "pos": [ + -1852.894868847809, + 1897.3818785833932 + ], + "size": { + "0": 477.0767517089844, + "1": 184.09141540527344 + }, + "flags": {}, + "order": 155, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 40 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 51 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 34, + "type": "ConstrainImage|pysssss", + "pos": [ + -1866.894868847809, + 2128.3818785833937 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": {}, + "order": 156, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 722 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 56 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 960, + 960, + 0, + 0, + "no" + ] + }, + { + "id": 27, + "type": "Note", + "pos": [ + -523, + 1304 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 10, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Phương pháp inpaint cơ bản đối với node VAE Encode (for inpainting), phương pháp inpaint thông dụng cho hầu hết các trường hợp, prompt được ưu tiên hơn so với phương pháp Inpaint Model Conditioning.\n- Tô mask trực tiếp bằng cách phải chuột ở load image chọn Mask Editor hoặc chạy SAM detector nếu cài Impact pack" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 39, + "type": "Note", + "pos": [ + -518, + 2268 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 11, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Phương pháp inpaint cơ bản đối với node Inpaint Model Conditioning. Sử dụng trong những trường hợp inpaint với denoise cao và cần độ chính xác cao. Hình ảnh tạo ra có độ hài hoà tốt nhất nhưng prompt sẽ giảm độ chính xác để ưu tiên tính nội suy\n- Tô mask trực tiếp bằng cách phải chuột ở load image chọn Mask Editor hoặc chạy SAM detector nếu cài Impact pack" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 3, + "type": "CLIPTextEncode", + "pos": [ + -1836.656249999997, + -227.6978963216152 + ], + "size": [ + 673.0162353515625, + 422.39378356933594 + ], + "flags": {}, + "order": 150, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the beach, sky, (high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 4, + "type": "CLIPTextEncode", + "pos": [ + -1847.656249999997, + 28.302103678384857 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 151, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 4 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 50, + "type": "Note", + "pos": [ + 2181, + 424 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 12, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Xử lý mask với phương thức load mask bên ngoài dưới dạng mask đầu ra. (mask trong suốt thì chọn kênh alpha, mask đen trắng thì chọn kênh màu)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 65, + "type": "ImageToMask", + "pos": [ + 1193, + 1415 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 165, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 85 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 86 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageToMask" + }, + "widgets_values": [ + "red" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 61, + "type": "Note", + "pos": [ + 2168, + 1444 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 13, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Xử lý mask với phương thức load mask bên ngoài dưới dạng hình ảnh đầu ra. (mask trong suốt thì chọn kênh alpha, mask đen trắng thì chọn kênh màu)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 55, + "type": "CLIPTextEncode", + "pos": [ + 821.1022056461455, + 762.0968553463607 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 162, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 76 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 56, + "type": "CLIPTextEncode", + "pos": [ + 818.1022056461455, + 1017.0968553463607 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 163, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 77 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 101, + "type": "InvertMask", + "pos": [ + 1173.3795350966302, + 2411.042805300788 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 258, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 127 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 128 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 548, + "type": "PreviewImage", + "pos": [ + 1662, + 2414 + ], + "size": { + "0": 258.9146728515625, + "1": 286.8438415527344 + }, + "flags": {}, + "order": 301, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 738 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 100, + "type": "easy imageRemBg", + "pos": [ + 809.37953509663, + 2318.042805300788 + ], + "size": { + "0": 315, + "1": 313.9999084472656 + }, + "flags": {}, + "order": 167, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 126 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 127, + 739 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 547, + "type": "MaskToImage", + "pos": [ + 1182, + 2497 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 259, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 739 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 738 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 94, + "type": "VAEEncodeForInpaint", + "pos": [ + 1190, + 2261 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 300, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 119 + }, + { + "name": "vae", + "type": "VAE", + "link": 120 + }, + { + "name": "mask", + "type": "MASK", + "link": 128, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 112 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 93, + "type": "Note", + "pos": [ + 2162, + 2339 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 14, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Tự chọn mask tự động bằng Remove Background\n- Các loại node về Remove Background khác tham khảo" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 90, + "type": "ConstrainImage|pysssss", + "pos": [ + 794, + 2260 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 166, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 115 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 119 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 544, + "type": "MaskToImage", + "pos": [ + 1526, + 2831 + ], + "size": { + "0": 176.39999389648438, + "1": 26 + }, + "flags": {}, + "order": 123, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 733 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 734 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 546, + "type": "RemBGSession+", + "pos": [ + 2061, + 2954 + ], + "size": { + "0": 314.5597229003906, + "1": 82 + }, + "flags": {}, + "order": 15, + "mode": 4, + "outputs": [ + { + "name": "REMBG_SESSION", + "type": "REMBG_SESSION", + "links": [ + 735 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "RemBGSession+" + }, + "widgets_values": [ + "u2net_human_seg: human segmentation", + "CPU" + ] + }, + { + "id": 44, + "type": "CLIPTextEncode", + "pos": [ + 822, + -239 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 159, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 62 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 59 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 103, + "type": "Image Rembg (Remove Background)", + "pos": [ + 495, + 2815 + ], + "size": { + "0": 315, + "1": 250 + }, + "flags": {}, + "order": 16, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 725 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Rembg (Remove Background)" + }, + "widgets_values": [ + true, + "u2net", + false, + true, + false, + 240, + 10, + 10, + "none" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 550, + "type": "Anything Everywhere", + "pos": [ + 467, + 2683 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": true + }, + "order": 168, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 742, + "color_on": "#64B5F6" + } + ], + "title": "Origin Image", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [] + }, + { + "id": 106, + "type": "ImageRemoveBackground+", + "pos": [ + 2054, + 2837 + ], + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 121, + "mode": 4, + "inputs": [ + { + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 735, + "slot_index": 0 + }, + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 740 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 109, + "type": "BiRefNet", + "pos": [ + 1161, + 2828 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 17, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 733 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BiRefNet" + }, + "widgets_values": [ + "cpu" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 555, + "type": "SAMLoader", + "pos": [ + 1678.8920710813866, + 4355.007068192876 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 18, + "mode": 4, + "outputs": [ + { + "name": "SAM_MODEL", + "type": "SAM_MODEL", + "links": [ + 747 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "SAMLoader" + }, + "widgets_values": [ + "sam_vit_b_01ec64.pth", + "AUTO" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 557, + "type": "BboxDetectorSEGS", + "pos": [ + 1584.8920710813866, + 4487.007068192876 + ], + "size": { + "0": 400, + "1": 212 + }, + "flags": {}, + "order": 124, + "mode": 4, + "inputs": [ + { + "name": "bbox_detector", + "type": "BBOX_DETECTOR", + "link": 749 + }, + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "detailer_hook", + "type": "DETAILER_HOOK", + "link": null + } + ], + "outputs": [ + { + "name": "SEGS", + "type": "SEGS", + "links": [ + 748 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BboxDetectorSEGS" + }, + "widgets_values": [ + 0.5, + 10, + 3, + 10, + "all" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 554, + "type": "SAMDetectorSegmented", + "pos": [ + 2012.892071081386, + 4358.007068192876 + ], + "size": { + "0": 315, + "1": 218 + }, + "flags": {}, + "order": 233, + "mode": 4, + "inputs": [ + { + "name": "sam_model", + "type": "SAM_MODEL", + "link": 747, + "slot_index": 0 + }, + { + "name": "segs", + "type": "SEGS", + "link": 748, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "combined_mask", + "type": "MASK", + "links": [ + 750 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "batch_masks", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "SAMDetectorSegmented" + }, + "widgets_values": [ + "center-1", + 0, + 0.93, + 0, + 0.7, + "False" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 559, + "type": "UltralyticsDetectorProvider", + "pos": [ + 1336.8920710813866, + 4364.007068192876 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 19, + "mode": 4, + "outputs": [ + { + "name": "BBOX_DETECTOR", + "type": "BBOX_DETECTOR", + "links": [ + 749 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "SEGM_DETECTOR", + "type": "SEGM_DETECTOR", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "UltralyticsDetectorProvider" + }, + "widgets_values": [ + "segm/person_yolov8m-seg.pt" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 567, + "type": "MaskToImage", + "pos": [ + 3471, + 760 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 136, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 756 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 755 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 568, + "type": "PreviewImage", + "pos": [ + 3723, + 755 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 245, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 755 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 570, + "type": "MaskToImage", + "pos": [ + 3490, + 1155 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 135, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 758 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 757 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 571, + "type": "PreviewImage", + "pos": [ + 3740, + 1154 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 244, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 757 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 565, + "type": "MaskToImage", + "pos": [ + 4425, + 760 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 137, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 753 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 754 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 566, + "type": "PreviewImage", + "pos": [ + 4663, + 762 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 246, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 754 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 572, + "type": "MaskToImage", + "pos": [ + 4394, + 1150 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 125, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 760 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 759 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 573, + "type": "PreviewImage", + "pos": [ + 4632, + 1152 + ], + "size": { + "0": 259.83587646484375, + "1": 246.45785522460938 + }, + "flags": {}, + "order": 234, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 759 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 167, + "type": "InvertMask", + "pos": [ + 4133, + 1153 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 20, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 760 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 160, + "type": "MaskComposite", + "pos": [ + 4051, + 396 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 307, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 176 + }, + { + "name": "source", + "type": "MASK", + "link": 175 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 177, + 178 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 154, + "type": "InvertMask", + "pos": [ + 3796, + 398 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 265, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 174 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 176 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 162, + "type": "MaskToImage", + "pos": [ + 4394, + 403 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 340, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 178 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 179 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 526, + "type": "ControlNetApplyAdvanced", + "pos": [ + 14081, + 2960 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 235, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": null, + "label": "p_prompt" + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null, + "slot_index": 1, + "label": "n_prompt" + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 711, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 712 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 631 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 632 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.4, + 0, + 0.8 + ] + }, + { + "id": 528, + "type": "LineartStandardPreprocessor", + "pos": [ + 14083, + 3176 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 126, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 713 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 712 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LineartStandardPreprocessor" + }, + "widgets_values": [ + 6, + 8, + 960 + ] + }, + { + "id": 466, + "type": "ControlNetApplyAdvanced", + "pos": [ + 14429, + 2965 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 282, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 631 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 632 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 633, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 634 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 784 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 785 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.5, + 0, + 0.7000000000000001 + ] + }, + { + "id": 525, + "type": "MaskToImage", + "pos": [ + 14085, + 3444 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": false + }, + "order": 21, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "Option mask" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 713 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 529, + "type": "CannyEdgePreprocessor", + "pos": [ + 14436, + 3182 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 22, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null, + "label": "canny img" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 634 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CannyEdgePreprocessor" + }, + "widgets_values": [ + 100, + 200, + 960 + ] + }, + { + "id": 502, + "type": "easy imageRemBg", + "pos": [ + 14095, + 3640 + ], + "size": { + "0": 315, + "1": 314.00006103515625 + }, + "flags": {}, + "order": 23, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 630 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 465, + "type": "InvertMask", + "pos": [ + 14445, + 3647 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 127, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 630 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 677 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 495, + "type": "MaskComposite", + "pos": [ + 14443, + 3733 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": { + "collapsed": true + }, + "order": 236, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 677 + }, + { + "name": "source", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 715 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 531, + "type": "MaskComposite", + "pos": [ + 14444, + 3786 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": { + "collapsed": true + }, + "order": 283, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 715, + "slot_index": 0 + }, + { + "name": "source", + "type": "MASK", + "link": null, + "label": "Option mask" + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 682, + 794 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 498, + "type": "JoinImageWithAlpha", + "pos": [ + 14441, + 3834 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 318, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "alpha", + "type": "MASK", + "link": 682 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 793 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "JoinImageWithAlpha" + } + }, + { + "id": 493, + "type": "VAEEncode", + "pos": [ + 14119, + 4150 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 24, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": null, + "label": "upscale_img" + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 788 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 494, + "type": "SetLatentNoiseMask", + "pos": [ + 14117, + 4244 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 128, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 788 + }, + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "mask final" + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 670 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 492, + "type": "VAEDecode", + "pos": [ + 14695, + 4152 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 284, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 671 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 649 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 462, + "type": "ConstrainImage|pysssss", + "pos": [ + 14902, + 2987 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 25, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 659 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 960, + 960, + 0, + 0, + "no" + ] + }, + { + "id": 470, + "type": "VAEEncode", + "pos": [ + 14826, + 3686 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 26, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": null, + "slot_index": 0, + "label": "inpaint_img" + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 638 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 468, + "type": "ICLightConditioning", + "pos": [ + 15054, + 3682 + ], + "size": { + "0": 342.5999755859375, + "1": 138 + }, + "flags": {}, + "order": 130, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": null, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "slot_index": 2 + }, + { + "name": "foreground", + "type": "LATENT", + "link": 638, + "slot_index": 3 + }, + { + "name": "opt_background", + "type": "LATENT", + "link": null, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 642 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 643 + ], + "shape": 3 + }, + { + "name": "empty_latent", + "type": "LATENT", + "links": [ + 644 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "ICLightConditioning" + }, + "widgets_values": [ + 0.182 + ] + }, + { + "id": 473, + "type": "LoadAndApplyICLightUnet", + "pos": [ + 15074, + 3566 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 27, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 641 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadAndApplyICLightUnet" + }, + "widgets_values": [ + "iclight_sd15_fc_unet_ldm.safetensors" + ] + }, + { + "id": 471, + "type": "KSampler", + "pos": [ + 15426, + 3548 + ], + "size": { + "0": 315, + "1": 474.00006103515625 + }, + "flags": {}, + "order": 239, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 641 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 642 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 643, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 644 + }, + { + "name": "seed", + "type": "INT", + "link": null, + "widget": { + "name": "seed" + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 645 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 777685911925287, + "randomize", + 32, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 472, + "type": "VAEDecode", + "pos": [ + 15778, + 3549 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 286, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 645 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 653 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 478, + "type": "ImageBlend", + "pos": [ + 16017, + 3550 + ], + "size": { + "0": 315, + "1": 102 + }, + "flags": {}, + "order": 322, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": null, + "label": "inpaint_img" + }, + { + "name": "image2", + "type": "IMAGE", + "link": 653 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 687 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBlend" + }, + "widgets_values": [ + 0.5, + "normal" + ] + }, + { + "id": 504, + "type": "ImageUpscaleWithModel", + "pos": [ + 16360, + 3552 + ], + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 351, + "mode": 4, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 686 + }, + { + "name": "image", + "type": "IMAGE", + "link": 687, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 689 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + } + }, + { + "id": 506, + "type": "ConstrainImage|pysssss", + "pos": [ + 16372, + 3646 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 378, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 689, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 798 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1920, + 1920, + 0, + 0, + "no" + ] + }, + { + "id": 503, + "type": "UpscaleModelLoader", + "pos": [ + 16025, + 3430 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 28, + "mode": 4, + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 686 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x-UltraSharp.pth" + ] + }, + { + "id": 515, + "type": "CLIPTextEncode", + "pos": [ + 13724, + 3487 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": { + "collapsed": true + }, + "order": 241, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null, + "slot_index": 0 + }, + { + "name": "text", + "type": "STRING", + "link": 698, + "widget": { + "name": "text" + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 786 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 513, + "type": "DPRandomGenerator", + "pos": [ + 13724, + 3559 + ], + "size": { + "0": 402.3221130371094, + "1": 217.1813507080078 + }, + "flags": { + "collapsed": true + }, + "order": 133, + "mode": 4, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 772, + "widget": { + "name": "text" + }, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 700 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DPRandomGenerator" + }, + "widgets_values": [ + "", + 891, + "randomize", + "No" + ] + }, + { + "id": 516, + "type": "CLIPTextEncode", + "pos": [ + 13729, + 3608 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": { + "collapsed": true + }, + "order": 242, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null, + "slot_index": 0 + }, + { + "name": "text", + "type": "STRING", + "link": 700, + "widget": { + "name": "text" + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 787 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 476, + "type": "ImageResizeKJ", + "pos": [ + 14956, + 4167 + ], + "size": { + "0": 315, + "1": 242 + }, + "flags": { + "collapsed": true + }, + "order": 320, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 649 + }, + { + "name": "get_image_size", + "type": "IMAGE", + "link": null + }, + { + "name": "width_input", + "type": "INT", + "link": null, + "widget": { + "name": "width_input" + } + }, + { + "name": "height_input", + "type": "INT", + "link": null, + "widget": { + "name": "height_input" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 688 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "nearest-exact", + false, + 2, + 0, + 0 + ] + }, + { + "id": 463, + "type": "ImageBlur", + "pos": [ + 15092, + 4406 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 287, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 628 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 625 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBlur" + }, + "widgets_values": [ + 3, + 1 + ] + }, + { + "id": 459, + "type": "MaskToImage", + "pos": [ + 15195, + 4534 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 240, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 622 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 628 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 464, + "type": "GrowMask", + "pos": [ + 15092, + 4604 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 131, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 629 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 622 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GrowMask" + }, + "widgets_values": [ + 0, + true + ] + }, + { + "id": 497, + "type": "Mask Invert", + "pos": [ + 15193, + 4731 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 29, + "mode": 4, + "inputs": [ + { + "name": "masks", + "type": "MASK", + "link": null, + "label": "mask final" + } + ], + "outputs": [ + { + "name": "MASKS", + "type": "MASK", + "links": [ + 629 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Mask Invert" + } + }, + { + "id": 461, + "type": "SaveImage", + "pos": [ + 15816, + 4159 + ], + "size": { + "0": 460.5460205078125, + "1": 583.6355590820312 + }, + "flags": { + "collapsed": false + }, + "order": 396, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 626 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 460, + "type": "Image Blend by Mask", + "pos": [ + 15446, + 4159 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 377, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 623 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "type": "IMAGE", + "link": 625 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 626 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Blend by Mask" + }, + "widgets_values": [ + 0.6 + ] + }, + { + "id": 587, + "type": "Anything Everywhere", + "pos": [ + 13635, + 3894 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": true + }, + "order": 218, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 789, + "color_on": "#64B5F6" + } + ], + "title": "Input image", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 588, + "type": "Anything Everywhere", + "pos": [ + 13631, + 3940 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": true + }, + "order": 219, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 790, + "color_on": "#81C784" + } + ], + "title": "Custommask", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 590, + "type": "Anything Everywhere?", + "pos": [ + 13655, + 4258 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 222, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 792, + "color_on": "#81C784" + } + ], + "title": "Option mask", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "Option mask", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 487, + "type": "VAEEncodeForInpaint", + "pos": [ + 15092, + 2977 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 129, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 659 + }, + { + "name": "vae", + "type": "VAE", + "link": null + }, + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "mask final" + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 619 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 584, + "type": "Prompts Everywhere", + "pos": [ + 14773, + 2971 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": { + "collapsed": true + }, + "order": 317, + "mode": 4, + "inputs": [ + { + "name": "CONDITIONING", + "type": "*", + "link": 784, + "color_on": "#FFA931", + "slot_index": 0 + }, + { + "name": "CONDITIONING", + "type": "*", + "link": 785, + "color_on": "#FFA931", + "slot_index": 1 + } + ], + "title": "Prompt", + "properties": { + "Node name for S&R": "Prompts Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 585, + "type": "Anything Everywhere?", + "pos": [ + 13954, + 3484 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 288, + "mode": 4, + "inputs": [ + { + "name": "CONDITIONING", + "type": "*", + "link": 786, + "color_on": "#FFA931" + } + ], + "title": "pPrompt", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "p_prompt", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 586, + "type": "Anything Everywhere?", + "pos": [ + 13959, + 3609 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 289, + "mode": 4, + "inputs": [ + { + "name": "CONDITIONING", + "type": "*", + "link": 787, + "color_on": "#FFA931" + } + ], + "title": "nPrompt", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "n_prompt", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 592, + "type": "Anything Everywhere?", + "pos": [ + 14671, + 3785 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 319, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 794, + "slot_index": 0, + "color_on": "#81C784" + } + ], + "title": "mask final", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "mask final", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 591, + "type": "Anything Everywhere?", + "pos": [ + 14673, + 3854 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 349, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 793, + "slot_index": 0, + "color_on": "#64B5F6" + } + ], + "title": "canny img", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "canny img", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 458, + "type": "VAEDecode", + "pos": [ + 15765, + 2981 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 285, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 620 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 796 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 593, + "type": "Anything Everywhere?", + "pos": [ + 16007, + 2987 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 321, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 796, + "slot_index": 0, + "color_on": "#64B5F6" + } + ], + "title": "Inpaint img", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "inpaint_img", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 488, + "type": "LoraLoader", + "pos": [ + 13637, + 2969 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 221, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 662 + }, + { + "name": "clip", + "type": "CLIP", + "link": 663 + }, + { + "name": "lora_name", + "type": "COMBO", + "link": 664, + "widget": { + "name": "lora_name" + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 802 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "Lora/New/Lienhoa-fix.safetensors", + 1, + 1 + ] + }, + { + "id": 598, + "type": "LoraLoader", + "pos": [ + 13635, + 3256 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 220, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 902 + }, + { + "name": "clip", + "type": "CLIP", + "link": 903 + }, + { + "name": "lora_name", + "type": "COMBO", + "link": 853, + "widget": { + "name": "lora_name" + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 852 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "Lora/New/Lienhoa-fix.safetensors", + 1, + 1 + ] + }, + { + "id": 489, + "type": "PrimitiveNode", + "pos": [ + 13290, + 3113 + ], + "size": { + "0": 210, + "1": 106 + }, + "flags": {}, + "order": 30, + "mode": 4, + "outputs": [ + { + "name": "COMBO", + "type": "COMBO", + "links": [ + 664, + 853 + ], + "widget": { + "name": "lora_name" + }, + "slot_index": 0 + } + ], + "title": "lora_name", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "Lora/New/Lienhoa-fix.safetensors", + "fixed", + "" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 580, + "type": "workflow/Prompt", + "pos": [ + 13294, + 3432 + ], + "size": { + "0": 404.060791015625, + "1": 397.5091552734375 + }, + "flags": {}, + "order": 31, + "mode": 4, + "outputs": [ + { + "name": "negative", + "type": "STRING", + "links": null, + "shape": 3 + }, + { + "name": "positive", + "type": "STRING", + "links": null, + "shape": 3 + }, + { + "name": "STRING", + "type": "STRING", + "links": [ + 771 + ], + "shape": 3 + }, + { + "name": "StringFunction|pysssss STRING", + "type": "STRING", + "links": [ + 772 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "workflow/Prompt" + }, + "widgets_values": [ + "RealQuality", + "RealNegative", + "BasePrompt", + "append", + "yes", + "1girl portrait,in the garden, blue sky, cloud,spread __*/color__ __*/flower__,big flower,summer day,( film gain, raw photo:1.1)", + "append", + "yes", + "" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 512, + "type": "DPRandomGenerator", + "pos": [ + 13722, + 3444 + ], + "size": { + "0": 402.3221130371094, + "1": 217.1813507080078 + }, + "flags": { + "collapsed": true + }, + "order": 132, + "mode": 4, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 771, + "widget": { + "name": "text" + }, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 698 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DPRandomGenerator" + }, + "widgets_values": [ + "", + 1590, + "randomize", + "No" + ] + }, + { + "id": 574, + "type": "Anything Everywhere3", + "pos": [ + 13638, + 3205 + ], + "size": { + "0": 210, + "1": 66 + }, + "flags": { + "collapsed": true + }, + "order": 274, + "mode": 4, + "inputs": [ + { + "name": "MODEL", + "type": "*", + "link": 851, + "color_on": "#B39DDB" + }, + { + "name": "CLIP", + "type": "*", + "link": 852, + "color_on": "#FFD500" + }, + { + "name": "VAE", + "type": "*", + "link": 779, + "color_on": "#FF6E6E" + } + ], + "title": "Model", + "properties": { + "Node name for S&R": "Anything Everywhere3", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 597, + "type": "Anything Everywhere?", + "pos": [ + 13641, + 3142 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 275, + "mode": 4, + "inputs": [ + { + "name": "MODEL", + "type": "*", + "link": 802, + "color_on": "#B39DDB" + } + ], + "title": "Inpaint", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "Inpaint_model", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 599, + "type": "Seed Everywhere", + "pos": [ + 13300, + 4630 + ], + "size": { + "0": 315, + "1": 124 + }, + "flags": {}, + "order": 32, + "mode": 4, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Seed Everywhere", + "group_restricted": 0, + "color_restricted": 0 + }, + "widgets_values": [ + 470988229000913, + "randomize" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 457, + "type": "KSampler", + "pos": [ + 15426, + 2975 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 238, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null, + "label": "Inpaint_model", + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 619 + }, + { + "name": "seed", + "type": "INT", + "link": null, + "widget": { + "name": "seed" + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 620 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 600154724705928, + "randomize", + 32, + 8, + "dpmpp_2m_sde", + "karras", + 1 + ] + }, + { + "id": 505, + "type": "EG_HT_YSTZ", + "pos": [ + 15139, + 4156 + ], + "size": { + "0": 265.33880615234375, + "1": 202 + }, + "flags": {}, + "order": 350, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 688 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 623 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EG_HT_YSTZ" + }, + "widgets_values": [ + 0, + 0, + 10, + 15, + 10, + 1, + 0 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 594, + "type": "Anything Everywhere?", + "pos": [ + 16571, + 3647 + ], + "size": { + "0": 315, + "1": 127 + }, + "flags": { + "collapsed": true + }, + "order": 397, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 798, + "color_on": "#64B5F6" + } + ], + "title": "upscale_img", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "upscale_img", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 491, + "type": "KSampler", + "pos": [ + 14355, + 4153 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 237, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 670 + }, + { + "name": "seed", + "type": "INT", + "link": null, + "widget": { + "name": "seed" + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 671 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 356741822021497, + "randomize", + 18, + 8, + "dpmpp_2m_sde", + "karras", + 0.4 + ] + }, + { + "id": 30, + "type": "KSampler", + "pos": [ + -1108.894868847809, + 1646.3818785833932 + ], + "size": { + "0": 315, + "1": 473.99993896484375 + }, + "flags": {}, + "order": 297, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 35 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 52 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 53 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 54, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 18, + "type": "KSampler", + "pos": [ + -1111, + 711 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 296, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 16 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 17 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 18 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 34, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 27 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 2, + "type": "KSampler", + "pos": [ + -1103.6562499999977, + -222.69789632161522 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 327, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 5 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 4 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 12, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 13 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 0.7000000000000001 + ] + }, + { + "id": 7, + "type": "ConstrainImage|pysssss", + "pos": [ + -1861.656249999997, + 259.3021036783848 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": {}, + "order": 152, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 942 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 960, + 960, + 0, + 0, + "no" + ] + }, + { + "id": 43, + "type": "KSampler", + "pos": [ + 1563, + -235 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 298, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 58 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 59 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 60 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 61, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 65 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 54, + "type": "KSampler", + "pos": [ + 1562.1022056461454, + 766.0968553463607 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 299, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 72 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 73 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 74 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 75, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 79 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 86, + "type": "KSampler", + "pos": [ + 1552.37953509663, + 1778.0428053007872 + ], + "size": { + "0": 315, + "1": 474.0000305175781 + }, + "flags": {}, + "order": 332, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 109 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 110 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 111 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 112, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 116 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 540, + "type": "PreviewImage", + "pos": [ + 850, + 2816 + ], + "size": { + "0": 259.98333740234375, + "1": 281.541259765625 + }, + "flags": {}, + "order": 122, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 725 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 68, + "type": "KSampler", + "pos": [ + 1550.8920710813866, + 3319.0070681928783 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 333, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 89 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 90 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 91 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 92, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 96 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 69, + "type": "CLIPTextEncode", + "pos": [ + 809.8920710813867, + 3315.0070681928783 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 171, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 93 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 90 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 88, + "type": "CLIPTextEncode", + "pos": [ + 808.37953509663, + 2029.042805300788 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 170, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 114 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 111 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 70, + "type": "CLIPTextEncode", + "pos": [ + 806.8920710813867, + 3570.007068192879 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 172, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 94 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 91 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 552, + "type": "Anything Everywhere", + "pos": [ + 488, + 4236 + ], + "size": { + "0": 210, + "1": 75.99977111816406 + }, + "flags": { + "collapsed": true + }, + "order": 174, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 744, + "color_on": "#64B5F6" + } + ], + "title": "Image", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [] + }, + { + "id": 79, + "type": "GroundingDinoSAMSegment (segment anything)", + "pos": [ + 1176.8920710813866, + 3991.007068192878 + ], + "size": { + "0": 352.79998779296875, + "1": 122 + }, + "flags": {}, + "order": 175, + "mode": 4, + "inputs": [ + { + "name": "sam_model", + "type": "SAM_MODEL", + "link": 105, + "slot_index": 0 + }, + { + "name": "grounding_dino_model", + "type": "GROUNDING_DINO_MODEL", + "link": 104 + }, + { + "name": "image", + "type": "IMAGE", + "link": 745 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 106, + 950 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "GroundingDinoSAMSegment (segment anything)" + }, + "widgets_values": [ + "human, body, girl, men", + 0.3 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 611, + "type": "SaveImage", + "pos": [ + 1929, + 3961 + ], + "size": { + "0": 328.0873718261719, + "1": 270 + }, + "flags": {}, + "order": 303, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 949 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 612, + "type": "MaskToImage", + "pos": [ + 1586, + 4083 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 261, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 950 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 949 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 607, + "type": "LayerMask: SegmentAnythingUltra", + "pos": [ + 518, + 4408 + ], + "size": { + "0": 315, + "1": 246 + }, + "flags": {}, + "order": 33, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 947 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LayerMask: SegmentAnythingUltra" + }, + "widgets_values": [ + "sam_vit_h (2.56GB)", + "GroundingDINO_SwinT_OGC (694MB)", + 0.3, + 16, + 0.15, + 0.99, + true, + "human, body, girl, men" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 609, + "type": "MaskToImage", + "pos": [ + 618, + 4322 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 134, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 947 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 948 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 608, + "type": "SaveImage", + "pos": [ + 894, + 4402 + ], + "size": { + "0": 328.0873718261719, + "1": 270 + }, + "flags": {}, + "order": 243, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 948 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 560, + "type": "MaskToImage", + "pos": [ + 2118, + 4286 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 281, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 750 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 751 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 561, + "type": "PreviewImage", + "pos": [ + 2367, + 4359 + ], + "size": { + "0": 349.8655700683594, + "1": 382.1206970214844 + }, + "flags": {}, + "order": 316, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 751 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 75, + "type": "Note", + "pos": [ + 2305, + 3972 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 34, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Tự chọn mask theo prompt với Segment Anything\n- Tham khảo thêm Mask By Text của Masquerade Nodes" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 87, + "type": "CLIPTextEncode", + "pos": [ + 811.37953509663, + 1774.0428053007872 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 169, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 113 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 110 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 45, + "type": "CLIPTextEncode", + "pos": [ + 819, + 16 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 160, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 63 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 144, + "type": "KSampler", + "pos": [ + 4183.571851145686, + -241.38611975324062 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 368, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 160 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 161 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 162 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 163, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 167 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 150, + "type": "SaveImage", + "pos": [ + 4794.571851145687, + -235.38611975324062 + ], + "size": { + "0": 443.6880187988281, + "1": 327.877685546875 + }, + "flags": {}, + "order": 404, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 169 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 163, + "type": "PreviewImage", + "pos": [ + 4663, + 387 + ], + "size": { + "0": 260.96319580078125, + "1": 246 + }, + "flags": {}, + "order": 369, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 179 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 151, + "type": "Note", + "pos": [ + 4808, + 150 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 35, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Xử lý mask cơ bản : \n+Hợp nhất mask với Mask Composite, ứng dụng trong nhiều trường hợp như hợp nhất giữa mask bằng tay và mask tự động, loại trừ trong trường hợp detect nhiều vùng phức tạp (VD như chọn da trên face)\n+ Nghịch đảo mask với invert mask (VD chọn đối tượng, nghịch đảo để chọn background)\n+ Mở rộng, thu hẹp vùng chọn với grow mask ( Nhận cả số âm và dương - VD: Tăng giảm vùng chọn để giảm thiểu đường viền)\n+ Làm mịn mask với FeatherMask, hoặc Blur mask ( Ứng dụng trong hoà trộn các lớp tốt hơn, VD: Trộn ảnh kết quả với ảnh gốc để lấy chi tiết)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 165, + "type": "GrowMask", + "pos": [ + 3129, + 1149 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 36, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 758 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GrowMask" + }, + "widgets_values": [ + 10, + true + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 161, + "type": "FeatherMask", + "pos": [ + 3125, + 755 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 37, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 756 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "FeatherMask" + }, + "widgets_values": [ + 10, + 10, + 10, + 10 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 564, + "type": "Anything Everywhere", + "pos": [ + 3797, + 484 + ], + "size": { + "0": 210, + "1": 76 + }, + "flags": { + "collapsed": true + }, + "order": 266, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 761, + "color_on": "#81C784" + } + ], + "title": "Mask", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [] + }, + { + "id": 168, + "type": "MaskBlur+", + "pos": [ + 4087, + 761 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 38, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 753 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskBlur+" + }, + "widgets_values": [ + 20, + "auto" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 153, + "type": "easy imageRemBg", + "pos": [ + 3440, + 294 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 190, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 173 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 174, + 761 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 152, + "type": "VAEEncodeForInpaint", + "pos": [ + 3826, + 245 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 339, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 170 + }, + { + "name": "vae", + "type": "VAE", + "link": 171 + }, + { + "name": "mask", + "type": "MASK", + "link": 177, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 163 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 170, + "type": "KSampler", + "pos": [ + 4177.101340891786, + 1666.9913288231628 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 365, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 180 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 181 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 182 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 183, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 187 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 184, + "type": "ImageResizeKJ", + "pos": [ + 4775.101340891786, + 1675.9913288231628 + ], + "size": { + "0": 313.1108703613281, + "1": 214 + }, + "flags": {}, + "order": 403, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 199 + }, + { + "name": "get_image_size", + "type": "IMAGE", + "link": 207 + }, + { + "name": "width_input", + "type": "INT", + "link": null, + "widget": { + "name": "width_input" + } + }, + { + "name": "height_input", + "type": "INT", + "link": null, + "widget": { + "name": "height_input" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 201, + 953 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "nearest-exact", + false, + 2, + 0, + 0 + ] + }, + { + "id": 199, + "type": "MaskToImage", + "pos": [ + 4826.101340891786, + 2101.9913288231623 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 367, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 217 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 954 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 619, + "type": "Anything Everywhere?", + "pos": [ + 4954, + 2174 + ], + "size": { + "0": 315, + "1": 148.0001220703125 + }, + "flags": { + "collapsed": true + }, + "order": 387, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 954, + "color_on": "#64B5F6" + } + ], + "title": "mask", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "mask", + "" + ] + }, + { + "id": 198, + "type": "Image Blend by Mask", + "pos": [ + 3093, + 2665 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 39, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": null, + "label": "save" + }, + { + "name": "image_b", + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "type": "IMAGE", + "link": null, + "label": "mask" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 960 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Blend by Mask" + }, + "widgets_values": [ + 0.5 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 627, + "type": "PreviewImage", + "pos": [ + 3455, + 2671 + ], + "size": { + "0": 353.6432189941406, + "1": 383.96038818359375 + }, + "flags": {}, + "order": 138, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 960 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 626, + "type": "PreviewImage", + "pos": [ + 4315, + 2674 + ], + "size": { + "0": 353.6432189941406, + "1": 383.96038818359375 + }, + "flags": {}, + "order": 139, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 959 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 625, + "type": "easy imageColorMatch", + "pos": [ + 3956, + 2674 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 40, + "mode": 4, + "inputs": [ + { + "name": "image_ref", + "type": "IMAGE", + "link": null + }, + { + "name": "image_target", + "type": "IMAGE", + "link": null, + "label": "save" + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 959 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "easy imageColorMatch" + }, + "widgets_values": [ + "mkl", + "Preview", + "ComfyUI" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 629, + "type": "PreviewImage", + "pos": [ + 5156, + 2681 + ], + "size": { + "0": 353.6432189941406, + "1": 383.96038818359375 + }, + "flags": {}, + "order": 140, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 962 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 630, + "type": "ImageColorMatch+", + "pos": [ + 4796, + 2688 + ], + "size": { + "0": 315, + "1": 150 + }, + "flags": {}, + "order": 41, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null, + "label": "save" + }, + { + "name": "reference", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 962 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageColorMatch+" + }, + "widgets_values": [ + "LAB", + 1, + "auto", + 0 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 545, + "type": "PreviewImage", + "pos": [ + 1754, + 2832 + ], + "size": { + "0": 253.3546600341797, + "1": 312.711181640625 + }, + "flags": {}, + "order": 232, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 734 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 549, + "type": "MaskToImage", + "pos": [ + 2322, + 2838 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 231, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 740 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 963 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 631, + "type": "PreviewImage", + "pos": [ + 2566, + 2839 + ], + "size": { + "0": 253.3546600341797, + "1": 312.711181640625 + }, + "flags": {}, + "order": 280, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 963 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 177, + "type": "Note", + "pos": [ + 5463, + 2194 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 42, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Khôi phục chi tiết với phương thức cơ bản, hoà trộn với ảnh gốc.\n- Hoà trộn để khôi phục chi tiết giữ lại với ImageCompositeMasked\n- Hoà trộn theo để khôi phục một phần chi tiết được giữ lại Image Blend by Mask\n- Dùng Image Blend Match để cân bằng lại màu sắc với ảnh gốc nếu chênh màu" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 171, + "type": "CLIPTextEncode", + "pos": [ + 3436.1013408917797, + 1662.9913288231628 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 187, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 184 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 181 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 172, + "type": "CLIPTextEncode", + "pos": [ + 3433.1013408917797, + 1917.9913288231614 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 188, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 185 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 182 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 202, + "type": "KSampler", + "pos": [ + 4888.470074777737, + 3253.658731417376 + ], + "size": { + "0": 315, + "1": 473.9999694824219 + }, + "flags": {}, + "order": 364, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 220 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 258 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 259 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 260, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 227 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 223, + "type": "InpaintCrop", + "pos": [ + 4153.470074777737, + 3239.658731417376 + ], + "size": { + "0": 443.4000244140625, + "1": 386 + }, + "flags": {}, + "order": 305, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 964 + }, + { + "name": "mask", + "type": "MASK", + "link": 254 + }, + { + "name": "optional_context_mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "stitch", + "type": "STITCH", + "links": [ + 265 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "cropped_image", + "type": "IMAGE", + "links": [ + 262 + ], + "shape": 3 + }, + { + "name": "cropped_mask", + "type": "MASK", + "links": [ + 263 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintCrop" + }, + "widgets_values": [ + 20, + 1, + true, + 16, + true, + 16, + "bicubic", + "ranged size", + 1024, + 1024, + 1, + 512, + 512, + 768, + 768, + 32 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 212, + "type": "MaskComposite", + "pos": [ + 3796, + 3786 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 263, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 965 + }, + { + "name": "source", + "type": "MASK", + "link": 235 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 254 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 208, + "type": "Note", + "pos": [ + 5263, + 3489 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 43, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Khôi phục chi tiết với phương thức inpaint only mask sử dụng notes Crop and Stich (https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 203, + "type": "CLIPTextEncode", + "pos": [ + 3436.470074777736, + 3234.658731417376 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 181, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 224 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 256 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 204, + "type": "CLIPTextEncode", + "pos": [ + 3433.470074777736, + 3489.658731417379 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 182, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 225 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 257 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 293, + "type": "ConstrainImage|pysssss", + "pos": [ + 3435, + 4874 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 178, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 370 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 373 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 295, + "type": "Note", + "pos": [ + 4515, + 4908 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 44, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Inpaint phân đoạn để tăng size Inpaint\n- Nguyên tắc chung là chia làm nhiều lần Ksampler với denoise giảm dần và kích thước ảnh tăng dần. có thể chuyển model sau mỗi lần để cải thiện chi tiết" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 289, + "type": "KSampler", + "pos": [ + 4174.365203166257, + 4382.868463545694 + ], + "size": { + "0": 315, + "1": 474.00018310546875 + }, + "flags": {}, + "order": 363, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 364 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 365 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 366 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 367, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 371 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 310, + "type": "CR Upscale Image", + "pos": [ + 4766.906303770138, + 4392.734661511231 + ], + "size": { + "0": 315, + "1": 222 + }, + "flags": {}, + "order": 401, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 398 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 399 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "show_help", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CR Upscale Image" + }, + "widgets_values": [ + "4x-UltraSharp.pth", + "rescale", + 2, + 1024, + "lanczos", + "true", + 8 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 312, + "type": "KSampler", + "pos": [ + 5344.906303770138, + 4399.734661511231 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 428, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 402, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 403 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 404 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 409, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 405 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 0.4 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 315, + "type": "SetLatentNoiseMask", + "pos": [ + 5104, + 4489 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 422, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 408 + }, + { + "name": "mask", + "type": "MASK", + "link": 410 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 409 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 313, + "type": "CheckpointLoaderSimple", + "pos": [ + 4771, + 4249 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 45, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 402 + ], + "shape": 3 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 406, + 407 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Model/Real/RealisticVision-v51.safetensors" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 316, + "type": "CheckpointLoaderSimple", + "pos": [ + 6858.697277749626, + -157.02901817853726 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 46, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 411 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 415, + 416 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 419, + 422 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Model/Inpaint/RealisticVision-v51.inpainting.safetensors" + ] + }, + { + "id": 291, + "type": "CLIPTextEncode", + "pos": [ + 3430.3652031662505, + 4633.86846354569 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 177, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 369 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 366, + 404 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 290, + "type": "CLIPTextEncode", + "pos": [ + 3433.3652031662505, + 4378.868463545694 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 176, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 368 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 365, + 403 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 333, + "type": "ControlNetLoader", + "pos": [ + 8098.697277749631, + -180.02901817853726 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 47, + "mode": 4, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 433 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "ControlnetModel/Basecontrolnet/Basev11/control_v11p_sd15_lineart.safetensors" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 336, + "type": "ControlNetLoader", + "pos": [ + 8487.697277749636, + -177.02901817853726 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 48, + "mode": 4, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 437 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "ControlnetModel/Basecontrolnet/Basev11/control_v11p_sd15_openpose.safetensors" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 317, + "type": "KSampler", + "pos": [ + 8876.697277749636, + -174.02901817853726 + ], + "size": { + "0": 315, + "1": 474.000244140625 + }, + "flags": {}, + "order": 352, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 411 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 441 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 442 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 414, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 418 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 334, + "type": "ControlNetApplyAdvanced", + "pos": [ + 8489.697277749636, + 60.97098182146303 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 323, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 439 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 440 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 437, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 438 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 441 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 442 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1, + 0, + 1 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 335, + "type": "AIO_Preprocessor", + "pos": [ + 8490.697277749636, + -72.02901817853707 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 145, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 967, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 438 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AIO_Preprocessor" + }, + "widgets_values": [ + "OpenposePreprocessor", + 768 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 326, + "type": "easy imageRemBg", + "pos": [ + 7233.697277749626, + 379.97098182146334 + ], + "size": { + "0": 315, + "1": 314.000244140625 + }, + "flags": {}, + "order": 144, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 424 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 436 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 425 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 321, + "type": "ConstrainImage|pysssss", + "pos": [ + 7237.648379460662, + 322.7446471558615 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 143, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 417 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 421 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 320, + "type": "LoadImage", + "pos": [ + 6877.697277749626, + 377.97098182146334 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 49, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 417, + 424, + 967 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 427 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "portrait.jpg", + "image" + ] + }, + { + "id": 318, + "type": "CLIPTextEncode", + "pos": [ + 7235.648379460662, + -164.25535284413908 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 141, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 415 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 434 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 339, + "type": "CLIPTextEncode", + "pos": [ + 7237.887307707679, + 1035.5260375920138 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 205, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 447 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 472 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 319, + "type": "CLIPTextEncode", + "pos": [ + 7232.697277749626, + 90.970981821463 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 142, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 416 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 435 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 340, + "type": "CLIPTextEncode", + "pos": [ + 7234.887307707679, + 1290.526037592013 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 206, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 448 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 968 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 338, + "type": "KSampler", + "pos": [ + 8571.887307707671, + 1000.526037592014 + ], + "size": { + "0": 315, + "1": 474.00018310546875 + }, + "flags": {}, + "order": 372, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 474 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 472 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 968 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 446, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 450 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 632, + "type": "IPAdapterUnifiedLoader", + "pos": [ + 8189.533223874623, + 977.1458415719029 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 204, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 971, + "slot_index": 0 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 969 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "links": [ + 970 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "IPAdapterUnifiedLoader" + }, + "widgets_values": [ + "PLUS (high strength)" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 145, + "type": "CLIPTextEncode", + "pos": [ + 3443, + -245 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 191, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 164 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 161 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 146, + "type": "CLIPTextEncode", + "pos": [ + 3439.57185114569, + 9.613880246759317 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 192, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 165 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 162 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 248, + "type": "BrushNetLoader", + "pos": [ + 11632, + 94 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 50, + "mode": 4, + "outputs": [ + { + "name": "brushnet", + "type": "BRMODEL", + "links": [ + 296 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BrushNetLoader" + }, + "widgets_values": [ + "brushnetxl/brushnet_random_mask_sdxl_v1.safetensors", + "float16" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 257, + "type": "Note", + "pos": [ + 12599, + 1445 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 51, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Xem chi tiết tại : https://github.com/Acly/comfyui-inpaint-nodes\n- Tăng cường, cải thiện khả năng nội suy inpaint SDXL\n- Lưu ý: Chạy model inpaint fooocus hiện đang làm hỏng cách hoạt động của luồng model trong phiên hiện tại" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 231, + "type": "CLIPTextEncode", + "pos": [ + 11047, + 58 + ], + "size": { + "0": 521.5354614257812, + "1": 167.34881591796875 + }, + "flags": {}, + "order": 208, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 272 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 289 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 230, + "type": "CLIPTextEncode", + "pos": [ + 11050, + -197 + ], + "size": { + "0": 518.9830932617188, + "1": 191.12481689453125 + }, + "flags": {}, + "order": 207, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 271 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 288 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 251, + "type": "CLIPTextEncode", + "pos": [ + 11047, + 878 + ], + "size": { + "0": 518.9830932617188, + "1": 191.12481689453125 + }, + "flags": {}, + "order": 210, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 301 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 319 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 252, + "type": "CLIPTextEncode", + "pos": [ + 11044, + 1133 + ], + "size": { + "0": 521.5354614257812, + "1": 167.34881591796875 + }, + "flags": {}, + "order": 211, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 302 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 320 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 269, + "type": "CLIPTextEncode", + "pos": [ + 11033, + 2223 + ], + "size": { + "0": 521.5354614257812, + "1": 167.34881591796875 + }, + "flags": {}, + "order": 216, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 334 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 360 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 284, + "type": "LoadAndApplyICLightUnet", + "pos": [ + 11606, + 1971 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 214, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 362, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 363 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadAndApplyICLightUnet" + }, + "widgets_values": [ + "iclight_sd15_fc_unet_ldm.safetensors" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 233, + "type": "ConstrainImage|pysssss", + "pos": [ + 11048, + 292 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 209, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 273 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 287, + 972 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 229, + "type": "KSampler", + "pos": [ + 12013, + -184 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 373, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 294 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 291 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 292 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 293, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 274 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 239, + "type": "InvertMask", + "pos": [ + 11383, + 349 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 311, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 281 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 974 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 258, + "type": "easy imageRemBg", + "pos": [ + 11046, + 1422 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 213, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 307 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 308 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 259, + "type": "InvertMask", + "pos": [ + 11378, + 1436 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 272, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 308 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 975 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 274, + "type": "Note", + "pos": [ + 12639, + 2526 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 52, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Tận dụng khả năng của ICLight để inpaint cho model 1.5 thường\n- Thường sẽ thêm bước hoà trộn với layer gốc để cân bằng chi tiết, màu sắc" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 281, + "type": "ICLightConditioning", + "pos": [ + 11608, + 2078 + ], + "size": { + "0": 342.5999755859375, + "1": 138 + }, + "flags": {}, + "order": 375, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 359, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 360 + }, + { + "name": "vae", + "type": "VAE", + "link": 358 + }, + { + "name": "foreground", + "type": "LATENT", + "link": 357 + }, + { + "name": "opt_background", + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 353 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 354 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "empty_latent", + "type": "LATENT", + "links": [ + 355 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "ICLightConditioning" + }, + "widgets_values": [ + 0.18215 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 275, + "type": "easy imageRemBg", + "pos": [ + 11028, + 2507 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 273, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 979 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 978 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 271, + "type": "ConstrainImage|pysssss", + "pos": [ + 11029, + 2462 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 217, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 335 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 352, + 979 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 267, + "type": "KSampler", + "pos": [ + 12051, + 1969 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 394, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 363 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 353 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 354 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 355, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 336 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 280, + "type": "ICLightApplyMaskGrey", + "pos": [ + 11377, + 2512 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 313, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 352, + "slot_index": 0 + }, + { + "name": "alpha", + "type": "MASK", + "link": 978 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 356 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ICLightApplyMaskGrey" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 415, + "type": "GroundingDinoModelLoader (segment anything)", + "pos": [ + 13301, + 911 + ], + "size": { + "0": 361.20001220703125, + "1": 58 + }, + "flags": {}, + "order": 53, + "mode": 4, + "outputs": [ + { + "name": "GROUNDING_DINO_MODEL", + "type": "GROUNDING_DINO_MODEL", + "links": [ + 563 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "GroundingDinoModelLoader (segment anything)" + }, + "widgets_values": [ + "GroundingDINO_SwinT_OGC (694MB)" + ] + }, + { + "id": 416, + "type": "SAMModelLoader (segment anything)", + "pos": [ + 13349, + 810 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 54, + "mode": 4, + "outputs": [ + { + "name": "SAM_MODEL", + "type": "SAM_MODEL", + "links": [ + 562 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SAMModelLoader (segment anything)" + }, + "widgets_values": [ + "sam_vit_h (2.56GB)" + ] + }, + { + "id": 421, + "type": "MaskToImage", + "pos": [ + 14057, + 819 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 250, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 569 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 570 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 422, + "type": "ImageInvert", + "pos": [ + 14055, + 891 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 293, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 570 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 549 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageInvert" + } + }, + { + "id": 408, + "type": "PrimitiveNode", + "pos": [ + 14293, + 703 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "collapsed": true + }, + "order": 55, + "mode": 4, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 550 + ], + "widget": { + "name": "r" + } + } + ], + "title": "r", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 28, + "fixed" + ] + }, + { + "id": 411, + "type": "PrimitiveNode", + "pos": [ + 14376, + 702 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "collapsed": true + }, + "order": 56, + "mode": 4, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 551 + ], + "widget": { + "name": "g" + } + } + ], + "title": "g", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 135, + "fixed" + ] + }, + { + "id": 412, + "type": "PrimitiveNode", + "pos": [ + 14457, + 702 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "collapsed": true + }, + "order": 57, + "mode": 4, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 552 + ], + "widget": { + "name": "b" + } + } + ], + "title": "b", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 217, + "fixed" + ] + }, + { + "id": 406, + "type": "Mix Color By Mask", + "pos": [ + 14295, + 745 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 326, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null, + "slot_index": 0 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 549 + }, + { + "name": "r", + "type": "INT", + "link": 550, + "widget": { + "name": "r" + }, + "slot_index": 2 + }, + { + "name": "g", + "type": "INT", + "link": 551, + "widget": { + "name": "g" + }, + "slot_index": 3 + }, + { + "name": "b", + "type": "INT", + "link": 552, + "widget": { + "name": "b" + }, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 517, + 554 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Mix Color By Mask" + }, + "widgets_values": [ + 28, + 135, + 217 + ] + }, + { + "id": 424, + "type": "LoraLoader", + "pos": [ + 13691, + 0 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 229, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 571 + }, + { + "name": "clip", + "type": "CLIP", + "link": 989 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 988 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "Lora/New/Hufu_Cosmetic.safetensors", + 0, + 1 + ] + }, + { + "id": 635, + "type": "Anything Everywhere?", + "pos": [ + 14020, + 2 + ], + "size": { + "0": 315, + "1": 148 + }, + "flags": { + "collapsed": true + }, + "order": 278, + "mode": 4, + "inputs": [ + { + "name": "MODEL", + "type": "*", + "link": 988, + "color_on": "#B39DDB" + } + ], + "title": "refinder", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "refinder", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 633, + "type": "Anything Everywhere3", + "pos": [ + 14029, + -179 + ], + "size": { + "0": 210, + "1": 66 + }, + "flags": { + "collapsed": true + }, + "order": 279, + "mode": 4, + "inputs": [ + { + "name": "MODEL", + "type": "*", + "link": 983, + "color_on": "#B39DDB" + }, + { + "name": "CLIP", + "type": "*", + "link": 984, + "color_on": "#FFD500" + }, + { + "name": "VAE", + "type": "*", + "link": 982, + "color_on": "#FF6E6E" + } + ], + "title": "inpaint model", + "properties": { + "Node name for S&R": "Anything Everywhere3", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 634, + "type": "Anything Everywhere", + "pos": [ + 13634, + 173 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": true + }, + "order": 228, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 985, + "color_on": "#64B5F6" + } + ], + "title": "Input", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 636, + "type": "Prompts Everywhere", + "pos": [ + 14095, + 177 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": { + "collapsed": true + }, + "order": 149, + "mode": 4, + "inputs": [ + { + "name": "CONDITIONING", + "type": "*", + "link": 990, + "color_on": "#FFA931" + }, + { + "name": "CONDITIONING", + "type": "*", + "link": 991, + "slot_index": 1, + "color_on": "#FFA931" + } + ], + "title": "Prompt", + "properties": { + "Node name for S&R": "Prompts Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 413, + "type": "InpaintModelConditioning", + "pos": [ + 14725, + 92 + ], + "size": { + "0": 216.59999084472656, + "1": 106 + }, + "flags": {}, + "order": 380, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 557 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 558 + }, + { + "name": "vae", + "type": "VAE", + "link": null + }, + { + "name": "pixels", + "type": "IMAGE", + "link": 560 + }, + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 529 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 530 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 531 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "InpaintModelConditioning" + } + }, + { + "id": 397, + "type": "CR Upscale Image", + "pos": [ + 15544, + 92 + ], + "size": { + "0": 315, + "1": 222 + }, + "flags": {}, + "order": 421, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 532, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 537 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "show_help", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CR Upscale Image" + }, + "widgets_values": [ + "4x-UltraSharp.pth", + "rescale", + 1.6, + 1024, + "lanczos", + "true", + 8 + ] + }, + { + "id": 399, + "type": "VAEEncode", + "pos": [ + 15894, + 90 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 427, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 537 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 555 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 410, + "type": "SetLatentNoiseMask", + "pos": [ + 15897, + 180 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 431, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 555 + }, + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 536 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 394, + "type": "VAEDecode", + "pos": [ + 15301, + 92 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 412, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 526 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 532 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 401, + "type": "VAEDecode", + "pos": [ + 16463, + 97 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 436, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 540 + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 575 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 398, + "type": "KSampler", + "pos": [ + 16124, + 94 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 434, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null, + "label": "refinder" + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 536 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 540 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 296946738095093, + "randomize", + 12, + 8, + "euler", + "normal", + 0.45 + ] + }, + { + "id": 389, + "type": "ControlNetApplyAdvanced", + "pos": [ + 14372, + 312 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 292, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": null, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null, + "slot_index": 1 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 520, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 582 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 557 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 558 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.55, + 0, + 0.8 + ] + }, + { + "id": 409, + "type": "PreviewImage", + "pos": [ + 14656, + 711 + ], + "size": { + "0": 258.1973571777344, + "1": 248.48825073242188 + }, + "flags": {}, + "order": 355, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 554 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 414, + "type": "GroundingDinoSAMSegment (segment anything)", + "pos": [ + 13679, + 808 + ], + "size": { + "0": 352.79998779296875, + "1": 122 + }, + "flags": {}, + "order": 146, + "mode": 4, + "inputs": [ + { + "name": "sam_model", + "type": "SAM_MODEL", + "link": 562, + "slot_index": 0 + }, + { + "name": "grounding_dino_model", + "type": "GROUNDING_DINO_MODEL", + "link": 563, + "slot_index": 1 + }, + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 999 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 569, + 997 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "GroundingDinoSAMSegment (segment anything)" + }, + "widgets_values": [ + "Glass bottles, perfume bottles", + 0.3 + ] + }, + { + "id": 638, + "type": "Anything Everywhere?", + "pos": [ + 14061, + 968 + ], + "size": { + "0": 315, + "1": 148.00001525878906 + }, + "flags": { + "collapsed": true + }, + "order": 251, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 997, + "color_on": "#81C784" + } + ], + "title": "object mask", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "object", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 420, + "type": "InvertMask", + "pos": [ + 14304, + 955 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 58, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "object" + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 993 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 637, + "type": "Anything Everywhere?", + "pos": [ + 14422, + 911 + ], + "size": { + "0": 315, + "1": 147.99998474121094 + }, + "flags": { + "collapsed": true + }, + "order": 147, + "mode": 4, + "inputs": [ + { + "name": "MASK", + "type": "*", + "link": 993, + "color_on": "#81C784" + } + ], + "title": "mask", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "mask", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 425, + "type": "ImageResizeKJ", + "pos": [ + 16574, + 298 + ], + "size": { + "0": 315, + "1": 242 + }, + "flags": { + "collapsed": true + }, + "order": 252, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 998 + }, + { + "name": "get_image_size", + "type": "IMAGE", + "link": null + }, + { + "name": "width_input", + "type": "INT", + "link": null, + "widget": { + "name": "width_input" + } + }, + { + "name": "height_input", + "type": "INT", + "link": null, + "widget": { + "name": "height_input" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 996 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "nearest-exact", + false, + 2, + 0, + 0 + ] + }, + { + "id": 639, + "type": "MaskToImage", + "pos": [ + 16497, + 343 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 148, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1000, + "label": "object" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 998 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 426, + "type": "ImageResizeKJ", + "pos": [ + 16690, + 102 + ], + "size": { + "0": 315, + "1": 242 + }, + "flags": { + "collapsed": true + }, + "order": 438, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 575 + }, + { + "name": "get_image_size", + "type": "IMAGE", + "link": null + }, + { + "name": "width_input", + "type": "INT", + "link": null, + "widget": { + "name": "width_input" + } + }, + { + "name": "height_input", + "type": "INT", + "link": null, + "widget": { + "name": "height_input" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 543 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "nearest-exact", + false, + 2, + 0, + 0 + ] + }, + { + "id": 403, + "type": "Mix Images By Mask", + "pos": [ + 16849, + 101 + ], + "size": { + "0": 210, + "1": 66 + }, + "flags": {}, + "order": 439, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 543 + }, + { + "name": "image2", + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "type": "IMAGE", + "link": 545 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 547 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Mix Images By Mask" + } + }, + { + "id": 405, + "type": "SaveImage", + "pos": [ + 17089, + 104 + ], + "size": { + "0": 360, + "1": 460 + }, + "flags": {}, + "order": 440, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 547 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "Full size" + ] + }, + { + "id": 388, + "type": "ConstrainImage|pysssss", + "pos": [ + 14664, + 665 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 354, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 517 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 560 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 960, + 960, + 0, + 0, + "no" + ] + }, + { + "id": 396, + "type": "KSampler", + "pos": [ + 14962, + 84 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 399, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 529 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 530 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 531, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 526 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 872866315202565, + "randomize", + 35, + 8, + "dpmpp_2m_sde", + "karras", + 1 + ] + }, + { + "id": 386, + "type": "CLIPTextEncode", + "pos": [ + 13794, + 223 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": { + "collapsed": false + }, + "order": 59, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 990 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "Product photo of perfume bottle placed on rocks, streams, nature, (masterpiece, best quality), realistic, RAW photo,film gain\n" + ] + }, + { + "id": 427, + "type": "ImageBlur", + "pos": [ + 16745, + 294 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 294, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 996 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 545 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBlur" + }, + "widgets_values": [ + 3, + 1 + ] + }, + { + "id": 640, + "type": "GrowMask", + "pos": [ + 16498, + 428 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 60, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "object" + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 1000 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GrowMask" + }, + "widgets_values": [ + -3, + true + ] + }, + { + "id": 441, + "type": "ICLightApplyMaskGrey", + "pos": [ + 14004, + 2009 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 276, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 598 + }, + { + "name": "alpha", + "type": "MASK", + "link": 599 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 608 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ICLightApplyMaskGrey" + } + }, + { + "id": 448, + "type": "ConstrainImage|pysssss", + "pos": [ + 14239, + 2006 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": {}, + "order": 314, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 608 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 589 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 450, + "type": "Get Image Size", + "pos": [ + 14843, + 1543 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 227, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 612 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 610 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "height", + "type": "INT", + "links": [ + 611 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Get Image Size" + } + }, + { + "id": 445, + "type": "MaskToImage", + "pos": [ + 15241, + 1806 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 315, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 603 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 613 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + }, + { + "id": 449, + "type": "ImageScale", + "pos": [ + 15086, + 1457 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 420, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 609 + }, + { + "name": "width", + "type": "INT", + "link": 610, + "widget": { + "name": "width" + } + }, + { + "name": "height", + "type": "INT", + "link": 611, + "widget": { + "name": "height" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 604 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "nearest-exact", + 512, + 512, + "disabled" + ] + }, + { + "id": 446, + "type": "Image Blend by Mask", + "pos": [ + 15418, + 1461 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 426, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 604 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 605 + }, + { + "name": "mask", + "type": "IMAGE", + "link": 606 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1006 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Image Blend by Mask" + }, + "widgets_values": [ + 0.5 + ] + }, + { + "id": 387, + "type": "CLIPTextEncode", + "pos": [ + 13797, + 466 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": { + "collapsed": false + }, + "order": 61, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 991 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 432, + "type": "ICLightConditioning", + "pos": [ + 14111, + 1451 + ], + "size": { + "0": 342.5999755859375, + "1": 138 + }, + "flags": {}, + "order": 376, + "mode": 4, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 583, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 584 + }, + { + "name": "vae", + "type": "VAE", + "link": 585, + "slot_index": 2 + }, + { + "name": "foreground", + "type": "LATENT", + "link": 586, + "slot_index": 3 + }, + { + "name": "opt_background", + "type": "LATENT", + "link": null, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 592 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 593 + ], + "shape": 3 + }, + { + "name": "empty_latent", + "type": "LATENT", + "links": [ + 594 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "ICLightConditioning" + }, + "widgets_values": [ + 0.182 + ] + }, + { + "id": 444, + "type": "LoadAndApplyICLightUnet", + "pos": [ + 13671, + 1356 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 223, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 602, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 591 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadAndApplyICLightUnet" + }, + "widgets_values": [ + "iclight_sd15_fc_unet_ldm.safetensors" + ] + }, + { + "id": 434, + "type": "CLIPTextEncode", + "pos": [ + 13668, + 1708 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 225, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 588 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 584 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 436, + "type": "VAEEncode", + "pos": [ + 14578, + 2008 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 347, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 589, + "slot_index": 0 + }, + { + "name": "vae", + "type": "VAE", + "link": 590, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 586 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + } + }, + { + "id": 268, + "type": "CLIPTextEncode", + "pos": [ + 11036, + 1968 + ], + "size": { + "0": 518.9830932617188, + "1": 191.12481689453125 + }, + "flags": {}, + "order": 215, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 333 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 359 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 433, + "type": "CLIPTextEncode", + "pos": [ + 13665, + 1457 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 224, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 587, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 583 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 438, + "type": "KSampler", + "pos": [ + 14503, + 1443 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 395, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 591 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 592 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 593, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 594 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 595 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 32, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 451, + "type": "ImageBlur", + "pos": [ + 15473, + 1808 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 348, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 613 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 606 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBlur" + }, + "widgets_values": [ + 10, + 1 + ] + }, + { + "id": 642, + "type": "Image Comparer (rgthree)", + "pos": { + "0": 15838, + "1": 1466, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 658.35595703125, + "1": 775.698974609375 + }, + "flags": {}, + "order": 430, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 1006, + "dir": 3 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 1007, + "dir": 3 + } + ], + "outputs": [], + "properties": { + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/view?filename=rgthree.compare._temp_tuzkq_00001_.png&type=temp&subfolder=&rand=0.9484080980598912" + }, + { + "name": "B", + "selected": true, + "url": "/view?filename=rgthree.compare._temp_tuzkq_00002_.png&type=temp&subfolder=&rand=0.3126045156818755" + } + ] + ] + }, + { + "id": 439, + "type": "VAEDecode", + "pos": [ + 14841, + 1451 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 411, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 595 + }, + { + "name": "vae", + "type": "VAE", + "link": 596 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 609, + 1007 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 452, + "type": "GrowMask", + "pos": [ + 14899, + 1803 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 277, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 614 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 603 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GrowMask" + }, + "widgets_values": [ + -5, + true + ] + }, + { + "id": 644, + "type": "KSampler", + "pos": [ + 7970.8143016099975, + 2355.4641195896047 + ], + "size": { + "0": 315, + "1": 474.00018310546875 + }, + "flags": {}, + "order": 371, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1084 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 1085 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1086 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1087, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1091 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 646, + "type": "CLIPTextEncode", + "pos": [ + 7226.8143016099975, + 2606.4641195896047 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 200, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1089 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1086, + 1106 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 648, + "type": "ConstrainImage|pysssss", + "pos": [ + 7230.8143016099975, + 2846.4641195896047 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 197, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1090 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1093 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 651, + "type": "VAEEncodeForInpaint", + "pos": [ + 7727.8143016099975, + 2842.4641195896047 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 342, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 1093 + }, + { + "name": "vae", + "type": "VAE", + "link": 1094 + }, + { + "name": "mask", + "type": "MASK", + "link": 1095, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1087 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 652, + "type": "easy imageRemBg", + "pos": [ + 7227.8143016099975, + 2895.4641195896047 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 198, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1096 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 1097 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 653, + "type": "InvertMask", + "pos": [ + 7590.8143016099975, + 2988.4641195896047 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 268, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1097 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 1098 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 654, + "type": "MaskComposite", + "pos": [ + 7822.8143016099975, + 2991.4641195896047 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 309, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 1098 + }, + { + "name": "source", + "type": "MASK", + "link": 1099 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 1095, + 1111 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 645, + "type": "CLIPTextEncode", + "pos": [ + 7229.8143016099975, + 2351.4641195896047 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 199, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1088 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1085, + 1105 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 655, + "type": "SaveImage", + "pos": [ + 9889.81430161, + 2378.4641195896047 + ], + "size": { + "0": 420.9338073730469, + "1": 400.71405029296875 + }, + "flags": {}, + "order": 437, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1119 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 656, + "type": "CR Upscale Image", + "pos": [ + 8562.81430161, + 2364.4641195896047 + ], + "size": { + "0": 315, + "1": 222 + }, + "flags": {}, + "order": 418, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1121 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1112 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "show_help", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CR Upscale Image" + }, + "widgets_values": [ + "4x-UltraSharp.pth", + "rescale", + 2, + 1024, + "lanczos", + "true", + 8 + ] + }, + { + "id": 658, + "type": "KSampler", + "pos": [ + 9210.81430161, + 2370.4641195896047 + ], + "size": { + "0": 315, + "1": 474 + }, + "flags": {}, + "order": 433, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1116, + "slot_index": 0 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 1105 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1106 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1107, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1117 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 0.4 + ] + }, + { + "id": 662, + "type": "VAEEncodeTiled", + "pos": [ + 8912.81430161, + 2374.4641195896047 + ], + "size": { + "0": 255.9275665283203, + "1": 78 + }, + "flags": {}, + "order": 425, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 1112, + "slot_index": 0 + }, + { + "name": "vae", + "type": "VAE", + "link": 1113 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1114 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeTiled" + }, + "widgets_values": [ + 512 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 664, + "type": "VAEDecodeTiled", + "pos": [ + 9546.81430161, + 2374.4641195896047 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 435, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1117 + }, + { + "name": "vae", + "type": "VAE", + "link": 1118 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1119 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecodeTiled" + }, + "widgets_values": [ + 512 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 663, + "type": "TiledDiffusion", + "pos": [ + 8853.81430161, + 2155.4641195896047 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": {}, + "order": 201, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1115 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1116 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "TiledDiffusion" + }, + "widgets_values": [ + "Mixture of Diffusers", + 768, + 768, + 64, + 4 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 649, + "type": "VAEDecode", + "pos": [ + 8317.81430161, + 2362.4641195896047 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 390, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1091 + }, + { + "name": "vae", + "type": "VAE", + "link": 1092, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1120 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 665, + "type": "ImageScaleToTotalPixels", + "pos": [ + 8383.81430161, + 2654.4641195896047 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 406, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1120 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1121 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "nearest-exact", + 1 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 661, + "type": "SetLatentNoiseMask", + "pos": [ + 8906.81430161, + 2498.4641195896047 + ], + "size": { + "0": 264.45013427734375, + "1": 46 + }, + "flags": {}, + "order": 429, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1114 + }, + { + "name": "mask", + "type": "MASK", + "link": 1111 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1107 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + } + }, + { + "id": 668, + "type": "KSampler", + "pos": [ + 7969.418984085627, + 3608.163998440345 + ], + "size": { + "0": 315, + "1": 474.00018310546875 + }, + "flags": {}, + "order": 370, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1122 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 1123 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1124 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 1125, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1129 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 0, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 672, + "type": "ConstrainImage|pysssss", + "pos": [ + 7229.418984085627, + 4099.1639984403455 + ], + "size": { + "0": 315, + "1": 154 + }, + "flags": { + "collapsed": true + }, + "order": 195, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1128 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1131 + ], + "shape": 6, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ConstrainImage|pysssss" + }, + "widgets_values": [ + 1024, + 1024, + 0, + 0, + "no" + ] + }, + { + "id": 650, + "type": "Note", + "pos": [ + 9867, + 2950 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 62, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Sử dụng phương pháp upscale khi máy không đủ cấu hình cần thiết.\n- Đây là phương pháp nodes upscale tốt nhất hiện tại, có thể kết hợp với controlnet Tile để tăng độ ổn định\n- Lưu ý, phương pháp này cần chuyển size ảnh về size theo megapixels để tránh lỗi với size ảnh lạ" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 669, + "type": "CLIPTextEncode", + "pos": [ + 7228.418984085627, + 3604.163998440345 + ], + "size": { + "0": 685.1387939453125, + "1": 198.30868530273438 + }, + "flags": {}, + "order": 193, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1126 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1123, + 1157 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "1girl in the flower garden, big flower,(high quality:1.3), (high detailed skin,ultra realistic, 32k, RAW photo),(film grain:1.2)" + ] + }, + { + "id": 670, + "type": "CLIPTextEncode", + "pos": [ + 7225.418984085627, + 3859.163998440345 + ], + "size": { + "0": 690.9800415039062, + "1": 179.5357208251953 + }, + "flags": {}, + "order": 194, + "mode": 4, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1127 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 1124, + 1158 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality,normal quality, low quality:1.3),(illustration, 3d, 2d, painting, cartoons, sketch)" + ] + }, + { + "id": 682, + "type": "CheckpointLoaderSimple", + "pos": [ + 8210.418984085629, + 3439.163998440345 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 63, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1155 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1156 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Model/Real/RealisticVision-v51.safetensors" + ] + }, + { + "id": 689, + "type": "UpscaleModelLoader", + "pos": [ + 8587.418984085629, + 3483.163998440345 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 64, + "mode": 4, + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 1159 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + null + ] + }, + { + "id": 673, + "type": "VAEDecode", + "pos": [ + 8330.418984085629, + 3610.163998440345 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 389, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1129 + }, + { + "name": "vae", + "type": "VAE", + "link": 1130, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1154, + 1160 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 690, + "type": "Get Image Size", + "pos": [ + 8342.418984085629, + 3732.163998440345 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 405, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1160 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 1161 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "height", + "type": "INT", + "links": [ + 1162 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Get Image Size" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 678, + "type": "MaskComposite", + "pos": [ + 7813.418984085627, + 4300.1639984403455 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 308, + "mode": 4, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 1136 + }, + { + "name": "source", + "type": "MASK", + "link": 1137 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 1133 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "add" + ] + }, + { + "id": 675, + "type": "VAEEncodeForInpaint", + "pos": [ + 7718.418984085627, + 4151.1639984403455 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 341, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 1131 + }, + { + "name": "vae", + "type": "VAE", + "link": 1132 + }, + { + "name": "mask", + "type": "MASK", + "link": 1133, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 1125 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 688, + "type": "UltimateSDUpscale", + "pos": [ + 8584.418984085629, + 3609.163998440345 + ], + "size": { + "0": 315, + "1": 614 + }, + "flags": {}, + "order": 417, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1154 + }, + { + "name": "model", + "type": "MODEL", + "link": 1155 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 1157 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 1158 + }, + { + "name": "vae", + "type": "VAE", + "link": 1156 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 1159, + "slot_index": 5 + }, + { + "name": "tile_width", + "type": "INT", + "link": 1161, + "widget": { + "name": "tile_width" + } + }, + { + "name": "tile_height", + "type": "INT", + "link": 1162, + "widget": { + "name": "tile_height" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1153 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UltimateSDUpscale" + }, + "widgets_values": [ + 2, + 264192796855001, + "randomize", + 10, + 8, + "euler", + "normal", + 0.3, + "Linear", + 512, + 512, + 8, + 32, + "None", + 1, + 64, + 8, + 16, + true, + false + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 677, + "type": "InvertMask", + "pos": [ + 7581.418984085627, + 4297.1639984403455 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 267, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 1135 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 1136 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 676, + "type": "easy imageRemBg", + "pos": [ + 7226.418984085627, + 4148.1639984403455 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 196, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1134 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 1135 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 679, + "type": "SaveImage", + "pos": [ + 8940.418984085629, + 3616.163998440345 + ], + "size": { + "0": 420.9338073730469, + "1": 400.71405029296875 + }, + "flags": {}, + "order": 424, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1153 + } + ], + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 674, + "type": "Note", + "pos": [ + 8942.418984085629, + 4105.1639984403455 + ], + "size": { + "0": 426.0008239746094, + "1": 160.70648193359375 + }, + "flags": {}, + "order": 65, + "mode": 4, + "properties": { + "text": "" + }, + "widgets_values": [ + "- Node upscale dành cho máy yếu, sử dụng nguyên lý upscale đơn giản là chia ô sau đó ghép lại, sử dụng dễ nhất nhưng khi dùng có tỉ lệ tạo ra viền khi ghép nên thường ưu tiên denoise thấp" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 693, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2873, + "1": 451, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 539.5536499023438, + "1": 93.3343734741211 + }, + "flags": { + "pinned": true + }, + "order": 66, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Các phương pháp upscale khi không đủ cấu hình", + "properties": { + "matchColors": "", + "matchTitle": "Upscale", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 285, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2872, + "1": 597, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 536.20654296875, + "1": 133.88909912109375 + }, + "flags": { + "pinned": true + }, + "order": 67, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Các cách inpaint đặc biệt", + "properties": { + "matchColors": "", + "matchTitle": "Inpaint đặc biệt", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 287, + "type": "Fast Groups Bypasser (rgthree)", + "pos": { + "0": -2875, + "1": 783, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 536.20654296875, + "1": 133.88909912109375 + }, + "flags": { + "pinned": true + }, + "order": 68, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Ứng dụng", + "properties": { + "matchColors": "", + "matchTitle": "Ứng dụng", + "showNav": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 286, + "type": "easy bookmark", + "pos": [ + -3041, + -421 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": { + "collapsed": true + }, + "order": 69, + "mode": 0, + "title": "🔖 1", + "properties": {}, + "widgets_values": [ + "1", + 0.7 + ] + }, + { + "id": 618, + "type": "Anything Everywhere?", + "pos": [ + 4990, + 1933 + ], + "size": { + "0": 315, + "1": 148 + }, + "flags": { + "collapsed": true + }, + "order": 416, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 953, + "color_on": "#64B5F6" + } + ], + "title": "Save", + "properties": { + "Node name for S&R": "Anything Everywhere?", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [ + "", + "save", + "" + ] + }, + { + "id": 617, + "type": "Anything Everywhere", + "pos": [ + 3089, + 2574 + ], + "size": { + "0": 210, + "1": 76 + }, + "flags": { + "collapsed": true + }, + "order": 186, + "mode": 4, + "inputs": [ + { + "name": "IMAGE", + "type": "*", + "link": 952, + "color_on": "#64B5F6" + } + ], + "title": "Origin image", + "properties": { + "Node name for S&R": "Anything Everywhere", + "group_restricted": 1, + "color_restricted": 0 + }, + "widgets_values": [] + }, + { + "id": 1, + "type": "CheckpointLoaderSimple", + "pos": [ + -2221.6562499999964, + -219.69789632161522 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 70, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2, + 3 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 9, + 14 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ] + }, + { + "id": 600, + "type": "LoadImage", + "pos": [ + -2211, + 255 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 71, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 942 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 943 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 21, + "type": "LoadImage", + "pos": [ + -2221, + 1193 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 72, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 721 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 29, + "type": "CheckpointLoaderSimple", + "pos": [ + -2226.8948688478085, + 1649.3818785833932 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 73, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 35 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 39, + 40 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 47, + 57 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 539, + "type": "LoadImage", + "pos": [ + -2204, + 2122 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 74, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 722 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 723 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 17, + "type": "CheckpointLoaderSimple", + "pos": [ + -2229, + 714 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 75, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 16 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 20, + 21 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 28, + 31 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 42, + "type": "CheckpointLoaderSimple", + "pos": [ + 445, + -232 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 76, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 58 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 62, + 63 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 66, + 69 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 46, + "type": "LoadImage", + "pos": [ + 464, + 303 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 77, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 64 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 52, + "type": "LoadImageMask", + "pos": [ + 803, + 302 + ], + "size": { + "0": 315, + "1": 318 + }, + "flags": {}, + "order": 78, + "mode": 4, + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 71 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoadImageMask" + }, + "widgets_values": [ + "mask.jpg", + "red", + "image" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 53, + "type": "CheckpointLoaderSimple", + "pos": [ + 444.1022056461456, + 769.0968553463607 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 79, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 72 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 76, + 77 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 80, + 83 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 57, + "type": "LoadImage", + "pos": [ + 463.1022056461456, + 1304.096855346361 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 80, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 78 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 64, + "type": "LoadImage", + "pos": [ + 823, + 1309 + ], + "size": { + "0": 315, + "1": 314.00006103515625 + }, + "flags": {}, + "order": 81, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 85 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "mask.jpg", + "image" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 89, + "type": "LoadImage", + "pos": [ + 453, + 2316 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 82, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 115, + 126, + 742 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 85, + "type": "CheckpointLoaderSimple", + "pos": [ + 434.37953509663043, + 1781.0428053007872 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 83, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 109 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 113, + 114 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 117, + 120 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 67, + "type": "CheckpointLoaderSimple", + "pos": [ + 432.8920710813861, + 3322.0070681928787 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 84, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 89 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 93, + 94 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 97, + 100 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 71, + "type": "LoadImage", + "pos": [ + 451.8920710813861, + 3857.0070681928787 + ], + "size": { + "0": 315, + "1": 314.0000915527344 + }, + "flags": {}, + "order": 85, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 95, + 744, + 745 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 288, + "type": "CheckpointLoaderSimple", + "pos": [ + 3056.3652031662505, + 4385.868463545694 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 86, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 364 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 368, + 369 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 372, + 374 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 292, + "type": "LoadImage", + "pos": [ + 3077, + 4888 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 87, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 370, + 376 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 379 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 297, + "type": "easy imageRemBg", + "pos": [ + 3431.3652031662505, + 4922.868463545692 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 179, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 376 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 377 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "easy imageRemBg" + }, + "widgets_values": [ + "RMBG-1.4", + "Preview", + "ComfyUI", + false + ] + }, + { + "id": 205, + "type": "LoadImage", + "pos": [ + 3078.470074777736, + 3776.658731417378 + ], + "size": { + "0": 315, + "1": 314.0000915527344 + }, + "flags": {}, + "order": 88, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 232, + 964 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 235 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 201, + "type": "CheckpointLoaderSimple", + "pos": [ + 3059.470074777736, + 3241.658731417376 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 89, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 220 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 224, + 225 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 228, + 261 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 173, + "type": "LoadImage", + "pos": [ + 3078.1013408917797, + 2204.9913288231623 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 90, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 186, + 193, + 206, + 952 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 196 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 169, + "type": "CheckpointLoaderSimple", + "pos": [ + 3059, + 1670 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 91, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 180 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 184, + 185 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 188, + 191 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 178, + "type": "VAEEncodeForInpaint", + "pos": [ + 3824, + 2143 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 336, + "mode": 4, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 190 + }, + { + "name": "vae", + "type": "VAE", + "link": 191 + }, + { + "name": "mask", + "type": "MASK", + "link": 192, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 183 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeForInpaint" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 147, + "type": "LoadImage", + "pos": [ + 3085, + 297 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 92, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 166, + 173 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 175 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 143, + "type": "CheckpointLoaderSimple", + "pos": [ + 3065.57185114569, + -238.38611975324062 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 93, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 160 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 164, + 165 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 168, + 171 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 667, + "type": "CheckpointLoaderSimple", + "pos": [ + 6851.418984085627, + 3611.163998440345 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 94, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1122 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1126, + 1127 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1130, + 1132 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 671, + "type": "LoadImage", + "pos": [ + 6871.418984085627, + 4113.1639984403455 + ], + "size": [ + 315, + 314.0000648498535 + ], + "flags": {}, + "order": 95, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1128, + 1134 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 1137 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 647, + "type": "LoadImage", + "pos": [ + 6872.8143016099975, + 2860.4641195896047 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 96, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1090, + 1096 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 1099 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 643, + "type": "CheckpointLoaderSimple", + "pos": [ + 6852.8143016099975, + 2358.4641195896047 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 97, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1084 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1088, + 1089 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1092, + 1094 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 659, + "type": "CheckpointLoaderSimple", + "pos": [ + 8487.81430161, + 2152.4641195896047 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 98, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1115 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": null, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 1113, + 1118 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ] + }, + { + "id": 341, + "type": "LoadImage", + "pos": [ + 6879.887307707679, + 1577.526037592012 + ], + "size": { + "0": 315, + "1": 314.0002136230469 + }, + "flags": {}, + "order": 99, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 449, + 456 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 459 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 337, + "type": "CheckpointLoaderSimple", + "pos": [ + 6860.887307707679, + 1042.5260375920138 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 100, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 971 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 447, + 448 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 451, + 454 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 359, + "type": "LoadImage", + "pos": [ + 8184.887307707678, + 1430.5260375920118 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 101, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 475 + ], + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "style.jpeg", + "image" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 228, + "type": "CheckpointLoaderSimple", + "pos": [ + 10673, + -190 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 102, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 295 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 271, + 272 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 275, + 290 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Leosam-HelloWorldXL_v7.safetensors" + ] + }, + { + "id": 232, + "type": "LoadImage", + "pos": [ + 10692, + 345 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 103, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 273 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 249, + "type": "CheckpointLoaderSimple", + "pos": [ + 10670, + 885 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 104, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 318 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 301, + 302 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 305, + 321 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Leosam-HelloWorldXL_v7.safetensors" + ] + }, + { + "id": 253, + "type": "LoadImage", + "pos": [ + 10690, + 1409 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 105, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 303, + 307 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 266, + "type": "CheckpointLoaderSimple", + "pos": [ + 10660, + 1975 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 106, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 362 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 333, + 334 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 337, + 358, + 976 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ] + }, + { + "id": 270, + "type": "LoadImage", + "pos": [ + 10678, + 2510 + ], + "size": { + "0": 315, + "1": 314.0000305175781 + }, + "flags": {}, + "order": 107, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 335 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 456, + "type": "LoadImage", + "pos": [ + 13299, + 3880 + ], + "size": { + "0": 315, + "1": 314.0000915527344 + }, + "flags": {}, + "order": 108, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 789 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 790 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 467, + "type": "ControlNetLoader", + "pos": [ + 14438, + 3338 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 109, + "mode": 4, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 633 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "Basecontrolnet/control_v11p_sd15_lineart.safetensors" + ] + }, + { + "id": 527, + "type": "ControlNetLoader", + "pos": [ + 14083, + 3336 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 110, + "mode": 4, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 711 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "Basecontrolnet/control_v11p_sd15_lineart.safetensors" + ] + }, + { + "id": 575, + "type": "CheckpointLoaderSimple", + "pos": [ + 13292, + 3263 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 111, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 851, + 902 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 903 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 779 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 455, + "type": "CheckpointLoaderSimple", + "pos": [ + 13290, + 2969 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 112, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 662 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 663 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 530, + "type": "LoadImage", + "pos": [ + 13300, + 4253 + ], + "size": { + "0": 315, + "1": 314.00018310546875 + }, + "flags": {}, + "order": 113, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": null, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 792 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 435, + "type": "CheckpointLoaderSimple", + "pos": [ + 13319, + 1475 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 114, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 602 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 587, + 588 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 585, + 590, + 596 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ] + }, + { + "id": 437, + "type": "LoadImage", + "pos": [ + 13286, + 2000 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 115, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 600, + 605, + 612 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 384, + "type": "LoadImage", + "pos": [ + 13356, + 217 + ], + "size": { + "0": 368.5584411621094, + "1": 478.87255859375 + }, + "flags": {}, + "order": 116, + "mode": 4, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 985 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "image.jpg", + "image" + ] + }, + { + "id": 423, + "type": "CheckpointLoaderSimple", + "pos": [ + 13344, + 6 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 117, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 571 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 989 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v5.safetensors" + ] + }, + { + "id": 385, + "type": "CheckpointLoaderSimple", + "pos": [ + 13341, + -187 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 118, + "mode": 4, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 523 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 524 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 982 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Realistic-Vision-v51.inpainting.safetensors" + ] + }, + { + "id": 391, + "type": "LoraLoader", + "pos": [ + 13684, + -185 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 230, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 523 + }, + { + "name": "clip", + "type": "CLIP", + "link": 524 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 983 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 984 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "Lora/Lora/BaseLora/epiNoise.safetensors", + 0, + 1 + ] + }, + { + "id": 431, + "type": "AIO_Preprocessor", + "pos": [ + 14374, + 81 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 249, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 999 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 582 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AIO_Preprocessor" + }, + "widgets_values": [ + "CannyEdgePreprocessor", + 768 + ] + }, + { + "id": 393, + "type": "ControlNetLoader", + "pos": [ + 14374, + 207 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 119, + "mode": 4, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 520 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "Basecontrolnet/control_v11p_sd15_canny.safetensors" + ] + }, + { + "id": 697, + "type": "Note", + "pos": [ + -2873, + -488 + ], + "size": [ + 535.4313161243103, + 173.28737271828084 + ], + "flags": {}, + "order": 120, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "#Workflow hỗ trợ\n- Yêu cầu : Bỏ prune khi sử dụng để tải đầy đủ\n- Cách dùng : Bật từng group ở khung option (node vàng) để xem và test cách sử dụng\nComfyUI Colab:\n- Creator: stablediffusion.vn\n- Website: sdvn.me | comfy.vn | fluxai.vn\n- Document: bit.ly/sdvn-lib\n- Skills training: hungdiffusion.com" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "MODEL" + ], + [ + 2, + 1, + 1, + 3, + 0, + "CLIP" + ], + [ + 3, + 1, + 1, + 4, + 0, + "CLIP" + ], + [ + 4, + 4, + 0, + 2, + 2, + "CONDITIONING" + ], + [ + 5, + 3, + 0, + 2, + 1, + "CONDITIONING" + ], + [ + 8, + 7, + 0, + 8, + 0, + "IMAGE" + ], + [ + 9, + 1, + 2, + 8, + 1, + "VAE" + ], + [ + 10, + 8, + 0, + 9, + 0, + "LATENT" + ], + [ + 12, + 9, + 0, + 2, + 3, + "LATENT" + ], + [ + 13, + 2, + 0, + 14, + 0, + "LATENT" + ], + [ + 14, + 1, + 2, + 14, + 1, + "VAE" + ], + [ + 15, + 14, + 0, + 15, + 0, + "IMAGE" + ], + [ + 16, + 17, + 0, + 18, + 0, + "MODEL" + ], + [ + 17, + 19, + 0, + 18, + 1, + "CONDITIONING" + ], + [ + 18, + 20, + 0, + 18, + 2, + "CONDITIONING" + ], + [ + 20, + 17, + 1, + 19, + 0, + "CLIP" + ], + [ + 21, + 17, + 1, + 20, + 0, + "CLIP" + ], + [ + 22, + 21, + 0, + 22, + 0, + "IMAGE" + ], + [ + 27, + 18, + 0, + 25, + 0, + "LATENT" + ], + [ + 28, + 17, + 2, + 25, + 1, + "VAE" + ], + [ + 29, + 25, + 0, + 26, + 0, + "IMAGE" + ], + [ + 31, + 17, + 2, + 28, + 1, + "VAE" + ], + [ + 32, + 22, + 0, + 28, + 0, + "IMAGE" + ], + [ + 34, + 28, + 0, + 18, + 3, + "LATENT" + ], + [ + 35, + 29, + 0, + 30, + 0, + "MODEL" + ], + [ + 39, + 29, + 1, + 31, + 0, + "CLIP" + ], + [ + 40, + 29, + 1, + 32, + 0, + "CLIP" + ], + [ + 46, + 30, + 0, + 37, + 0, + "LATENT" + ], + [ + 47, + 29, + 2, + 37, + 1, + "VAE" + ], + [ + 48, + 37, + 0, + 38, + 0, + "IMAGE" + ], + [ + 50, + 31, + 0, + 40, + 0, + "CONDITIONING" + ], + [ + 51, + 32, + 0, + 40, + 1, + "CONDITIONING" + ], + [ + 52, + 40, + 0, + 30, + 1, + "CONDITIONING" + ], + [ + 53, + 40, + 1, + 30, + 2, + "CONDITIONING" + ], + [ + 54, + 40, + 2, + 30, + 3, + "LATENT" + ], + [ + 56, + 34, + 0, + 40, + 3, + "IMAGE" + ], + [ + 57, + 29, + 2, + 40, + 2, + "VAE" + ], + [ + 58, + 42, + 0, + 43, + 0, + "MODEL" + ], + [ + 59, + 44, + 0, + 43, + 1, + "CONDITIONING" + ], + [ + 60, + 45, + 0, + 43, + 2, + "CONDITIONING" + ], + [ + 61, + 51, + 0, + 43, + 3, + "LATENT" + ], + [ + 62, + 42, + 1, + 44, + 0, + "CLIP" + ], + [ + 63, + 42, + 1, + 45, + 0, + "CLIP" + ], + [ + 64, + 46, + 0, + 47, + 0, + "IMAGE" + ], + [ + 65, + 43, + 0, + 48, + 0, + "LATENT" + ], + [ + 66, + 42, + 2, + 48, + 1, + "VAE" + ], + [ + 67, + 48, + 0, + 49, + 0, + "IMAGE" + ], + [ + 68, + 47, + 0, + 51, + 0, + "IMAGE" + ], + [ + 69, + 42, + 2, + 51, + 1, + "VAE" + ], + [ + 71, + 52, + 0, + 51, + 2, + "MASK" + ], + [ + 72, + 53, + 0, + 54, + 0, + "MODEL" + ], + [ + 73, + 55, + 0, + 54, + 1, + "CONDITIONING" + ], + [ + 74, + 56, + 0, + 54, + 2, + "CONDITIONING" + ], + [ + 75, + 62, + 0, + 54, + 3, + "LATENT" + ], + [ + 76, + 53, + 1, + 55, + 0, + "CLIP" + ], + [ + 77, + 53, + 1, + 56, + 0, + "CLIP" + ], + [ + 78, + 57, + 0, + 58, + 0, + "IMAGE" + ], + [ + 79, + 54, + 0, + 59, + 0, + "LATENT" + ], + [ + 80, + 53, + 2, + 59, + 1, + "VAE" + ], + [ + 81, + 59, + 0, + 60, + 0, + "IMAGE" + ], + [ + 82, + 58, + 0, + 62, + 0, + "IMAGE" + ], + [ + 83, + 53, + 2, + 62, + 1, + "VAE" + ], + [ + 85, + 64, + 0, + 65, + 0, + "IMAGE" + ], + [ + 86, + 65, + 0, + 62, + 2, + "MASK" + ], + [ + 89, + 67, + 0, + 68, + 0, + "MODEL" + ], + [ + 90, + 69, + 0, + 68, + 1, + "CONDITIONING" + ], + [ + 91, + 70, + 0, + 68, + 2, + "CONDITIONING" + ], + [ + 92, + 76, + 0, + 68, + 3, + "LATENT" + ], + [ + 93, + 67, + 1, + 69, + 0, + "CLIP" + ], + [ + 94, + 67, + 1, + 70, + 0, + "CLIP" + ], + [ + 95, + 71, + 0, + 72, + 0, + "IMAGE" + ], + [ + 96, + 68, + 0, + 73, + 0, + "LATENT" + ], + [ + 97, + 67, + 2, + 73, + 1, + "VAE" + ], + [ + 98, + 73, + 0, + 74, + 0, + "IMAGE" + ], + [ + 99, + 72, + 0, + 76, + 0, + "IMAGE" + ], + [ + 100, + 67, + 2, + 76, + 1, + "VAE" + ], + [ + 104, + 81, + 0, + 79, + 1, + "GROUNDING_DINO_MODEL" + ], + [ + 105, + 82, + 0, + 79, + 0, + "SAM_MODEL" + ], + [ + 106, + 79, + 1, + 83, + 0, + "MASK" + ], + [ + 109, + 85, + 0, + 86, + 0, + "MODEL" + ], + [ + 110, + 87, + 0, + 86, + 1, + "CONDITIONING" + ], + [ + 111, + 88, + 0, + 86, + 2, + "CONDITIONING" + ], + [ + 112, + 94, + 0, + 86, + 3, + "LATENT" + ], + [ + 113, + 85, + 1, + 87, + 0, + "CLIP" + ], + [ + 114, + 85, + 1, + 88, + 0, + "CLIP" + ], + [ + 115, + 89, + 0, + 90, + 0, + "IMAGE" + ], + [ + 116, + 86, + 0, + 91, + 0, + "LATENT" + ], + [ + 117, + 85, + 2, + 91, + 1, + "VAE" + ], + [ + 118, + 91, + 0, + 92, + 0, + "IMAGE" + ], + [ + 119, + 90, + 0, + 94, + 0, + "IMAGE" + ], + [ + 120, + 85, + 2, + 94, + 1, + "VAE" + ], + [ + 126, + 89, + 0, + 100, + 0, + "IMAGE" + ], + [ + 127, + 100, + 1, + 101, + 0, + "MASK" + ], + [ + 128, + 101, + 0, + 94, + 2, + "MASK" + ], + [ + 160, + 143, + 0, + 144, + 0, + "MODEL" + ], + [ + 161, + 145, + 0, + 144, + 1, + "CONDITIONING" + ], + [ + 162, + 146, + 0, + 144, + 2, + "CONDITIONING" + ], + [ + 163, + 152, + 0, + 144, + 3, + "LATENT" + ], + [ + 164, + 143, + 1, + 145, + 0, + "CLIP" + ], + [ + 165, + 143, + 1, + 146, + 0, + "CLIP" + ], + [ + 166, + 147, + 0, + 148, + 0, + "IMAGE" + ], + [ + 167, + 144, + 0, + 149, + 0, + "LATENT" + ], + [ + 168, + 143, + 2, + 149, + 1, + "VAE" + ], + [ + 169, + 149, + 0, + 150, + 0, + "IMAGE" + ], + [ + 170, + 148, + 0, + 152, + 0, + "IMAGE" + ], + [ + 171, + 143, + 2, + 152, + 1, + "VAE" + ], + [ + 173, + 147, + 0, + 153, + 0, + "IMAGE" + ], + [ + 174, + 153, + 1, + 154, + 0, + "MASK" + ], + [ + 175, + 147, + 1, + 160, + 1, + "MASK" + ], + [ + 176, + 154, + 0, + 160, + 0, + "MASK" + ], + [ + 177, + 160, + 0, + 152, + 2, + "MASK" + ], + [ + 178, + 160, + 0, + 162, + 0, + "MASK" + ], + [ + 179, + 162, + 0, + 163, + 0, + "IMAGE" + ], + [ + 180, + 169, + 0, + 170, + 0, + "MODEL" + ], + [ + 181, + 171, + 0, + 170, + 1, + "CONDITIONING" + ], + [ + 182, + 172, + 0, + 170, + 2, + "CONDITIONING" + ], + [ + 183, + 178, + 0, + 170, + 3, + "LATENT" + ], + [ + 184, + 169, + 1, + 171, + 0, + "CLIP" + ], + [ + 185, + 169, + 1, + 172, + 0, + "CLIP" + ], + [ + 186, + 173, + 0, + 174, + 0, + "IMAGE" + ], + [ + 187, + 170, + 0, + 175, + 0, + "LATENT" + ], + [ + 188, + 169, + 2, + 175, + 1, + "VAE" + ], + [ + 190, + 174, + 0, + 178, + 0, + "IMAGE" + ], + [ + 191, + 169, + 2, + 178, + 1, + "VAE" + ], + [ + 192, + 181, + 0, + 178, + 2, + "MASK" + ], + [ + 193, + 173, + 0, + 179, + 0, + "IMAGE" + ], + [ + 194, + 179, + 1, + 180, + 0, + "MASK" + ], + [ + 195, + 180, + 0, + 181, + 0, + "MASK" + ], + [ + 196, + 173, + 1, + 181, + 1, + "MASK" + ], + [ + 197, + 181, + 0, + 182, + 0, + "MASK" + ], + [ + 198, + 182, + 0, + 183, + 0, + "IMAGE" + ], + [ + 199, + 175, + 0, + 184, + 0, + "IMAGE" + ], + [ + 201, + 184, + 0, + 186, + 0, + "IMAGE" + ], + [ + 206, + 173, + 0, + 192, + 0, + "*" + ], + [ + 207, + 192, + 0, + 184, + 1, + "IMAGE" + ], + [ + 208, + 192, + 0, + 186, + 1, + "IMAGE" + ], + [ + 211, + 181, + 0, + 194, + 0, + "MASK" + ], + [ + 213, + 194, + 0, + 186, + 2, + "MASK" + ], + [ + 214, + 186, + 0, + 196, + 0, + "IMAGE" + ], + [ + 217, + 194, + 0, + 199, + 0, + "MASK" + ], + [ + 220, + 201, + 0, + 202, + 0, + "MODEL" + ], + [ + 224, + 201, + 1, + 203, + 0, + "CLIP" + ], + [ + 225, + 201, + 1, + 204, + 0, + "CLIP" + ], + [ + 227, + 202, + 0, + 207, + 0, + "LATENT" + ], + [ + 228, + 201, + 2, + 207, + 1, + "VAE" + ], + [ + 232, + 205, + 0, + 210, + 0, + "IMAGE" + ], + [ + 235, + 205, + 1, + 212, + 1, + "MASK" + ], + [ + 254, + 212, + 0, + 223, + 1, + "MASK" + ], + [ + 256, + 203, + 0, + 224, + 0, + "CONDITIONING" + ], + [ + 257, + 204, + 0, + 224, + 1, + "CONDITIONING" + ], + [ + 258, + 224, + 0, + 202, + 1, + "CONDITIONING" + ], + [ + 259, + 224, + 1, + 202, + 2, + "CONDITIONING" + ], + [ + 260, + 224, + 2, + 202, + 3, + "LATENT" + ], + [ + 261, + 201, + 2, + 224, + 2, + "VAE" + ], + [ + 262, + 223, + 1, + 224, + 3, + "IMAGE" + ], + [ + 263, + 223, + 2, + 224, + 4, + "MASK" + ], + [ + 264, + 207, + 0, + 225, + 1, + "IMAGE" + ], + [ + 265, + 223, + 0, + 225, + 0, + "STITCH" + ], + [ + 266, + 225, + 0, + 226, + 0, + "IMAGE" + ], + [ + 271, + 228, + 1, + 230, + 0, + "CLIP" + ], + [ + 272, + 228, + 1, + 231, + 0, + "CLIP" + ], + [ + 273, + 232, + 0, + 233, + 0, + "IMAGE" + ], + [ + 274, + 229, + 0, + 234, + 0, + "LATENT" + ], + [ + 275, + 228, + 2, + 234, + 1, + "VAE" + ], + [ + 276, + 234, + 0, + 235, + 0, + "IMAGE" + ], + [ + 281, + 238, + 1, + 239, + 0, + "MASK" + ], + [ + 287, + 233, + 0, + 247, + 2, + "IMAGE" + ], + [ + 288, + 230, + 0, + 247, + 5, + "CONDITIONING" + ], + [ + 289, + 231, + 0, + 247, + 6, + "CONDITIONING" + ], + [ + 290, + 228, + 2, + 247, + 1, + "VAE" + ], + [ + 291, + 247, + 1, + 229, + 1, + "CONDITIONING" + ], + [ + 292, + 247, + 2, + 229, + 2, + "CONDITIONING" + ], + [ + 293, + 247, + 3, + 229, + 3, + "LATENT" + ], + [ + 294, + 247, + 0, + 229, + 0, + "MODEL" + ], + [ + 295, + 228, + 0, + 247, + 0, + "MODEL" + ], + [ + 296, + 248, + 0, + 247, + 4, + "BRMODEL" + ], + [ + 301, + 249, + 1, + 251, + 0, + "CLIP" + ], + [ + 302, + 249, + 1, + 252, + 0, + "CLIP" + ], + [ + 303, + 253, + 0, + 254, + 0, + "IMAGE" + ], + [ + 304, + 250, + 0, + 255, + 0, + "LATENT" + ], + [ + 305, + 249, + 2, + 255, + 1, + "VAE" + ], + [ + 306, + 255, + 0, + 256, + 0, + "IMAGE" + ], + [ + 307, + 253, + 0, + 258, + 0, + "IMAGE" + ], + [ + 308, + 258, + 1, + 259, + 0, + "MASK" + ], + [ + 318, + 249, + 0, + 264, + 0, + "MODEL" + ], + [ + 319, + 251, + 0, + 265, + 0, + "CONDITIONING" + ], + [ + 320, + 252, + 0, + 265, + 1, + "CONDITIONING" + ], + [ + 321, + 249, + 2, + 265, + 2, + "VAE" + ], + [ + 322, + 254, + 0, + 265, + 3, + "IMAGE" + ], + [ + 324, + 265, + 2, + 264, + 1, + "LATENT" + ], + [ + 325, + 264, + 0, + 250, + 0, + "MODEL" + ], + [ + 326, + 265, + 2, + 250, + 3, + "LATENT" + ], + [ + 327, + 265, + 0, + 250, + 1, + "CONDITIONING" + ], + [ + 328, + 265, + 1, + 250, + 2, + "CONDITIONING" + ], + [ + 333, + 266, + 1, + 268, + 0, + "CLIP" + ], + [ + 334, + 266, + 1, + 269, + 0, + "CLIP" + ], + [ + 335, + 270, + 0, + 271, + 0, + "IMAGE" + ], + [ + 336, + 267, + 0, + 272, + 0, + "LATENT" + ], + [ + 337, + 266, + 2, + 272, + 1, + "VAE" + ], + [ + 338, + 272, + 0, + 273, + 0, + "IMAGE" + ], + [ + 352, + 271, + 0, + 280, + 0, + "IMAGE" + ], + [ + 353, + 281, + 0, + 267, + 1, + "CONDITIONING" + ], + [ + 354, + 281, + 1, + 267, + 2, + "CONDITIONING" + ], + [ + 355, + 281, + 2, + 267, + 3, + "LATENT" + ], + [ + 356, + 280, + 0, + 282, + 0, + "IMAGE" + ], + [ + 357, + 282, + 0, + 281, + 3, + "LATENT" + ], + [ + 358, + 266, + 2, + 281, + 2, + "VAE" + ], + [ + 359, + 268, + 0, + 281, + 0, + "CONDITIONING" + ], + [ + 360, + 269, + 0, + 281, + 1, + "CONDITIONING" + ], + [ + 362, + 266, + 0, + 284, + 0, + "MODEL" + ], + [ + 363, + 284, + 0, + 267, + 0, + "MODEL" + ], + [ + 364, + 288, + 0, + 289, + 0, + "MODEL" + ], + [ + 365, + 290, + 0, + 289, + 1, + "CONDITIONING" + ], + [ + 366, + 291, + 0, + 289, + 2, + "CONDITIONING" + ], + [ + 367, + 296, + 0, + 289, + 3, + "LATENT" + ], + [ + 368, + 288, + 1, + 290, + 0, + "CLIP" + ], + [ + 369, + 288, + 1, + 291, + 0, + "CLIP" + ], + [ + 370, + 292, + 0, + 293, + 0, + "IMAGE" + ], + [ + 371, + 289, + 0, + 294, + 0, + "LATENT" + ], + [ + 372, + 288, + 2, + 294, + 1, + "VAE" + ], + [ + 373, + 293, + 0, + 296, + 0, + "IMAGE" + ], + [ + 374, + 288, + 2, + 296, + 1, + "VAE" + ], + [ + 375, + 299, + 0, + 296, + 2, + "MASK" + ], + [ + 376, + 292, + 0, + 297, + 0, + "IMAGE" + ], + [ + 377, + 297, + 1, + 298, + 0, + "MASK" + ], + [ + 378, + 298, + 0, + 299, + 0, + "MASK" + ], + [ + 379, + 292, + 1, + 299, + 1, + "MASK" + ], + [ + 397, + 294, + 0, + 306, + 0, + "IMAGE" + ], + [ + 398, + 294, + 0, + 310, + 0, + "IMAGE" + ], + [ + 399, + 310, + 0, + 311, + 0, + "IMAGE" + ], + [ + 402, + 313, + 0, + 312, + 0, + "MODEL" + ], + [ + 403, + 290, + 0, + 312, + 1, + "CONDITIONING" + ], + [ + 404, + 291, + 0, + 312, + 2, + "CONDITIONING" + ], + [ + 405, + 312, + 0, + 314, + 0, + "LATENT" + ], + [ + 406, + 313, + 2, + 314, + 1, + "VAE" + ], + [ + 407, + 313, + 2, + 311, + 1, + "VAE" + ], + [ + 408, + 311, + 0, + 315, + 0, + "LATENT" + ], + [ + 409, + 315, + 0, + 312, + 3, + "LATENT" + ], + [ + 410, + 299, + 0, + 315, + 1, + "MASK" + ], + [ + 411, + 316, + 0, + 317, + 0, + "MODEL" + ], + [ + 414, + 325, + 0, + 317, + 3, + "LATENT" + ], + [ + 415, + 316, + 1, + 318, + 0, + "CLIP" + ], + [ + 416, + 316, + 1, + 319, + 0, + "CLIP" + ], + [ + 417, + 320, + 0, + 321, + 0, + "IMAGE" + ], + [ + 418, + 317, + 0, + 322, + 0, + "LATENT" + ], + [ + 419, + 316, + 2, + 322, + 1, + "VAE" + ], + [ + 420, + 322, + 0, + 323, + 0, + "IMAGE" + ], + [ + 421, + 321, + 0, + 325, + 0, + "IMAGE" + ], + [ + 422, + 316, + 2, + 325, + 1, + "VAE" + ], + [ + 423, + 328, + 0, + 325, + 2, + "MASK" + ], + [ + 424, + 320, + 0, + 326, + 0, + "IMAGE" + ], + [ + 425, + 326, + 1, + 327, + 0, + "MASK" + ], + [ + 426, + 327, + 0, + 328, + 0, + "MASK" + ], + [ + 427, + 320, + 1, + 328, + 1, + "MASK" + ], + [ + 428, + 328, + 0, + 329, + 0, + "MASK" + ], + [ + 429, + 329, + 0, + 330, + 0, + "IMAGE" + ], + [ + 432, + 332, + 0, + 331, + 3, + "IMAGE" + ], + [ + 433, + 333, + 0, + 331, + 2, + "CONTROL_NET" + ], + [ + 434, + 318, + 0, + 331, + 0, + "CONDITIONING" + ], + [ + 435, + 319, + 0, + 331, + 1, + "CONDITIONING" + ], + [ + 436, + 326, + 0, + 332, + 0, + "IMAGE" + ], + [ + 437, + 336, + 0, + 334, + 2, + "CONTROL_NET" + ], + [ + 438, + 335, + 0, + 334, + 3, + "IMAGE" + ], + [ + 439, + 331, + 0, + 334, + 0, + "CONDITIONING" + ], + [ + 440, + 331, + 1, + 334, + 1, + "CONDITIONING" + ], + [ + 441, + 334, + 0, + 317, + 1, + "CONDITIONING" + ], + [ + 442, + 334, + 1, + 317, + 2, + "CONDITIONING" + ], + [ + 446, + 346, + 0, + 338, + 3, + "LATENT" + ], + [ + 447, + 337, + 1, + 339, + 0, + "CLIP" + ], + [ + 448, + 337, + 1, + 340, + 0, + "CLIP" + ], + [ + 449, + 341, + 0, + 342, + 0, + "IMAGE" + ], + [ + 450, + 338, + 0, + 343, + 0, + "LATENT" + ], + [ + 451, + 337, + 2, + 343, + 1, + "VAE" + ], + [ + 452, + 343, + 0, + 344, + 0, + "IMAGE" + ], + [ + 453, + 342, + 0, + 346, + 0, + "IMAGE" + ], + [ + 454, + 337, + 2, + 346, + 1, + "VAE" + ], + [ + 455, + 349, + 0, + 346, + 2, + "MASK" + ], + [ + 456, + 341, + 0, + 347, + 0, + "IMAGE" + ], + [ + 457, + 347, + 1, + 348, + 0, + "MASK" + ], + [ + 458, + 348, + 0, + 349, + 0, + "MASK" + ], + [ + 459, + 341, + 1, + 349, + 1, + "MASK" + ], + [ + 472, + 339, + 0, + 338, + 1, + "CONDITIONING" + ], + [ + 474, + 358, + 0, + 338, + 0, + "MODEL" + ], + [ + 475, + 359, + 0, + 358, + 2, + "IMAGE" + ], + [ + 517, + 406, + 0, + 388, + 0, + "IMAGE" + ], + [ + 520, + 393, + 0, + 389, + 2, + "CONTROL_NET" + ], + [ + 523, + 385, + 0, + 391, + 0, + "MODEL" + ], + [ + 524, + 385, + 1, + 391, + 1, + "CLIP" + ], + [ + 526, + 396, + 0, + 394, + 0, + "LATENT" + ], + [ + 529, + 413, + 0, + 396, + 1, + "CONDITIONING" + ], + [ + 530, + 413, + 1, + 396, + 2, + "CONDITIONING" + ], + [ + 531, + 413, + 2, + 396, + 3, + "LATENT" + ], + [ + 532, + 394, + 0, + 397, + 0, + "IMAGE" + ], + [ + 536, + 410, + 0, + 398, + 3, + "LATENT" + ], + [ + 537, + 397, + 0, + 399, + 0, + "IMAGE" + ], + [ + 540, + 398, + 0, + 401, + 0, + "LATENT" + ], + [ + 543, + 426, + 0, + 403, + 0, + "IMAGE" + ], + [ + 545, + 427, + 0, + 403, + 2, + "IMAGE" + ], + [ + 547, + 403, + 0, + 405, + 0, + "IMAGE" + ], + [ + 549, + 422, + 0, + 406, + 1, + "IMAGE" + ], + [ + 550, + 408, + 0, + 406, + 2, + "INT" + ], + [ + 551, + 411, + 0, + 406, + 3, + "INT" + ], + [ + 552, + 412, + 0, + 406, + 4, + "INT" + ], + [ + 554, + 406, + 0, + 409, + 0, + "IMAGE" + ], + [ + 555, + 399, + 0, + 410, + 0, + "LATENT" + ], + [ + 557, + 389, + 0, + 413, + 0, + "CONDITIONING" + ], + [ + 558, + 389, + 1, + 413, + 1, + "CONDITIONING" + ], + [ + 560, + 388, + 0, + 413, + 3, + "IMAGE" + ], + [ + 562, + 416, + 0, + 414, + 0, + "SAM_MODEL" + ], + [ + 563, + 415, + 0, + 414, + 1, + "GROUNDING_DINO_MODEL" + ], + [ + 569, + 414, + 1, + 421, + 0, + "MASK" + ], + [ + 570, + 421, + 0, + 422, + 0, + "IMAGE" + ], + [ + 571, + 423, + 0, + 424, + 0, + "MODEL" + ], + [ + 575, + 401, + 0, + 426, + 0, + "IMAGE" + ], + [ + 582, + 431, + 0, + 389, + 3, + "IMAGE" + ], + [ + 583, + 433, + 0, + 432, + 0, + "CONDITIONING" + ], + [ + 584, + 434, + 0, + 432, + 1, + "CONDITIONING" + ], + [ + 585, + 435, + 2, + 432, + 2, + "VAE" + ], + [ + 586, + 436, + 0, + 432, + 3, + "LATENT" + ], + [ + 587, + 435, + 1, + 433, + 0, + "CLIP" + ], + [ + 588, + 435, + 1, + 434, + 0, + "CLIP" + ], + [ + 589, + 448, + 0, + 436, + 0, + "IMAGE" + ], + [ + 590, + 435, + 2, + 436, + 1, + "VAE" + ], + [ + 591, + 444, + 0, + 438, + 0, + "MODEL" + ], + [ + 592, + 432, + 0, + 438, + 1, + "CONDITIONING" + ], + [ + 593, + 432, + 1, + 438, + 2, + "CONDITIONING" + ], + [ + 594, + 432, + 2, + 438, + 3, + "LATENT" + ], + [ + 595, + 438, + 0, + 439, + 0, + "LATENT" + ], + [ + 596, + 435, + 2, + 439, + 1, + "VAE" + ], + [ + 598, + 442, + 0, + 441, + 0, + "IMAGE" + ], + [ + 599, + 442, + 1, + 441, + 1, + "MASK" + ], + [ + 600, + 437, + 0, + 442, + 0, + "IMAGE" + ], + [ + 602, + 435, + 0, + 444, + 0, + "MODEL" + ], + [ + 603, + 452, + 0, + 445, + 0, + "MASK" + ], + [ + 604, + 449, + 0, + 446, + 0, + "IMAGE" + ], + [ + 605, + 437, + 0, + 446, + 1, + "IMAGE" + ], + [ + 606, + 451, + 0, + 446, + 2, + "IMAGE" + ], + [ + 608, + 441, + 0, + 448, + 0, + "IMAGE" + ], + [ + 609, + 439, + 0, + 449, + 0, + "IMAGE" + ], + [ + 610, + 450, + 0, + 449, + 1, + "INT" + ], + [ + 611, + 450, + 1, + 449, + 2, + "INT" + ], + [ + 612, + 437, + 0, + 450, + 0, + "IMAGE" + ], + [ + 613, + 445, + 0, + 451, + 0, + "IMAGE" + ], + [ + 614, + 442, + 1, + 452, + 0, + "MASK" + ], + [ + 619, + 487, + 0, + 457, + 3, + "LATENT" + ], + [ + 620, + 457, + 0, + 458, + 0, + "LATENT" + ], + [ + 622, + 464, + 0, + 459, + 0, + "MASK" + ], + [ + 623, + 505, + 0, + 460, + 0, + "IMAGE" + ], + [ + 625, + 463, + 0, + 460, + 2, + "IMAGE" + ], + [ + 626, + 460, + 0, + 461, + 0, + "IMAGE" + ], + [ + 628, + 459, + 0, + 463, + 0, + "IMAGE" + ], + [ + 629, + 497, + 0, + 464, + 0, + "MASK" + ], + [ + 630, + 502, + 1, + 465, + 0, + "MASK" + ], + [ + 631, + 526, + 0, + 466, + 0, + "CONDITIONING" + ], + [ + 632, + 526, + 1, + 466, + 1, + "CONDITIONING" + ], + [ + 633, + 467, + 0, + 466, + 2, + "CONTROL_NET" + ], + [ + 634, + 529, + 0, + 466, + 3, + "IMAGE" + ], + [ + 638, + 470, + 0, + 468, + 3, + "LATENT" + ], + [ + 641, + 473, + 0, + 471, + 0, + "MODEL" + ], + [ + 642, + 468, + 0, + 471, + 1, + "CONDITIONING" + ], + [ + 643, + 468, + 1, + 471, + 2, + "CONDITIONING" + ], + [ + 644, + 468, + 2, + 471, + 3, + "LATENT" + ], + [ + 645, + 471, + 0, + 472, + 0, + "LATENT" + ], + [ + 649, + 492, + 0, + 476, + 0, + "IMAGE" + ], + [ + 653, + 472, + 0, + 478, + 1, + "IMAGE" + ], + [ + 659, + 462, + 0, + 487, + 0, + "IMAGE" + ], + [ + 662, + 455, + 0, + 488, + 0, + "MODEL" + ], + [ + 663, + 455, + 1, + 488, + 1, + "CLIP" + ], + [ + 664, + 489, + 0, + 488, + 2, + "COMBO" + ], + [ + 670, + 494, + 0, + 491, + 3, + "LATENT" + ], + [ + 671, + 491, + 0, + 492, + 0, + "LATENT" + ], + [ + 677, + 465, + 0, + 495, + 0, + "MASK" + ], + [ + 682, + 531, + 0, + 498, + 1, + "MASK" + ], + [ + 686, + 503, + 0, + 504, + 0, + "UPSCALE_MODEL" + ], + [ + 687, + 478, + 0, + 504, + 1, + "IMAGE" + ], + [ + 688, + 476, + 0, + 505, + 0, + "IMAGE" + ], + [ + 689, + 504, + 0, + 506, + 0, + "IMAGE" + ], + [ + 698, + 512, + 0, + 515, + 1, + "STRING" + ], + [ + 700, + 513, + 0, + 516, + 1, + "STRING" + ], + [ + 711, + 527, + 0, + 526, + 2, + "CONTROL_NET" + ], + [ + 712, + 528, + 0, + 526, + 3, + "IMAGE" + ], + [ + 713, + 525, + 0, + 528, + 0, + "IMAGE" + ], + [ + 715, + 495, + 0, + 531, + 0, + "MASK" + ], + [ + 721, + 21, + 1, + 28, + 2, + "MASK" + ], + [ + 722, + 539, + 0, + 34, + 0, + "IMAGE" + ], + [ + 723, + 539, + 1, + 40, + 4, + "MASK" + ], + [ + 725, + 103, + 0, + 540, + 0, + "IMAGE" + ], + [ + 733, + 109, + 0, + 544, + 0, + "MASK" + ], + [ + 734, + 544, + 0, + 545, + 0, + "IMAGE" + ], + [ + 735, + 546, + 0, + 106, + 0, + "REMBG_SESSION" + ], + [ + 738, + 547, + 0, + 548, + 0, + "IMAGE" + ], + [ + 739, + 100, + 1, + 547, + 0, + "MASK" + ], + [ + 740, + 106, + 1, + 549, + 0, + "MASK" + ], + [ + 742, + 89, + 0, + 550, + 0, + "IMAGE" + ], + [ + 743, + 83, + 0, + 76, + 2, + "MASK" + ], + [ + 744, + 71, + 0, + 552, + 0, + "IMAGE" + ], + [ + 745, + 71, + 0, + 79, + 2, + "IMAGE" + ], + [ + 747, + 555, + 0, + 554, + 0, + "SAM_MODEL" + ], + [ + 748, + 557, + 0, + 554, + 1, + "SEGS" + ], + [ + 749, + 559, + 0, + 557, + 0, + "BBOX_DETECTOR" + ], + [ + 750, + 554, + 0, + 560, + 0, + "MASK" + ], + [ + 751, + 560, + 0, + 561, + 0, + "IMAGE" + ], + [ + 753, + 168, + 0, + 565, + 0, + "MASK" + ], + [ + 754, + 565, + 0, + 566, + 0, + "IMAGE" + ], + [ + 755, + 567, + 0, + 568, + 0, + "IMAGE" + ], + [ + 756, + 161, + 0, + 567, + 0, + "MASK" + ], + [ + 757, + 570, + 0, + 571, + 0, + "IMAGE" + ], + [ + 758, + 165, + 0, + 570, + 0, + "MASK" + ], + [ + 759, + 572, + 0, + 573, + 0, + "IMAGE" + ], + [ + 760, + 167, + 0, + 572, + 0, + "MASK" + ], + [ + 761, + 153, + 1, + 564, + 0, + "MASK" + ], + [ + 771, + 580, + 2, + 512, + 0, + "STRING" + ], + [ + 772, + 580, + 3, + 513, + 0, + "STRING" + ], + [ + 779, + 575, + 2, + 574, + 2, + "VAE" + ], + [ + 784, + 466, + 0, + 584, + 0, + "CONDITIONING" + ], + [ + 785, + 466, + 1, + 584, + 1, + "CONDITIONING" + ], + [ + 786, + 515, + 0, + 585, + 0, + "CONDITIONING" + ], + [ + 787, + 516, + 0, + 586, + 0, + "CONDITIONING" + ], + [ + 788, + 493, + 0, + 494, + 0, + "LATENT" + ], + [ + 789, + 456, + 0, + 587, + 0, + "IMAGE" + ], + [ + 790, + 456, + 1, + 588, + 0, + "MASK" + ], + [ + 792, + 530, + 1, + 590, + 0, + "MASK" + ], + [ + 793, + 498, + 0, + 591, + 0, + "IMAGE" + ], + [ + 794, + 531, + 0, + 592, + 0, + "MASK" + ], + [ + 796, + 458, + 0, + 593, + 0, + "IMAGE" + ], + [ + 798, + 506, + 0, + 594, + 0, + "IMAGE" + ], + [ + 802, + 488, + 0, + 597, + 0, + "MODEL" + ], + [ + 804, + 153, + 1, + 223, + 2, + "MASK" + ], + [ + 805, + 89, + 0, + 103, + 0, + "IMAGE" + ], + [ + 806, + 89, + 0, + 106, + 1, + "IMAGE" + ], + [ + 807, + 89, + 0, + 109, + 0, + "IMAGE" + ], + [ + 808, + 71, + 0, + 113, + 0, + "IMAGE" + ], + [ + 809, + 71, + 0, + 557, + 1, + "IMAGE" + ], + [ + 810, + 71, + 0, + 554, + 2, + "IMAGE" + ], + [ + 811, + 153, + 1, + 161, + 0, + "MASK" + ], + [ + 812, + 153, + 1, + 168, + 0, + "MASK" + ], + [ + 813, + 153, + 1, + 165, + 0, + "MASK" + ], + [ + 814, + 153, + 1, + 167, + 0, + "MASK" + ], + [ + 815, + 515, + 0, + 526, + 0, + "CONDITIONING" + ], + [ + 816, + 516, + 0, + 526, + 1, + "CONDITIONING" + ], + [ + 817, + 530, + 1, + 525, + 0, + "MASK" + ], + [ + 818, + 498, + 0, + 529, + 0, + "IMAGE" + ], + [ + 819, + 575, + 2, + 458, + 1, + "VAE" + ], + [ + 820, + 456, + 0, + 502, + 0, + "IMAGE" + ], + [ + 821, + 456, + 1, + 495, + 1, + "MASK" + ], + [ + 822, + 530, + 1, + 531, + 1, + "MASK" + ], + [ + 823, + 456, + 0, + 498, + 0, + "IMAGE" + ], + [ + 824, + 506, + 0, + 493, + 0, + "IMAGE" + ], + [ + 825, + 575, + 2, + 493, + 1, + "VAE" + ], + [ + 826, + 531, + 0, + 494, + 1, + "MASK" + ], + [ + 827, + 575, + 0, + 491, + 0, + "MODEL" + ], + [ + 828, + 466, + 0, + 491, + 1, + "CONDITIONING" + ], + [ + 829, + 466, + 1, + 491, + 2, + "CONDITIONING" + ], + [ + 830, + 575, + 2, + 492, + 1, + "VAE" + ], + [ + 831, + 456, + 0, + 462, + 0, + "IMAGE" + ], + [ + 832, + 458, + 0, + 470, + 0, + "IMAGE" + ], + [ + 833, + 575, + 2, + 470, + 1, + "VAE" + ], + [ + 834, + 466, + 0, + 468, + 0, + "CONDITIONING" + ], + [ + 835, + 466, + 1, + 468, + 1, + "CONDITIONING" + ], + [ + 836, + 575, + 2, + 468, + 2, + "VAE" + ], + [ + 837, + 575, + 0, + 473, + 0, + "MODEL" + ], + [ + 838, + 575, + 2, + 472, + 1, + "VAE" + ], + [ + 839, + 458, + 0, + 478, + 0, + "IMAGE" + ], + [ + 840, + 575, + 1, + 515, + 0, + "CLIP" + ], + [ + 841, + 575, + 1, + 516, + 0, + "CLIP" + ], + [ + 842, + 456, + 0, + 476, + 1, + "IMAGE" + ], + [ + 843, + 531, + 0, + 497, + 0, + "MASK" + ], + [ + 844, + 456, + 0, + 460, + 1, + "IMAGE" + ], + [ + 845, + 575, + 2, + 487, + 1, + "VAE" + ], + [ + 846, + 531, + 0, + 487, + 2, + "MASK" + ], + [ + 847, + 575, + 0, + 457, + 0, + "MODEL" + ], + [ + 848, + 466, + 0, + 457, + 1, + "CONDITIONING" + ], + [ + 849, + 466, + 1, + 457, + 2, + "CONDITIONING" + ], + [ + 851, + 575, + 0, + 574, + 0, + "MODEL" + ], + [ + 852, + 598, + 1, + 574, + 1, + "CLIP" + ], + [ + 853, + 489, + 0, + 598, + 2, + "COMBO" + ], + [ + 854, + 153, + 1, + 223, + 2, + "MASK" + ], + [ + 855, + 89, + 0, + 103, + 0, + "IMAGE" + ], + [ + 856, + 89, + 0, + 106, + 1, + "IMAGE" + ], + [ + 857, + 89, + 0, + 109, + 0, + "IMAGE" + ], + [ + 858, + 71, + 0, + 113, + 0, + "IMAGE" + ], + [ + 859, + 71, + 0, + 557, + 1, + "IMAGE" + ], + [ + 860, + 71, + 0, + 554, + 2, + "IMAGE" + ], + [ + 861, + 153, + 1, + 161, + 0, + "MASK" + ], + [ + 862, + 153, + 1, + 168, + 0, + "MASK" + ], + [ + 863, + 153, + 1, + 165, + 0, + "MASK" + ], + [ + 864, + 153, + 1, + 167, + 0, + "MASK" + ], + [ + 865, + 515, + 0, + 526, + 0, + "CONDITIONING" + ], + [ + 866, + 516, + 0, + 526, + 1, + "CONDITIONING" + ], + [ + 867, + 530, + 1, + 525, + 0, + "MASK" + ], + [ + 868, + 498, + 0, + 529, + 0, + "IMAGE" + ], + [ + 869, + 456, + 0, + 502, + 0, + "IMAGE" + ], + [ + 870, + 456, + 1, + 495, + 1, + "MASK" + ], + [ + 871, + 530, + 1, + 531, + 1, + "MASK" + ], + [ + 872, + 456, + 0, + 498, + 0, + "IMAGE" + ], + [ + 873, + 506, + 0, + 493, + 0, + "IMAGE" + ], + [ + 874, + 575, + 2, + 493, + 1, + "VAE" + ], + [ + 875, + 531, + 0, + 494, + 1, + "MASK" + ], + [ + 876, + 575, + 0, + 491, + 0, + "MODEL" + ], + [ + 877, + 466, + 0, + 491, + 1, + "CONDITIONING" + ], + [ + 878, + 466, + 1, + 491, + 2, + "CONDITIONING" + ], + [ + 879, + 575, + 2, + 492, + 1, + "VAE" + ], + [ + 880, + 456, + 0, + 462, + 0, + "IMAGE" + ], + [ + 881, + 458, + 0, + 470, + 0, + "IMAGE" + ], + [ + 882, + 575, + 2, + 470, + 1, + "VAE" + ], + [ + 883, + 466, + 0, + 468, + 0, + "CONDITIONING" + ], + [ + 884, + 466, + 1, + 468, + 1, + "CONDITIONING" + ], + [ + 885, + 575, + 2, + 468, + 2, + "VAE" + ], + [ + 886, + 575, + 0, + 473, + 0, + "MODEL" + ], + [ + 887, + 575, + 2, + 472, + 1, + "VAE" + ], + [ + 888, + 458, + 0, + 478, + 0, + "IMAGE" + ], + [ + 889, + 598, + 1, + 515, + 0, + "CLIP" + ], + [ + 890, + 598, + 1, + 516, + 0, + "CLIP" + ], + [ + 891, + 456, + 0, + 476, + 1, + "IMAGE" + ], + [ + 892, + 531, + 0, + 497, + 0, + "MASK" + ], + [ + 893, + 456, + 0, + 460, + 1, + "IMAGE" + ], + [ + 894, + 575, + 2, + 487, + 1, + "VAE" + ], + [ + 895, + 531, + 0, + 487, + 2, + "MASK" + ], + [ + 896, + 488, + 0, + 457, + 0, + "MODEL" + ], + [ + 897, + 466, + 0, + 457, + 1, + "CONDITIONING" + ], + [ + 898, + 466, + 1, + 457, + 2, + "CONDITIONING" + ], + [ + 899, + 575, + 2, + 458, + 1, + "VAE" + ], + [ + 900, + 575, + 0, + 598, + 0, + "MODEL" + ], + [ + 901, + 598, + 1, + 598, + 1, + "CLIP" + ], + [ + 902, + 575, + 0, + 598, + 0, + "MODEL" + ], + [ + 903, + 575, + 1, + 598, + 1, + "CLIP" + ], + [ + 904, + 515, + 0, + 526, + 0, + "CONDITIONING" + ], + [ + 905, + 516, + 0, + 526, + 1, + "CONDITIONING" + ], + [ + 906, + 530, + 1, + 525, + 0, + "MASK" + ], + [ + 907, + 498, + 0, + 529, + 0, + "IMAGE" + ], + [ + 908, + 456, + 0, + 502, + 0, + "IMAGE" + ], + [ + 909, + 456, + 1, + 495, + 1, + "MASK" + ], + [ + 910, + 530, + 1, + 531, + 1, + "MASK" + ], + [ + 911, + 456, + 0, + 498, + 0, + "IMAGE" + ], + [ + 912, + 506, + 0, + 493, + 0, + "IMAGE" + ], + [ + 913, + 575, + 2, + 493, + 1, + "VAE" + ], + [ + 914, + 531, + 0, + 494, + 1, + "MASK" + ], + [ + 915, + 575, + 2, + 492, + 1, + "VAE" + ], + [ + 916, + 456, + 0, + 462, + 0, + "IMAGE" + ], + [ + 917, + 458, + 0, + 470, + 0, + "IMAGE" + ], + [ + 918, + 575, + 2, + 470, + 1, + "VAE" + ], + [ + 919, + 466, + 0, + 468, + 0, + "CONDITIONING" + ], + [ + 920, + 466, + 1, + 468, + 1, + "CONDITIONING" + ], + [ + 921, + 575, + 2, + 468, + 2, + "VAE" + ], + [ + 922, + 575, + 0, + 473, + 0, + "MODEL" + ], + [ + 923, + 599, + 0, + 471, + 4, + "INT" + ], + [ + 924, + 575, + 2, + 472, + 1, + "VAE" + ], + [ + 925, + 458, + 0, + 478, + 0, + "IMAGE" + ], + [ + 926, + 598, + 1, + 515, + 0, + "CLIP" + ], + [ + 927, + 598, + 1, + 516, + 0, + "CLIP" + ], + [ + 928, + 456, + 0, + 476, + 1, + "IMAGE" + ], + [ + 929, + 531, + 0, + 497, + 0, + "MASK" + ], + [ + 930, + 456, + 0, + 460, + 1, + "IMAGE" + ], + [ + 931, + 575, + 2, + 487, + 1, + "VAE" + ], + [ + 932, + 531, + 0, + 487, + 2, + "MASK" + ], + [ + 933, + 575, + 2, + 458, + 1, + "VAE" + ], + [ + 934, + 575, + 0, + 457, + 0, + "MODEL" + ], + [ + 935, + 466, + 0, + 457, + 1, + "CONDITIONING" + ], + [ + 936, + 466, + 1, + 457, + 2, + "CONDITIONING" + ], + [ + 937, + 599, + 0, + 457, + 4, + "INT" + ], + [ + 938, + 575, + 0, + 491, + 0, + "MODEL" + ], + [ + 939, + 466, + 0, + 491, + 1, + "CONDITIONING" + ], + [ + 940, + 466, + 1, + 491, + 2, + "CONDITIONING" + ], + [ + 941, + 599, + 0, + 491, + 4, + "INT" + ], + [ + 942, + 600, + 0, + 7, + 0, + "IMAGE" + ], + [ + 943, + 600, + 1, + 9, + 1, + "MASK" + ], + [ + 947, + 607, + 1, + 609, + 0, + "MASK" + ], + [ + 948, + 609, + 0, + 608, + 0, + "IMAGE" + ], + [ + 949, + 612, + 0, + 611, + 0, + "IMAGE" + ], + [ + 950, + 79, + 1, + 612, + 0, + "MASK" + ], + [ + 952, + 173, + 0, + 617, + 0, + "IMAGE" + ], + [ + 953, + 184, + 0, + 618, + 0, + "IMAGE" + ], + [ + 954, + 199, + 0, + 619, + 0, + "IMAGE" + ], + [ + 959, + 625, + 0, + 626, + 0, + "IMAGE" + ], + [ + 960, + 198, + 0, + 627, + 0, + "IMAGE" + ], + [ + 962, + 630, + 0, + 629, + 0, + "IMAGE" + ], + [ + 963, + 549, + 0, + 631, + 0, + "IMAGE" + ], + [ + 964, + 205, + 0, + 223, + 0, + "IMAGE" + ], + [ + 965, + 210, + 1, + 212, + 0, + "MASK" + ], + [ + 967, + 320, + 0, + 335, + 0, + "IMAGE" + ], + [ + 968, + 340, + 0, + 338, + 2, + "CONDITIONING" + ], + [ + 969, + 632, + 0, + 358, + 0, + "MODEL" + ], + [ + 970, + 632, + 1, + 358, + 1, + "IPADAPTER" + ], + [ + 971, + 337, + 0, + 632, + 0, + "MODEL" + ], + [ + 972, + 233, + 0, + 238, + 0, + "IMAGE" + ], + [ + 974, + 239, + 0, + 247, + 3, + "MASK" + ], + [ + 975, + 259, + 0, + 265, + 4, + "MASK" + ], + [ + 976, + 266, + 2, + 282, + 1, + "VAE" + ], + [ + 978, + 275, + 1, + 280, + 1, + "MASK" + ], + [ + 979, + 271, + 0, + 275, + 0, + "IMAGE" + ], + [ + 982, + 385, + 2, + 633, + 2, + "VAE" + ], + [ + 983, + 391, + 0, + 633, + 0, + "MODEL" + ], + [ + 984, + 391, + 1, + 633, + 1, + "CLIP" + ], + [ + 985, + 384, + 0, + 634, + 0, + "IMAGE" + ], + [ + 988, + 424, + 0, + 635, + 0, + "MODEL" + ], + [ + 989, + 423, + 1, + 424, + 1, + "CLIP" + ], + [ + 990, + 386, + 0, + 636, + 0, + "CONDITIONING" + ], + [ + 991, + 387, + 0, + 636, + 1, + "CONDITIONING" + ], + [ + 993, + 420, + 0, + 637, + 0, + "MASK" + ], + [ + 996, + 425, + 0, + 427, + 0, + "IMAGE" + ], + [ + 997, + 414, + 1, + 638, + 0, + "MASK" + ], + [ + 998, + 639, + 0, + 425, + 0, + "IMAGE" + ], + [ + 999, + 414, + 0, + 431, + 0, + "IMAGE" + ], + [ + 1000, + 640, + 0, + 639, + 0, + "MASK" + ], + [ + 1006, + 446, + 0, + 642, + 0, + "IMAGE" + ], + [ + 1007, + 439, + 0, + 642, + 1, + "IMAGE" + ], + [ + 1008, + 89, + 0, + 103, + 0, + "IMAGE" + ], + [ + 1009, + 89, + 0, + 106, + 1, + "IMAGE" + ], + [ + 1010, + 89, + 0, + 109, + 0, + "IMAGE" + ], + [ + 1011, + 71, + 0, + 557, + 1, + "IMAGE" + ], + [ + 1012, + 71, + 0, + 554, + 2, + "IMAGE" + ], + [ + 1013, + 153, + 1, + 167, + 0, + "MASK" + ], + [ + 1014, + 515, + 0, + 526, + 0, + "CONDITIONING" + ], + [ + 1015, + 516, + 0, + 526, + 1, + "CONDITIONING" + ], + [ + 1016, + 530, + 1, + 525, + 0, + "MASK" + ], + [ + 1017, + 498, + 0, + 529, + 0, + "IMAGE" + ], + [ + 1018, + 456, + 0, + 502, + 0, + "IMAGE" + ], + [ + 1019, + 456, + 1, + 495, + 1, + "MASK" + ], + [ + 1020, + 530, + 1, + 531, + 1, + "MASK" + ], + [ + 1021, + 456, + 0, + 498, + 0, + "IMAGE" + ], + [ + 1022, + 506, + 0, + 493, + 0, + "IMAGE" + ], + [ + 1023, + 575, + 2, + 493, + 1, + "VAE" + ], + [ + 1024, + 531, + 0, + 494, + 1, + "MASK" + ], + [ + 1025, + 575, + 2, + 492, + 1, + "VAE" + ], + [ + 1026, + 456, + 0, + 462, + 0, + "IMAGE" + ], + [ + 1027, + 458, + 0, + 470, + 0, + "IMAGE" + ], + [ + 1028, + 575, + 2, + 470, + 1, + "VAE" + ], + [ + 1029, + 466, + 0, + 468, + 0, + "CONDITIONING" + ], + [ + 1030, + 466, + 1, + 468, + 1, + "CONDITIONING" + ], + [ + 1031, + 575, + 2, + 468, + 2, + "VAE" + ], + [ + 1032, + 575, + 0, + 473, + 0, + "MODEL" + ], + [ + 1033, + 599, + 0, + 471, + 4, + "INT" + ], + [ + 1034, + 575, + 2, + 472, + 1, + "VAE" + ], + [ + 1035, + 458, + 0, + 478, + 0, + "IMAGE" + ], + [ + 1036, + 598, + 1, + 515, + 0, + "CLIP" + ], + [ + 1037, + 598, + 1, + 516, + 0, + "CLIP" + ], + [ + 1038, + 456, + 0, + 476, + 1, + "IMAGE" + ], + [ + 1039, + 531, + 0, + 497, + 0, + "MASK" + ], + [ + 1040, + 456, + 0, + 460, + 1, + "IMAGE" + ], + [ + 1041, + 575, + 2, + 487, + 1, + "VAE" + ], + [ + 1042, + 531, + 0, + 487, + 2, + "MASK" + ], + [ + 1043, + 575, + 2, + 458, + 1, + "VAE" + ], + [ + 1044, + 575, + 0, + 457, + 0, + "MODEL" + ], + [ + 1045, + 466, + 0, + 457, + 1, + "CONDITIONING" + ], + [ + 1046, + 466, + 1, + 457, + 2, + "CONDITIONING" + ], + [ + 1047, + 599, + 0, + 457, + 4, + "INT" + ], + [ + 1048, + 575, + 0, + 491, + 0, + "MODEL" + ], + [ + 1049, + 466, + 0, + 491, + 1, + "CONDITIONING" + ], + [ + 1050, + 466, + 1, + 491, + 2, + "CONDITIONING" + ], + [ + 1051, + 599, + 0, + 491, + 4, + "INT" + ], + [ + 1052, + 71, + 0, + 607, + 0, + "IMAGE" + ], + [ + 1053, + 153, + 1, + 165, + 0, + "MASK" + ], + [ + 1054, + 153, + 1, + 161, + 0, + "MASK" + ], + [ + 1055, + 153, + 1, + 168, + 0, + "MASK" + ], + [ + 1056, + 184, + 0, + 198, + 0, + "IMAGE" + ], + [ + 1057, + 173, + 0, + 198, + 1, + "IMAGE" + ], + [ + 1058, + 199, + 0, + 198, + 2, + "IMAGE" + ], + [ + 1059, + 173, + 0, + 625, + 0, + "IMAGE" + ], + [ + 1060, + 173, + 0, + 625, + 1, + "IMAGE" + ], + [ + 1061, + 173, + 0, + 630, + 0, + "IMAGE" + ], + [ + 1062, + 173, + 0, + 630, + 1, + "IMAGE" + ], + [ + 1063, + 384, + 0, + 406, + 0, + "IMAGE" + ], + [ + 1064, + 385, + 2, + 413, + 2, + "VAE" + ], + [ + 1065, + 420, + 0, + 413, + 4, + "MASK" + ], + [ + 1066, + 385, + 2, + 399, + 1, + "VAE" + ], + [ + 1067, + 420, + 0, + 410, + 1, + "MASK" + ], + [ + 1068, + 385, + 2, + 394, + 1, + "VAE" + ], + [ + 1069, + 385, + 2, + 401, + 1, + "VAE" + ], + [ + 1070, + 424, + 0, + 398, + 0, + "MODEL" + ], + [ + 1071, + 386, + 0, + 398, + 1, + "CONDITIONING" + ], + [ + 1072, + 387, + 0, + 398, + 2, + "CONDITIONING" + ], + [ + 1073, + 386, + 0, + 389, + 0, + "CONDITIONING" + ], + [ + 1074, + 387, + 0, + 389, + 1, + "CONDITIONING" + ], + [ + 1075, + 384, + 0, + 414, + 2, + "IMAGE" + ], + [ + 1076, + 414, + 1, + 420, + 0, + "MASK" + ], + [ + 1077, + 384, + 0, + 425, + 1, + "IMAGE" + ], + [ + 1078, + 384, + 0, + 426, + 1, + "IMAGE" + ], + [ + 1079, + 384, + 0, + 403, + 1, + "IMAGE" + ], + [ + 1080, + 391, + 0, + 396, + 0, + "MODEL" + ], + [ + 1081, + 391, + 1, + 386, + 0, + "CLIP" + ], + [ + 1082, + 414, + 1, + 640, + 0, + "MASK" + ], + [ + 1083, + 391, + 1, + 387, + 0, + "CLIP" + ], + [ + 1084, + 643, + 0, + 644, + 0, + "MODEL" + ], + [ + 1085, + 645, + 0, + 644, + 1, + "CONDITIONING" + ], + [ + 1086, + 646, + 0, + 644, + 2, + "CONDITIONING" + ], + [ + 1087, + 651, + 0, + 644, + 3, + "LATENT" + ], + [ + 1088, + 643, + 1, + 645, + 0, + "CLIP" + ], + [ + 1089, + 643, + 1, + 646, + 0, + "CLIP" + ], + [ + 1090, + 647, + 0, + 648, + 0, + "IMAGE" + ], + [ + 1091, + 644, + 0, + 649, + 0, + "LATENT" + ], + [ + 1092, + 643, + 2, + 649, + 1, + "VAE" + ], + [ + 1093, + 648, + 0, + 651, + 0, + "IMAGE" + ], + [ + 1094, + 643, + 2, + 651, + 1, + "VAE" + ], + [ + 1095, + 654, + 0, + 651, + 2, + "MASK" + ], + [ + 1096, + 647, + 0, + 652, + 0, + "IMAGE" + ], + [ + 1097, + 652, + 1, + 653, + 0, + "MASK" + ], + [ + 1098, + 653, + 0, + 654, + 0, + "MASK" + ], + [ + 1099, + 647, + 1, + 654, + 1, + "MASK" + ], + [ + 1105, + 645, + 0, + 658, + 1, + "CONDITIONING" + ], + [ + 1106, + 646, + 0, + 658, + 2, + "CONDITIONING" + ], + [ + 1107, + 661, + 0, + 658, + 3, + "LATENT" + ], + [ + 1111, + 654, + 0, + 661, + 1, + "MASK" + ], + [ + 1112, + 656, + 0, + 662, + 0, + "IMAGE" + ], + [ + 1113, + 659, + 2, + 662, + 1, + "VAE" + ], + [ + 1114, + 662, + 0, + 661, + 0, + "LATENT" + ], + [ + 1115, + 659, + 0, + 663, + 0, + "MODEL" + ], + [ + 1116, + 663, + 0, + 658, + 0, + "MODEL" + ], + [ + 1117, + 658, + 0, + 664, + 0, + "LATENT" + ], + [ + 1118, + 659, + 2, + 664, + 1, + "VAE" + ], + [ + 1119, + 664, + 0, + 655, + 0, + "IMAGE" + ], + [ + 1120, + 649, + 0, + 665, + 0, + "IMAGE" + ], + [ + 1121, + 665, + 0, + 656, + 0, + "IMAGE" + ], + [ + 1122, + 667, + 0, + 668, + 0, + "MODEL" + ], + [ + 1123, + 669, + 0, + 668, + 1, + "CONDITIONING" + ], + [ + 1124, + 670, + 0, + 668, + 2, + "CONDITIONING" + ], + [ + 1125, + 675, + 0, + 668, + 3, + "LATENT" + ], + [ + 1126, + 667, + 1, + 669, + 0, + "CLIP" + ], + [ + 1127, + 667, + 1, + 670, + 0, + "CLIP" + ], + [ + 1128, + 671, + 0, + 672, + 0, + "IMAGE" + ], + [ + 1129, + 668, + 0, + 673, + 0, + "LATENT" + ], + [ + 1130, + 667, + 2, + 673, + 1, + "VAE" + ], + [ + 1131, + 672, + 0, + 675, + 0, + "IMAGE" + ], + [ + 1132, + 667, + 2, + 675, + 1, + "VAE" + ], + [ + 1133, + 678, + 0, + 675, + 2, + "MASK" + ], + [ + 1134, + 671, + 0, + 676, + 0, + "IMAGE" + ], + [ + 1135, + 676, + 1, + 677, + 0, + "MASK" + ], + [ + 1136, + 677, + 0, + 678, + 0, + "MASK" + ], + [ + 1137, + 671, + 1, + 678, + 1, + "MASK" + ], + [ + 1153, + 688, + 0, + 679, + 0, + "IMAGE" + ], + [ + 1154, + 673, + 0, + 688, + 0, + "IMAGE" + ], + [ + 1155, + 682, + 0, + 688, + 1, + "MODEL" + ], + [ + 1156, + 682, + 2, + 688, + 4, + "VAE" + ], + [ + 1157, + 669, + 0, + 688, + 2, + "CONDITIONING" + ], + [ + 1158, + 670, + 0, + 688, + 3, + "CONDITIONING" + ], + [ + 1159, + 689, + 0, + 688, + 5, + "UPSCALE_MODEL" + ], + [ + 1160, + 673, + 0, + 690, + 0, + "IMAGE" + ], + [ + 1161, + 690, + 0, + 688, + 6, + "INT" + ], + [ + 1162, + 690, + 1, + 688, + 7, + "INT" + ], + [ + 1165, + 89, + 0, + 103, + 0, + "IMAGE" + ], + [ + 1166, + 89, + 0, + 106, + 1, + "IMAGE" + ], + [ + 1167, + 89, + 0, + 109, + 0, + "IMAGE" + ], + [ + 1168, + 71, + 0, + 557, + 1, + "IMAGE" + ], + [ + 1169, + 71, + 0, + 554, + 2, + "IMAGE" + ], + [ + 1170, + 153, + 1, + 167, + 0, + "MASK" + ], + [ + 1171, + 515, + 0, + 526, + 0, + "CONDITIONING" + ], + [ + 1172, + 516, + 0, + 526, + 1, + "CONDITIONING" + ], + [ + 1173, + 530, + 1, + 525, + 0, + "MASK" + ], + [ + 1174, + 498, + 0, + 529, + 0, + "IMAGE" + ], + [ + 1175, + 456, + 0, + 502, + 0, + "IMAGE" + ], + [ + 1176, + 456, + 1, + 495, + 1, + "MASK" + ], + [ + 1177, + 530, + 1, + 531, + 1, + "MASK" + ], + [ + 1178, + 456, + 0, + 498, + 0, + "IMAGE" + ], + [ + 1179, + 506, + 0, + 493, + 0, + "IMAGE" + ], + [ + 1180, + 575, + 2, + 493, + 1, + "VAE" + ], + [ + 1181, + 531, + 0, + 494, + 1, + "MASK" + ], + [ + 1182, + 575, + 2, + 492, + 1, + "VAE" + ], + [ + 1183, + 456, + 0, + 462, + 0, + "IMAGE" + ], + [ + 1184, + 458, + 0, + 470, + 0, + "IMAGE" + ], + [ + 1185, + 575, + 2, + 470, + 1, + "VAE" + ], + [ + 1186, + 466, + 0, + 468, + 0, + "CONDITIONING" + ], + [ + 1187, + 466, + 1, + 468, + 1, + "CONDITIONING" + ], + [ + 1188, + 575, + 2, + 468, + 2, + "VAE" + ], + [ + 1189, + 575, + 0, + 473, + 0, + "MODEL" + ], + [ + 1190, + 599, + 0, + 471, + 4, + "INT" + ], + [ + 1191, + 575, + 2, + 472, + 1, + "VAE" + ], + [ + 1192, + 458, + 0, + 478, + 0, + "IMAGE" + ], + [ + 1193, + 598, + 1, + 515, + 0, + "CLIP" + ], + [ + 1194, + 598, + 1, + 516, + 0, + "CLIP" + ], + [ + 1195, + 456, + 0, + 476, + 1, + "IMAGE" + ], + [ + 1196, + 531, + 0, + 497, + 0, + "MASK" + ], + [ + 1197, + 456, + 0, + 460, + 1, + "IMAGE" + ], + [ + 1198, + 575, + 2, + 487, + 1, + "VAE" + ], + [ + 1199, + 531, + 0, + 487, + 2, + "MASK" + ], + [ + 1200, + 575, + 2, + 458, + 1, + "VAE" + ], + [ + 1201, + 575, + 0, + 457, + 0, + "MODEL" + ], + [ + 1202, + 466, + 0, + 457, + 1, + "CONDITIONING" + ], + [ + 1203, + 466, + 1, + 457, + 2, + "CONDITIONING" + ], + [ + 1204, + 599, + 0, + 457, + 4, + "INT" + ], + [ + 1205, + 575, + 0, + 491, + 0, + "MODEL" + ], + [ + 1206, + 466, + 0, + 491, + 1, + "CONDITIONING" + ], + [ + 1207, + 466, + 1, + 491, + 2, + "CONDITIONING" + ], + [ + 1208, + 599, + 0, + 491, + 4, + "INT" + ], + [ + 1209, + 71, + 0, + 607, + 0, + "IMAGE" + ], + [ + 1210, + 153, + 1, + 165, + 0, + "MASK" + ], + [ + 1211, + 153, + 1, + 161, + 0, + "MASK" + ], + [ + 1212, + 153, + 1, + 168, + 0, + "MASK" + ], + [ + 1213, + 184, + 0, + 198, + 0, + "IMAGE" + ], + [ + 1214, + 173, + 0, + 198, + 1, + "IMAGE" + ], + [ + 1215, + 199, + 0, + 198, + 2, + "IMAGE" + ], + [ + 1216, + 173, + 0, + 625, + 0, + "IMAGE" + ], + [ + 1217, + 173, + 0, + 625, + 1, + "IMAGE" + ], + [ + 1218, + 173, + 0, + 630, + 0, + "IMAGE" + ], + [ + 1219, + 173, + 0, + 630, + 1, + "IMAGE" + ], + [ + 1220, + 384, + 0, + 406, + 0, + "IMAGE" + ], + [ + 1221, + 385, + 2, + 413, + 2, + "VAE" + ], + [ + 1222, + 420, + 0, + 413, + 4, + "MASK" + ], + [ + 1223, + 385, + 2, + 399, + 1, + "VAE" + ], + [ + 1224, + 420, + 0, + 410, + 1, + "MASK" + ], + [ + 1225, + 385, + 2, + 394, + 1, + "VAE" + ], + [ + 1226, + 385, + 2, + 401, + 1, + "VAE" + ], + [ + 1227, + 424, + 0, + 398, + 0, + "MODEL" + ], + [ + 1228, + 386, + 0, + 398, + 1, + "CONDITIONING" + ], + [ + 1229, + 387, + 0, + 398, + 2, + "CONDITIONING" + ], + [ + 1230, + 386, + 0, + 389, + 0, + "CONDITIONING" + ], + [ + 1231, + 387, + 0, + 389, + 1, + "CONDITIONING" + ], + [ + 1232, + 384, + 0, + 414, + 2, + "IMAGE" + ], + [ + 1233, + 414, + 1, + 420, + 0, + "MASK" + ], + [ + 1234, + 384, + 0, + 425, + 1, + "IMAGE" + ], + [ + 1235, + 384, + 0, + 426, + 1, + "IMAGE" + ], + [ + 1236, + 384, + 0, + 403, + 1, + "IMAGE" + ], + [ + 1237, + 391, + 0, + 396, + 0, + "MODEL" + ], + [ + 1238, + 391, + 1, + 386, + 0, + "CLIP" + ], + [ + 1239, + 414, + 1, + 640, + 0, + "MASK" + ], + [ + 1240, + 391, + 1, + 387, + 0, + "CLIP" + ] + ], + "groups": [ + { + "title": "Inpaint Nodes cơ bản - Set Latent Noise Mask", + "bounding": [ + -2232, + -302, + 2188, + 885 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Inpaint Nodes cơ bản - VAE Encode (for inpainting)", + "bounding": [ + -2239, + 633, + 2193, + 884 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Inpaint Nodes cơ bản - Inpaint model conditioning", + "bounding": [ + -2237, + 1568, + 2188, + 884 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Load mask (as Mask)", + "bounding": [ + 435, + -313, + 2188, + 943 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Load mask(as Image)", + "bounding": [ + 434, + 688, + 2188, + 945 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Detect Mask | Sement Anything", + "bounding": [ + 423, + 3243, + 2443, + 1542 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Detect Mask | Remove Background", + "bounding": [ + 424, + 1700, + 2430, + 1491 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Xử lý mask", + "bounding": [ + 3056, + -319, + 2228, + 1768 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Khôi phục chi tiết bằng cách hoà trộn lại với ảnh gốc", + "bounding": [ + 3049, + 1590, + 2871, + 1509 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Only mask - Khôi phục chi tiết với Crop and Stitch", + "bounding": [ + 3049, + 3160, + 3165, + 940 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Inpaint đặc biệt | BrushNet", + "bounding": [ + 10663, + -271, + 2391, + 940 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Inpaint đặc biệt | Fooocus cho SDXL", + "bounding": [ + 10661, + 804, + 2391, + 940 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Inpaint đặc biệt | IC-Light cho SD1.5", + "bounding": [ + 10650, + 1894, + 2443, + 940 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Inpaint phân đoạn để tăng size ảnh", + "bounding": [ + 3047, + 4168, + 3300, + 1077 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Inpaint với Controlnet để tăng độ ổn định và control đầu ra", + "bounding": [ + 6849, + -252, + 3074, + 956 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Nâng cao | Inpaint với IP-Adapter để sao chép concept, style hình", + "bounding": [ + 6850, + 817, + 2799, + 1098 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Ứng dụng | Auto background sản phẩm", + "bounding": [ + 13282, + -298, + 4192, + 1300 + ], + "color": "#8A8", + "font_size": 24, + "locked": false + }, + { + "title": "Ứng dụng | IC-Light cơ bản", + "bounding": [ + 13275, + 1083, + 3270, + 1625 + ], + "color": "#8A8", + "font_size": 24, + "locked": false + }, + { + "title": "Ứng dụng | Inpaint background kết hợp", + "bounding": [ + 13272, + 2853, + 3447, + 1953 + ], + "color": "#8A8", + "font_size": 24, + "locked": false + }, + { + "title": "Upscale | Tile Diffusion", + "bounding": [ + 6843, + 2079, + 3478, + 1141 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Upscale | Ultimate Upscale", + "bounding": [ + 6842, + 3366, + 2537, + 1107 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.9849732675807672, + "offset": [ + 3081.0563389527942, + 552.0816297171991 + ] + }, + "groupNodes": { + "Prompt": { + "nodes": [ + { + "type": "Styles Loader (mtb)", + "pos": [ + 10232, + 3051 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 105, + "mode": 0, + "outputs": [ + { + "name": "positive", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Styles Loader (mtb)" + }, + "widgets_values": [ + "RealQuality" + ], + "index": 0 + }, + { + "type": "Styles Loader (mtb)", + "pos": [ + 10226, + 3231 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 106, + "mode": 0, + "outputs": [ + { + "name": "positive", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Styles Loader (mtb)" + }, + "widgets_values": [ + "RealNegative" + ], + "index": 1 + }, + { + "type": "Styles Loader (mtb)", + "pos": [ + 10234, + 2929 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 107, + "mode": 0, + "outputs": [ + { + "name": "positive", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Styles Loader (mtb)" + }, + "widgets_values": [ + "BasePrompt" + ], + "index": 2 + }, + { + "type": "StringFunction|pysssss", + "pos": [ + 10574, + 2932 + ], + "size": { + "0": 400, + "1": 244 + }, + "flags": { + "pinned": false + }, + "order": 209, + "mode": 0, + "inputs": [ + { + "name": "text_a", + "type": "STRING", + "link": null, + "widget": { + "name": "text_a" + } + }, + { + "name": "text_b", + "type": "STRING", + "link": null, + "widget": { + "name": "text_b" + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StringFunction|pysssss" + }, + "widgets_values": [ + "append", + "yes", + "", + "", + "1girl portrait,in the garden, blue sky, cloud,spread __*/color__ __*/flower__,big flower,summer day,( film gain, raw photo:1.1)" + ], + "color": "#432", + "bgcolor": "#653", + "index": 3 + }, + { + "type": "StringFunction|pysssss", + "pos": [ + 10571, + 3231 + ], + "size": { + "0": 400, + "1": 244 + }, + "flags": {}, + "order": 210, + "mode": 0, + "inputs": [ + { + "name": "text_a", + "type": "STRING", + "link": null, + "widget": { + "name": "text_a" + } + }, + { + "name": "text_b", + "type": "STRING", + "link": null, + "widget": { + "name": "text_b" + }, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StringFunction|pysssss" + }, + "widgets_values": [ + "append", + "yes", + "", + "", + "" + ], + "color": "#322", + "bgcolor": "#533", + "index": 4 + } + ], + "links": [ + [ + 2, + 0, + 3, + 0, + 509, + "STRING" + ], + [ + 0, + 0, + 3, + 1, + 508, + "STRING" + ], + [ + 2, + 1, + 4, + 0, + 509, + "STRING" + ], + [ + 1, + 1, + 4, + 1, + 507, + "STRING" + ] + ], + "external": [ + [ + 3, + 0, + "STRING" + ], + [ + 4, + 0, + "STRING" + ] + ] + } + } + }, + "version": 0.4 +} \ No newline at end of file