| { |
| "last_node_id": 103, |
| "last_link_id": 189, |
| "nodes": [ |
| { |
| "id": 9, |
| "type": "Cut By Mask", |
| "pos": [ |
| 414.29399726490936, |
| 280.8138482382661 |
| ], |
| "size": { |
| "0": 273, |
| "1": 122 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 23, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 7 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 52 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 9, |
| 12 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Cut By Mask" |
| }, |
| "widgets_values": [ |
| 0, |
| 0 |
| ] |
| }, |
| { |
| "id": 12, |
| "type": "ImageResize+", |
| "pos": [ |
| 1102.293997264909, |
| 219.8138482382657 |
| ], |
| "size": { |
| "0": 210, |
| "1": 170 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 31, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 136 |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "link": 14, |
| "widget": { |
| "name": "width" |
| } |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "link": 15, |
| "widget": { |
| "name": "height" |
| } |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 144 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "links": null, |
| "shape": 3, |
| "slot_index": 1 |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageResize+" |
| }, |
| "widgets_values": [ |
| 512, |
| 512, |
| "nearest", |
| false, |
| "always", |
| 0 |
| ] |
| }, |
| { |
| "id": 13, |
| "type": "Cut By Mask", |
| "pos": [ |
| 1602.293997264909, |
| 197.8138482382657 |
| ], |
| "size": { |
| "0": 228.39999389648438, |
| "1": 122 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 33, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 142 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 17 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 10 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Cut By Mask" |
| }, |
| "widgets_values": [ |
| 0, |
| 0 |
| ] |
| }, |
| { |
| "id": 14, |
| "type": "Paste By Mask", |
| "pos": [ |
| 1785.293997264909, |
| 172.8138482382657 |
| ], |
| "size": { |
| "0": 228.39999389648438, |
| "1": 118 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 36, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image_base", |
| "type": "IMAGE", |
| "link": 18 |
| }, |
| { |
| "name": "image_to_paste", |
| "type": "IMAGE", |
| "link": 19 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 20, |
| "slot_index": 2 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 21 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Paste By Mask" |
| }, |
| "widgets_values": [ |
| "resize" |
| ] |
| }, |
| { |
| "id": 15, |
| "type": "Cut By Mask", |
| "pos": [ |
| 1795.293997264909, |
| 221.81384823826573 |
| ], |
| "size": { |
| "0": 228.39999389648438, |
| "1": 122 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 37, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 21 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 22, |
| "slot_index": 1 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 23 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Cut By Mask" |
| }, |
| "widgets_values": [ |
| 0, |
| 0 |
| ] |
| }, |
| { |
| "id": 21, |
| "type": "MaskToImage", |
| "pos": [ |
| 188.29399726490954, |
| 235.81384823826585 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 19, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 108 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 29 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "MaskToImage" |
| } |
| }, |
| { |
| "id": 61, |
| "type": "InvertMask", |
| "pos": [ |
| 238.29399726490954, |
| 275.8138482382661 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 18, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 104 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 108 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "InvertMask" |
| } |
| }, |
| { |
| "id": 6, |
| "type": "ImageResize", |
| "pos": [ |
| 78.29399726490954, |
| 285.8138482382661 |
| ], |
| "size": { |
| "0": 266, |
| "1": 246 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 12, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 153, |
| "slot_index": 0 |
| }, |
| { |
| "name": "mask_optional", |
| "type": "MASK", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 7, |
| 18, |
| 53 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 6 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageResize" |
| }, |
| "widgets_values": [ |
| "pad to ratio", |
| 1024, |
| 0, |
| 0, |
| "increase size only", |
| "16:9", |
| 0.5, |
| 0 |
| ] |
| }, |
| { |
| "id": 8, |
| "type": "MaskToImage", |
| "pos": [ |
| 569.2939972649094, |
| 285.8138482382661 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 14, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 6 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 24 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "MaskToImage" |
| } |
| }, |
| { |
| "id": 64, |
| "type": "Image Blend by Mask", |
| "pos": [ |
| 414.29399726490936, |
| 201.8138482382657 |
| ], |
| "size": { |
| "0": 247, |
| "1": 98 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 22, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image_a", |
| "type": "IMAGE", |
| "link": 118 |
| }, |
| { |
| "name": "image_b", |
| "type": "IMAGE", |
| "link": 119 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 120 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 121 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Image Blend by Mask" |
| }, |
| "widgets_values": [ |
| 0.5 |
| ] |
| }, |
| { |
| "id": 11, |
| "type": "Get resolution [Crystools]", |
| "pos": [ |
| 783.2939972649094, |
| 276.8138482382661 |
| ], |
| "size": { |
| "0": 210, |
| "1": 100 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 27, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 12 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "width", |
| "type": "INT", |
| "links": [ |
| 14 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "links": [ |
| 15 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Get resolution [Crystools]" |
| } |
| }, |
| { |
| "id": 17, |
| "type": "ImageInvert", |
| "pos": [ |
| 954.2939972649094, |
| 274.8138482382661 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 16, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 24 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 22 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageInvert" |
| } |
| }, |
| { |
| "id": 3, |
| "type": "Inpaint Segments", |
| "pos": [ |
| 218.29399726490954, |
| 195.8138482382657 |
| ], |
| "size": { |
| "0": 281, |
| "1": 314 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 20, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 53 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 29 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "cut image", |
| "type": "IMAGE", |
| "links": [ |
| 25, |
| 118 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "cut mask", |
| "type": "IMAGE", |
| "links": [ |
| 3, |
| 119, |
| 120 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| }, |
| { |
| "name": "region", |
| "type": "IMAGE", |
| "links": [ |
| 20, |
| 52 |
| ], |
| "shape": 3, |
| "slot_index": 2 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Inpaint Segments" |
| }, |
| "widgets_values": [ |
| 1024, |
| 1024, |
| "RGB", |
| 128, |
| "keep_ratio", |
| 64, |
| 64, |
| 0, |
| 0, |
| "match_ratio" |
| ] |
| }, |
| { |
| "id": 76, |
| "type": "Upscale by Factor with Model (WLSH)", |
| "pos": [ |
| 1280.293997264909, |
| 223.81384823826576 |
| ], |
| "size": [ |
| 315, |
| 102 |
| ], |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 32, |
| "mode": 4, |
| "inputs": [ |
| { |
| "name": "upscale_model", |
| "type": "UPSCALE_MODEL", |
| "link": 140, |
| "slot_index": 0 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 144 |
| }, |
| { |
| "name": "factor", |
| "type": "FLOAT", |
| "link": 182, |
| "widget": { |
| "name": "factor" |
| }, |
| "slot_index": 2 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 142, |
| 145 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Upscale by Factor with Model (WLSH)" |
| }, |
| "widgets_values": [ |
| "bilinear", |
| 2 |
| ] |
| }, |
| { |
| "id": 74, |
| "type": "VAEDecode", |
| "pos": [ |
| 1106.293997264909, |
| 277.8138482382661 |
| ], |
| "size": { |
| "0": 140, |
| "1": 46 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 30, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "link": 135 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 137 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 136 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "VAEDecode" |
| } |
| }, |
| { |
| "id": 18, |
| "type": "InpaintModelConditioning", |
| "pos": [ |
| 400.29399726490936, |
| 313.8138482382661 |
| ], |
| "size": { |
| "0": 216.59999084472656, |
| "1": 106 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 25, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 128 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 129 |
| }, |
| { |
| "name": "vae", |
| "type": "VAE", |
| "link": 124 |
| }, |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 25 |
| }, |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 26 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "links": [ |
| 132 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "links": [ |
| 131 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| }, |
| { |
| "name": "latent", |
| "type": "LATENT", |
| "links": [ |
| 130 |
| ], |
| "shape": 3, |
| "slot_index": 2 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "InpaintModelConditioning" |
| } |
| }, |
| { |
| "id": 56, |
| "type": "ImageResize", |
| "pos": [ |
| 228.29399726490954, |
| 321.8138482382661 |
| ], |
| "size": { |
| "0": 266, |
| "1": 246 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 17, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "pixels", |
| "type": "IMAGE", |
| "link": 154, |
| "slot_index": 0 |
| }, |
| { |
| "name": "mask_optional", |
| "type": "MASK", |
| "link": 99 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 104 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageResize" |
| }, |
| "widgets_values": [ |
| "pad to ratio", |
| 1024, |
| 0, |
| 0, |
| "increase size only", |
| "16:9", |
| 0.5, |
| 0 |
| ] |
| }, |
| { |
| "id": 16, |
| "type": "PreviewImage", |
| "pos": [ |
| 939, |
| 471 |
| ], |
| "size": { |
| "0": 1002.7299194335938, |
| "1": 806.0042724609375 |
| }, |
| "flags": {}, |
| "order": 38, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 23 |
| } |
| ], |
| "title": "PreviewImage", |
| "properties": { |
| "Node name for S&R": "PreviewImage" |
| } |
| }, |
| { |
| "id": 85, |
| "type": "Reroute", |
| "pos": [ |
| -39.70261262459357, |
| 328.3791142620406 |
| ], |
| "size": [ |
| 75, |
| 26 |
| ], |
| "flags": {}, |
| "order": 7, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "", |
| "type": "*", |
| "link": 155, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "", |
| "type": "IMAGE", |
| "links": [ |
| 153, |
| 154 |
| ] |
| } |
| ], |
| "properties": { |
| "showOutputText": false, |
| "horizontal": false |
| } |
| }, |
| { |
| "id": 97, |
| "type": "LoraLoader", |
| "pos": [ |
| -436, |
| 809 |
| ], |
| "size": [ |
| 762.4841220614189, |
| 126 |
| ], |
| "flags": {}, |
| "order": 6, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 177 |
| }, |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 178 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MODEL", |
| "type": "MODEL", |
| "links": [ |
| 186 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "CLIP", |
| "type": "CLIP", |
| "links": [ |
| 183, |
| 184 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "LoraLoader" |
| }, |
| "widgets_values": [ |
| "hyper\\Hyper-SDXL-8steps-lora.safetensors", |
| 1, |
| 1 |
| ], |
| "color": "#323", |
| "bgcolor": "#535" |
| }, |
| { |
| "id": 65, |
| "type": "Note", |
| "pos": [ |
| -419, |
| 332 |
| ], |
| "size": { |
| "0": 298, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 0, |
| "mode": 0, |
| "properties": { |
| "text": "" |
| }, |
| "widgets_values": [ |
| "Right click on the image, open in mask editor, select add mask, make the mask, and then click save to node" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 42, |
| "type": "PreviewImage", |
| "pos": [ |
| 330, |
| 473 |
| ], |
| "size": { |
| "0": 249, |
| "1": 246 |
| }, |
| "flags": {}, |
| "order": 26, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 121 |
| } |
| ], |
| "title": "Mask Preview", |
| "properties": { |
| "Node name for S&R": "PreviewImage" |
| } |
| }, |
| { |
| "id": 70, |
| "type": "CheckpointLoaderSimple", |
| "pos": [ |
| -447, |
| 984 |
| ], |
| "size": { |
| "0": 770.4520874023438, |
| "1": 98 |
| }, |
| "flags": {}, |
| "order": 1, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "MODEL", |
| "type": "MODEL", |
| "links": [ |
| 177 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "CLIP", |
| "type": "CLIP", |
| "links": [ |
| 178 |
| ], |
| "shape": 3, |
| "slot_index": 1 |
| }, |
| { |
| "name": "VAE", |
| "type": "VAE", |
| "links": [ |
| 124, |
| 137 |
| ], |
| "shape": 3, |
| "slot_index": 2 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CheckpointLoaderSimple" |
| }, |
| "widgets_values": [ |
| "sleipnirTLHTurbo_v27TLHFP32Main.safetensors" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 72, |
| "type": "CLIPTextEncode", |
| "pos": [ |
| -59, |
| 640 |
| ], |
| "size": [ |
| 377.73207232623326, |
| 108.49076684092677 |
| ], |
| "flags": {}, |
| "order": 10, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 183 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "CONDITIONING", |
| "type": "CONDITIONING", |
| "links": [ |
| 129 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CLIPTextEncode" |
| }, |
| "widgets_values": [ |
| "" |
| ], |
| "color": "#322", |
| "bgcolor": "#533" |
| }, |
| { |
| "id": 10, |
| "type": "Paste By Mask", |
| "pos": [ |
| 1610, |
| 256 |
| ], |
| "size": { |
| "0": 253, |
| "1": 118 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 35, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image_base", |
| "type": "IMAGE", |
| "link": 9 |
| }, |
| { |
| "name": "image_to_paste", |
| "type": "IMAGE", |
| "link": 10 |
| }, |
| { |
| "name": "mask", |
| "type": "IMAGE", |
| "link": 11 |
| }, |
| { |
| "name": "mask_mapping_optional", |
| "type": "MASK_MAPPING", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 19 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "Paste By Mask" |
| }, |
| "widgets_values": [ |
| "keep_ratio_fill" |
| ] |
| }, |
| { |
| "id": 57, |
| "type": "InvertMask", |
| "pos": [ |
| 244, |
| 365 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 15, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 189, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 99 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "InvertMask" |
| } |
| }, |
| { |
| "id": 77, |
| "type": "UpscaleModelLoader", |
| "pos": [ |
| 488, |
| 1151 |
| ], |
| "size": { |
| "0": 418.8418273925781, |
| "1": 58 |
| }, |
| "flags": {}, |
| "order": 2, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "UPSCALE_MODEL", |
| "type": "UPSCALE_MODEL", |
| "links": [ |
| 140 |
| ], |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "UpscaleModelLoader" |
| }, |
| "widgets_values": [ |
| "2x_AniScale2_Omni_i16_40K.pth" |
| ], |
| "color": "#222", |
| "bgcolor": "#000" |
| }, |
| { |
| "id": 101, |
| "type": "PrimitiveNode", |
| "pos": [ |
| 489, |
| 1252 |
| ], |
| "size": [ |
| 418.2994163150437, |
| 83.00658307105527 |
| ], |
| "flags": {}, |
| "order": 3, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "FLOAT", |
| "type": "FLOAT", |
| "links": [ |
| 182 |
| ], |
| "widget": { |
| "name": "factor" |
| } |
| } |
| ], |
| "title": "Upscale Factor", |
| "properties": { |
| "Run widget replace on values": false |
| }, |
| "widgets_values": [ |
| 2, |
| "fixed" |
| ], |
| "color": "#222", |
| "bgcolor": "#000" |
| }, |
| { |
| "id": 71, |
| "type": "CLIPTextEncode", |
| "pos": [ |
| -56, |
| 458 |
| ], |
| "size": [ |
| 368.5897736475499, |
| 127.10562198794605 |
| ], |
| "flags": {}, |
| "order": 11, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "clip", |
| "type": "CLIP", |
| "link": 184, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "CONDITIONING", |
| "type": "CONDITIONING", |
| "links": [ |
| 128 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "CLIPTextEncode" |
| }, |
| "widgets_values": [ |
| "crown of thorns." |
| ], |
| "color": "#232", |
| "bgcolor": "#353" |
| }, |
| { |
| "id": 103, |
| "type": "Switch mask [Crystools]", |
| "pos": [ |
| 344, |
| 769 |
| ], |
| "size": [ |
| 233.9370765666763, |
| 78 |
| ], |
| "flags": {}, |
| "order": 13, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "on_true", |
| "type": "MASK", |
| "link": 187 |
| }, |
| { |
| "name": "on_false", |
| "type": "MASK", |
| "link": 188, |
| "slot_index": 1 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "links": [ |
| 189 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "title": "Automatic Mode", |
| "properties": { |
| "Node name for S&R": "Switch mask [Crystools]" |
| }, |
| "widgets_values": [ |
| false |
| ], |
| "color": "#232", |
| "bgcolor": "#353" |
| }, |
| { |
| "id": 73, |
| "type": "KSampler", |
| "pos": [ |
| 603, |
| 447 |
| ], |
| "size": [ |
| 315, |
| 474 |
| ], |
| "flags": {}, |
| "order": 29, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 139 |
| }, |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 132 |
| }, |
| { |
| "name": "negative", |
| "type": "CONDITIONING", |
| "link": 131 |
| }, |
| { |
| "name": "latent_image", |
| "type": "LATENT", |
| "link": 130 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "LATENT", |
| "type": "LATENT", |
| "links": [ |
| 135 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "KSampler" |
| }, |
| "widgets_values": [ |
| 880666379423352, |
| "randomize", |
| 10, |
| 2, |
| "dpmpp_sde", |
| "sgm_uniform", |
| 0.5700000000000001 |
| ], |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 75, |
| "type": "DifferentialDiffusion", |
| "pos": [ |
| 419, |
| 356 |
| ], |
| "size": { |
| "0": 184.8000030517578, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 9, |
| "mode": 4, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "MODEL", |
| "link": 186, |
| "slot_index": 0 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MODEL", |
| "type": "MODEL", |
| "links": [ |
| 139, |
| 146 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "DifferentialDiffusion" |
| } |
| }, |
| { |
| "id": 78, |
| "type": "Fast Bypasser (rgthree)", |
| "pos": { |
| "0": 486, |
| "1": 982, |
| "2": 0, |
| "3": 0, |
| "4": 0, |
| "5": 0, |
| "6": 0, |
| "7": 0, |
| "8": 0, |
| "9": 0 |
| }, |
| "size": { |
| "0": 421.6000061035156, |
| "1": 122 |
| }, |
| "flags": {}, |
| "order": 34, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "Upscale by Factor with Model (WLSH)", |
| "type": "*", |
| "link": 145, |
| "dir": 3 |
| }, |
| { |
| "name": "Differential Diffusion", |
| "type": "*", |
| "link": 146, |
| "dir": 3 |
| }, |
| { |
| "name": "", |
| "type": "*", |
| "link": null, |
| "dir": 3 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "OPT_CONNECTION", |
| "type": "*", |
| "links": [], |
| "dir": 4, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "toggleRestriction": "default" |
| }, |
| "color": "#332922", |
| "bgcolor": "#593930" |
| }, |
| { |
| "id": 94, |
| "type": "BboxDetectorCombined_v2", |
| "pos": [ |
| -434, |
| 171 |
| ], |
| "size": { |
| "0": 315, |
| "1": 102 |
| }, |
| "flags": {}, |
| "order": 8, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "bbox_detector", |
| "type": "BBOX_DETECTOR", |
| "link": 168, |
| "slot_index": 0 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 170, |
| "slot_index": 1 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 187 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "BboxDetectorCombined_v2" |
| }, |
| "widgets_values": [ |
| 0.5, |
| 4 |
| ], |
| "color": "#233", |
| "bgcolor": "#355" |
| }, |
| { |
| "id": 96, |
| "type": "UltralyticsDetectorProvider", |
| "pos": [ |
| -443, |
| 37 |
| ], |
| "size": { |
| "0": 315, |
| "1": 78 |
| }, |
| "flags": {}, |
| "order": 4, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "BBOX_DETECTOR", |
| "type": "BBOX_DETECTOR", |
| "links": [ |
| 168 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "SEGM_DETECTOR", |
| "type": "SEGM_DETECTOR", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "UltralyticsDetectorProvider" |
| }, |
| "widgets_values": [ |
| "bbox/hand_yolov8s.pt" |
| ], |
| "color": "#233", |
| "bgcolor": "#355" |
| }, |
| { |
| "id": 79, |
| "type": "LoadImage", |
| "pos": [ |
| -425, |
| 444 |
| ], |
| "size": { |
| "0": 315, |
| "1": 314 |
| }, |
| "flags": {}, |
| "order": 5, |
| "mode": 0, |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 155, |
| 170 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 188 |
| ], |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "LoadImage" |
| }, |
| "widgets_values": [ |
| "00010-1989404403 (1).png", |
| "image" |
| ], |
| "color": "#2a363b", |
| "bgcolor": "#3f5159" |
| }, |
| { |
| "id": 2, |
| "type": "GrowMaskWithBlur", |
| "pos": [ |
| 613, |
| 234 |
| ], |
| "size": { |
| "0": 256, |
| "1": 246 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 24, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 1 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "links": [ |
| 4 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| }, |
| { |
| "name": "mask_inverted", |
| "type": "MASK", |
| "links": null, |
| "shape": 3 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "GrowMaskWithBlur" |
| }, |
| "widgets_values": [ |
| 12, |
| 0, |
| true, |
| false, |
| 4, |
| 1, |
| 1, |
| false |
| ] |
| }, |
| { |
| "id": 4, |
| "type": "ImageToMask", |
| "pos": [ |
| 412, |
| 237 |
| ], |
| "size": { |
| "0": 227, |
| "1": 58 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 21, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 3 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "MASK", |
| "type": "MASK", |
| "links": [ |
| 1, |
| 26 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "ImageToMask" |
| }, |
| "widgets_values": [ |
| "red" |
| ] |
| }, |
| { |
| "id": 5, |
| "type": "MaskToImage", |
| "pos": [ |
| 809, |
| 232 |
| ], |
| "size": { |
| "0": 210, |
| "1": 26 |
| }, |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 28, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "mask", |
| "type": "MASK", |
| "link": 4 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 11, |
| 17 |
| ], |
| "shape": 3, |
| "slot_index": 0 |
| } |
| ], |
| "properties": { |
| "Node name for S&R": "MaskToImage" |
| } |
| } |
| ], |
| "links": [ |
| [ |
| 1, |
| 4, |
| 0, |
| 2, |
| 0, |
| "MASK" |
| ], |
| [ |
| 3, |
| 3, |
| 1, |
| 4, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 4, |
| 2, |
| 0, |
| 5, |
| 0, |
| "MASK" |
| ], |
| [ |
| 6, |
| 6, |
| 1, |
| 8, |
| 0, |
| "MASK" |
| ], |
| [ |
| 7, |
| 6, |
| 0, |
| 9, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 9, |
| 9, |
| 0, |
| 10, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 10, |
| 13, |
| 0, |
| 10, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 11, |
| 5, |
| 0, |
| 10, |
| 2, |
| "IMAGE" |
| ], |
| [ |
| 12, |
| 9, |
| 0, |
| 11, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 14, |
| 11, |
| 0, |
| 12, |
| 1, |
| "INT" |
| ], |
| [ |
| 15, |
| 11, |
| 1, |
| 12, |
| 2, |
| "INT" |
| ], |
| [ |
| 17, |
| 5, |
| 0, |
| 13, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 18, |
| 6, |
| 0, |
| 14, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 19, |
| 10, |
| 0, |
| 14, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 20, |
| 3, |
| 2, |
| 14, |
| 2, |
| "IMAGE" |
| ], |
| [ |
| 21, |
| 14, |
| 0, |
| 15, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 22, |
| 17, |
| 0, |
| 15, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 23, |
| 15, |
| 0, |
| 16, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 24, |
| 8, |
| 0, |
| 17, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 25, |
| 3, |
| 0, |
| 18, |
| 3, |
| "IMAGE" |
| ], |
| [ |
| 26, |
| 4, |
| 0, |
| 18, |
| 4, |
| "MASK" |
| ], |
| [ |
| 29, |
| 21, |
| 0, |
| 3, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 52, |
| 3, |
| 2, |
| 9, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 53, |
| 6, |
| 0, |
| 3, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 99, |
| 57, |
| 0, |
| 56, |
| 1, |
| "MASK" |
| ], |
| [ |
| 104, |
| 56, |
| 1, |
| 61, |
| 0, |
| "MASK" |
| ], |
| [ |
| 108, |
| 61, |
| 0, |
| 21, |
| 0, |
| "MASK" |
| ], |
| [ |
| 118, |
| 3, |
| 0, |
| 64, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 119, |
| 3, |
| 1, |
| 64, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 120, |
| 3, |
| 1, |
| 64, |
| 2, |
| "IMAGE" |
| ], |
| [ |
| 121, |
| 64, |
| 0, |
| 42, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 124, |
| 70, |
| 2, |
| 18, |
| 2, |
| "VAE" |
| ], |
| [ |
| 128, |
| 71, |
| 0, |
| 18, |
| 0, |
| "CONDITIONING" |
| ], |
| [ |
| 129, |
| 72, |
| 0, |
| 18, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 130, |
| 18, |
| 2, |
| 73, |
| 3, |
| "LATENT" |
| ], |
| [ |
| 131, |
| 18, |
| 1, |
| 73, |
| 2, |
| "CONDITIONING" |
| ], |
| [ |
| 132, |
| 18, |
| 0, |
| 73, |
| 1, |
| "CONDITIONING" |
| ], |
| [ |
| 135, |
| 73, |
| 0, |
| 74, |
| 0, |
| "LATENT" |
| ], |
| [ |
| 136, |
| 74, |
| 0, |
| 12, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 137, |
| 70, |
| 2, |
| 74, |
| 1, |
| "VAE" |
| ], |
| [ |
| 139, |
| 75, |
| 0, |
| 73, |
| 0, |
| "MODEL" |
| ], |
| [ |
| 140, |
| 77, |
| 0, |
| 76, |
| 0, |
| "UPSCALE_MODEL" |
| ], |
| [ |
| 142, |
| 76, |
| 0, |
| 13, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 144, |
| 12, |
| 0, |
| 76, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 145, |
| 76, |
| 0, |
| 78, |
| 0, |
| "*" |
| ], |
| [ |
| 146, |
| 75, |
| 0, |
| 78, |
| 1, |
| "*" |
| ], |
| [ |
| 153, |
| 85, |
| 0, |
| 6, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 154, |
| 85, |
| 0, |
| 56, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 155, |
| 79, |
| 0, |
| 85, |
| 0, |
| "*" |
| ], |
| [ |
| 168, |
| 96, |
| 0, |
| 94, |
| 0, |
| "BBOX_DETECTOR" |
| ], |
| [ |
| 170, |
| 79, |
| 0, |
| 94, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 177, |
| 70, |
| 0, |
| 97, |
| 0, |
| "MODEL" |
| ], |
| [ |
| 178, |
| 70, |
| 1, |
| 97, |
| 1, |
| "CLIP" |
| ], |
| [ |
| 182, |
| 101, |
| 0, |
| 76, |
| 2, |
| "FLOAT" |
| ], |
| [ |
| 183, |
| 97, |
| 1, |
| 72, |
| 0, |
| "CLIP" |
| ], |
| [ |
| 184, |
| 97, |
| 1, |
| 71, |
| 0, |
| "CLIP" |
| ], |
| [ |
| 186, |
| 97, |
| 0, |
| 75, |
| 0, |
| "MODEL" |
| ], |
| [ |
| 187, |
| 94, |
| 0, |
| 103, |
| 0, |
| "MASK" |
| ], |
| [ |
| 188, |
| 79, |
| 1, |
| 103, |
| 1, |
| "MASK" |
| ], |
| [ |
| 189, |
| 103, |
| 0, |
| 57, |
| 0, |
| "MASK" |
| ] |
| ], |
| "groups": [ |
| { |
| "title": "Brains", |
| "bounding": [ |
| -52, |
| 98, |
| 1987, |
| 293 |
| ], |
| "color": "#3f789e", |
| "font_size": 24, |
| "locked": false |
| } |
| ], |
| "config": {}, |
| "extra": { |
| "0246.VERSION": [ |
| 0, |
| 0, |
| 4 |
| ], |
| "ds": { |
| "scale": 0.8954302432552589, |
| "offset": [ |
| 546.7791990434496, |
| -303.05873799549175 |
| ] |
| } |
| }, |
| "version": 0.4 |
| } |