{ "last_node_id": 52, "last_link_id": 120, "nodes": [ { "id": 7, "type": "CLIPTextEncode", "pos": [ 413, 389 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": {}, "order": 3, "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": [ 415, 186 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 2, "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": [ "beautiful scenery nature glass bottle landscape, , purple galaxy bottle," ] }, { "id": 5, "type": "EmptyLatentImage", "pos": [ 473, 609 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 2 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 512, 1 ] }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ 26, 474 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 1, "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": 10, "type": "PreviewImage", "pos": [ 1565.7409862744723, 207.48349951408028 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 10 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 3, "type": "KSampler", "pos": [ 863, 186 ], "size": { "0": 315, "1": 474 }, "flags": {}, "order": 4, "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": [ 156680208700288, "fixed", 20, 8, "euler", "normal", 1 ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1209, 188 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 8 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 10, 90 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 50, "type": "ForLoopClose", "pos": [ 3928, 301 ], "size": [ 315, 138 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "flow_control", "type": "FLOW_CONTROL", "link": 98 }, { "name": "initial_value1", "type": "*", "link": 97 }, { "name": "initial_value2", "type": "*", "link": 96 }, { "name": "initial_value3", "type": "*", "link": null }, { "name": "initial_value4", "type": "*", "link": null }, { "name": "old_remaining", "type": "INT", "link": 102, "widget": { "name": "old_remaining", "config": [ "INT", { "default": 1, "min": 0, "max": 100000, "step": 1 } ] } } ], "outputs": [ { "name": "value1", "type": "*", "links": [ 99 ], "shape": 3, "slot_index": 0 }, { "name": "value2", "type": "*", "links": [ 100, 101 ], "shape": 3, "slot_index": 1 }, { "name": "value3", "type": "*", "links": null, "shape": 3 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ForLoopClose" }, "widgets_values": [ 1 ] }, { "id": 49, "type": "ForLoopOpen", "pos": [ 2463, 259 ], "size": { "0": 342.5999755859375, "1": 158 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "initial_value1", "type": "*", "link": 90 }, { "name": "initial_value2", "type": "*", "link": null }, { "name": "initial_value3", "type": "*", "link": null }, { "name": "initial_value4", "type": "*", "link": null } ], "outputs": [ { "name": "flow_control", "type": "FLOW_CONTROL", "links": [ 98 ], "shape": 3, "slot_index": 0 }, { "name": "remaining", "type": "INT", "links": [ 94, 102 ], "shape": 3, "slot_index": 1 }, { "name": "value1", "type": "*", "links": [ 93 ], "shape": 3, "slot_index": 2 }, { "name": "value2", "type": "*", "links": [ 103 ], "shape": 3, "slot_index": 3 }, { "name": "value3", "type": "*", "links": null, "shape": 3 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ForLoopOpen" }, "widgets_values": [ 5 ] }, { "id": 14, "type": "ImageBlur", "pos": [ 3067, 338 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 93 }, { "name": "blur_radius", "type": "INT", "link": 94, "widget": { "name": "blur_radius", "config": [ "INT", { "default": 1, "min": 1, "max": 31, "step": 1 } ] } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 95, 97 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBlur" }, "widgets_values": [ 1, 1 ] }, { "id": 19, "type": "PreviewImage", "pos": [ 4379, 149 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 99 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 21, "type": "AccumulationToListNode", "pos": [ 4256, 573 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "accumulation", "type": "ACCUMULATION", "link": 100 } ], "outputs": [ { "name": "*", "type": "*", "links": [ 29 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "AccumulationToListNode" } }, { "id": 22, "type": "PreviewImage", "pos": [ 4533, 472 ], "size": { "0": 508, "1": 368 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 29 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 20, "type": "AccumulateNode", "pos": [ 3432, 461 ], "size": { "0": 317.4000244140625, "1": 46 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "to_add", "type": "*", "link": 95 }, { "name": "accumulation", "type": "ACCUMULATION", "link": 103 } ], "outputs": [ { "name": "ACCUMULATION", "type": "ACCUMULATION", "links": [ 96 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "AccumulateNode" } }, { "id": 36, "type": "IsTruthyNode", "pos": [ 2203, 1599 ], "size": { "0": 210, "1": 26 }, "flags": { "collapsed": true }, "order": 16, "mode": 0, "inputs": [ { "name": "value", "type": "*", "link": 56 } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 107 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IsTruthyNode" } }, { "id": 51, "type": "WhileLoopOpen", "pos": [ 2475, 1238 ], "size": [ 342.5999755859375, 158 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "initial_value0", "type": "*", "link": 104 }, { "name": "initial_value1", "type": "*", "link": 105 }, { "name": "initial_value2", "type": "*", "link": 114 }, { "name": "initial_value3", "type": "*", "link": null }, { "name": "initial_value4", "type": "*", "link": null }, { "name": "condition", "type": "INT", "link": 107, "widget": { "name": "condition", "config": [ "INT", { "default": 1, "min": 0, "max": 1, "step": 1 } ] } } ], "outputs": [ { "name": "FLOW_CONTROL", "type": "FLOW_CONTROL", "links": [ 108 ], "shape": 3, "slot_index": 0 }, { "name": "value0", "type": "*", "links": [ 109 ], "shape": 3, "slot_index": 1 }, { "name": "value1", "type": "*", "links": [ 110, 111 ], "shape": 3, "slot_index": 2 }, { "name": "value2", "type": "*", "links": [ 112 ], "shape": 3, "slot_index": 3 }, { "name": "value3", "type": "*", "links": [ 115 ], "shape": 3, "slot_index": 4 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "WhileLoopOpen" }, "widgets_values": [ 1 ] }, { "id": 31, "type": "Image Blending Mode", "pos": [ 3011, 1514 ], "size": { "0": 315, "1": 102 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "image_a", "type": "IMAGE", "link": 111 }, { "name": "image_b", "type": "IMAGE", "link": 112 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 72 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Image Blending Mode" }, "widgets_values": [ "difference", 1 ] }, { "id": 28, "type": "AccumulationHeadNode", "pos": [ 3033, 1345 ], "size": [ 251.016845703125, 51.66546630859375 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "accumulation", "type": "ACCUMULATION", "link": 109 } ], "outputs": [ { "name": "ACCUMULATION", "type": "ACCUMULATION", "links": [ 118 ], "shape": 3, "slot_index": 0 }, { "name": "*", "type": "*", "links": [ 58, 119 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "AccumulationHeadNode" } }, { "id": 32, "type": "AccumulateNode", "pos": [ 3423, 1462 ], "size": { "0": 317.4000244140625, "1": 46 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "to_add", "type": "*", "link": 72 }, { "name": "accumulation", "type": "ACCUMULATION", "link": 115 } ], "outputs": [ { "name": "ACCUMULATION", "type": "ACCUMULATION", "links": [ 116 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "AccumulateNode" } }, { "id": 37, "type": "IsTruthyNode", "pos": [ 3506, 1406 ], "size": { "0": 210, "1": 26 }, "flags": { "collapsed": true }, "order": 20, "mode": 0, "inputs": [ { "name": "value", "type": "*", "link": 58 } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 117 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IsTruthyNode" } }, { "id": 52, "type": "WhileLoopClose", "pos": [ 3816, 1242 ], "size": [ 315, 158 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "flow_control", "type": "FLOW_CONTROL", "link": 108 }, { "name": "initial_value0", "type": "*", "link": 118 }, { "name": "initial_value1", "type": "*", "link": 119 }, { "name": "initial_value2", "type": "*", "link": 110 }, { "name": "initial_value3", "type": "*", "link": 116 }, { "name": "initial_value4", "type": "*", "link": null }, { "name": "condition", "type": "INT", "link": 117, "widget": { "name": "condition", "config": [ "INT", { "default": 0, "min": 0, "max": 1, "step": 1 } ] } } ], "outputs": [ { "name": "value0", "type": "*", "links": null, "shape": 3 }, { "name": "value1", "type": "*", "links": null, "shape": 3 }, { "name": "value2", "type": "*", "links": null, "shape": 3 }, { "name": "value3", "type": "*", "links": [ 120 ], "shape": 3, "slot_index": 3 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "WhileLoopClose" }, "widgets_values": [ 0 ] }, { "id": 33, "type": "AccumulationToListNode", "pos": [ 4243, 1053 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "accumulation", "type": "ACCUMULATION", "link": 120 } ], "outputs": [ { "name": "*", "type": "*", "links": [ 73 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "AccumulationToListNode" } }, { "id": 34, "type": "PreviewImage", "pos": [ 3960, 1503 ], "size": { "0": 602.3032836914062, "1": 487.8557434082031 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 76 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 23, "type": "AccumulationHeadNode", "pos": [ 2093, 1108 ], "size": { "0": 317.4000244140625, "1": 46 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "accumulation", "type": "ACCUMULATION", "link": 101 } ], "outputs": [ { "name": "ACCUMULATION", "type": "ACCUMULATION", "links": [ 36 ], "shape": 3, "slot_index": 0 }, { "name": "*", "type": "*", "links": [ 114 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "AccumulationHeadNode" } }, { "id": 27, "type": "AccumulationHeadNode", "pos": [ 2104, 1298 ], "size": { "0": 317.4000244140625, "1": 46 }, "flags": { "collapsed": false }, "order": 15, "mode": 0, "inputs": [ { "name": "accumulation", "type": "ACCUMULATION", "link": 36 } ], "outputs": [ { "name": "ACCUMULATION", "type": "ACCUMULATION", "links": [ 104 ], "shape": 3, "slot_index": 0 }, { "name": "*", "type": "*", "links": [ 56, 105 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "AccumulationHeadNode" } }, { "id": 41, "type": "Image Blending Mode", "pos": [ 4600, 1130 ], "size": { "0": 315, "1": 102 }, "flags": { "collapsed": true }, "order": 25, "mode": 0, "inputs": [ { "name": "image_a", "type": "IMAGE", "link": 62 }, { "name": "image_b", "type": "IMAGE", "link": 63 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 66, 67 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Image Blending Mode" }, "widgets_values": [ "multiply", 1 ] }, { "id": 43, "type": "Image Blending Mode", "pos": [ 4590, 1170 ], "size": { "0": 315, "1": 102 }, "flags": { "collapsed": true }, "order": 26, "mode": 0, "inputs": [ { "name": "image_a", "type": "IMAGE", "link": 66 }, { "name": "image_b", "type": "IMAGE", "link": 67 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 69, 70 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Image Blending Mode" }, "widgets_values": [ "multiply", 1 ] }, { "id": 44, "type": "Image Blending Mode", "pos": [ 4600, 1220 ], "size": { "0": 315, "1": 102 }, "flags": { "collapsed": true }, "order": 27, "mode": 0, "inputs": [ { "name": "image_a", "type": "IMAGE", "link": 69 }, { "name": "image_b", "type": "IMAGE", "link": 70 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 75 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Image Blending Mode" }, "widgets_values": [ "multiply", 1 ] }, { "id": 45, "type": "ImageInvert", "pos": [ 4630, 1260 ], "size": { "0": 210, "1": 26 }, "flags": { "collapsed": true }, "order": 28, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 75 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 76 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageInvert" } }, { "id": 40, "type": "ImageInvert", "pos": [ 4620, 1080 ], "size": { "0": 210, "1": 26 }, "flags": { "collapsed": true }, "order": 24, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 73 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 62, 63 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageInvert" } } ], "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" ], [ 10, 8, 0, 10, 0, "IMAGE" ], [ 29, 21, 0, 22, 0, "IMAGE" ], [ 36, 23, 0, 27, 0, "ACCUMULATION" ], [ 56, 27, 1, 36, 0, "*" ], [ 58, 28, 1, 37, 0, "*" ], [ 62, 40, 0, 41, 0, "IMAGE" ], [ 63, 40, 0, 41, 1, "IMAGE" ], [ 66, 41, 0, 43, 0, "IMAGE" ], [ 67, 41, 0, 43, 1, "IMAGE" ], [ 69, 43, 0, 44, 0, "IMAGE" ], [ 70, 43, 0, 44, 1, "IMAGE" ], [ 72, 31, 0, 32, 0, "*" ], [ 73, 33, 0, 40, 0, "IMAGE" ], [ 75, 44, 0, 45, 0, "IMAGE" ], [ 76, 45, 0, 34, 0, "IMAGE" ], [ 90, 8, 0, 49, 0, "*" ], [ 93, 49, 2, 14, 0, "IMAGE" ], [ 94, 49, 1, 14, 1, "INT" ], [ 95, 14, 0, 20, 0, "*" ], [ 96, 20, 0, 50, 2, "*" ], [ 97, 14, 0, 50, 1, "*" ], [ 98, 49, 0, 50, 0, "FLOW_CONTROL" ], [ 99, 50, 0, 19, 0, "IMAGE" ], [ 100, 50, 1, 21, 0, "ACCUMULATION" ], [ 101, 50, 1, 23, 0, "ACCUMULATION" ], [ 102, 49, 1, 50, 5, "INT" ], [ 103, 49, 3, 20, 1, "ACCUMULATION" ], [ 104, 27, 0, 51, 0, "*" ], [ 105, 27, 1, 51, 1, "*" ], [ 107, 36, 0, 51, 5, "INT" ], [ 108, 51, 0, 52, 0, "FLOW_CONTROL" ], [ 109, 51, 1, 28, 0, "ACCUMULATION" ], [ 110, 51, 2, 52, 3, "*" ], [ 111, 51, 2, 31, 0, "IMAGE" ], [ 112, 51, 3, 31, 1, "IMAGE" ], [ 114, 23, 1, 51, 2, "*" ], [ 115, 51, 4, 32, 1, "ACCUMULATION" ], [ 116, 32, 0, 52, 4, "*" ], [ 117, 37, 0, 52, 6, "INT" ], [ 118, 28, 0, 52, 1, "*" ], [ 119, 28, 1, 52, 2, "*" ], [ 120, 52, 3, 33, 0, "ACCUMULATION" ] ], "groups": [ { "title": "Generate an image for testing", "bounding": [ -1, 24, 1805, 785 ], "color": "#3f789e" }, { "title": "Iterate And Accumulate", "bounding": [ 1836, 20, 3676, 847 ], "color": "#3f789e" }, { "title": "Pairwise Difference Between Images", "bounding": [ 1577, 944, 4467, 1076 ], "color": "#3f789e" }, { "title": "Exaggerate results so they're visible", "bounding": [ 4503, 991, 406, 325 ], "color": "#8A8" } ], "config": {}, "extra": {}, "version": 0.4 }