diff --git a/hr-fix-upscale/tiling-sampler/README.md b/hr-fix-upscale/tiling-sampler/README.md new file mode 100644 index 0000000..942f4e7 --- /dev/null +++ b/hr-fix-upscale/tiling-sampler/README.md @@ -0,0 +1,44 @@ +# Tiled Sampling Example + +Uses blenderneko's [Tiled KSampler node](https://github.com/BlenderNeko/ComfyUI_TiledKSampler) + + + +## Purpose + +This workflow uses tiled sampling to sample large images in hirez fixes. The Tiled KSampler is similar to the Advanced KSampler node, so there's a couple imporant differences from the "standard" KSampler. +* denoise is handled through start and stop steps compared to total steps. +* using 30 steps, start at step 15 and end at step 30 (15 steps) is equivalent to 0.500 denoise. +* Tile Width and Height should be the maximum size the GPU can reasonably handle. + * setting these values low can result in extra artiftacts and noise + +## Versions + +## Example Results + +* images + + + + +When tile size is too small: + + + + + +## resources + + + +Model +* https://civitai.com/models/21916/ + +Custom Nodes +* [blenderneko's [Tiled KSampler node](https://github.com/BlenderNeko/ComfyUI_TiledKSampler) + + + +

[back] [home]

diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-1A_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-1A_00005_.png new file mode 100644 index 0000000..beb2c60 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-1A_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-1B_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-1B_00005_.png new file mode 100644 index 0000000..ca20938 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-1B_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-2A_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-2A_00005_.png new file mode 100644 index 0000000..c4d0597 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-2A_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-2B_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-2B_00005_.png new file mode 100644 index 0000000..84291dc Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-2B_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-2C_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-2C_00005_.png new file mode 100644 index 0000000..459b7c9 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-2C_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005_.png new file mode 100644 index 0000000..e06de1a Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005b_.png b/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005b_.png new file mode 100644 index 0000000..1a7635b Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-3A_00005b_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005_.png b/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005_.png new file mode 100644 index 0000000..8161cf0 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005_.png differ diff --git a/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005b_.png b/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005b_.png new file mode 100644 index 0000000..f7496b5 Binary files /dev/null and b/hr-fix-upscale/tiling-sampler/img/sampler-3B_00005b_.png differ diff --git a/hr-fix-upscale/tiling-sampler/tiling-sampler-01.json b/hr-fix-upscale/tiling-sampler/tiling-sampler-01.json new file mode 100644 index 0000000..50e8caf --- /dev/null +++ b/hr-fix-upscale/tiling-sampler/tiling-sampler-01.json @@ -0,0 +1,2880 @@ +{ + "last_node_id": 85, + "last_link_id": 151, + "nodes": [ + { + "id": 34, + "type": "Reroute", + "pos": [ + 1422.14358881, + 163.56923356999997 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 76 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 63, + 68 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 37, + "type": "Reroute", + "pos": [ + 3140, + 130 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 62 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 66, + 131 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 42, + "type": "Reroute", + "pos": [ + 3190, + 90 + ], + "size": [ + 82, + 26 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 78 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 79, + 130 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 35, + "type": "Reroute", + "pos": [ + 1421.14358881, + 127.56923356999998 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 77 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 62, + 69 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 4, + "type": "CLIPTextEncode", + "pos": [ + 920, + 430 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 3 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 76 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(words), (letters), (titles), (frame),(((deformed))), poorly drawn face, mutation, mutated, (extra_limb), (ugly), ((poorly drawn hands)), messy drawing, text, red_eyes,nudity,fat, large, chunky, ((chubby)), (obese)" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 3, + "type": "CLIPTextEncode", + "pos": [ + 920, + 190 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 77 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "science officer, star trek, art by Greg Rutkowski, hdr, 8k, photo real, absurdres" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 26, + "type": "Reroute", + "pos": [ + 1280, + 660 + ], + "size": [ + 90.4, + 26 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 44 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + } + }, + { + "id": 29, + "type": "Reroute", + "pos": [ + 3560, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 116 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 50, + 51 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 6, + "type": "EmptyLatentImage", + "pos": [ + 120, + 660 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 44 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 16, + "type": "ImageUpscaleWithModel", + "pos": [ + 4200, + 430 + ], + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 20 + }, + { + "name": "image", + "type": "IMAGE", + "link": 21 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 103, + 108 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + } + }, + { + "id": 41, + "type": "Reroute", + "pos": [ + 1482, + 90 + ], + "size": [ + 82, + 26 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 75 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 78, + 80 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 40, + "type": "Reroute", + "pos": [ + 540, + 93 + ], + "size": [ + 82, + 26 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 74 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 75 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 36, + "type": "Reroute", + "pos": [ + 3140, + 170 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 63 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 67, + 132 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 56, + "type": "VAEEncodeTiled", + "pos": [ + 2830, + 350 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 112 + }, + { + "name": "vae", + "type": "VAE", + "link": 117 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 113 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeTiled" + } + }, + { + "id": 7, + "type": "VAEDecode", + "pos": [ + 2110, + 570 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 9 + }, + { + "name": "vae", + "type": "VAE", + "link": 48 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8, + 114 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 60, + "type": "Note", + "pos": [ + 4910, + 310 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "increase according to GPU VRAM" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 61, + "type": "Note", + "pos": [ + 4203.737265625, + 278.2248303222657 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "increase according to GPU VRAM" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 62, + "type": "Note", + "pos": [ + 2409.3072363281253, + 237.08484680175786 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "increase according to GPU VRAM" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 58, + "type": "UpscaleModelLoader", + "pos": [ + 2070, + 270 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 111 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x-lollypop.pth" + ] + }, + { + "id": 17, + "type": "UpscaleModelLoader", + "pos": [ + 3850, + 280 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 20 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x-lollypop.pth" + ] + }, + { + "id": 2, + "type": "CLIPSetLastLayer", + "pos": [ + 590, + 340 + ], + "size": { + "0": 210, + "1": 60 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 1 + } + ], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2, + 3 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPSetLastLayer" + }, + "widgets_values": [ + -1 + ] + }, + { + "id": 55, + "type": "VAEEncodeTiled", + "pos": [ + 4570, + 410 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 108 + }, + { + "name": "vae", + "type": "VAE", + "link": 110 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 109 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeTiled" + } + }, + { + "id": 69, + "type": "CLIPTextEncode", + "pos": [ + 1130, + 740 + ], + "size": { + "0": 210, + "1": 76.0000228881836 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": null + } + ], + "title": "Prefix", + "properties": { + "Node name for S&R": "prefix" + }, + "widgets_values": [ + "sampler" + ] + }, + { + "id": 57, + "type": "ImageUpscaleWithModel", + "pos": [ + 2460, + 360 + ], + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 111 + }, + { + "name": "image", + "type": "IMAGE", + "link": 114 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 112, + 124 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + } + }, + { + "id": 13, + "type": "VAEDecode", + "pos": [ + 3830, + 510 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 136 + }, + { + "name": "vae", + "type": "VAE", + "link": 50 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 21, + 125 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 53, + "type": "VAEDecode", + "pos": [ + 5210, + 680 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 100 + }, + { + "name": "vae", + "type": "VAE", + "link": 107 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 127 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 74, + "type": "SaveImage", + "pos": [ + 5170, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 127 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-2C" + ] + }, + { + "id": 73, + "type": "SaveImage", + "pos": [ + 4460, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 126 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-2B" + ] + }, + { + "id": 72, + "type": "SaveImage", + "pos": [ + 3860, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 125 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-2A" + ] + }, + { + "id": 71, + "type": "SaveImage", + "pos": [ + 2790, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 124 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-1B" + ] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 2110, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 8 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-1A" + ] + }, + { + "id": 5, + "type": "KSampler", + "pos": [ + 1700, + 350 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 80 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 69 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 68 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 45 + }, + { + "name": "seed", + "type": "INT", + "link": 119, + "widget": { + "name": "seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 9 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 724716241177472, + "fixed", + 20, + 10, + "uni_pc_bh2", + "normal", + 1 + ] + }, + { + "id": 27, + "type": "Reroute", + "pos": [ + 890, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 46 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 47 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 59, + "type": "Reroute", + "pos": [ + 2524, + 1328 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 115 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 116, + 117 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 28, + "type": "Reroute", + "pos": [ + 1850, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 47 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 48, + 115 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 30, + "type": "Reroute", + "pos": [ + 4180, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 51 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 105, + 110 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 54, + "type": "Reroute", + "pos": [ + 4910, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 105 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 106, + 107 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 1, + "type": "CheckpointLoaderSimple", + "pos": [ + 10, + 320 + ], + "size": { + "0": 420, + "1": 100 + }, + "flags": {}, + "order": 7, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 74 + ], + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 1 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 46 + ], + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "_Baked__\\colorful_v30.safetensors" + ] + }, + { + "id": 68, + "type": "CLIPTextEncode", + "pos": [ + 910, + 740 + ], + "size": { + "0": 210, + "1": 76.0000228881836 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": null + } + ], + "title": "Folder", + "properties": { + "Node name for S&R": "folder" + }, + "widgets_values": [ + "tiledTest" + ] + }, + { + "id": 70, + "type": "Note", + "pos": [ + 910, + 860 + ], + "size": { + "0": 430, + "1": 60 + }, + "flags": {}, + "order": 9, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "Sets folder and prefix values for image save\n%folder.text%/%prefix.text%" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 63, + "type": "PrimitiveNode", + "pos": [ + 1349, + -17 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 10, + "mode": 0, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 119, + 120, + 121 + ], + "widget": { + "name": "seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + } + ], + "title": "seed", + "properties": {}, + "widgets_values": [ + 724716241177472, + "fixed" + ] + }, + { + "id": 48, + "type": "LatentUpscale", + "pos": [ + 3090, + 350 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 113 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 133 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LatentUpscale" + }, + "widgets_values": [ + "nearest-exact", + 1024, + 1024, + "disabled" + ] + }, + { + "id": 77, + "type": "BNK_TiledKSamplerAdvanced", + "pos": [ + 3440, + 250 + ], + "size": [ + 315, + 406 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 130 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 131 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 132 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 133 + }, + { + "name": "noise_seed", + "type": "INT", + "link": 135, + "widget": { + "name": "noise_seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 136 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BNK_TiledKSamplerAdvanced" + }, + "widgets_values": [ + "enable", + 55103398579703, + "randomize", + 512, + 512, + 1, + 30, + 8, + "dpmpp_2s_ancestral", + "normal", + 15, + 30, + "disable" + ] + }, + { + "id": 39, + "type": "Reroute", + "pos": [ + 4960, + 130 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 66 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 138 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 38, + "type": "Reroute", + "pos": [ + 4960, + 170 + ], + "size": [ + 140.8, + 26 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 67 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 139 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 78, + "type": "PrimitiveNode", + "pos": [ + 1620, + -20 + ], + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 11, + "mode": 0, + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 135, + 141 + ], + "widget": { + "name": "noise_seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 0 + } + ], + "title": "noise_seed", + "properties": {}, + "widgets_values": [ + 724716241177472, + "fixed" + ] + }, + { + "id": 43, + "type": "Reroute", + "pos": [ + 5010, + 90 + ], + "size": [ + 82, + 26 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 79 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 137 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 45, + "type": "VAEDecode", + "pos": [ + 5710, + 550 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 142 + }, + { + "name": "vae", + "type": "VAE", + "link": 86 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 88, + 128 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 75, + "type": "SaveImage", + "pos": [ + 6050, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 128 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-3A" + ] + }, + { + "id": 76, + "type": "SaveImage", + "pos": [ + 6570, + 790 + ], + "size": { + "0": 380, + "1": 480 + }, + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 151 + } + ], + "properties": {}, + "widgets_values": [ + "%folder.text%/%prefix.text%-3B" + ] + }, + { + "id": 47, + "type": "UpscaleModelLoader", + "pos": [ + 5650, + 360 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 12, + "mode": 0, + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 89 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x-lollypop.pth" + ] + }, + { + "id": 19, + "type": "KSampler", + "pos": [ + 5300, + -159 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent_image", + "type": "LATENT", + "link": null + }, + { + "name": "seed", + "type": "INT", + "link": 121, + "widget": { + "name": "seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 715701609478610, + "randomize", + 12, + 7, + "uni_pc_bh2", + "normal", + 0.4 + ] + }, + { + "id": 31, + "type": "Reroute", + "pos": [ + 5490, + 1330 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 106 + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 86 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": true, + "horizontal": false + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 51, + "type": "LatentUpscale", + "pos": [ + 4860, + 410 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 109 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 100, + 140 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LatentUpscale" + }, + "widgets_values": [ + "nearest-exact", + 2048, + 2048, + "disabled" + ] + }, + { + "id": 44, + "type": "ImageScale", + "pos": [ + 4500, + 600 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 103 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 126 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "nearest-exact", + 1024, + 1024, + "disabled" + ] + }, + { + "id": 46, + "type": "ImageUpscaleWithModel", + "pos": [ + 6020, + 530 + ], + "size": { + "0": 241.79998779296875, + "1": 46 + }, + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 89 + }, + { + "name": "image", + "type": "IMAGE", + "link": 88 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 150 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + } + }, + { + "id": 85, + "type": "ImageScale", + "pos": [ + 6600, + 600 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 150 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 151 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "nearest-exact", + 3096, + 3096, + "disabled" + ] + }, + { + "id": 12, + "type": "KSampler", + "pos": [ + 3430, + -180 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": null + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent_image", + "type": "LATENT", + "link": null + }, + { + "name": "seed", + "type": "INT", + "link": 120, + "widget": { + "name": "seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 740659790903206, + "randomize", + 12, + 10, + "uni_pc_bh2", + "karras", + 0.4 + ] + }, + { + "id": 79, + "type": "BNK_TiledKSamplerAdvanced", + "pos": [ + 5290, + 200 + ], + "size": { + "0": 315, + "1": 406 + }, + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 137 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 138 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 139 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 140 + }, + { + "name": "noise_seed", + "type": "INT", + "link": 141, + "widget": { + "name": "noise_seed", + "config": [ + "INT", + { + "default": 0, + "min": 0, + "max": 18446744073709552000 + } + ] + }, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 142 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BNK_TiledKSamplerAdvanced" + }, + "widgets_values": [ + "enable", + 329277886876948, + "randomize", + 1024, + 1024, + 1, + 30, + 8, + "dpmpp_2s_ancestral", + "normal", + 20, + 30, + "disable" + ] + } + ], + "links": [ + [ + 1, + 1, + 1, + 2, + 0, + "CLIP" + ], + [ + 2, + 2, + 0, + 3, + 0, + "CLIP" + ], + [ + 3, + 2, + 0, + 4, + 0, + "CLIP" + ], + [ + 8, + 7, + 0, + 9, + 0, + "IMAGE" + ], + [ + 9, + 5, + 0, + 7, + 0, + "LATENT" + ], + [ + 20, + 17, + 0, + 16, + 0, + "UPSCALE_MODEL" + ], + [ + 21, + 13, + 0, + 16, + 1, + "IMAGE" + ], + [ + 44, + 6, + 0, + 26, + 0, + "*" + ], + [ + 45, + 26, + 0, + 5, + 3, + "LATENT" + ], + [ + 46, + 1, + 2, + 27, + 0, + "*" + ], + [ + 47, + 27, + 0, + 28, + 0, + "*" + ], + [ + 48, + 28, + 0, + 7, + 1, + "VAE" + ], + [ + 50, + 29, + 0, + 13, + 1, + "VAE" + ], + [ + 51, + 29, + 0, + 30, + 0, + "*" + ], + [ + 62, + 35, + 0, + 37, + 0, + "*" + ], + [ + 63, + 34, + 0, + 36, + 0, + "*" + ], + [ + 66, + 37, + 0, + 39, + 0, + "*" + ], + [ + 67, + 36, + 0, + 38, + 0, + "*" + ], + [ + 68, + 34, + 0, + 5, + 2, + "CONDITIONING" + ], + [ + 69, + 35, + 0, + 5, + 1, + "CONDITIONING" + ], + [ + 74, + 1, + 0, + 40, + 0, + "*" + ], + [ + 75, + 40, + 0, + 41, + 0, + "*" + ], + [ + 76, + 4, + 0, + 34, + 0, + "*" + ], + [ + 77, + 3, + 0, + 35, + 0, + "*" + ], + [ + 78, + 41, + 0, + 42, + 0, + "*" + ], + [ + 79, + 42, + 0, + 43, + 0, + "*" + ], + [ + 80, + 41, + 0, + 5, + 0, + "MODEL" + ], + [ + 86, + 31, + 0, + 45, + 1, + "VAE" + ], + [ + 88, + 45, + 0, + 46, + 1, + "IMAGE" + ], + [ + 89, + 47, + 0, + 46, + 0, + "UPSCALE_MODEL" + ], + [ + 100, + 51, + 0, + 53, + 0, + "LATENT" + ], + [ + 103, + 16, + 0, + 44, + 0, + "IMAGE" + ], + [ + 105, + 30, + 0, + 54, + 0, + "*" + ], + [ + 106, + 54, + 0, + 31, + 0, + "*" + ], + [ + 107, + 54, + 0, + 53, + 1, + "VAE" + ], + [ + 108, + 16, + 0, + 55, + 0, + "IMAGE" + ], + [ + 109, + 55, + 0, + 51, + 0, + "LATENT" + ], + [ + 110, + 30, + 0, + 55, + 1, + "VAE" + ], + [ + 111, + 58, + 0, + 57, + 0, + "UPSCALE_MODEL" + ], + [ + 112, + 57, + 0, + 56, + 0, + "IMAGE" + ], + [ + 113, + 56, + 0, + 48, + 0, + "LATENT" + ], + [ + 114, + 7, + 0, + 57, + 1, + "IMAGE" + ], + [ + 115, + 28, + 0, + 59, + 0, + "*" + ], + [ + 116, + 59, + 0, + 29, + 0, + "*" + ], + [ + 117, + 59, + 0, + 56, + 1, + "VAE" + ], + [ + 119, + 63, + 0, + 5, + 4, + "INT" + ], + [ + 120, + 63, + 0, + 12, + 4, + "INT" + ], + [ + 121, + 63, + 0, + 19, + 4, + "INT" + ], + [ + 124, + 57, + 0, + 71, + 0, + "IMAGE" + ], + [ + 125, + 13, + 0, + 72, + 0, + "IMAGE" + ], + [ + 126, + 44, + 0, + 73, + 0, + "IMAGE" + ], + [ + 127, + 53, + 0, + 74, + 0, + "IMAGE" + ], + [ + 128, + 45, + 0, + 75, + 0, + "IMAGE" + ], + [ + 130, + 42, + 0, + 77, + 0, + "MODEL" + ], + [ + 131, + 37, + 0, + 77, + 1, + "CONDITIONING" + ], + [ + 132, + 36, + 0, + 77, + 2, + "CONDITIONING" + ], + [ + 133, + 48, + 0, + 77, + 3, + "LATENT" + ], + [ + 135, + 78, + 0, + 77, + 4, + "INT" + ], + [ + 136, + 77, + 0, + 13, + 0, + "LATENT" + ], + [ + 137, + 43, + 0, + 79, + 0, + "MODEL" + ], + [ + 138, + 39, + 0, + 79, + 1, + "CONDITIONING" + ], + [ + 139, + 38, + 0, + 79, + 2, + "CONDITIONING" + ], + [ + 140, + 51, + 0, + 79, + 3, + "LATENT" + ], + [ + 141, + 78, + 0, + 79, + 4, + "INT" + ], + [ + 142, + 79, + 0, + 45, + 0, + "LATENT" + ], + [ + 150, + 46, + 0, + 85, + 0, + "IMAGE" + ], + [ + 151, + 85, + 0, + 76, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file