{ "last_node_id": 75, "last_link_id": 135, "nodes": [ { "id": 22, "type": "Note", "pos": [ 360, 860 ], "size": { "0": 210, "1": 58 }, "flags": {}, "order": 0, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Positive Prompts goes here." ], "color": "#232", "bgcolor": "#353" }, { "id": 23, "type": "Note", "pos": [ 360, 970 ], "size": { "0": 210, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Welcome to the dark side! beep!" ], "color": "#322", "bgcolor": "#533" }, { "id": 72, "type": "Note", "pos": [ 680, 360 ], "size": { "0": 210, "1": 70 }, "flags": {}, "order": 2, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Ignore Randomize parameter on KSampler, seed is using this node:" ], "color": "#222", "bgcolor": "#000" }, { "id": 57, "type": "VAEDecode", "pos": [ 1769.1821865234372, -226.20207421875003 ], "size": { "0": 340, "1": 50 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 94 }, { "name": "vae", "type": "VAE", "link": 105 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 95 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#233", "bgcolor": "#355" }, { "id": 67, "type": "Note", "pos": [ 750, 1310 ], "size": { "0": 220, "1": 100 }, "flags": {}, "order": 3, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Denoise of 0.5 with 10 steps on the regular Ksampler is the same as setting 20 steps in the advanced Ksampler and starting at step 10." ], "color": "#432", "bgcolor": "#653" }, { "id": 42, "type": "VAEEncode", "pos": [ 1768.9400927734373, -87.79997863769533 ], "size": { "0": 340, "1": 50 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 59 }, { "name": "vae", "type": "VAE", "link": 103 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 60 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" }, "color": "#432", "bgcolor": "#653" }, { "id": 44, "type": "VAEDecode", "pos": [ 1770.3598095703128, 62.19999656677247 ], "size": { "0": 350, "1": 50 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 101 }, { "name": "vae", "type": "VAE", "link": 104 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 111 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#432", "bgcolor": "#653" }, { "id": 5, "type": "KSampler Adv. (Efficient)", "pos": [ 1000, 570 ], "size": { "0": 330, "1": 660 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 133 }, { "name": "positive", "type": "CONDITIONING", "link": 5 }, { "name": "negative", "type": "CONDITIONING", "link": 4 }, { "name": "latent_image", "type": "LATENT", "link": 3 }, { "name": "optional_vae", "type": "VAE", "link": 7 }, { "name": "script", "type": "SCRIPT", "link": null, "slot_index": 5 }, { "name": "noise_seed", "type": "INT", "link": 16, "widget": { "name": "noise_seed", "config": [ "INT", { "default": 0, "min": 0, "max": 18446744073709552000 } ] } }, { "name": "steps", "type": "INT", "link": 83, "widget": { "name": "steps", "config": [ "INT", { "default": 20, "min": 1, "max": 10000 } ] }, "slot_index": 7 }, { "name": "end_at_step", "type": "INT", "link": 84, "widget": { "name": "end_at_step", "config": [ "INT", { "default": 10000, "min": 0, "max": 10000 } ] }, "slot_index": 8 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 130 ], "shape": 3, "slot_index": 0 }, { "name": "CONDITIONING+", "type": "CONDITIONING", "links": [ 86 ], "shape": 3, "slot_index": 1 }, { "name": "CONDITIONING-", "type": "CONDITIONING", "links": [ 87 ], "shape": 3, "slot_index": 2 }, { "name": "LATENT", "type": "LATENT", "links": [ 88 ], "shape": 3, "slot_index": 3 }, { "name": "VAE", "type": "VAE", "links": [ 89 ], "shape": 3, "slot_index": 4 }, { "name": "IMAGE", "type": "IMAGE", "links": [ 116 ], "shape": 3, "slot_index": 5 } ], "properties": { "Node name for S&R": "KSampler Adv. (Efficient)" }, "widgets_values": [ "Sample", "enable", 52352398186604, null, 25, 7, "dpmpp_2m", "karras", 0, 20, "enable", "none", "true" ], "color": "#223333", "bgcolor": "#335555", "shape": 1 }, { "id": 54, "type": "KSampler Adv. (Efficient)", "pos": [ 1370, 570 ], "size": { "0": 330, "1": 660 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 130 }, { "name": "positive", "type": "CONDITIONING", "link": 86 }, { "name": "negative", "type": "CONDITIONING", "link": 87 }, { "name": "latent_image", "type": "LATENT", "link": 88 }, { "name": "optional_vae", "type": "VAE", "link": 89 }, { "name": "script", "type": "SCRIPT", "link": null, "slot_index": 5 }, { "name": "noise_seed", "type": "INT", "link": 80, "widget": { "name": "noise_seed", "config": [ "INT", { "default": 0, "min": 0, "max": 18446744073709552000 } ] } }, { "name": "steps", "type": "INT", "link": 81, "widget": { "name": "steps", "config": [ "INT", { "default": 20, "min": 1, "max": 10000 } ] }, "slot_index": 7 }, { "name": "start_at_step", "type": "INT", "link": 90, "widget": { "name": "start_at_step", "config": [ "INT", { "default": 0, "min": 0, "max": 10000 } ] } } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 131 ], "shape": 3, "slot_index": 0 }, { "name": "CONDITIONING+", "type": "CONDITIONING", "links": [ 92 ], "shape": 3, "slot_index": 1 }, { "name": "CONDITIONING-", "type": "CONDITIONING", "links": [ 93 ], "shape": 3, "slot_index": 2 }, { "name": "LATENT", "type": "LATENT", "links": [ 94 ], "shape": 3, "slot_index": 3 }, { "name": "VAE", "type": "VAE", "links": [ 103, 104, 105 ], "shape": 3, "slot_index": 4 }, { "name": "IMAGE", "type": "IMAGE", "links": [ 115 ], "shape": 3, "slot_index": 5 } ], "title": "KSampler Adv. (Efficient) Refiner", "properties": { "Node name for S&R": "KSampler Adv. (Efficient)" }, "widgets_values": [ "Sample", "disable", 52352398186604, null, 25, 7, "dpmpp_2m", "karras", 20, 1000, "disable", "none", "true" ], "color": "#223333", "bgcolor": "#335555", "shape": 1 }, { "id": 37, "type": "UpscaleModelLoader", "pos": [ 1760, 200 ], "size": { "0": 360, "1": 60 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 50 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x-UltraSharp.pth" ], "color": "#432", "bgcolor": "#653" }, { "id": 41, "type": "ImageUpscaleWithModel", "pos": [ 1770, 300 ], "size": { "0": 350, "1": 50 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 50 }, { "name": "image", "type": "IMAGE", "link": 95 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 58 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" }, "color": "#432", "bgcolor": "#653" }, { "id": 10, "type": "PreviewImage", "pos": [ 1760, 530 ], "size": { "0": 370, "1": 600 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 116 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#233", "bgcolor": "#355" }, { "id": 70, "type": "Image Save", "pos": [ 2550, -130 ], "size": { "0": 530, "1": 1250 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 111 } ], "properties": { "Node name for S&R": "Image Save" }, "widgets_values": [ "[time(%Y-%m-%d)]", "FreeU_ComfyUI", "_", 4, "false", "png", 100, "false", "false", "false", "true", "true", "true" ], "color": "#432", "bgcolor": "#653" }, { "id": 21, "type": "Note", "pos": [ 310, 500 ], "size": { "0": 210, "1": 58 }, "flags": {}, "order": 5, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "one LoRA neva enough eh?" ], "color": "#223", "bgcolor": "#335" }, { "id": 17, "type": "Note", "pos": [ 1090, 100 ], "size": { "0": 370, "1": 160 }, "flags": {}, "order": 6, "mode": 0, "properties": { "text": "" }, "widgets_values": [ "Feel free to play around with parameter AND take some NOTE, we wouldn't want to accidentally unleash a virtual party that's too wild to handle! \n\npost your result and tag me anytime at X @bramvera\nboop! 🤖📩\n...\n\nKudos to Chenyang Si, Ziqi Huang, Yuming Jiang, Ziwei Liu\nS-Lab, Nanyang Technological University" ], "color": "#432", "bgcolor": "#653" }, { "id": 52, "type": "PrimitiveNode", "pos": [ 280, 1190 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 7, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 84, 90, 97 ], "slot_index": 0, "widget": { "name": "end_at_step", "config": [ "INT", { "default": 10000, "min": 0, "max": 10000 } ] } } ], "title": "Base", "properties": { "ttNbgOverride": { "color": "#232", "bgcolor": "#353", "groupcolor": "#8A8" } }, "widgets_values": [ 20, "fixed" ], "color": "#232", "bgcolor": "#353" }, { "id": 55, "type": "PrimitiveNode", "pos": [ 520, 1190 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 8, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 81, 83 ], "slot_index": 0, "widget": { "name": "steps", "config": [ "INT", { "default": 20, "min": 1, "max": 10000 } ] } } ], "title": "Base+Refiner", "properties": { "ttNbgOverride": { "color": "#232", "bgcolor": "#353", "groupcolor": "#8A8" } }, "widgets_values": [ 25, "fixed" ], "color": "#232", "bgcolor": "#353" }, { "id": 71, "type": "PreviewImage", "pos": [ 2150, 530 ], "size": { "0": 380, "1": 590 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 115 } ], "title": "Final Preview Image", "properties": { "Node name for S&R": "PreviewImage" }, "color": "#233", "bgcolor": "#355" }, { "id": 75, "type": "CR Model Input Switch", "pos": [ 999.1817904385646, 321.4544989845972 ], "size": { "0": 220, "1": 100 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model1", "type": "MODEL", "link": 132 }, { "name": "model2", "type": "MODEL", "link": 135 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 133 ], "shape": 3, "slot_index": 0 } ], "title": "FreeU INPUT 1: OFF | 2: ON", "properties": { "Node name for S&R": "CR Model Input Switch" }, "widgets_values": [ 2 ], "color": "#323", "bgcolor": "#535" }, { "id": 74, "type": "FreeU", "pos": [ 1248.3635198419736, 321.6363428289243 ], "size": { "0": 210, "1": 130 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 134 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 135 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "FreeU" }, "widgets_values": [ 1.2, 1.2, 1.1, 0.2 ], "color": "#323", "bgcolor": "#535" }, { "id": 56, "type": "PrimitiveNode", "pos": [ 760, 1190 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 9, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 96 ], "slot_index": 0, "widget": { "name": "steps", "config": [ "INT", { "default": 20, "min": 1, "max": 10000 } ] } } ], "title": "Upscale end at steps:", "properties": { "ttNbgOverride": { "color": "#232", "bgcolor": "#353", "groupcolor": "#8A8" } }, "widgets_values": [ 35, "fixed" ], "color": "#232", "bgcolor": "#353" }, { "id": 47, "type": "KSamplerAdvanced", "pos": [ 2166.5794936079537, -70.7606889537464 ], "size": { "0": 330, "1": 530 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 131 }, { "name": "positive", "type": "CONDITIONING", "link": 92 }, { "name": "negative", "type": "CONDITIONING", "link": 93 }, { "name": "latent_image", "type": "LATENT", "link": 60 }, { "name": "start_at_step", "type": "INT", "link": 97, "widget": { "name": "start_at_step", "config": [ "INT", { "default": 0, "min": 0, "max": 10000 } ] } }, { "name": "steps", "type": "INT", "link": 96, "widget": { "name": "steps", "config": [ "INT", { "default": 20, "min": 1, "max": 10000 } ] } }, { "name": "noise_seed", "type": "INT", "link": 102, "widget": { "name": "noise_seed", "config": [ "INT", { "default": 0, "min": 0, "max": 18446744073709552000 } ] }, "slot_index": 6 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 101 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 1100817450676034, "randomize", 35, 7, "dpmpp_2s_ancestral", "normal", 20, 10000, "disable" ], "color": "#432", "bgcolor": "#653" }, { "id": 15, "type": "CR Seed", "pos": [ 570, 440 ], "size": { "0": 390, "1": 90 }, "flags": {}, "order": 10, "mode": 0, "outputs": [ { "name": "seed", "type": "INT", "links": [ 16, 80, 102 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CR Seed" }, "widgets_values": [ 10103, "fixed" ], "color": "#222", "bgcolor": "#000" }, { "id": 2, "type": "Efficient Loader", "pos": [ 570, 570 ], "size": { "0": 390, "1": 550 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "lora_stack", "type": "LORA_STACK", "link": 113, "slot_index": 0 }, { "name": "cnet_stack", "type": "CONTROL_NET_STACK", "link": null, "slot_index": 1 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 132, 134 ], "shape": 3, "slot_index": 0 }, { "name": "CONDITIONING+", "type": "CONDITIONING", "links": [ 5 ], "shape": 3, "slot_index": 1 }, { "name": "CONDITIONING-", "type": "CONDITIONING", "links": [ 4 ], "shape": 3, "slot_index": 2 }, { "name": "LATENT", "type": "LATENT", "links": [ 3 ], "shape": 3, "slot_index": 3 }, { "name": "VAE", "type": "VAE", "links": [ 7 ], "shape": 3, "slot_index": 4 }, { "name": "CLIP", "type": "CLIP", "links": null, "shape": 3 }, { "name": "DEPENDENCIES", "type": "DEPENDENCIES", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "Efficient Loader" }, "widgets_values": [ "SD\\dreamshaper_8.safetensors", "vae-ft-mse-840000-ema-pruned.ckpt", -2, "None", 0.35000000000000003, 0.5, "portrait, upper body, masterpiece, 1girl, cybernetic mecha, details, outdoors, reflection, (multicolored vibrant hair), cinematic, niji, unreal lighting, (side-front light), night city environment, futuristic, cyberpunk", "text, signature, watermark, nsfw, embedding:bad-hands-5:1.2, embedding:bad-picture-chill-75v", 704, 960, 1 ], "color": "#222", "bgcolor": "#000", "shape": 1 }, { "id": 3, "type": "LoRA Stacker", "pos": [ 240, 580 ], "size": [ 320, 180 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "lora_stack", "type": "LORA_STACK", "link": null } ], "outputs": [ { "name": "LORA_STACK", "type": "LORA_STACK", "links": [ 113 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LoRA Stacker" }, "widgets_values": [ "simple", 2, "SD\\more_details.safetensors", 0.5, 0.5, 0.5, "SD\\nijiMecha.safetensors", 0.6, 0.5, 0.5, "None", 0, 1, 1, "None", 0, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1 ], "color": "#222233", "bgcolor": "#333355", "shape": 1 }, { "id": 45, "type": "ImageScaleBy", "pos": [ 1770, 400 ], "size": { "0": 350, "1": 82 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 58 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 59 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "nearest-exact", 0.4 ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 3, 2, 3, 5, 3, "LATENT" ], [ 4, 2, 2, 5, 2, "CONDITIONING" ], [ 5, 2, 1, 5, 1, "CONDITIONING" ], [ 7, 2, 4, 5, 4, "VAE" ], [ 16, 15, 0, 5, 6, "INT" ], [ 50, 37, 0, 41, 0, "UPSCALE_MODEL" ], [ 58, 41, 0, 45, 0, "IMAGE" ], [ 59, 45, 0, 42, 0, "IMAGE" ], [ 60, 42, 0, 47, 3, "LATENT" ], [ 80, 15, 0, 54, 6, "INT" ], [ 81, 55, 0, 54, 7, "INT" ], [ 83, 55, 0, 5, 7, "INT" ], [ 84, 52, 0, 5, 8, "INT" ], [ 86, 5, 1, 54, 1, "CONDITIONING" ], [ 87, 5, 2, 54, 2, "CONDITIONING" ], [ 88, 5, 3, 54, 3, "LATENT" ], [ 89, 5, 4, 54, 4, "VAE" ], [ 90, 52, 0, 54, 8, "INT" ], [ 92, 54, 1, 47, 1, "CONDITIONING" ], [ 93, 54, 2, 47, 2, "CONDITIONING" ], [ 94, 54, 3, 57, 0, "LATENT" ], [ 95, 57, 0, 41, 1, "IMAGE" ], [ 96, 56, 0, 47, 5, "INT" ], [ 97, 52, 0, 47, 4, "INT" ], [ 101, 47, 0, 44, 0, "LATENT" ], [ 102, 15, 0, 47, 6, "INT" ], [ 103, 54, 4, 42, 1, "VAE" ], [ 104, 54, 4, 44, 1, "VAE" ], [ 105, 54, 4, 57, 1, "VAE" ], [ 111, 44, 0, 70, 0, "IMAGE" ], [ 113, 3, 0, 2, 0, "LORA_STACK" ], [ 115, 54, 5, 71, 0, "IMAGE" ], [ 116, 5, 5, 10, 0, "IMAGE" ], [ 130, 5, 0, 54, 0, "MODEL" ], [ 131, 54, 0, 47, 0, "MODEL" ], [ 132, 2, 0, 75, 0, "MODEL" ], [ 133, 75, 0, 5, 0, "MODEL" ], [ 134, 2, 0, 74, 0, "MODEL" ], [ 135, 74, 0, 75, 1, "MODEL" ] ], "groups": [ { "title": "Step Master Control", "bounding": [ 274, 1133, 707, 158 ], "color": "#444", "font_size": 24, "locked": false }, { "title": "Latent to Pixel", "bounding": [ 1749, -298, 381, 138 ], "color": "#3f789e", "font_size": 24, "locked": false }, { "title": "KSampler Base + Refiner", "bounding": [ 987, 482, 745, 801 ], "color": "#3f789e", "font_size": 24, "locked": false }, { "title": "Upscaler", "bounding": [ 2136, -158, 393, 648 ], "color": "#b58b2a", "font_size": 24, "locked": false }, { "title": "Upscale then Downsize | Sytan method", "bounding": [ 1750, 137, 386, 353 ], "color": "#b58b2a", "font_size": 18, "locked": false }, { "title": "Pixel to Latent", "bounding": [ 1749, -158, 382, 137 ], "color": "#b58b2a", "font_size": 24, "locked": false }, { "title": "Latent to Pixel ", "bounding": [ 1751, -18, 384, 151 ], "color": "#b58b2a", "font_size": 24, "locked": false }, { "title": "FreeU", "bounding": [ 993, 238, 489, 234 ], "color": "#a1309b", "font_size": 24, "locked": false } ], "config": {}, "extra": {}, "version": 0.4 }