{ "last_node_id": 64, "last_link_id": 133, "nodes": [ { "id": 11, "type": "Mask By Text", "pos": [ 1164.6093572902685, 146.20794436121014 ], "size": { "0": 400, "1": 200 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 34 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14 ], "slot_index": 0 }, { "name": "IMAGE", "type": "IMAGE", "links": [], "slot_index": 1 } ], "properties": { "Node name for S&R": "Mask By Text" }, "widgets_values": [ "building", "man", 0.2999999999999999, "no" ] }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ 17.16000001311302, 106.10000019073486 ], "size": { "0": 315, "1": 98 }, "flags": { "collapsed": true }, "order": 0, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 1 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 8 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "v1-5-pruned-emaonly.ckpt" ] }, { "id": 41, "type": "VAEEncodeForInpaint", "pos": [ 646.7780743255616, 499.53183862304724 ], "size": { "0": 226.8000030517578, "1": 66 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 117 }, { "name": "vae", "type": "VAE", "link": 66 }, { "name": "mask", "type": "MASK", "link": 65 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 67 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" } }, { "id": 24, "type": "Reroute", "pos": [ 1040.9597973632815, 172.19999758005142 ], "size": [ 75, 26 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 33 } ], "outputs": [ { "name": "", "type": "IMAGE", "links": [ 34 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false }, "color": "#323", "bgcolor": "#535" }, { "id": 12, "type": "PreviewImage", "pos": [ 2048.9597973632813, 87.19999758005144 ], "size": { "0": 161.91326904296875, "1": 285.74761962890625 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 131 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#232", "bgcolor": "#353" }, { "id": 8, "type": "VAEDecode", "pos": [ 710.160000013113, 102.10000019073486 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 8 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 33, 36, 117 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 38, "type": "Image To Mask", "pos": [ 190.57998470306393, 507.21998535156234 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 118 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 65 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "Image To Mask" }, "widgets_values": [ "intensity" ] }, { "id": 25, "type": "Reroute", "pos": [ 57.579984703063886, 502.21998535156234 ], "size": [ 75, 26 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 132 } ], "outputs": [ { "name": "", "type": "IMAGE", "links": [ 118 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false }, "color": "#232", "bgcolor": "#353" }, { "id": 33, "type": "CheckpointLoaderSimple", "pos": [ 69.60000019073489, 681.7999633789061 ], "size": { "0": 315, "1": 98 }, "flags": { "collapsed": false }, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 120 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 122 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 60, 66 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd-v1-5-inpainting.ckpt" ] }, { "id": 37, "type": "VAEDecode", "pos": [ 1687.6000001907353, 519.7999633789061 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 59 }, { "name": "vae", "type": "VAE", "link": 60 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 119 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 63, "type": "LoraLoader", "pos": [ 455.60000019073476, 695.7999633789061 ], "size": { "0": 315, "1": 126 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 120 }, { "name": "clip", "type": "CLIP", "link": 122 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 121 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 123, 124 ], "slot_index": 1 } ], "properties": { "Node name for S&R": "LoraLoader" }, "widgets_values": [ "FantasyArchitecturePhotography.safetensors", 1, 1 ] }, { "id": 3, "type": "KSampler", "pos": [ 584, 223 ], "size": { "0": 315, "1": 262 }, "flags": { "collapsed": true }, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "positive", "type": "CONDITIONING", "link": 4 }, { "name": "negative", "type": "CONDITIONING", "link": 6 }, { "name": "latent_image", "type": "LATENT", "link": 2 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 156680208700289, "fixed", 36, 8, "dpmpp_2m", "karras", 1 ] }, { "id": 5, "type": "EmptyLatentImage", "pos": [ 221, 281 ], "size": { "0": 315, "1": 106 }, "flags": { "collapsed": true }, "order": 2, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 2 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 640, 2 ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 218, 229 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": { "collapsed": true }, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "text, watermark" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 214, 80 ], "size": { "0": 371.7103576660156, "1": 85.56720733642578 }, "flags": { "collapsed": false }, "order": 3, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 4 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo of a man standing in a futuristic city, beautiful complex fantasy building in the background" ] }, { "id": 36, "type": "CLIPTextEncode", "pos": [ 973.6000001907346, 712.7999633789061 ], "size": { "0": 215.51036071777344, "1": 76.0000228881836 }, "flags": { "collapsed": false }, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 123 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 55 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "emptiness, clouds" ] }, { "id": 35, "type": "CLIPTextEncode", "pos": [ 882.6000001907346, 590.7999633789061 ], "size": { "0": 319.9103698730469, "1": 88.46720886230469 }, "flags": { "collapsed": false }, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 124 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 54 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "fantasy architecture photography, futuristic buildings, complex, beautiful" ] }, { "id": 10, "type": "PreviewImage", "pos": [ 2319, 19 ], "size": { "0": 754.333251953125, "1": 491.5276184082031 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 36 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#323", "bgcolor": "#535" }, { "id": 56, "type": "PreviewImage", "pos": [ 2323, 559 ], "size": { "0": 777.833251953125, "1": 492.817626953125 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 119 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 32, "type": "KSampler", "pos": [ 1309.6000001907353, 511.79996337890617 ], "size": { "0": 315, "1": 262 }, "flags": { "collapsed": false }, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 121 }, { "name": "positive", "type": "CONDITIONING", "link": 54 }, { "name": "negative", "type": "CONDITIONING", "link": 55 }, { "name": "latent_image", "type": "LATENT", "link": 67 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 59 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 156680208699480, "fixed", 80, 8, "euler", "normal", 1 ] }, { "id": 64, "type": "Mask Morphology", "pos": [ 1639, 252 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 133 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 131, 132 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "Mask Morphology" }, "widgets_values": [ 2, "erode" ] }, { "id": 14, "type": "Mask Morphology", "pos": [ 1629, 111 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 14 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 133 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "Mask Morphology" }, "widgets_values": [ 10, "open" ] } ], "links": [ [ 1, 4, 0, 3, 0, "MODEL" ], [ 2, 5, 0, 3, 3, "LATENT" ], [ 3, 4, 1, 6, 0, "CLIP" ], [ 4, 6, 0, 3, 1, "CONDITIONING" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 6, 7, 0, 3, 2, "CONDITIONING" ], [ 7, 3, 0, 8, 0, "LATENT" ], [ 8, 4, 2, 8, 1, "VAE" ], [ 14, 11, 0, 14, 0, "IMAGE" ], [ 33, 8, 0, 24, 0, "*" ], [ 34, 24, 0, 11, 0, "IMAGE" ], [ 36, 8, 0, 10, 0, "IMAGE" ], [ 54, 35, 0, 32, 1, "CONDITIONING" ], [ 55, 36, 0, 32, 2, "CONDITIONING" ], [ 59, 32, 0, 37, 0, "LATENT" ], [ 60, 33, 2, 37, 1, "VAE" ], [ 65, 38, 0, 41, 2, "MASK" ], [ 66, 33, 2, 41, 1, "VAE" ], [ 67, 41, 0, 32, 3, "LATENT" ], [ 117, 8, 0, 41, 0, "IMAGE" ], [ 118, 25, 0, 38, 0, "IMAGE" ], [ 119, 37, 0, 56, 0, "IMAGE" ], [ 120, 33, 0, 63, 0, "MODEL" ], [ 121, 63, 0, 32, 0, "MODEL" ], [ 122, 33, 1, 63, 1, "CLIP" ], [ 123, 63, 1, 36, 0, "CLIP" ], [ 124, 63, 1, 35, 0, "CLIP" ], [ 131, 64, 0, 12, 0, "IMAGE" ], [ 132, 64, 0, 25, 0, "*" ], [ 133, 14, 0, 64, 0, "IMAGE" ] ], "groups": [ { "title": "Generate images for testing", "bounding": [ -1, 4, 988, 383 ], "color": "#a1309b" }, { "title": "Create a mask for the building", "bounding": [ 997, 9, 1288, 377 ], "color": "#8A8" }, { "title": "Inpaint buildings with the LoRA", "bounding": [ 0, 398, 1976, 530 ], "color": "#b58b2a" } ], "config": {}, "extra": {}, "version": 0.4 }