From b0fb3cb296e6be74aeb44803897c40d0750e5c12 Mon Sep 17 00:00:00 2001 From: Sandy Corsillo Date: Fri, 25 Oct 2024 18:21:29 -0400 Subject: [PATCH] diffusion upscaler --- Components/diffusion_upscale/api.json | 608 ++++ Components/diffusion_upscale/form.json | 70 + .../ref/eden_upscale_api.json | 532 +++ .../ref/eden_upscale_full.json | 3237 +++++++++++++++++ 4 files changed, 4447 insertions(+) create mode 100644 Components/diffusion_upscale/api.json create mode 100644 Components/diffusion_upscale/form.json create mode 100644 Components/diffusion_upscale/ref/eden_upscale_api.json create mode 100644 Components/diffusion_upscale/ref/eden_upscale_full.json diff --git a/Components/diffusion_upscale/api.json b/Components/diffusion_upscale/api.json new file mode 100644 index 0000000..13c92ed --- /dev/null +++ b/Components/diffusion_upscale/api.json @@ -0,0 +1,608 @@ +{ + "name": "diffusion_upscale", + "description": "uses diffusion to upscale an image", + "server_id": "d10aa75d-e69f-497f-8eaf-088c83434eeb", + "inputs": { + "1": { + "image": { + "value": "image", + "is_required": true + } + }, + "2": { + "ckpt_name": { + "value": "model", + "is_required": false, + "default": "juggernaut_reborn.safetensors" + } + }, + "5": { + "text": { + "value": "prompt", + "is_required": false, + "default": "masterpiece, best quality, highres" + } + }, + "6": { + "text": { + "value": "negative_prompt", + "is_required": false, + "default": "(worst quality, low quality, normal quality:1.5)" + } + }, + "20": { + "sampler_name": { + "value": "sampler", + "is_required": false, + "default": "dpmpp_3m_sde_gpu" + } + }, + "21": { + "denoise": { + "value": "denoising", + "is_required": false, + "default": 0.35 + }, + "steps": { + "value": "steps", + "is_required": false, + "default": 20 + } + }, + "18": { + "strength": { + "value": "controlnet_strength", + "is_required": false, + "default": 0.5 + } + }, + "25": { + "noise_seed": { + "value": "seed", + "is_required": true + } + } + }, + "workflow": { + "1": { + "inputs": { + "image": "MJGalleryuntitled-479aa5e3-9146-4b62-9d8e-687838ee5740-479aa5e3-9146-4b62-9d8e-687838ee5740-standard-scale-2_00x 1 copy.png", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Load Image" + } + }, + "2": { + "inputs": { + "ckpt_name": "juggernaut_reborn.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "3": { + "inputs": { + "lora_name": "more_details.safetensors", + "strength_model": 0.25, + "strength_clip": 0.25, + "model": [ + "2", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "4": { + "inputs": { + "lora_name": "SDXLrender_v2.0.safetensors", + "strength_model": 0.1, + "strength_clip": 0.1, + "model": [ + "3", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "5": { + "inputs": { + "text": "masterpiece, best quality, highres", + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "6": { + "inputs": { + "text": "(worst quality, low quality, normal quality:1.5)", + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "7": { + "inputs": { + "model_name": "4xNomosUniDAT_otf.safetensors" + }, + "class_type": "UpscaleModelLoader", + "_meta": { + "title": "Load Upscale Model" + } + }, + "8": { + "inputs": { + "upscale_model": [ + "7", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ImageUpscaleWithModel", + "_meta": { + "title": "Upscale Image (using Model)" + } + }, + "9": { + "inputs": { + "upscale_method": "lanczos", + "image": [ + "8", + 0 + ] + }, + "class_type": "ImageScaleBy", + "_meta": { + "title": "Upscale Image By" + } + }, + "12": { + "inputs": { + "tile_size": 1024, + "pixels": [ + "85", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEEncodeTiled", + "_meta": { + "title": "VAE Encode (Tiled)" + } + }, + "13": { + "inputs": { + "b1": 1.05, + "b2": 1.08, + "s1": 0.95, + "s2": 0.8, + "model": [ + "4", + 0 + ] + }, + "class_type": "FreeU_V2", + "_meta": { + "title": "FreeU_V2" + } + }, + "14": { + "inputs": { + "scale": 1, + "model": [ + "13", + 0 + ] + }, + "class_type": "PerturbedAttentionGuidance", + "_meta": { + "title": "PerturbedAttentionGuidance" + } + }, + "15": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "14", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "16": { + "inputs": { + "method": "MultiDiffusion", + "tile_width": 1024, + "tile_height": 1024, + "tile_overlap": 128, + "tile_batch_size": 4, + "model": [ + "15", + 0 + ] + }, + "class_type": "TiledDiffusion", + "_meta": { + "title": "Tiled Diffusion" + } + }, + "17": { + "inputs": { + "control_net_name": "control_v11f1e_sd15_tile_fp16.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "18": { + "inputs": { + "strength": 0.5, + "start_percent": 0, + "end_percent": 1, + "positive": [ + "5", + 0 + ], + "negative": [ + "6", + 0 + ], + "control_net": [ + "17", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced", + "_meta": { + "title": "Apply ControlNet" + } + }, + "20": { + "inputs": { + "sampler_name": "dpmpp_3m_sde_gpu" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "21": { + "inputs": { + "model_type": "SDXL", + "steps": 25, + "denoise": 0.35 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "25": { + "inputs": { + "add_noise": true, + "noise_seed": 5398475983, + "cfg": 8, + "model": [ + "96", + 0 + ], + "positive": [ + "18", + 0 + ], + "negative": [ + "18", + 1 + ], + "sampler": [ + "20", + 0 + ], + "sigmas": [ + "21", + 0 + ], + "latent_image": [ + "12", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "26": { + "inputs": { + "tile_size": 1024, + "samples": [ + "25", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEDecodeTiled", + "_meta": { + "title": "VAE Decode (Tiled)" + } + }, + "46": { + "inputs": { + "width": 2048, + "height": 2048, + "interpolation": "nearest", + "method": "keep proportion", + "condition": "downscale if bigger", + "multiple_of": 0, + "image": [ + "1", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize_clamp maximum" + } + }, + "63": { + "inputs": { + "filename_prefix": "upscaled", + "add_timestamp": true, + "save_metadata_json": false, + "images": [ + "100", + 0 + ] + }, + "class_type": "SaveImageAdvanced", + "_meta": { + "title": "SaveImageAdvanced" + } + }, + "85": { + "inputs": { + "width": [ + "87", + 0 + ], + "height": [ + "87", + 1 + ], + "interpolation": "lanczos", + "method": "keep proportion", + "condition": "always", + "multiple_of": 8, + "image": [ + "8", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize" + } + }, + "86": { + "inputs": { + "value": 2048 + }, + "class_type": "Eden_Int", + "_meta": { + "title": "LONGEST SIDE" + } + }, + "87": { + "inputs": { + "image": [ + "1", + 0 + ] + }, + "class_type": "Get resolution [Crystools]", + "_meta": { + "title": "🪛 Get resolution" + } + }, + "89": { + "inputs": { + "preset": "PLUS (high strength)", + "model": [ + "16", + 0 + ] + }, + "class_type": "IPAdapterUnifiedLoader", + "_meta": { + "title": "IPAdapter Unified Loader" + } + }, + "90": { + "inputs": { + "interpolation": "LANCZOS", + "crop_position": "center", + "sharpening": 0.05, + "image": [ + "85", + 0 + ] + }, + "class_type": "PrepImageForClipVision", + "_meta": { + "title": "Prep Image For ClipVision" + } + }, + "92": { + "inputs": { + "weight": [ + "95", + 0 + ], + "weight_type": "ease in-out", + "combine_embeds": "concat", + "start_at": 0, + "end_at": 1, + "embeds_scaling": "V only", + "enhance_tiles": 2, + "enhance_ratio": 1, + "model": [ + "89", + 0 + ], + "ipadapter": [ + "89", + 1 + ], + "image": [ + "90", + 0 + ] + }, + "class_type": "IPAdapterClipVisionEnhancer", + "_meta": { + "title": "IPAdapter ClipVision Enhancer" + } + }, + "93": { + "inputs": { + "color_space": "LAB", + "factor": 1, + "device": "auto", + "batch_size": 0, + "image": [ + "26", + 0 + ], + "reference": [ + "85", + 0 + ] + }, + "class_type": "ImageColorMatch+", + "_meta": { + "title": "🔧 Image Color Match" + } + }, + "95": { + "inputs": { + "value": 0.75 + }, + "class_type": "Eden_Float", + "_meta": { + "title": "IPADAPTER STRENGTH" + } + }, + "96": { + "inputs": { + "switch": [ + "97", + 0 + ], + "on_false": [ + "16", + 0 + ], + "on_true": [ + "92", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", + "_meta": { + "title": "Lazy Switch_USE IPADAPTER" + } + }, + "97": { + "inputs": { + "value": true + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE IPADAPTER" + } + }, + "99": { + "inputs": { + "value": false + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE COLOR MATCH" + } + }, + "100": { + "inputs": { + "switch": [ + "99", + 0 + ], + "on_false": [ + "26", + 0 + ], + "on_true": [ + "93", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", + "_meta": { + "title": "Lazy Switch_USE COLOR MATCH" + } + } + }, + "test": { + "image": "https://cdn.emprops.ai/blog-posts/stadaii.png", + "seed": "2145214451", + "steps": "20", + "denoising": ".35", + "sampler": "dpmpp_3m_sde_gpu", + "prompt": "a dog in a car", + "negative_prompt": "", + "controlnet_strength": ".5" + } +} \ No newline at end of file diff --git a/Components/diffusion_upscale/form.json b/Components/diffusion_upscale/form.json new file mode 100644 index 0000000..481a908 --- /dev/null +++ b/Components/diffusion_upscale/form.json @@ -0,0 +1,70 @@ +{ + "name": "Diffusion Upscaler", + "fields": { + "main": [ + { + "id": "image", + "name": "Select Image", + "type": "image_loader", + "display": true + }, + { + "id": "prompt", + "name": "Prompt", + "type": "prompt_editor", + "display": true + }, + { + "id": "negative_prompt", + "name": "Negative Prompt", + "type": "prompt_editor", + "display": true + }, + { + "id": "steps", + "name": "Steps", + "type": "slider", + "default": 20, + "constraints": { + "min": 1, + "max": 60, + "step": 20 + }, + "display": true + }, + { + "id": "denoising", + "name": "Denoising Strength", + "type": "slider", + "default": 0.35, + "constraints": { + "min": 0, + "max": 1, + "step": 0.001 + }, + "display": true + } + ], + "advanced": [ + { + "id": "sampler", + "name": "Sampler", + "default": "dpmpp_3m_sde_gpu", + "conf_file": "samplers.json", + "display": true + }, + { + "id": "controlnet_strength", + "name": "ControlNet Strength", + "type": "slider", + "default": 0.5, + "constraints": { + "min": 0, + "max": 1, + "step": 0.001 + }, + "display": true + } + ] + } +} diff --git a/Components/diffusion_upscale/ref/eden_upscale_api.json b/Components/diffusion_upscale/ref/eden_upscale_api.json new file mode 100644 index 0000000..d1918a2 --- /dev/null +++ b/Components/diffusion_upscale/ref/eden_upscale_api.json @@ -0,0 +1,532 @@ +{ + "1": { + "inputs": { + "image": "quitters_A_hyper-realistic_photograph_of_an_intricate_pattern_481ada06-39f2-45c7-89f9-e60ccb66a381_2.png", + "upload": "image" + }, + "class_type": "LoadImage", + "_meta": { + "title": "Load Image" + } + }, + "2": { + "inputs": { + "ckpt_name": "juggernaut_reborn.safetensors" + }, + "class_type": "CheckpointLoaderSimple", + "_meta": { + "title": "Load Checkpoint" + } + }, + "3": { + "inputs": { + "lora_name": "more_details.safetensors", + "strength_model": 0.25, + "strength_clip": 0.25, + "model": [ + "2", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "4": { + "inputs": { + "lora_name": "SDXLrender_v2.0.safetensors", + "strength_model": 0.1, + "strength_clip": 0.1, + "model": [ + "3", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "LoraLoader", + "_meta": { + "title": "Load LoRA" + } + }, + "5": { + "inputs": { + "text": "masterpiece, best quality, highres", + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "6": { + "inputs": { + "text": "(worst quality, low quality, normal quality:1.5)", + "clip": [ + "4", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "7": { + "inputs": { + "model_name": "4xNomosUniDAT_otf.safetensors" + }, + "class_type": "UpscaleModelLoader", + "_meta": { + "title": "Load Upscale Model" + } + }, + "8": { + "inputs": { + "upscale_model": [ + "7", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ImageUpscaleWithModel", + "_meta": { + "title": "Upscale Image (using Model)" + } + }, + "9": { + "inputs": { + "upscale_method": "lanczos", + "image": [ + "8", + 0 + ] + }, + "class_type": "ImageScaleBy", + "_meta": { + "title": "Upscale Image By" + } + }, + "12": { + "inputs": { + "tile_size": 1024, + "pixels": [ + "85", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEEncodeTiled", + "_meta": { + "title": "VAE Encode (Tiled)" + } + }, + "13": { + "inputs": { + "b1": 1.05, + "b2": 1.08, + "s1": 0.9500000000000001, + "s2": 0.8, + "model": [ + "4", + 0 + ] + }, + "class_type": "FreeU_V2", + "_meta": { + "title": "FreeU_V2" + } + }, + "14": { + "inputs": { + "scale": 1, + "model": [ + "13", + 0 + ] + }, + "class_type": "PerturbedAttentionGuidance", + "_meta": { + "title": "PerturbedAttentionGuidance" + } + }, + "15": { + "inputs": { + "hard_mode": true, + "boost": true, + "model": [ + "14", + 0 + ] + }, + "class_type": "Automatic CFG", + "_meta": { + "title": "Automatic CFG" + } + }, + "16": { + "inputs": { + "method": "MultiDiffusion", + "tile_width": 1024, + "tile_height": 1024, + "tile_overlap": 128, + "tile_batch_size": 4, + "model": [ + "15", + 0 + ] + }, + "class_type": "TiledDiffusion", + "_meta": { + "title": "Tiled Diffusion" + } + }, + "17": { + "inputs": { + "control_net_name": "control_v11f1e_sd15_tile_fp16.safetensors" + }, + "class_type": "ControlNetLoader", + "_meta": { + "title": "Load ControlNet Model" + } + }, + "18": { + "inputs": { + "strength": 0.5, + "start_percent": 0, + "end_percent": 1, + "positive": [ + "5", + 0 + ], + "negative": [ + "6", + 0 + ], + "control_net": [ + "17", + 0 + ], + "image": [ + "46", + 0 + ] + }, + "class_type": "ControlNetApplyAdvanced", + "_meta": { + "title": "Apply ControlNet" + } + }, + "20": { + "inputs": { + "sampler_name": "dpmpp_3m_sde_gpu" + }, + "class_type": "KSamplerSelect", + "_meta": { + "title": "KSamplerSelect" + } + }, + "21": { + "inputs": { + "model_type": "SD1", + "steps": 25, + "denoise": 0.35000000000000003 + }, + "class_type": "AlignYourStepsScheduler", + "_meta": { + "title": "AlignYourStepsScheduler" + } + }, + "25": { + "inputs": { + "add_noise": true, + "noise_seed": 5398475983, + "cfg": 8, + "model": [ + "96", + 0 + ], + "positive": [ + "18", + 0 + ], + "negative": [ + "18", + 1 + ], + "sampler": [ + "20", + 0 + ], + "sigmas": [ + "21", + 0 + ], + "latent_image": [ + "12", + 0 + ] + }, + "class_type": "SamplerCustom", + "_meta": { + "title": "SamplerCustom" + } + }, + "26": { + "inputs": { + "tile_size": 1024, + "samples": [ + "25", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEDecodeTiled", + "_meta": { + "title": "VAE Decode (Tiled)" + } + }, + "46": { + "inputs": { + "width": 2048, + "height": 2048, + "interpolation": "nearest", + "method": "keep proportion", + "condition": "downscale if bigger", + "multiple_of": 0, + "image": [ + "1", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize_clamp maximum" + } + }, + "63": { + "inputs": { + "filename_prefix": "upscaled", + "add_timestamp": true, + "save_metadata_json": false, + "images": [ + "100", + 0 + ] + }, + "class_type": "SaveImageAdvanced", + "_meta": { + "title": "SaveImageAdvanced" + } + }, + "85": { + "inputs": { + "width": [ + "86", + 0 + ], + "height": [ + "86", + 0 + ], + "interpolation": "lanczos", + "method": "keep proportion", + "condition": "always", + "multiple_of": 8, + "image": [ + "8", + 0 + ] + }, + "class_type": "ImageResize+", + "_meta": { + "title": "🔧 Image Resize" + } + }, + "86": { + "inputs": { + "value": 2048 + }, + "class_type": "Eden_Int", + "_meta": { + "title": "LONGEST SIDE" + } + }, + "87": { + "inputs": { + "image": [ + "1", + 0 + ] + }, + "class_type": "Get resolution [Crystools]", + "_meta": { + "title": "🪛 Get resolution" + } + }, + "89": { + "inputs": { + "preset": "PLUS (high strength)", + "model": [ + "16", + 0 + ] + }, + "class_type": "IPAdapterUnifiedLoader", + "_meta": { + "title": "IPAdapter Unified Loader" + } + }, + "90": { + "inputs": { + "interpolation": "LANCZOS", + "crop_position": "center", + "sharpening": 0.05, + "image": [ + "85", + 0 + ] + }, + "class_type": "PrepImageForClipVision", + "_meta": { + "title": "Prep Image For ClipVision" + } + }, + "92": { + "inputs": { + "weight": [ + "95", + 0 + ], + "weight_type": "ease in-out", + "combine_embeds": "concat", + "start_at": 0, + "end_at": 1, + "embeds_scaling": "V only", + "enhance_tiles": 2, + "enhance_ratio": 1, + "model": [ + "89", + 0 + ], + "ipadapter": [ + "89", + 1 + ], + "image": [ + "90", + 0 + ] + }, + "class_type": "IPAdapterClipVisionEnhancer", + "_meta": { + "title": "IPAdapter ClipVision Enhancer" + } + }, + "93": { + "inputs": { + "color_space": "LAB", + "factor": 1, + "device": "auto", + "batch_size": 0, + "image": [ + "26", + 0 + ], + "reference": [ + "85", + 0 + ] + }, + "class_type": "ImageColorMatch+", + "_meta": { + "title": "🔧 Image Color Match" + } + }, + "95": { + "inputs": { + "value": 0.75 + }, + "class_type": "Eden_Float", + "_meta": { + "title": "IPADAPTER STRENGTH" + } + }, + "96": { + "inputs": { + "switch": [ + "97", + 0 + ], + "on_false": [ + "16", + 0 + ], + "on_true": [ + "92", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", + "_meta": { + "title": "Lazy Switch_USE IPADAPTER" + } + }, + "97": { + "inputs": { + "value": true + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE IPADAPTER" + } + }, + "99": { + "inputs": { + "value": false + }, + "class_type": "Eden_Bool", + "_meta": { + "title": "USE COLOR MATCH" + } + }, + "100": { + "inputs": { + "switch": [ + "99", + 0 + ], + "on_false": [ + "26", + 0 + ], + "on_true": [ + "93", + 0 + ] + }, + "class_type": "InversionDemoLazySwitch", + "_meta": { + "title": "Lazy Switch_USE COLOR MATCH" + } + } +} \ No newline at end of file diff --git a/Components/diffusion_upscale/ref/eden_upscale_full.json b/Components/diffusion_upscale/ref/eden_upscale_full.json new file mode 100644 index 0000000..c4c895c --- /dev/null +++ b/Components/diffusion_upscale/ref/eden_upscale_full.json @@ -0,0 +1,3237 @@ +{ + "last_node_id": 100, + "last_link_id": 148, + "nodes": [ + { + "id": 14, + "type": "PerturbedAttentionGuidance", + "pos": { + "0": 1325, + "1": 525 + }, + "size": { + "0": 325, + "1": 75 + }, + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 16 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 17 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "PerturbedAttentionGuidance" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 20, + "type": "KSamplerSelect", + "pos": { + "0": 2075, + "1": 325 + }, + "size": { + "0": 325, + "1": 75 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 32 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "dpmpp_3m_sde_gpu" + ] + }, + { + "id": 13, + "type": "FreeU_V2", + "pos": { + "0": 1325, + "1": 325 + }, + "size": { + "0": 325, + "1": 150 + }, + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 15 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 16 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "FreeU_V2" + }, + "widgets_values": [ + 1.05, + 1.08, + 0.9500000000000001, + 0.8 + ] + }, + { + "id": 31, + "type": "Note", + "pos": { + "0": 1000, + "1": 175 + }, + "size": { + "0": 284.3357849121094, + "1": 100 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Initial Upscale =========================\nUpscales the image with an upscale model. Default is 4x upscale, then downscale by 50% to sharpen details. " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 32, + "type": "Note", + "pos": { + "0": 1325, + "1": 175 + }, + "size": { + "0": 325, + "1": 100 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Model Optimizations =============================\nFreeU adds coherence at the expense of detail. \nPAG adds detail at the expense of inference speed. \n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 34, + "type": "Note", + "pos": { + "0": 2075, + "1": 175 + }, + "size": { + "0": 325, + "1": 100 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Upscale Sampler =================================\n\nUsing AYS scheduler" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 2, + "type": "CheckpointLoaderSimple", + "pos": { + "0": 610, + "1": 330 + }, + "size": { + "0": 325, + "1": 100 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 3, + 72 + ], + "slot_index": 1, + "shape": 3 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 14, + 35 + ], + "slot_index": 2, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "juggernaut_reborn.safetensors" + ] + }, + { + "id": 45, + "type": "ImageBatch", + "pos": { + "0": 3061.301025390625, + "1": 1112.6614990234375 + }, + "size": { + "0": 270, + "1": 46 + }, + "flags": {}, + "order": 53, + "mode": 4, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 50 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 51 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 62 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + }, + "widgets_values": [] + }, + { + "id": 50, + "type": "Create Grid Image from Batch", + "pos": { + "0": 3351.301025390625, + "1": 1102.6614990234375 + }, + "size": { + "0": 266.5082092285156, + "1": 174 + }, + "flags": {}, + "order": 57, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 62 + }, + { + "name": "number_of_columns", + "type": "INT", + "link": 70, + "widget": { + "name": "number_of_columns" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 63 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Create Grid Image from Batch" + }, + "widgets_values": [ + 3, + 2, + 1024, + 0, + 0, + 0 + ] + }, + { + "id": 33, + "type": "Note", + "pos": { + "0": 1700, + "1": 175 + }, + "size": { + "0": 327.9071960449219, + "1": 78.46353149414062 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Tiled Upscale Configuration =================" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 51, + "type": "Get resolution [Crystools]", + "pos": { + "0": 3061.301025390625, + "1": 1212.6614990234375 + }, + "size": { + "0": 270, + "1": 100 + }, + "flags": {}, + "order": 54, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 64 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 67 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": [ + 68 + ], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Get resolution [Crystools]" + }, + "widgets_values": [] + }, + { + "id": 21, + "type": "AlignYourStepsScheduler", + "pos": { + "0": 2075, + "1": 450 + }, + "size": { + "0": 325, + "1": 125 + }, + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "steps", + "type": "INT", + "link": 26, + "widget": { + "name": "steps" + } + }, + { + "name": "denoise", + "type": "FLOAT", + "link": 27, + "widget": { + "name": "denoise" + } + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 28 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "AlignYourStepsScheduler" + }, + "widgets_values": [ + "SD1", + 25, + 0.35000000000000003 + ] + }, + { + "id": 7, + "type": "UpscaleModelLoader", + "pos": { + "0": 1000, + "1": 325 + }, + "size": { + "0": 284.3357849121094, + "1": 76.15897369384766 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 7 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4xNomosUniDAT_otf.safetensors" + ] + }, + { + "id": 15, + "type": "Automatic CFG", + "pos": { + "0": 1325, + "1": 642 + }, + "size": { + "0": 325, + "1": 82 + }, + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 17 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 20 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Automatic CFG" + }, + "widgets_values": [ + true, + true + ] + }, + { + "id": 58, + "type": "easy compare", + "pos": { + "0": 3061.301025390625, + "1": 1362.6614990234375 + }, + "size": { + "0": 270, + "1": 78 + }, + "flags": {}, + "order": 55, + "mode": 4, + "inputs": [ + { + "name": "a", + "type": "*", + "link": 67 + }, + { + "name": "b", + "type": "*", + "link": 68 + } + ], + "outputs": [ + { + "name": "boolean", + "type": "BOOLEAN", + "links": [ + 69 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "easy compare" + }, + "widgets_values": [ + "a > b" + ] + }, + { + "id": 3, + "type": "LoraLoader", + "pos": { + "0": 610, + "1": 480 + }, + "size": { + "0": 325, + "1": 126 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1 + }, + { + "name": "clip", + "type": "CLIP", + "link": 3 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 2 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "more_details.safetensors", + 0.25, + 0.25 + ] + }, + { + "id": 17, + "type": "ControlNetLoader", + "pos": { + "0": 1700, + "1": 524 + }, + "size": { + "0": 327.9071960449219, + "1": 75 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 21 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11f1e_sd15_tile_fp16.safetensors" + ] + }, + { + "id": 8, + "type": "ImageUpscaleWithModel", + "pos": { + "0": 1000, + "1": 450 + }, + "size": { + "0": 284.3357849121094, + "1": 50 + }, + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 7 + }, + { + "name": "image", + "type": "IMAGE", + "link": 58 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 9, + 110 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 12, + "type": "VAEEncodeTiled", + "pos": { + "0": 1000, + "1": 780 + }, + "size": { + "0": 284.3357849121094, + "1": 75 + }, + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 111 + }, + { + "name": "vae", + "type": "VAE", + "link": 14 + }, + { + "name": "tile_size", + "type": "INT", + "link": 12, + "widget": { + "name": "tile_size" + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 33 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEEncodeTiled" + }, + "widgets_values": [ + 1024 + ] + }, + { + "id": 29, + "type": "Note", + "pos": { + "0": 195.68800354003906, + "1": -70.44003295898438 + }, + "size": { + "0": 325, + "1": 100 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Input Image =================================\nRecommended parameters:\nDenoise: 0.5\nControlNet Strength: 0.5 \nSteps: 18\nTile Size: 1024" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 22, + "type": "PrimitiveNode", + "pos": { + "0": 200, + "1": 1110 + }, + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 26 + ], + "slot_index": 0, + "widget": { + "name": "steps" + } + } + ], + "title": "STEPS", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 25, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 25, + "type": "SamplerCustom", + "pos": { + "0": 2075, + "1": 625 + }, + "size": { + "0": 325, + "1": 500 + }, + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 137 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 30 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 31 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 32 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 28 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 33 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 36 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "SamplerCustom" + }, + "widgets_values": [ + true, + 5398475983, + "fixed", + 8 + ] + }, + { + "id": 85, + "type": "ImageResize+", + "pos": { + "0": 1000, + "1": 540 + }, + "size": { + "0": 284.3357849121094, + "1": 170 + }, + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 110 + }, + { + "name": "width", + "type": "INT", + "link": 109, + "widget": { + "name": "width" + } + }, + { + "name": "height", + "type": "INT", + "link": 114, + "widget": { + "name": "height" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 111, + 112, + 113, + 118, + 129 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + "keep proportion", + "always", + 8 + ] + }, + { + "id": 37, + "type": "CR Simple Text Watermark", + "pos": { + "0": 3061.301025390625, + "1": 782.6615600585938 + }, + "size": { + "0": 270, + "1": 271.1593017578125 + }, + "flags": {}, + "order": 34, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 48 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 50 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "show_help", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CR Simple Text Watermark" + }, + "widgets_values": [ + "original", + "bottom left", + 1, + "Roboto-Regular.ttf", + 60, + "white", + 50, + 50, + "#000000" + ] + }, + { + "id": 36, + "type": "Image Comparer (rgthree)", + "pos": { + "0": 3639.7548828125, + "1": 111.1602783203125 + }, + "size": { + "0": 479.3346252441406, + "1": 611.0497436523438 + }, + "flags": { + "collapsed": false + }, + "order": 52, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 147, + "dir": 3 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 112, + "dir": 3 + } + ], + "outputs": [], + "title": "Compare Results", + "properties": { + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_tsfju_00043_.png&type=temp&subfolder=&rand=0.061749890610799385" + }, + { + "name": "B", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_tsfju_00044_.png&type=temp&subfolder=&rand=0.3336901518879585" + } + ] + ] + }, + { + "id": 94, + "type": "Image Comparer (rgthree)", + "pos": { + "0": 4139.75439453125, + "1": 111.1602783203125 + }, + "size": { + "0": 496.38055419921875, + "1": 613.82421875 + }, + "flags": {}, + "order": 46, + "mode": 4, + "inputs": [ + { + "name": "image_a", + "type": "IMAGE", + "link": 133, + "dir": 3 + }, + { + "name": "image_b", + "type": "IMAGE", + "link": 134, + "dir": 3 + } + ], + "outputs": [], + "title": "Compare Recolor", + "properties": { + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_msydv_00015_.png&type=temp&subfolder=&rand=0.5394846622329714" + }, + { + "name": "B", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_msydv_00016_.png&type=temp&subfolder=&rand=0.21192737021853647" + } + ] + ] + }, + { + "id": 42, + "type": "SaveImage", + "pos": { + "0": 3649.755615234375, + "1": 791.1602783203125 + }, + "size": { + "0": 968.828125, + "1": 632.4891967773438 + }, + "flags": {}, + "order": 58, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 63 + } + ], + "outputs": [], + "title": "Save Grid", + "properties": { + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "grid-compare_clarity-upscale" + ] + }, + { + "id": 39, + "type": "CR Simple Text Watermark", + "pos": { + "0": 3351.301025390625, + "1": 782.6615600585938 + }, + "size": { + "0": 266.5082092285156, + "1": 271.1593017578125 + }, + "flags": {}, + "order": 51, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 146 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 51, + 64 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "show_help", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CR Simple Text Watermark" + }, + "widgets_values": [ + "'clarity'_upscale", + "bottom left", + 1, + "Roboto-Regular.ttf", + 60, + "white", + 50, + 50, + "#000000" + ] + }, + { + "id": 27, + "type": "PreviewImage", + "pos": { + "0": 3066.301025390625, + "1": 111.1602783203125 + }, + "size": { + "0": 495.1594543457031, + "1": 612.0941772460938 + }, + "flags": {}, + "order": 36, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 113 + } + ], + "outputs": [], + "title": "ORIGINAL IMAGE", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 11, + "type": "PrimitiveNode", + "pos": { + "0": 200, + "1": 1230 + }, + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 12, + 18, + 19, + 34 + ], + "slot_index": 0, + "widget": { + "name": "tile_size" + } + } + ], + "title": "TILE SIZE", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 1024, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 16, + "type": "TiledDiffusion", + "pos": { + "0": 1700, + "1": 324 + }, + "size": { + "0": 327.9071960449219, + "1": 150 + }, + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 20 + }, + { + "name": "tile_width", + "type": "INT", + "link": 18, + "widget": { + "name": "tile_width" + } + }, + { + "name": "tile_height", + "type": "INT", + "link": 19, + "widget": { + "name": "tile_height" + } + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 115, + 136 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "TiledDiffusion" + }, + "widgets_values": [ + "MultiDiffusion", + 1024, + 1024, + 128, + 4 + ] + }, + { + "id": 18, + "type": "ControlNetApplyAdvanced", + "pos": { + "0": 1700, + "1": 643 + }, + "size": { + "0": 327.9071960449219, + "1": 175 + }, + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 23 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 24 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 21 + }, + { + "name": "image", + "type": "IMAGE", + "link": 59 + }, + { + "name": "vae", + "type": "VAE", + "link": 75, + "widget": { + "name": "strength" + }, + "shape": 7 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 30 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 31 + ], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ] + }, + { + "id": 90, + "type": "PrepImageForClipVision", + "pos": { + "0": 1325, + "1": 777 + }, + "size": { + "0": 325, + "1": 106 + }, + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 118 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 125 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "PrepImageForClipVision" + }, + "widgets_values": [ + "LANCZOS", + "center", + 0.05 + ] + }, + { + "id": 89, + "type": "IPAdapterUnifiedLoader", + "pos": { + "0": 1325, + "1": 943 + }, + "size": { + "0": 325, + "1": 78 + }, + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 115 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": null, + "shape": 7 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 124 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "links": [ + 126 + ], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "IPAdapterUnifiedLoader" + }, + "widgets_values": [ + "PLUS (high strength)" + ] + }, + { + "id": 19, + "type": "PrimitiveNode", + "pos": { + "0": 200, + "1": 980 + }, + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 75 + ], + "slot_index": 0, + "widget": { + "name": "strength" + } + } + ], + "title": "CONTROLNET STRENGTH", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 0.5, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 95, + "type": "Eden_Float", + "pos": { + "0": 203, + "1": 1454 + }, + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 135 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "IPADAPTER STRENGTH", + "properties": { + "Node name for S&R": "Eden_Float" + }, + "widgets_values": [ + 0.75 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 47, + "type": "Get resolution [Crystools]", + "pos": { + "0": 2638, + "1": 1127 + }, + "size": { + "0": 330, + "1": 130 + }, + "flags": {}, + "order": 50, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 140 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Get resolution [Crystools]" + }, + "widgets_values": [] + }, + { + "id": 92, + "type": "IPAdapterClipVisionEnhancer", + "pos": { + "0": 1700, + "1": 1000 + }, + "size": { + "0": 327.9071960449219, + "1": 326 + }, + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 124 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 126 + }, + { + "name": "image", + "type": "IMAGE", + "link": 125 + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null, + "shape": 7 + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null, + "shape": 7 + }, + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": null, + "shape": 7 + }, + { + "name": "weight", + "type": "FLOAT", + "link": 135, + "widget": { + "name": "weight" + } + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 138 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "IPAdapterClipVisionEnhancer" + }, + "widgets_values": [ + 0.75, + "ease in-out", + "concat", + 0, + 1, + "V only", + 2, + 1 + ] + }, + { + "id": 26, + "type": "VAEDecodeTiled", + "pos": { + "0": 2075, + "1": 1173 + }, + "size": { + "0": 325, + "1": 74 + }, + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 36 + }, + { + "name": "vae", + "type": "VAE", + "link": 35 + }, + { + "name": "tile_size", + "type": "INT", + "link": 34, + "widget": { + "name": "tile_size" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 128, + 133, + 141 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VAEDecodeTiled" + }, + "widgets_values": [ + 1024 + ] + }, + { + "id": 93, + "type": "ImageColorMatch+", + "pos": { + "0": 2075, + "1": 1295 + }, + "size": { + "0": 325, + "1": 170 + }, + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 128 + }, + { + "name": "reference", + "type": "IMAGE", + "link": 129 + }, + { + "name": "reference_mask", + "type": "MASK", + "link": null, + "shape": 7 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 134, + 142 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageColorMatch+" + }, + "widgets_values": [ + "LAB", + 1, + "auto", + 0 + ] + }, + { + "id": 96, + "type": "InversionDemoLazySwitch", + "pos": { + "0": 1700, + "1": 870 + }, + "size": { + "0": 327.9071960449219, + "1": 78 + }, + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "on_false", + "type": "*", + "link": 136 + }, + { + "name": "on_true", + "type": "*", + "link": 138 + }, + { + "name": "switch", + "type": "BOOLEAN", + "link": 143, + "widget": { + "name": "switch" + } + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 137 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "Lazy Switch_USE IPADAPTER", + "properties": { + "Node name for S&R": "InversionDemoLazySwitch" + }, + "widgets_values": [ + false + ] + }, + { + "id": 97, + "type": "Eden_Bool", + "pos": { + "0": 203, + "1": 1353 + }, + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "links": [ + 143 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "USE IPADAPTER", + "properties": { + "Node name for S&R": "Eden_Bool" + }, + "widgets_values": [ + true + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 48, + "type": "Get resolution [Crystools]", + "pos": { + "0": 2638, + "1": 930 + }, + "size": { + "0": 330, + "1": 120.44046783447266 + }, + "flags": {}, + "order": 26, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 73 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Get resolution [Crystools]" + }, + "widgets_values": [] + }, + { + "id": 98, + "type": "Reroute", + "pos": { + "0": 2494, + "1": 1518 + }, + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 145 + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + 140, + 146, + 147 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 100, + "type": "InversionDemoLazySwitch", + "pos": { + "0": 2075, + "1": 1520 + }, + "size": { + "0": 325, + "1": 78 + }, + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "on_false", + "type": "*", + "link": 141 + }, + { + "name": "on_true", + "type": "*", + "link": 142 + }, + { + "name": "switch", + "type": "BOOLEAN", + "link": 144, + "widget": { + "name": "switch" + } + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 145, + 148 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "Lazy Switch_USE COLOR MATCH", + "properties": { + "Node name for S&R": "InversionDemoLazySwitch" + }, + "widgets_values": [ + false + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": { + "0": 610, + "1": 1050 + }, + "size": { + "0": 325, + "1": 125 + }, + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 6 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 24 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(worst quality, low quality, normal quality:1.5)" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 87, + "type": "Get resolution [Crystools]", + "pos": { + "0": 610, + "1": 1240 + }, + "size": { + "0": 325, + "1": 102.6624526977539 + }, + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 105 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Get resolution [Crystools]" + } + }, + { + "id": 5, + "type": "CLIPTextEncode", + "pos": { + "0": 610, + "1": 850 + }, + "size": { + "0": 325, + "1": 125 + }, + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 5 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 23 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "masterpiece, best quality, highres" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 9, + "type": "ImageScaleBy", + "pos": { + "0": 1000, + "1": 920 + }, + "size": { + "0": 284.3357849121094, + "1": 93.83242797851562 + }, + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 9 + }, + { + "name": "scale_by", + "type": "FLOAT", + "link": null, + "widget": { + "name": "scale_by" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 48 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageScaleBy" + }, + "widgets_values": [ + "lanczos", + 0.5 + ] + }, + { + "id": 30, + "type": "Note", + "pos": { + "0": 610, + "1": 170 + }, + "size": { + "0": 325, + "1": 100 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Workflow Setup ==================================\nConfigure model, LoRAs, and optional prompt. The prompt does not need to describe your image. " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 4, + "type": "LoraLoader", + "pos": { + "0": 610, + "1": 660 + }, + "size": { + "0": 325, + "1": 126 + }, + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 2 + }, + { + "name": "clip", + "type": "CLIP", + "link": 72 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 15 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 5, + 6 + ], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "SDXLrender_v2.0.safetensors", + 0.1, + 0.1 + ] + }, + { + "id": 24, + "type": "PrimitiveNode", + "pos": { + "0": 201, + "1": 731 + }, + "size": { + "0": 210, + "1": 82 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 27 + ], + "slot_index": 0, + "widget": { + "name": "denoise" + } + } + ], + "title": "DENOISE", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 0.35000000000000003, + "fixed" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 35, + "type": "Note", + "pos": { + "0": 615, + "1": -82 + }, + "size": { + "0": 675, + "1": 100 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Explanation of parameters and troubleshooting:\nhttps://github.com/roblaughter/comfyui-workflows/blob/main/docs/upscale.md\n\nDownload nodes and models:\nhttps://github.com/roblaughter/comfyui-workflows/" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 63, + "type": "SaveImageAdvanced", + "pos": { + "0": 2460, + "1": 177 + }, + "size": { + "0": 484.83544921875, + "1": 674.6137084960938 + }, + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 148 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "SaveImageAdvanced" + }, + "widgets_values": [ + "upscaled", + true, + false + ] + }, + { + "id": 46, + "type": "ImageResize+", + "pos": { + "0": 197, + "1": 460 + }, + "size": { + "0": 325, + "1": 218 + }, + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 57 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 58, + 59, + 73 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3 + } + ], + "title": "🔧 Image Resize_clamp maximum", + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "nearest", + "keep proportion", + "downscale if bigger", + 0 + ] + }, + { + "id": 86, + "type": "Eden_Int", + "pos": { + "0": 200, + "1": 870 + }, + "size": { + "0": 210, + "1": 58.634071350097656 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 109, + 114 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "LONGEST SIDE", + "properties": { + "Node name for S&R": "Eden_Int" + }, + "widgets_values": [ + 2048 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 99, + "type": "Eden_Bool", + "pos": { + "0": 205, + "1": 1564 + }, + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "links": [ + 144 + ], + "slot_index": 0, + "shape": 3 + } + ], + "title": "USE COLOR MATCH", + "properties": { + "Node name for S&R": "Eden_Bool" + }, + "widgets_values": [ + false + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 56, + "type": "Boolean To Int [Dream]", + "pos": { + "0": 3351, + "1": 1333 + }, + "size": { + "0": 266.5082092285156, + "1": 98.20655059814453 + }, + "flags": {}, + "order": 56, + "mode": 4, + "inputs": [ + { + "name": "boolean", + "type": "BOOLEAN", + "link": 69, + "widget": { + "name": "boolean" + } + } + ], + "outputs": [ + { + "name": "result", + "type": "INT", + "links": [ + 70 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Boolean To Int [Dream]" + }, + "widgets_values": [ + false, + 1, + 2 + ] + }, + { + "id": 1, + "type": "LoadImage", + "pos": { + "0": 197, + "1": 82 + }, + "size": { + "0": 325, + "1": 325 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 57, + 105 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "quitters_A_hyper-realistic_photograph_of_an_intricate_pattern_481ada06-39f2-45c7-89f9-e60ccb66a381_2.png", + "image" + ], + "color": "#323", + "bgcolor": "#535" + } + ], + "links": [ + [ + 1, + 2, + 0, + 3, + 0, + "MODEL" + ], + [ + 2, + 3, + 0, + 4, + 0, + "MODEL" + ], + [ + 3, + 2, + 1, + 3, + 1, + "CLIP" + ], + [ + 5, + 4, + 1, + 5, + 0, + "CLIP" + ], + [ + 6, + 4, + 1, + 6, + 0, + "CLIP" + ], + [ + 7, + 7, + 0, + 8, + 0, + "UPSCALE_MODEL" + ], + [ + 9, + 8, + 0, + 9, + 0, + "IMAGE" + ], + [ + 12, + 11, + 0, + 12, + 2, + "INT" + ], + [ + 14, + 2, + 2, + 12, + 1, + "VAE" + ], + [ + 15, + 4, + 0, + 13, + 0, + "MODEL" + ], + [ + 16, + 13, + 0, + 14, + 0, + "MODEL" + ], + [ + 17, + 14, + 0, + 15, + 0, + "MODEL" + ], + [ + 18, + 11, + 0, + 16, + 1, + "INT" + ], + [ + 19, + 11, + 0, + 16, + 2, + "INT" + ], + [ + 20, + 15, + 0, + 16, + 0, + "MODEL" + ], + [ + 21, + 17, + 0, + 18, + 2, + "CONTROL_NET" + ], + [ + 23, + 5, + 0, + 18, + 0, + "CONDITIONING" + ], + [ + 24, + 6, + 0, + 18, + 1, + "CONDITIONING" + ], + [ + 26, + 22, + 0, + 21, + 0, + "INT" + ], + [ + 27, + 24, + 0, + 21, + 1, + "FLOAT" + ], + [ + 28, + 21, + 0, + 25, + 4, + "SIGMAS" + ], + [ + 30, + 18, + 0, + 25, + 1, + "CONDITIONING" + ], + [ + 31, + 18, + 1, + 25, + 2, + "CONDITIONING" + ], + [ + 32, + 20, + 0, + 25, + 3, + "SAMPLER" + ], + [ + 33, + 12, + 0, + 25, + 5, + "LATENT" + ], + [ + 34, + 11, + 0, + 26, + 2, + "INT" + ], + [ + 35, + 2, + 2, + 26, + 1, + "VAE" + ], + [ + 36, + 25, + 0, + 26, + 0, + "LATENT" + ], + [ + 48, + 9, + 0, + 37, + 0, + "IMAGE" + ], + [ + 50, + 37, + 0, + 45, + 0, + "IMAGE" + ], + [ + 51, + 39, + 0, + 45, + 1, + "IMAGE" + ], + [ + 57, + 1, + 0, + 46, + 0, + "IMAGE" + ], + [ + 58, + 46, + 0, + 8, + 1, + "IMAGE" + ], + [ + 59, + 46, + 0, + 18, + 3, + "IMAGE" + ], + [ + 62, + 45, + 0, + 50, + 0, + "IMAGE" + ], + [ + 63, + 50, + 0, + 42, + 0, + "IMAGE" + ], + [ + 64, + 39, + 0, + 51, + 0, + "IMAGE" + ], + [ + 67, + 51, + 0, + 58, + 0, + "*" + ], + [ + 68, + 51, + 1, + 58, + 1, + "*" + ], + [ + 69, + 58, + 0, + 56, + 0, + "BOOLEAN" + ], + [ + 70, + 56, + 0, + 50, + 1, + "INT" + ], + [ + 72, + 2, + 1, + 4, + 1, + "CLIP" + ], + [ + 73, + 46, + 0, + 48, + 0, + "IMAGE" + ], + [ + 75, + 19, + 0, + 18, + 4, + "FLOAT" + ], + [ + 105, + 1, + 0, + 87, + 0, + "IMAGE" + ], + [ + 109, + 86, + 0, + 85, + 1, + "INT" + ], + [ + 110, + 8, + 0, + 85, + 0, + "IMAGE" + ], + [ + 111, + 85, + 0, + 12, + 0, + "IMAGE" + ], + [ + 112, + 85, + 0, + 36, + 1, + "IMAGE" + ], + [ + 113, + 85, + 0, + 27, + 0, + "IMAGE" + ], + [ + 114, + 86, + 0, + 85, + 2, + "INT" + ], + [ + 115, + 16, + 0, + 89, + 0, + "MODEL" + ], + [ + 118, + 85, + 0, + 90, + 0, + "IMAGE" + ], + [ + 124, + 89, + 0, + 92, + 0, + "MODEL" + ], + [ + 125, + 90, + 0, + 92, + 2, + "IMAGE" + ], + [ + 126, + 89, + 1, + 92, + 1, + "IPADAPTER" + ], + [ + 128, + 26, + 0, + 93, + 0, + "IMAGE" + ], + [ + 129, + 85, + 0, + 93, + 1, + "IMAGE" + ], + [ + 133, + 26, + 0, + 94, + 0, + "IMAGE" + ], + [ + 134, + 93, + 0, + 94, + 1, + "IMAGE" + ], + [ + 135, + 95, + 0, + 92, + 6, + "FLOAT" + ], + [ + 136, + 16, + 0, + 96, + 0, + "*" + ], + [ + 137, + 96, + 0, + 25, + 0, + "MODEL" + ], + [ + 138, + 92, + 0, + 96, + 1, + "*" + ], + [ + 140, + 98, + 0, + 47, + 0, + "IMAGE" + ], + [ + 141, + 26, + 0, + 100, + 0, + "*" + ], + [ + 142, + 93, + 0, + 100, + 1, + "*" + ], + [ + 143, + 97, + 0, + 96, + 2, + "BOOLEAN" + ], + [ + 144, + 99, + 0, + 100, + 2, + "BOOLEAN" + ], + [ + 145, + 100, + 0, + 98, + 0, + "*" + ], + [ + 146, + 98, + 0, + 39, + 0, + "IMAGE" + ], + [ + 147, + 98, + 0, + 36, + 0, + "IMAGE" + ], + [ + 148, + 100, + 0, + 63, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "INPUT PARAMETERS", + "bounding": [ + 171, + -170, + 391, + 1825 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "DOCUMENTATION", + "bounding": [ + 592, + -172, + 710, + 271 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "DISABLE ON API EXPORT", + "bounding": [ + 2959, + 31, + 1685, + 1476 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.5559917313492378, + "offset": [ + -297.3151779659679, + 217.90564612108278 + ] + } + }, + "version": 0.4 +} \ No newline at end of file