diff --git a/examples/latent-mirror-multi-example.json b/examples/latent-mirror-multi-example.json new file mode 100644 index 0000000..22ecb82 --- /dev/null +++ b/examples/latent-mirror-multi-example.json @@ -0,0 +1,1465 @@ +{ + "last_node_id": 126, + "last_link_id": 242, + "nodes": [ + { + "id": 9, + "type": "PrimitiveNode", + "pos": [ + 300, + 560 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 10 + ], + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "surrealist painting of an alien insect in a dark city" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 4, + "type": "CheckpointLoaderSimple", + "pos": [ + 160, + 1400 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 6 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 19 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 3 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sd_xl_base_1.0.safetensors" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 13, + "type": "PrimitiveNode", + "pos": [ + 300, + 1000 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 14 + ], + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "ugly cartoon drawing, complex linework" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 12, + "type": "PrimitiveNode", + "pos": [ + 300, + 860 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 13 + ], + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "cluttered" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 10, + "type": "PrimitiveNode", + "pos": [ + 300, + 700 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 11 + ], + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "cinematic lighting, pastel color scheme" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 118, + "type": "EmptyLatentImage", + "pos": [ + 1080, + 1340 + ], + "size": [ + 360, + 120 + ], + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 227 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1536, + 768, + 1 + ] + }, + { + "id": 123, + "type": "PrimitiveNode", + "pos": [ + 1160, + 700 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 6, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 235 + ], + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "minimal illustration, thick lines, manga by otomo, pen and ink" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 125, + "type": "PrimitiveNode", + "pos": [ + 1160, + 860 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 7, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 237 + ], + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "messy drawing, blurry background" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 126, + "type": "PrimitiveNode", + "pos": [ + 1160, + 1000 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 8, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 238 + ], + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "3d render, smooth gradients, blur" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 122, + "type": "PrimitiveNode", + "pos": [ + 1160, + 560 + ], + "size": { + "0": 300, + "1": 100 + }, + "flags": {}, + "order": 9, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 234 + ], + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + } + } + ], + "properties": {}, + "widgets_values": [ + "manga drawing of a military spaceship, minimal pen and ink illustration by nihei and otomo, red and black ink" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 7, + "type": "Reroute", + "pos": [ + 700, + 1500 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 6 + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + 94 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 6, + "type": "Reroute", + "pos": [ + 540, + 1320 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 19 + } + ], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + 8, + 12, + 233, + 236 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 5, + "type": "Reroute", + "pos": [ + 700, + 1580 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 3 + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + 103 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 8, + "type": "CLIPTextEncodeSDXL", + "pos": [ + 620, + 560 + ], + "size": { + "0": 400, + "1": 240 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 8, + "slot_index": 0 + }, + { + "name": "text_g", + "type": "STRING", + "link": 10, + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + }, + "slot_index": 1 + }, + { + "name": "text_l", + "type": "STRING", + "link": 11, + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 39 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 2048, + 2048, + 0, + 0, + 2048, + 2048, + "surrealist painting of an alien insect in a dark city", + "cinematic lighting, pastel color scheme" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 11, + "type": "CLIPTextEncodeSDXL", + "pos": [ + 620, + 860 + ], + "size": { + "0": 400, + "1": 240 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 12, + "slot_index": 0 + }, + { + "name": "text_g", + "type": "STRING", + "link": 13, + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + }, + "slot_index": 1 + }, + { + "name": "text_l", + "type": "STRING", + "link": 14, + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 38 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 2048, + 2048, + 0, + 0, + 2048, + 2048, + "cluttered", + "ugly cartoon drawing, complex linework" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 121, + "type": "CLIPTextEncodeSDXL", + "pos": [ + 1480, + 560 + ], + "size": { + "0": 400, + "1": 240 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 233, + "slot_index": 0 + }, + { + "name": "text_g", + "type": "STRING", + "link": 234, + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + }, + "slot_index": 1 + }, + { + "name": "text_l", + "type": "STRING", + "link": 235, + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 241 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 2048, + 2048, + 0, + 0, + 2048, + 2048, + "manga drawing of a military spaceship, minimal pen and ink illustration by nihei and otomo, red and black ink", + "minimal illustration, thick lines, manga by otomo, pen and ink" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 124, + "type": "CLIPTextEncodeSDXL", + "pos": [ + 1480, + 860 + ], + "size": { + "0": 400, + "1": 240 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 236, + "slot_index": 0 + }, + { + "name": "text_g", + "type": "STRING", + "link": 237, + "widget": { + "name": "text_g", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_G" + } + ] + }, + "slot_index": 1 + }, + { + "name": "text_l", + "type": "STRING", + "link": 238, + "widget": { + "name": "text_l", + "config": [ + "STRING", + { + "multiline": true, + "default": "CLIP_L" + } + ] + }, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 242 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncodeSDXL" + }, + "widgets_values": [ + 2048, + 2048, + 0, + 0, + 2048, + 2048, + "messy drawing, blurry background", + "3d render, smooth gradients, blur" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 27, + "type": "Reroute", + "pos": [ + 700, + 1520 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 39 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 95 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 26, + "type": "Reroute", + "pos": [ + 700, + 1540 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 38 + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + 96 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 53, + "type": "KSampler Adv. (Efficient)", + "pos": [ + 1080, + 1500 + ], + "size": { + "0": 360, + "1": 660 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 94 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 95 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 96 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 227, + "slot_index": 3 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 103 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 133 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 225 + ], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 129 + ], + "shape": 3, + "slot_index": 4 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler Adv. (Efficient)" + }, + "widgets_values": [ + "Sample", + "enable", + 561425018464963, + "increment", + 10, + 8, + "dpmpp_3m_sde_gpu", + "sgm_uniform", + 0, + 1000, + "disable", + "auto", + "true" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 117, + "type": "LatentMirror", + "pos": [ + 1500, + 1680 + ], + "size": [ + 280, + 80 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 225 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 230 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LatentMirror" + }, + "widgets_values": [ + "y_axis (left to right)", + "first" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 120, + "type": "LatentUpscale", + "pos": [ + 1500, + 1800 + ], + "size": [ + 280, + 140 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 230 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 232 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LatentUpscale" + }, + "widgets_values": [ + "bilinear", + 3072, + 1024, + "disabled" + ] + }, + { + "id": 64, + "type": "KSampler Adv. (Efficient)", + "pos": [ + 1840, + 1500 + ], + "size": { + "0": 360, + "1": 660 + }, + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 133 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 241 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 242 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 232 + }, + { + "name": "optional_vae", + "type": "VAE", + "link": 129 + }, + { + "name": "script", + "type": "SCRIPT", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": null, + "shape": 3 + }, + { + "name": "CONDITIONING+", + "type": "CONDITIONING", + "links": null, + "shape": 3 + }, + { + "name": "CONDITIONING-", + "type": "CONDITIONING", + "links": null, + "shape": 3 + }, + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "shape": 3, + "slot_index": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": null, + "shape": 3 + }, + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 5 + } + ], + "properties": { + "Node name for S&R": "KSampler Adv. (Efficient)" + }, + "widgets_values": [ + "Sample", + "enable", + 1124771431435307, + "increment", + 25, + 7, + "dpmpp_3m_sde_gpu", + "sgm_uniform", + 8, + 10000, + "disable", + "auto", + "true" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + } + ], + "links": [ + [ + 3, + 4, + 2, + 5, + 0, + "*" + ], + [ + 6, + 4, + 0, + 7, + 0, + "*" + ], + [ + 8, + 6, + 0, + 8, + 0, + "CLIP" + ], + [ + 10, + 9, + 0, + 8, + 1, + "STRING" + ], + [ + 11, + 10, + 0, + 8, + 2, + "STRING" + ], + [ + 12, + 6, + 0, + 11, + 0, + "CLIP" + ], + [ + 13, + 12, + 0, + 11, + 1, + "STRING" + ], + [ + 14, + 13, + 0, + 11, + 2, + "STRING" + ], + [ + 19, + 4, + 1, + 6, + 0, + "*" + ], + [ + 38, + 11, + 0, + 26, + 0, + "*" + ], + [ + 39, + 8, + 0, + 27, + 0, + "*" + ], + [ + 94, + 7, + 0, + 53, + 0, + "MODEL" + ], + [ + 95, + 27, + 0, + 53, + 1, + "CONDITIONING" + ], + [ + 96, + 26, + 0, + 53, + 2, + "CONDITIONING" + ], + [ + 103, + 5, + 0, + 53, + 4, + "VAE" + ], + [ + 129, + 53, + 4, + 64, + 4, + "VAE" + ], + [ + 133, + 53, + 0, + 64, + 0, + "MODEL" + ], + [ + 225, + 53, + 3, + 117, + 0, + "LATENT" + ], + [ + 227, + 118, + 0, + 53, + 3, + "LATENT" + ], + [ + 230, + 117, + 0, + 120, + 0, + "LATENT" + ], + [ + 232, + 120, + 0, + 64, + 3, + "LATENT" + ], + [ + 233, + 6, + 0, + 121, + 0, + "CLIP" + ], + [ + 234, + 122, + 0, + 121, + 1, + "STRING" + ], + [ + 235, + 123, + 0, + 121, + 2, + "STRING" + ], + [ + 236, + 6, + 0, + 124, + 0, + "CLIP" + ], + [ + 237, + 125, + 0, + 124, + 1, + "STRING" + ], + [ + 238, + 126, + 0, + 124, + 2, + "STRING" + ], + [ + 241, + 121, + 0, + 64, + 1, + "CONDITIONING" + ], + [ + 242, + 124, + 0, + 64, + 2, + "CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file