From 743f41bdfc05ddeb2a6c82abc3131d2579e48aa9 Mon Sep 17 00:00:00 2001 From: Luis Quesada Date: Fri, 9 Jan 2026 19:30:34 +0100 Subject: [PATCH] Added support for gpu processing, set it as default. Much faster than cpu --- README.md | 14 +- __init__.py | 22 +- inpaint_cropandstitch.py | 1818 +- inpaint_cropandstitch_old.py | 887 - pyproject.toml | 2 +- testscpu.json | 1 + testsgpu.json | 1 + testsinpaintcropandstitch.json | 54428 ------------------------------- windlereye.jpg | Bin 0 -> 56200 bytes 9 files changed, 1258 insertions(+), 55915 deletions(-) delete mode 100644 inpaint_cropandstitch_old.py create mode 100644 testscpu.json create mode 100644 testsgpu.json delete mode 100644 testsinpaintcropandstitch.json create mode 100644 windlereye.jpg diff --git a/README.md b/README.md index 366f6d2..66ff52f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ComfyUI-Inpaint-CropAndStitch -Copyright (c) 2024-2025, Luis Quesada Torres - https://github.com/lquesada | www.luisquesada.com +Copyright (c) 2024-2026, Luis Quesada Torres - https://github.com/lquesada | www.luisquesada.com Check ComfyUI here: https://github.com/comfyanonymous/ComfyUI @@ -23,6 +23,14 @@ The main advantages of inpainting only in a masked area with these nodes are: - It does not modify the unmasked part of the image, not even passing it through VAE encode and decode. - It takes care of blending automatically. +# Support me! + +GenAI is not just for the sake of GenAI, but to unblock creativity and empower humans. I am not only a developer; I use GenAI myself to do **more** things **better** than I could otherwise do. + +Do you like this node? Check, listen to, or follow my GenAI music project [**Windlereye** on Spotify](https://open.spotify.com/artist/6GdiI8ZKeWhSY73WWOhbep) to support me! + +[![Windlereye on Spotify](windlereye.jpg)](https://open.spotify.com/artist/6GdiI8ZKeWhSY73WWOhbep) + # Video Tutorial [![Video Tutorial](https://img.youtube.com/vi/mI0UWm7BNtQ/0.jpg)](https://www.youtube.com/watch?v=mI0UWm7BNtQ) @@ -43,6 +51,7 @@ Note: this video tutorial is for the previous version of the nodes, but still it - `context_from_mask_extend_factor`: Extends the context area by a factor of the size of the mask. The higher this value is, the more area will be cropped around the mask for the model to have more context. 1 means do not grow. 2 means grow the same size of the mask across every direction. - `output_resize_to_target_size`: Forces that the cropped image has a specific resolution. This may involve resizing and extending out of the original image, but the stitch node reverts those changes to integrate the image seamlessly. - `output_padding`: Ensures that the cropped image width and height are a multiple of this padding value. Models require images to be padded to a certain value (8, 16, 32) to function properly. +- `device_mode`: `cpu (compatible)` should always work but is slow, `gpu (much faster)` is much faster but may not work in all setups. Default is GPU given the performance improvements. ## Example (Stable Diffusion) This example inpaints by sampling on a small section of the larger image, upscaling to fit 512x512, then stitching and blending back in the original image. @@ -91,6 +100,9 @@ Enable "resize to target size" and set it to a preferred resolution for your mod If you mask an area and you can still see the original image through the rendered image, it is **very likely** that your mask is not fully opaque. Even if it looks fully opaque - the human brain cannot tell a difference between many shades of grey. Please make sure that the mask is 100% opaque, e.g. take a screenshot, check pixel values for 255, 255, 255 or #FFFFFF. If you use mask fill holes, check that the entire boundary is 255, 255, 255 or #FFFFFF e.g. with the fuzzy select tool in Gimp with threshold 0. # Changelog +## 2026-01-09 +- Huge performance improvement of 30x-100x by adding GPU support (new default is GPU, CPU is available as an option for fallback). +- Clean up: Removed the long-deprecated old versions. ## 2025-04-06 - Published the improved version of the Crop and Stitch nodes. - Improved: Stitching is now way more precise. In the previous version, stitching an image back into place could shift it by one pixel. That will not happen anymore. diff --git a/__init__.py b/__init__.py index c7a8454..d24dd44 100755 --- a/__init__.py +++ b/__init__.py @@ -1,34 +1,16 @@ from .inpaint_cropandstitch import InpaintCropImproved from .inpaint_cropandstitch import InpaintStitchImproved -# OLD -from .inpaint_cropandstitch_old import InpaintCrop -from .inpaint_cropandstitch_old import InpaintStitch -from .inpaint_cropandstitch_old import InpaintExtendOutpaint -from .inpaint_cropandstitch_old import InpaintResize - WEB_DIRECTORY = "js" NODE_CLASS_MAPPINGS = { "InpaintCropImproved": InpaintCropImproved, "InpaintStitchImproved": InpaintStitchImproved, - - # OLD - "InpaintCrop": InpaintCrop, - "InpaintStitch": InpaintStitch, - "InpaintExtendOutpaint": InpaintExtendOutpaint, - "InpaintResize": InpaintResize, } NODE_DISPLAY_NAME_MAPPINGS = { - "InpaintCropImproved": "✂️ Inpaint Crop (Improved)", - "InpaintStitchImproved": "✂️ Inpaint Stitch (Improved)", - - # OLD - "InpaintCrop": "(OLD 💀, use the new ✂️ Inpaint Crop node)", - "InpaintStitch": "(OLD 💀, use the new ✂️ Inpaint Stitch node)", - "InpaintExtendOutpaint": "(OLD 💀 use Crop instead) Extend Image for Outpainting", - "InpaintResize": "(OLD 💀 use Crop instead) Resize Image Before Inpainting", + "InpaintCropImproved": "✂️ Inpaint Crop", + "InpaintStitchImproved": "✂️ Inpaint Stitch", } __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] diff --git a/inpaint_cropandstitch.py b/inpaint_cropandstitch.py index f11ce7a..f5e7725 100644 --- a/inpaint_cropandstitch.py +++ b/inpaint_cropandstitch.py @@ -1,491 +1,1085 @@ import comfy.utils +import comfy.model_management import math import nodes import numpy as np import torch +import torch.nn.functional as TF import torchvision.transforms.functional as F from PIL import Image from scipy.ndimage import gaussian_filter, grey_dilation, binary_closing, binary_fill_holes +from abc import ABC, abstractmethod + +class ProcessorLogic(ABC): + @abstractmethod + def rescale_i(self, samples, width, height, algorithm: str): + pass + + @abstractmethod + def rescale_m(self, samples, width, height, algorithm: str): + pass + + @abstractmethod + def fillholes_iterative_hipass_fill_m(self, samples): + pass + + @abstractmethod + def hipassfilter_m(self, samples, threshold): + pass + + @abstractmethod + def expand_m(self, samples, pixels): + pass + + @abstractmethod + def invert_m(self, samples): + pass + + @abstractmethod + def blur_m(self, samples, pixels): + pass + + @abstractmethod + def debug_context_location_in_image(self, image, x, y, w, h): + pass + + @abstractmethod + def pad_to_multiple(self, value, multiple): + pass + + @abstractmethod + def preresize_imm(self, image, mask, optional_context_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height): + pass + + @abstractmethod + def extend_imm(self, image, mask, optional_context_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor): + pass + + @abstractmethod + def batched_findcontextarea_m(self, mask): + pass + + def findcontextarea_m(self, mask): + # Default implementation for single masks using the batched version + # mask is [1, H, W] + _, x, y, w, h = self.batched_findcontextarea_m(mask) + context = mask[:, y[0]:y[0]+h[0], x[0]:x[0]+w[0]] + return context, x[0].item(), y[0].item(), w[0].item(), h[0].item() + + @abstractmethod + def batched_growcontextarea_m(self, mask, x, y, w, h, extend_factor): + pass + + def growcontextarea_m(self, context, mask, x, y, w, h, extend_factor): + _, nx, ny, nw, nh = self.batched_growcontextarea_m(mask, torch.tensor([x], device=mask.device), torch.tensor([y], device=mask.device), torch.tensor([w], device=mask.device), torch.tensor([h], device=mask.device), extend_factor) + nx, ny, nw, nh = nx[0].item(), ny[0].item(), nw[0].item(), nh[0].item() + ctx = mask[:, ny:ny+nh, nx:nx+nw] + return ctx, nx, ny, nw, nh + + @abstractmethod + def batched_combinecontextmask_m(self, mask, x, y, w, h, optional_context_mask): + pass + + def combinecontextmask_m(self, context, mask, x, y, w, h, optional_context_mask): + _, nx, ny, nw, nh = self.batched_combinecontextmask_m(mask, torch.tensor([x], device=mask.device), torch.tensor([y], device=mask.device), torch.tensor([w], device=mask.device), torch.tensor([h], device=mask.device), optional_context_mask) + nx, ny, nw, nh = nx[0].item(), ny[0].item(), nw[0].item(), nh[0].item() + ctx = mask[:, ny:ny+nh, nx:nx+nw] + return ctx, nx, ny, nw, nh + + @abstractmethod + def crop_magic_im(self, image, mask, x, y, w, h, target_w, target_h, padding, downscale_algorithm, upscale_algorithm, resize_output=True): + pass + + @abstractmethod + def stitch_magic_im(self, canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm): + pass -def rescale_i(samples, width, height, algorithm: str): - samples = samples.movedim(-1, 1) - algorithm = getattr(Image, algorithm.upper()) # i.e. Image.BICUBIC - samples_pil: Image.Image = F.to_pil_image(samples[0].cpu()).resize((width, height), algorithm) - samples = F.to_tensor(samples_pil).unsqueeze(0) - samples = samples.movedim(1, -1) - return samples +class CPUProcessorLogic(ProcessorLogic): + def rescale_i(self, samples, width, height, algorithm: str): + # samples shape: [B, H, W, C] + samples = samples.movedim(-1, 1) # [B, C, H, W] + algorithm_enum = getattr(Image, algorithm.upper()) # i.e. Image.BICUBIC + results = [] + for i in range(samples.shape[0]): + samples_pil: Image.Image = F.to_pil_image(samples[i].cpu()).resize((width, height), algorithm_enum) + results.append(F.to_tensor(samples_pil)) + samples = torch.stack(results, dim=0) + samples = samples.movedim(1, -1) + return samples + def rescale_m(self, samples, width, height, algorithm: str): + # samples shape: [B, H, W] + algorithm_enum = getattr(Image, algorithm.upper()) # i.e. Image.BICUBIC + results = [] + for i in range(samples.shape[0]): + samples_pil: Image.Image = F.to_pil_image(samples[i].cpu()).resize((width, height), algorithm_enum) + results.append(F.to_tensor(samples_pil).squeeze(0)) + samples = torch.stack(results, dim=0) + return samples -def rescale_m(samples, width, height, algorithm: str): - samples = samples.unsqueeze(1) - algorithm = getattr(Image, algorithm.upper()) # i.e. Image.BICUBIC - samples_pil: Image.Image = F.to_pil_image(samples[0].cpu()).resize((width, height), algorithm) - samples = F.to_tensor(samples_pil).unsqueeze(0) - samples = samples.squeeze(1) - return samples + def fillholes_iterative_hipass_fill_m(self, samples): + thresholds = [1, 0.99, 0.97, 0.95, 0.93, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1] + results = [] + for i in range(samples.shape[0]): + mask_np = samples[i].cpu().numpy() + for threshold in thresholds: + thresholded_mask = mask_np >= threshold + closed_mask = binary_closing(thresholded_mask, structure=np.ones((3, 3)), border_value=1) + filled_mask = binary_fill_holes(closed_mask) + mask_np = np.maximum(mask_np, np.where(filled_mask != 0, threshold, 0)) + results.append(torch.from_numpy(mask_np.astype(np.float32))) + return torch.stack(results, dim=0) + def hipassfilter_m(self, samples, threshold): + filtered_mask = samples.clone() + filtered_mask[filtered_mask < threshold] = 0 + return filtered_mask -def preresize_imm(image, mask, optional_context_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height): - current_width, current_height = image.shape[2], image.shape[1] # Image size [batch, height, width, channels] - - if preresize_mode == "ensure minimum resolution": - if current_width >= preresize_min_width and current_height >= preresize_min_height: - return image, mask, optional_context_mask + def expand_m(self, mask, pixels): + sigma = pixels / 4 + kernel_size = math.ceil(sigma * 1.5 + 1) + kernel = np.ones((kernel_size, kernel_size), dtype=np.uint8) + results = [] + for i in range(mask.shape[0]): + mask_np = mask[i].cpu().numpy() + dilated_mask = grey_dilation(mask_np, footprint=kernel) + results.append(torch.from_numpy(dilated_mask.astype(np.float32)).clamp(0.0, 1.0)) + return torch.stack(results, dim=0) - scale_factor_min_width = preresize_min_width / current_width - scale_factor_min_height = preresize_min_height / current_height + def invert_m(self, samples): + inverted_mask = samples.clone() + inverted_mask = 1.0 - inverted_mask + return inverted_mask - scale_factor = max(scale_factor_min_width, scale_factor_min_height) + def blur_m(self, samples, pixels): + sigma = pixels / 4 + results = [] + for i in range(samples.shape[0]): + mask_np = samples[i].cpu().numpy() + blurred_mask = gaussian_filter(mask_np, sigma=sigma) + results.append(torch.from_numpy(blurred_mask).float().clamp(0.0, 1.0)) + return torch.stack(results, dim=0) - target_width = math.ceil(current_width * scale_factor) - target_height = math.ceil(current_height * scale_factor) + def debug_context_location_in_image(self, image, x, y, w, h): + debug_image = image.clone() + debug_image[:, y:y+h, x:x+w, :] = 1.0 - debug_image[:, y:y+h, x:x+w, :] + return debug_image - image = rescale_i(image, target_width, target_height, upscale_algorithm) - mask = rescale_m(mask, target_width, target_height, 'bilinear') - optional_context_mask = rescale_m(optional_context_mask, target_width, target_height, 'bilinear') + def pad_to_multiple(self, value, multiple): + return int(math.ceil(value / multiple) * multiple) + + def preresize_imm(self, image, mask, optional_context_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height): + current_width, current_height = image.shape[2], image.shape[1] - assert target_width >= preresize_min_width and target_height >= preresize_min_height, \ - f"Internal error: After resizing, target size {target_width}x{target_height} is smaller than min size {preresize_min_width}x{preresize_min_height}" + if preresize_mode == "ensure minimum resolution": + if current_width >= preresize_min_width and current_height >= preresize_min_height: + return image, mask, optional_context_mask - elif preresize_mode == "ensure minimum and maximum resolution": - if preresize_min_width <= current_width <= preresize_max_width and preresize_min_height <= current_height <= preresize_max_height: - return image, mask, optional_context_mask + scale_factor_min_width = preresize_min_width / current_width + scale_factor_min_height = preresize_min_height / current_height - scale_factor_min_width = preresize_min_width / current_width - scale_factor_min_height = preresize_min_height / current_height - scale_factor_min = max(scale_factor_min_width, scale_factor_min_height) + scale_factor = max(scale_factor_min_width, scale_factor_min_height) - scale_factor_max_width = preresize_max_width / current_width - scale_factor_max_height = preresize_max_height / current_height - scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) - - if scale_factor_min > 1 and scale_factor_max < 1: - assert False, "Cannot meet both minimum and maximum resolution requirements with aspect ratio preservation." - - if scale_factor_min > 1: # We're upscaling to meet min resolution - scale_factor = scale_factor_min - rescale_algorithm = upscale_algorithm # Use upscale algorithm for min resolution - else: # We're downscaling to meet max resolution - scale_factor = scale_factor_max - rescale_algorithm = downscale_algorithm # Use downscale algorithm for max resolution - - if scale_factor >= 1.0: target_width = math.ceil(current_width * scale_factor) target_height = math.ceil(current_height * scale_factor) - else: - target_width = int(current_width * scale_factor) - target_height = int(current_height * scale_factor) - image = rescale_i(image, target_width, target_height, rescale_algorithm) - mask = rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency - optional_context_mask = rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency + image = self.rescale_i(image, target_width, target_height, upscale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'bilinear') + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'bilinear') + + assert target_width >= preresize_min_width and target_height >= preresize_min_height, \ + f"Internal error: After resizing, target size {target_width}x{target_height} is smaller than min size {preresize_min_width}x{preresize_min_height}" + + elif preresize_mode == "ensure minimum and maximum resolution": + if preresize_min_width <= current_width <= preresize_max_width and preresize_min_height <= current_height <= preresize_max_height: + return image, mask, optional_context_mask + + scale_factor_min_width = preresize_min_width / current_width + scale_factor_min_height = preresize_min_height / current_height + scale_factor_min = max(scale_factor_min_width, scale_factor_min_height) + + scale_factor_max_width = preresize_max_width / current_width + scale_factor_max_height = preresize_max_height / current_height + scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) + + if scale_factor_min > 1 and scale_factor_max < 1: + assert False, "Cannot meet both minimum and maximum resolution requirements with aspect ratio preservation." + + if scale_factor_min > 1: # We're upscaling to meet min resolution + scale_factor = scale_factor_min + rescale_algorithm = upscale_algorithm # Use upscale algorithm for min resolution + else: # We're downscaling to meet max resolution + scale_factor = scale_factor_max + rescale_algorithm = downscale_algorithm # Use downscale algorithm for max resolution + + if scale_factor >= 1.0: + target_width = math.ceil(current_width * scale_factor) + target_height = math.ceil(current_height * scale_factor) + else: + target_width = int(current_width * scale_factor) + target_height = int(current_height * scale_factor) + + image = self.rescale_i(image, target_width, target_height, rescale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency + + assert preresize_min_width <= target_width <= preresize_max_width, \ + f"Internal error: Target width {target_width} is outside the range {preresize_min_width} - {preresize_max_width}" + assert preresize_min_height <= target_height <= preresize_max_height, \ + f"Internal error: Target height {target_height} is outside the range {preresize_min_height} - {preresize_max_height}" + + elif preresize_mode == "ensure maximum resolution": + if current_width <= preresize_max_width and current_height <= preresize_max_height: + return image, mask, optional_context_mask + + scale_factor_max_width = preresize_max_width / current_width + scale_factor_max_height = preresize_max_height / current_height + scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) + + target_width = int(current_width * scale_factor_max) + target_height = int(current_height * scale_factor_max) + + image = self.rescale_i(image, target_width, target_height, downscale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency + + assert target_width <= preresize_max_width and target_height <= preresize_max_height, \ + f"Internal error: Target size {target_width}x{target_height} is greater than max size {preresize_max_width}x{preresize_max_height}" + + return image, mask, optional_context_mask + + def extend_imm(self, image, mask, optional_context_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor): + B, H, W, C = image.shape + + new_H = int(H * (1.0 + extend_up_factor - 1.0 + extend_down_factor - 1.0)) + new_W = int(W * (1.0 + extend_left_factor - 1.0 + extend_right_factor - 1.0)) + + assert new_H >= 0, f"Error: Trying to crop too much, height ({new_H}) must be >= 0" + assert new_W >= 0, f"Error: Trying to crop too much, width ({new_W}) must be >= 0" + + expanded_image = torch.zeros(B, new_H, new_W, C, device=image.device) + expanded_mask = torch.ones(B, new_H, new_W, device=mask.device) + expanded_optional_context_mask = torch.zeros(B, new_H, new_W, device=optional_context_mask.device) + + up_padding = int(H * (extend_up_factor - 1.0)) + down_padding = new_H - H - up_padding + left_padding = int(W * (extend_left_factor - 1.0)) + right_padding = new_W - W - left_padding + + slice_target_up = max(0, up_padding) + slice_target_down = min(new_H, up_padding + H) + slice_target_left = max(0, left_padding) + slice_target_right = min(new_W, left_padding + W) + + slice_source_up = max(0, -up_padding) + slice_source_down = min(H, new_H - up_padding) + slice_source_left = max(0, -left_padding) + slice_source_right = min(W, new_W - left_padding) + + image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + + expanded_image[:, :, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = image[:, :, slice_source_up:slice_source_down, slice_source_left:slice_source_right] + if up_padding > 0: + expanded_image[:, :, :up_padding, slice_target_left:slice_target_right] = image[:, :, 0:1, slice_source_left:slice_source_right].repeat(1, 1, up_padding, 1) + if down_padding > 0: + expanded_image[:, :, -down_padding:, slice_target_left:slice_target_right] = image[:, :, -1:, slice_source_left:slice_source_right].repeat(1, 1, down_padding, 1) + if left_padding > 0: + expanded_image[:, :, slice_target_up:slice_target_down, :left_padding] = expanded_image[:, :, slice_target_up:slice_target_down, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) + if right_padding > 0: + expanded_image[:, :, slice_target_up:slice_target_down, -right_padding:] = expanded_image[:, :, slice_target_up:slice_target_down, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) + + expanded_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] + expanded_optional_context_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = optional_context_mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] + + expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + + return expanded_image, expanded_mask, expanded_optional_context_mask + + def batched_findcontextarea_m(self, mask): + # Optimized GPU implementation or CPU fallback + B, H, W = mask.shape + device = mask.device - assert preresize_min_width <= target_width <= preresize_max_width, \ - f"Internal error: Target width {target_width} is outside the range {preresize_min_width} - {preresize_max_width}" - assert preresize_min_height <= target_height <= preresize_max_height, \ - f"Internal error: Target height {target_height} is outside the range {preresize_min_height} - {preresize_max_height}" + # If on GPU, we can use vectorized approach. + # But for now, let's just use the shared logic that works on both. + # Wait, I'll use the vectorized one in the NEXT step for GPU specifically. + # This global step just fixes the placeholder. + + x_list, y_list, w_list, h_list = [], [], [], [] + for i in range(B): + mask_squeezed = mask[i] + non_zero_indices = torch.nonzero(mask_squeezed) + if non_zero_indices.numel() == 0: + bx, by, bw, bh = -1, -1, -1, -1 + else: + by = torch.min(non_zero_indices[:, 0]).item() + bx = torch.min(non_zero_indices[:, 1]).item() + by_max = torch.max(non_zero_indices[:, 0]).item() + bx_max = torch.max(non_zero_indices[:, 1]).item() + bw = bx_max - bx + 1 + bh = by_max - by + 1 + x_list.append(bx) + y_list.append(by) + w_list.append(bw) + h_list.append(bh) + return None, torch.tensor(x_list, device=device), torch.tensor(y_list, device=device), torch.tensor(w_list, device=device), torch.tensor(h_list, device=device) - elif preresize_mode == "ensure maximum resolution": - if current_width <= preresize_max_width and current_height <= preresize_max_height: - return image, mask, optional_context_mask + def batched_growcontextarea_m(self, mask, x, y, w, h, extend_factor): + img_h, img_w = mask.shape[1], mask.shape[2] + device = mask.device + + grow_x = (w.float() * (extend_factor - 1.0) / 2.0).round().long() + grow_y = (h.float() * (extend_factor - 1.0) / 2.0).round().long() + + new_x = torch.clamp(x - grow_x, min=0) + new_y = torch.clamp(y - grow_y, min=0) + new_x2 = torch.clamp(x + w + grow_x, max=img_w) + new_y2 = torch.clamp(y + h + grow_y, max=img_h) + + new_w = new_x2 - new_x + new_h = new_y2 - new_y + + empty = (w == -1) + new_x[empty] = 0 + new_y[empty] = 0 + new_w[empty] = img_w + new_h[empty] = img_h + + return None, new_x, new_y, new_w, new_h - scale_factor_max_width = preresize_max_width / current_width - scale_factor_max_height = preresize_max_height / current_height - scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) + def batched_combinecontextmask_m(self, mask, x, y, w, h, optional_context_mask): + _, ox, oy, ow, oh = self.batched_findcontextarea_m(optional_context_mask) + + mask_x_neg1 = (x == -1) + x_1 = torch.where(mask_x_neg1, ox, x) + y_1 = torch.where(mask_x_neg1, oy, y) + w_1 = torch.where(mask_x_neg1, ow, w) + h_1 = torch.where(mask_x_neg1, oh, h) + + mask_ox_neg1 = (ox == -1) + ox_2 = torch.where(mask_ox_neg1, x_1, ox) + oy_2 = torch.where(mask_ox_neg1, y_1, oy) + ow_2 = torch.where(mask_ox_neg1, w_1, ow) + oh_2 = torch.where(mask_ox_neg1, h_1, oh) + + new_x = torch.min(x_1, ox_2) + new_y = torch.min(y_1, oy_2) + new_x_max = torch.max(x_1 + w_1, ox_2 + ow_2) + new_y_max = torch.max(y_1 + h_1, oy_2 + oh_2) + new_w = new_x_max - new_x + new_h = new_y_max - new_y + + both_empty = (x_1 == -1) + new_x[both_empty] = -1 + new_y[both_empty] = -1 + new_w[both_empty] = -1 + new_h[both_empty] = -1 + + return None, new_x, new_y, new_w, new_h - target_width = int(current_width * scale_factor_max) - target_height = int(current_height * scale_factor_max) + def crop_magic_im(self, image, mask, x, y, w, h, target_w, target_h, padding, downscale_algorithm, upscale_algorithm, resize_output=True): + image = image.clone() + mask = mask.clone() + + # Check for invalid inputs + if target_w <= 0 or target_h <= 0 or w == 0 or h == 0: + return image, 0, 0, image.shape[2], image.shape[1], image, mask, 0, 0, image.shape[2], image.shape[1] - image = rescale_i(image, target_width, target_height, downscale_algorithm) - mask = rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency - optional_context_mask = rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency + # Step 1: Pad target dimensions to be multiples of padding + if padding != 0: + target_w = self.pad_to_multiple(target_w, padding) + target_h = self.pad_to_multiple(target_h, padding) - assert target_width <= preresize_max_width and target_height <= preresize_max_height, \ - f"Internal error: Target size {target_width}x{target_height} is greater than max size {preresize_max_width}x{preresize_max_height}" + # Step 2: Calculate target aspect ratio + target_aspect_ratio = target_w / target_h - return image, mask, optional_context_mask + # Step 3: Grow current context area to meet the target aspect ratio + B, image_h, image_w, C = image.shape + context_aspect_ratio = w / h + if context_aspect_ratio < target_aspect_ratio: + # Grow width to meet aspect ratio + new_w = int(h * target_aspect_ratio) + new_h = h + new_x = x - (new_w - w) // 2 + new_y = y + # Adjust new_x to keep within bounds + if new_x < 0: + shift = -new_x + if new_x + new_w + shift <= image_w: + new_x += shift + else: + overflow = (new_w - image_w) // 2 + new_x = -overflow + elif new_x + new_w > image_w: + overflow = new_x + new_w - image_w + if new_x - overflow >= 0: + new_x -= overflow + else: + overflow = (new_w - image_w) // 2 + new_x = -overflow -def fillholes_iterative_hipass_fill_m(samples): - thresholds = [1, 0.99, 0.97, 0.95, 0.93, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1] + else: + # Grow height to meet aspect ratio + new_w = w + new_h = int(w / target_aspect_ratio) + new_x = x + new_y = y - (new_h - h) // 2 - mask_np = samples.squeeze(0).cpu().numpy() + # Adjust new_y to keep within bounds + if new_y < 0: + shift = -new_y + if new_y + new_h + shift <= image_h: + new_y += shift + else: + overflow = (new_h - image_h) // 2 + new_y = -overflow + elif new_y + new_h > image_h: + overflow = new_y + new_h - image_h + if new_y - overflow >= 0: + new_y -= overflow + else: + overflow = (new_h - image_h) // 2 + new_y = -overflow - for threshold in thresholds: - thresholded_mask = mask_np >= threshold - closed_mask = binary_closing(thresholded_mask, structure=np.ones((3, 3)), border_value=1) - filled_mask = binary_fill_holes(closed_mask) - mask_np = np.maximum(mask_np, np.where(filled_mask != 0, threshold, 0)) + # Step 4: Grow the image to accommodate the new context area + up_padding, down_padding, left_padding, right_padding = 0, 0, 0, 0 - final_mask = torch.from_numpy(mask_np.astype(np.float32)).unsqueeze(0) + expanded_image_w = image_w + expanded_image_h = image_h - return final_mask - - -def hipassfilter_m(samples, threshold): - filtered_mask = samples.clone() - filtered_mask[filtered_mask < threshold] = 0 - return filtered_mask - - -def expand_m(mask, pixels): - sigma = pixels / 4 - mask_np = mask.squeeze(0).cpu().numpy() - kernel_size = math.ceil(sigma * 1.5 + 1) - kernel = np.ones((kernel_size, kernel_size), dtype=np.uint8) - dilated_mask = grey_dilation(mask_np, footprint=kernel) - dilated_mask = dilated_mask.astype(np.float32) - dilated_mask = torch.from_numpy(dilated_mask) - dilated_mask = torch.clamp(dilated_mask, 0.0, 1.0) - return dilated_mask.unsqueeze(0) - - -def invert_m(samples): - inverted_mask = samples.clone() - inverted_mask = 1.0 - inverted_mask - return inverted_mask - - -def blur_m(samples, pixels): - mask = samples.squeeze(0) - sigma = pixels / 4 - mask_np = mask.cpu().numpy() - blurred_mask = gaussian_filter(mask_np, sigma=sigma) - blurred_mask = torch.from_numpy(blurred_mask).float() - blurred_mask = torch.clamp(blurred_mask, 0.0, 1.0) - return blurred_mask.unsqueeze(0) - - -def extend_imm(image, mask, optional_context_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor): - B, H, W, C = image.shape - - new_H = int(H * (1.0 + extend_up_factor - 1.0 + extend_down_factor - 1.0)) - new_W = int(W * (1.0 + extend_left_factor - 1.0 + extend_right_factor - 1.0)) - - assert new_H >= 0, f"Error: Trying to crop too much, height ({new_H}) must be >= 0" - assert new_W >= 0, f"Error: Trying to crop too much, width ({new_W}) must be >= 0" - - expanded_image = torch.zeros(1, new_H, new_W, C, device=image.device) - expanded_mask = torch.ones(1, new_H, new_W, device=mask.device) - expanded_optional_context_mask = torch.zeros(1, new_H, new_W, device=optional_context_mask.device) - - up_padding = int(H * (extend_up_factor - 1.0)) - down_padding = new_H - H - up_padding - left_padding = int(W * (extend_left_factor - 1.0)) - right_padding = new_W - W - left_padding - - slice_target_up = max(0, up_padding) - slice_target_down = min(new_H, up_padding + H) - slice_target_left = max(0, left_padding) - slice_target_right = min(new_W, left_padding + W) - - slice_source_up = max(0, -up_padding) - slice_source_down = min(H, new_H - up_padding) - slice_source_left = max(0, -left_padding) - slice_source_right = min(W, new_W - left_padding) - - image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] - expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] - - expanded_image[:, :, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = image[:, :, slice_source_up:slice_source_down, slice_source_left:slice_source_right] - if up_padding > 0: - expanded_image[:, :, :up_padding, slice_target_left:slice_target_right] = image[:, :, 0:1, slice_source_left:slice_source_right].repeat(1, 1, up_padding, 1) - if down_padding > 0: - expanded_image[:, :, -down_padding:, slice_target_left:slice_target_right] = image[:, :, -1:, slice_source_left:slice_source_right].repeat(1, 1, down_padding, 1) - if left_padding > 0: - expanded_image[:, :, :, :left_padding] = expanded_image[:, :, :, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) - if right_padding > 0: - expanded_image[:, :, :, -right_padding:] = expanded_image[:, :, :, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) - - expanded_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] - expanded_optional_context_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = optional_context_mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] - - expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] - image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] - - return expanded_image, expanded_mask, expanded_optional_context_mask - - -def debug_context_location_in_image(image, x, y, w, h): - debug_image = image.clone() - debug_image[:, y:y+h, x:x+w, :] = 1.0 - debug_image[:, y:y+h, x:x+w, :] - return debug_image - - -def findcontextarea_m(mask): - mask_squeezed = mask[0] # Now shape is [H, W] - non_zero_indices = torch.nonzero(mask_squeezed) - - H, W = mask_squeezed.shape - - if non_zero_indices.numel() == 0: - x, y = -1, -1 - w, h = -1, -1 - else: - y = torch.min(non_zero_indices[:, 0]).item() - x = torch.min(non_zero_indices[:, 1]).item() - y_max = torch.max(non_zero_indices[:, 0]).item() - x_max = torch.max(non_zero_indices[:, 1]).item() - w = x_max - x + 1 # +1 to include the max index - h = y_max - y + 1 # +1 to include the max index - - context = mask[:, y:y+h, x:x+w] - return context, x, y, w, h - - -def growcontextarea_m(context, mask, x, y, w, h, extend_factor): - img_h, img_w = mask.shape[1], mask.shape[2] - - # Compute intended growth in each direction - grow_left = int(round(w * (extend_factor-1.0) / 2.0)) - grow_right = int(round(w * (extend_factor-1.0) / 2.0)) - grow_up = int(round(h * (extend_factor-1.0) / 2.0)) - grow_down = int(round(h * (extend_factor-1.0) / 2.0)) - - # Try to grow left, but clamp at 0 - new_x = x - grow_left - if new_x < 0: - new_x = 0 - - # Try to grow up, but clamp at 0 - new_y = y - grow_up - if new_y < 0: - new_y = 0 - - # Right edge - new_x2 = x + w + grow_right - if new_x2 > img_w: - new_x2 = img_w - - # Bottom edge - new_y2 = y + h + grow_down - if new_y2 > img_h: - new_y2 = img_h - - # New width and height - new_w = new_x2 - new_x - new_h = new_y2 - new_y - - # Extract the context - new_context = mask[:, new_y:new_y+new_h, new_x:new_x+new_w] - - if new_h < 0 or new_w < 0: - new_x = 0 - new_y = 0 - new_w = mask.shape[2] - new_h = mask.shape[1] - - return new_context, new_x, new_y, new_w, new_h - - -def combinecontextmask_m(context, mask, x, y, w, h, optional_context_mask): - _, x_opt, y_opt, w_opt, h_opt = findcontextarea_m(optional_context_mask) - if x == -1: - x, y, w, h = x_opt, y_opt, w_opt, h_opt - if x_opt == -1: - x_opt, y_opt, w_opt, h_opt = x, y, w, h - if x == -1: - return torch.zeros(1, 0, 0, device=mask.device), -1, -1, -1, -1 - new_x = min(x, x_opt) - new_y = min(y, y_opt) - new_x_max = max(x + w, x_opt + w_opt) - new_y_max = max(y + h, y_opt + h_opt) - new_w = new_x_max - new_x - new_h = new_y_max - new_y - combined_context = mask[:, new_y:new_y+new_h, new_x:new_x+new_w] - return combined_context, new_x, new_y, new_w, new_h - - -def pad_to_multiple(value, multiple): - return int(math.ceil(value / multiple) * multiple) - - -def crop_magic_im(image, mask, x, y, w, h, target_w, target_h, padding, downscale_algorithm, upscale_algorithm): - image = image.clone() - mask = mask.clone() - - # Ok this is the most complex function in this node. The one that does the magic after all the preparation done by the other nodes. - # Basically this function determines the right context area that encompasses the whole context area (mask+optional_context_mask), - # that is ideally within the bounds of the original image, and that has the right aspect ratio to match target width and height. - # It may grow the image if the aspect ratio wouldn't fit in the original image. - # It keeps track of that growing to then be able to crop the image in the stitch node. - # Finally, it crops the context area and resizes it to be exactly target_w and target_h. - # It keeps track of that resize to be able to revert it in the stitch node. - - # Check for invalid inputs - if target_w <= 0 or target_h <= 0 or w == 0 or h == 0: - return image, 0, 0, image.shape[2], image.shape[1], image, mask, 0, 0, image.shape[2], image.shape[1] - - # Step 1: Pad target dimensions to be multiples of padding - if padding != 0: - target_w = pad_to_multiple(target_w, padding) - target_h = pad_to_multiple(target_h, padding) - - # Step 2: Calculate target aspect ratio - target_aspect_ratio = target_w / target_h - - # Step 3: Grow current context area to meet the target aspect ratio - B, image_h, image_w, C = image.shape - context_aspect_ratio = w / h - if context_aspect_ratio < target_aspect_ratio: - # Grow width to meet aspect ratio - new_w = int(h * target_aspect_ratio) - new_h = h - new_x = x - (new_w - w) // 2 - new_y = y - - # Adjust new_x to keep within bounds + # Adjust width for left overflow (x < 0) and right overflow (x + w > image_w) if new_x < 0: - shift = -new_x - if new_x + new_w + shift <= image_w: - new_x += shift - else: - overflow = (new_w - image_w) // 2 - new_x = -overflow - elif new_x + new_w > image_w: - overflow = new_x + new_w - image_w - if new_x - overflow >= 0: - new_x -= overflow - else: - overflow = (new_w - image_w) // 2 - new_x = -overflow - - else: - # Grow height to meet aspect ratio - new_w = w - new_h = int(w / target_aspect_ratio) - new_x = x - new_y = y - (new_h - h) // 2 - - # Adjust new_y to keep within bounds + left_padding = -new_x + expanded_image_w += left_padding + if new_x + new_w > image_w: + right_padding = (new_x + new_w - image_w) + expanded_image_w += right_padding + # Adjust height for top overflow (y < 0) and bottom overflow (y + h > image_h) if new_y < 0: - shift = -new_y - if new_y + new_h + shift <= image_h: - new_y += shift + up_padding = -new_y + expanded_image_h += up_padding + if new_y + new_h > image_h: + down_padding = (new_y + new_h - image_h) + expanded_image_h += down_padding + + # Step 5: Create the new image and mask + expanded_image = torch.zeros((image.shape[0], expanded_image_h, expanded_image_w, image.shape[3]), device=image.device) + expanded_mask = torch.ones((mask.shape[0], expanded_image_h, expanded_image_w), device=mask.device) + + # Reorder the tensors to match the required dimension format for padding + image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + + # Ensure the expanded image has enough room to hold the padded version of the original image + expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = image + + # Fill the new extended areas with the edge values of the image + if up_padding > 0: + expanded_image[:, :, :up_padding, left_padding:left_padding + image_w] = expanded_image[:, :, up_padding:up_padding + 1, left_padding:left_padding + image_w].repeat(1, 1, up_padding, 1) + if down_padding > 0: + expanded_image[:, :, -down_padding:, left_padding:left_padding + image_w] = expanded_image[:, :, up_padding + image_h - 1:up_padding + image_h, left_padding:left_padding + image_w].repeat(1, 1, down_padding, 1) + if left_padding > 0: + expanded_image[:, :, up_padding:up_padding + image_h, :left_padding] = expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) + if right_padding > 0: + expanded_image[:, :, up_padding:up_padding + image_h, -right_padding:] = expanded_image[:, :, up_padding:up_padding + image_h, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) + + # Reorder the tensors back to [B, H, W, C] format + expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + + # Same for the mask + expanded_mask[:, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = mask + + # Record the cto values (canvas to original) + cto_x = left_padding + cto_y = up_padding + cto_w = image_w + cto_h = image_h + + # The final expanded image and mask + canvas_image = expanded_image + canvas_mask = expanded_mask + + # Step 6: Crop the image and mask around x, y, w, h + ctc_x = new_x+left_padding + ctc_y = new_y+up_padding + ctc_w = new_w + ctc_h = new_h + + # Crop the image and mask + cropped_image = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + cropped_mask = canvas_mask[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + + # Step 7: Resize image and mask to the target width and height + if resize_output: + # Decide which algorithm to use based on the scaling direction + if target_w > ctc_w or target_h > ctc_h: # Upscaling + cropped_image = self.rescale_i(cropped_image, target_w, target_h, upscale_algorithm) + cropped_mask = self.rescale_m(cropped_mask, target_w, target_h, upscale_algorithm) + else: # Downscaling + cropped_image = self.rescale_i(cropped_image, target_w, target_h, downscale_algorithm) + cropped_mask = self.rescale_m(cropped_mask, target_w, target_h, downscale_algorithm) + + return canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h + + def stitch_magic_im(self, canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm): + canvas_image = canvas_image.clone() + inpainted_image = inpainted_image.clone() + mask = mask.clone() + + # Resize inpainted image and mask to match the context size + B, h, w, _ = inpainted_image.shape + if ctc_w > w or ctc_h > h: # Upscaling + resized_image = self.rescale_i(inpainted_image, ctc_w, ctc_h, upscale_algorithm) + resized_mask = self.rescale_m(mask, ctc_w, ctc_h, upscale_algorithm) + else: # Downscaling + resized_image = self.rescale_i(inpainted_image, ctc_w, ctc_h, downscale_algorithm) + resized_mask = self.rescale_m(mask, ctc_w, ctc_h, downscale_algorithm) + + # Clamp mask to [0, 1] and expand to match image channels + resized_mask = resized_mask.clamp(0, 1).unsqueeze(-1) # shape: [B, H, W, 1] + + # Extract the canvas region we're about to overwrite + canvas_crop = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + + # Blend: new = mask * inpainted + (1 - mask) * canvas + blended = resized_mask * resized_image + (1.0 - resized_mask) * canvas_crop + + # Paste the blended region back onto the canvas + canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] = blended + + # Final crop to get back the original image area + output_image = canvas_image[:, cto_y:cto_y + cto_h, cto_x:cto_x + cto_w] + + return output_image + + +class GPUProcessorLogic(ProcessorLogic): + def rescale_i(self, samples, width, height, algorithm: str): + # samples shape: [B, H, W, C] + samples = samples.movedim(-1, 1) # [B, C, H, W] + + mode = algorithm.lower() + if mode == 'lanczos' or mode == 'box' or mode == 'hamming': + mode = 'bicubic' # Fallback for now as torch doesn't support these directly in interpolate + + samples = TF.interpolate(samples, size=(height, width), mode=mode, align_corners=False if mode not in ['nearest', 'area'] else None) + samples = samples.movedim(1, -1) + return samples + + def rescale_m(self, samples, width, height, algorithm: str): + # samples shape: [B, H, W] -> needs [B, C, H, W] for interpolate + samples = samples.unsqueeze(1) + + mode = algorithm.lower() + if mode == 'lanczos' or mode == 'box' or mode == 'hamming': + mode = 'bicubic' # Fallback + + samples = TF.interpolate(samples, size=(height, width), mode=mode, align_corners=False if mode not in ['nearest', 'area'] else None) + samples = samples.squeeze(1) + return samples + + def fillholes_iterative_hipass_fill_m(self, samples): + # samples shape: [B, H, W] + B, H, W = samples.shape + device = samples.device + + # We find areas connected to the border in the inverted mask. + # These are "outside" areas. Everything else is either mask or a hole. + + # Invert: 1 where it's 0 (potential hole/outside), 0 where it's 1 (mask/blocker) + inv_mask = 1.0 - (samples > 0.5).float() + + # Pad to have a border for flood fill + padded_inv = torch.zeros((B, H+2, W+2), device=device) + padded_inv[:, 1:-1, 1:-1] = inv_mask + + # Initial seeds: the padding border + outside = torch.zeros((B, H+2, W+2), device=device) + outside[:, 0, :] = 1 + outside[:, -1, :] = 1 + outside[:, :, 0] = 1 + outside[:, :, -1] = 1 + + # Propagate 'outside' status through inv_mask + # We use a power-of-two growth for efficiency? No, simple iterative for now. + # But wait, max(H, W) is too many iterations. + # A better way is to use a large kernel or repeated doublings. + + # Actually, for 512-1024px, 512 iterations of MaxPool are still quite fast compared to CPU. + # But we can speed it up by using larger strides/kernels if we don't care about the exact shape? + # No, we need exact. + + curr_outside = outside + for _ in range(max(H, W)): + # Dilation + next_outside = TF.max_pool2d(curr_outside.unsqueeze(1), kernel_size=3, stride=1, padding=1).squeeze(1) + # Mask by inv_mask (only propagate to 0-areas) + next_outside = next_outside * padded_inv + # Also keep original border + next_outside[:, 0, :] = 1 + next_outside[:, -1, :] = 1 + next_outside[:, :, 0] = 1 + next_outside[:, :, -1] = 1 + + if torch.all(next_outside == curr_outside): + break + curr_outside = next_outside + + # Final mask: anything not 'outside' + filled = 1.0 - curr_outside[:, 1:-1, 1:-1] + + # Combine with original (ensure original mask pixels are kept) + return torch.max(samples, filled) + + def hipassfilter_m(self, samples, threshold): + filtered_mask = samples.clone() + filtered_mask[filtered_mask < threshold] = 0 + return filtered_mask + + def expand_m(self, mask, pixels): + # Dilation can be approximated with max pooling + sigma = pixels / 4 + kernel_size = math.ceil(sigma * 1.5 + 1) + if kernel_size % 2 == 0: + kernel_size += 1 + + padding = kernel_size // 2 + + # mask is [B, H, W] -> [B, 1, H, W] + mask_in = mask.unsqueeze(1) + + # MaxPool2d is equivalent to dilation with a square kernel of 1s + dilated = TF.max_pool2d(mask_in, kernel_size=kernel_size, stride=1, padding=padding) + + return dilated.squeeze(1) + + def invert_m(self, samples): + inverted_mask = samples.clone() + inverted_mask = 1.0 - inverted_mask + return inverted_mask + + def blur_m(self, samples, pixels): + sigma = pixels / 4 + # Gaussian blur implementation on GPU + kernel_size = 2 * int(4.0 * sigma + 0.5) + 1 + + # Create gaussian kernel + x = torch.arange(kernel_size, device=samples.device) - (kernel_size - 1) / 2 + kernel_1d = torch.exp(-0.5 * (x / sigma).pow(2)) + kernel_1d = kernel_1d / kernel_1d.sum() + + kernel_2d = kernel_1d.unsqueeze(1) * kernel_1d.unsqueeze(0) + kernel_2d = kernel_2d.expand(1, 1, kernel_size, kernel_size) + + mask_in = samples.unsqueeze(1) + blurred = TF.conv2d(mask_in, kernel_2d, padding=kernel_size//2, groups=1) + + return blurred.squeeze(1).clamp(0.0, 1.0) + + def debug_context_location_in_image(self, image, x, y, w, h): + debug_image = image.clone() + debug_image[:, y:y+h, x:x+w, :] = 1.0 - debug_image[:, y:y+h, x:x+w, :] + return debug_image + + def pad_to_multiple(self, value, multiple): + return int(math.ceil(value / multiple) * multiple) + + def preresize_imm(self, image, mask, optional_context_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height): + current_width, current_height = image.shape[2], image.shape[1] + + if preresize_mode == "ensure minimum resolution": + if current_width >= preresize_min_width and current_height >= preresize_min_height: + return image, mask, optional_context_mask + + scale_factor_min_width = preresize_min_width / current_width + scale_factor_min_height = preresize_min_height / current_height + + scale_factor = max(scale_factor_min_width, scale_factor_min_height) + + target_width = math.ceil(current_width * scale_factor) + target_height = math.ceil(current_height * scale_factor) + + image = self.rescale_i(image, target_width, target_height, upscale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'bilinear') + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'bilinear') + + assert target_width >= preresize_min_width and target_height >= preresize_min_height, \ + f"Internal error: After resizing, target size {target_width}x{target_height} is smaller than min size {preresize_min_width}x{preresize_min_height}" + + elif preresize_mode == "ensure minimum and maximum resolution": + if preresize_min_width <= current_width <= preresize_max_width and preresize_min_height <= current_height <= preresize_max_height: + return image, mask, optional_context_mask + + scale_factor_min_width = preresize_min_width / current_width + scale_factor_min_height = preresize_min_height / current_height + scale_factor_min = max(scale_factor_min_width, scale_factor_min_height) + + scale_factor_max_width = preresize_max_width / current_width + scale_factor_max_height = preresize_max_height / current_height + scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) + + if scale_factor_min > 1 and scale_factor_max < 1: + assert False, "Cannot meet both minimum and maximum resolution requirements with aspect ratio preservation." + + if scale_factor_min > 1: # We're upscaling to meet min resolution + scale_factor = scale_factor_min + rescale_algorithm = upscale_algorithm # Use upscale algorithm for min resolution + else: # We're downscaling to meet max resolution + scale_factor = scale_factor_max + rescale_algorithm = downscale_algorithm # Use downscale algorithm for max resolution + + if scale_factor >= 1.0: + target_width = math.ceil(current_width * scale_factor) + target_height = math.ceil(current_height * scale_factor) else: - overflow = (new_h - image_h) // 2 - new_y = -overflow - elif new_y + new_h > image_h: - overflow = new_y + new_h - image_h - if new_y - overflow >= 0: - new_y -= overflow - else: - overflow = (new_h - image_h) // 2 - new_y = -overflow + target_width = int(current_width * scale_factor) + target_height = int(current_height * scale_factor) - # Step 4: Grow the image to accommodate the new context area - up_padding, down_padding, left_padding, right_padding = 0, 0, 0, 0 + image = self.rescale_i(image, target_width, target_height, rescale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency + + assert preresize_min_width <= target_width <= preresize_max_width, \ + f"Internal error: Target width {target_width} is outside the range {preresize_min_width} - {preresize_max_width}" + assert preresize_min_height <= target_height <= preresize_max_height, \ + f"Internal error: Target height {target_height} is outside the range {preresize_min_height} - {preresize_max_height}" - expanded_image_w = image_w - expanded_image_h = image_h + elif preresize_mode == "ensure maximum resolution": + if current_width <= preresize_max_width and current_height <= preresize_max_height: + return image, mask, optional_context_mask - # Adjust width for left overflow (x < 0) and right overflow (x + w > image_w) - if new_x < 0: - left_padding = -new_x - expanded_image_w += left_padding - if new_x + new_w > image_w: - right_padding = (new_x + new_w - image_w) - expanded_image_w += right_padding - # Adjust height for top overflow (y < 0) and bottom overflow (y + h > image_h) - if new_y < 0: - up_padding = -new_y - expanded_image_h += up_padding - if new_y + new_h > image_h: - down_padding = (new_y + new_h - image_h) - expanded_image_h += down_padding + scale_factor_max_width = preresize_max_width / current_width + scale_factor_max_height = preresize_max_height / current_height + scale_factor_max = min(scale_factor_max_width, scale_factor_max_height) - # Step 5: Create the new image and mask - expanded_image = torch.zeros((image.shape[0], expanded_image_h, expanded_image_w, image.shape[3]), device=image.device) - expanded_mask = torch.ones((mask.shape[0], expanded_image_h, expanded_image_w), device=mask.device) + target_width = int(current_width * scale_factor_max) + target_height = int(current_height * scale_factor_max) - # Reorder the tensors to match the required dimension format for padding - image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] - expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + image = self.rescale_i(image, target_width, target_height, downscale_algorithm) + mask = self.rescale_m(mask, target_width, target_height, 'nearest') # Always nearest for efficiency + optional_context_mask = self.rescale_m(optional_context_mask, target_width, target_height, 'nearest') # Always nearest for efficiency - # Ensure the expanded image has enough room to hold the padded version of the original image - expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = image + assert target_width <= preresize_max_width and target_height <= preresize_max_height, \ + f"Internal error: Target size {target_width}x{target_height} is greater than max size {preresize_max_width}x{preresize_max_height}" - # Fill the new extended areas with the edge values of the image - if up_padding > 0: - expanded_image[:, :, :up_padding, left_padding:left_padding + image_w] = image[:, :, 0:1, left_padding:left_padding + image_w].repeat(1, 1, up_padding, 1) - if down_padding > 0: - expanded_image[:, :, -down_padding:, left_padding:left_padding + image_w] = image[:, :, -1:, left_padding:left_padding + image_w].repeat(1, 1, down_padding, 1) - if left_padding > 0: - expanded_image[:, :, up_padding:up_padding + image_h, :left_padding] = expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) - if right_padding > 0: - expanded_image[:, :, up_padding:up_padding + image_h, -right_padding:] = expanded_image[:, :, up_padding:up_padding + image_h, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) + return image, mask, optional_context_mask - # Reorder the tensors back to [B, H, W, C] format - expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] - image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + def extend_imm(self, image, mask, optional_context_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor): + B, H, W, C = image.shape - # Same for the mask - expanded_mask[:, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = mask + new_H = int(H * (1.0 + extend_up_factor - 1.0 + extend_down_factor - 1.0)) + new_W = int(W * (1.0 + extend_left_factor - 1.0 + extend_right_factor - 1.0)) - # Record the cto values (canvas to original) - cto_x = left_padding - cto_y = up_padding - cto_w = image_w - cto_h = image_h + assert new_H >= 0, f"Error: Trying to crop too much, height ({new_H}) must be >= 0" + assert new_W >= 0, f"Error: Trying to crop too much, width ({new_W}) must be >= 0" - # The final expanded image and mask - canvas_image = expanded_image - canvas_mask = expanded_mask + expanded_image = torch.zeros(B, new_H, new_W, C, device=image.device) + expanded_mask = torch.ones(B, new_H, new_W, device=mask.device) + expanded_optional_context_mask = torch.zeros(B, new_H, new_W, device=optional_context_mask.device) - # Step 6: Crop the image and mask around x, y, w, h - ctc_x = new_x+left_padding - ctc_y = new_y+up_padding - ctc_w = new_w - ctc_h = new_h + up_padding = int(H * (extend_up_factor - 1.0)) + down_padding = new_H - H - up_padding + left_padding = int(W * (extend_left_factor - 1.0)) + right_padding = new_W - W - left_padding - # Crop the image and mask - cropped_image = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] - cropped_mask = canvas_mask[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + slice_target_up = max(0, up_padding) + slice_target_down = min(new_H, up_padding + H) + slice_target_left = max(0, left_padding) + slice_target_right = min(new_W, left_padding + W) - # Step 7: Resize image and mask to the target width and height - # Decide which algorithm to use based on the scaling direction - if target_w > ctc_w or target_h > ctc_h: # Upscaling - cropped_image = rescale_i(cropped_image, target_w, target_h, upscale_algorithm) - cropped_mask = rescale_m(cropped_mask, target_w, target_h, upscale_algorithm) - else: # Downscaling - cropped_image = rescale_i(cropped_image, target_w, target_h, downscale_algorithm) - cropped_mask = rescale_m(cropped_mask, target_w, target_h, downscale_algorithm) + slice_source_up = max(0, -up_padding) + slice_source_down = min(H, new_H - up_padding) + slice_source_left = max(0, -left_padding) + slice_source_right = min(W, new_W - left_padding) - return canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h + image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + expanded_image[:, :, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = image[:, :, slice_source_up:slice_source_down, slice_source_left:slice_source_right] + if up_padding > 0: + expanded_image[:, :, :up_padding, slice_target_left:slice_target_right] = image[:, :, 0:1, slice_source_left:slice_source_right].repeat(1, 1, up_padding, 1) + if down_padding > 0: + expanded_image[:, :, -down_padding:, slice_target_left:slice_target_right] = image[:, :, -1:, slice_source_left:slice_source_right].repeat(1, 1, down_padding, 1) + if left_padding > 0: + expanded_image[:, :, slice_target_up:slice_target_down, :left_padding] = expanded_image[:, :, slice_target_up:slice_target_down, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) + if right_padding > 0: + expanded_image[:, :, slice_target_up:slice_target_down, -right_padding:] = expanded_image[:, :, slice_target_up:slice_target_down, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) -def stitch_magic_im(canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm): - canvas_image = canvas_image.clone() - inpainted_image = inpainted_image.clone() - mask = mask.clone() + expanded_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] + expanded_optional_context_mask[:, slice_target_up:slice_target_down, slice_target_left:slice_target_right] = optional_context_mask[:, slice_source_up:slice_source_down, slice_source_left:slice_source_right] - # Resize inpainted image and mask to match the context size - _, h, w, _ = inpainted_image.shape - if ctc_w > w or ctc_h > h: # Upscaling - resized_image = rescale_i(inpainted_image, ctc_w, ctc_h, upscale_algorithm) - resized_mask = rescale_m(mask, ctc_w, ctc_h, upscale_algorithm) - else: # Downscaling - resized_image = rescale_i(inpainted_image, ctc_w, ctc_h, downscale_algorithm) - resized_mask = rescale_m(mask, ctc_w, ctc_h, downscale_algorithm) + expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] - # Clamp mask to [0, 1] and expand to match image channels - resized_mask = resized_mask.clamp(0, 1).unsqueeze(-1) # shape: [1, H, W, 1] + return expanded_image, expanded_mask, expanded_optional_context_mask - # Extract the canvas region we're about to overwrite - canvas_crop = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + def batched_findcontextarea_m(self, mask): + # Optimized GPU implementation using parallel max/where + B, H, W = mask.shape + device = mask.device + + # Find which rows and columns have any mask content + any_y = mask.max(dim=2).values > 0.5 # [B, H] + any_x = mask.max(dim=1).values > 0.5 # [B, W] + + def get_min_max(any_dim, size): + indices = torch.arange(size, device=device).unsqueeze(0).expand(B, -1) + # Use large value for min where it's False, -1 for max where it's False + min_indices = torch.where(any_dim, indices, torch.tensor(size, device=device)) + max_indices = torch.where(any_dim, indices, torch.tensor(-1, device=device)) + + b_min = torch.min(min_indices, dim=1).values + b_max = torch.max(max_indices, dim=1).values + + # Handle cases where the whole row is False (no mask content for that batch item) + empty = ~any_dim.any(dim=1) + b_min[empty] = -1 + b_max[empty] = -1 + + return b_min, b_max - # Blend: new = mask * inpainted + (1 - mask) * canvas - blended = resized_mask * resized_image + (1.0 - resized_mask) * canvas_crop + y_min, y_max = get_min_max(any_y, H) + x_min, x_max = get_min_max(any_x, W) + + w = torch.where(x_min >= 0, x_max - x_min + 1, torch.tensor(-1, device=device)) + h = torch.where(y_min >= 0, y_max - y_min + 1, torch.tensor(-1, device=device)) + + return None, x_min, y_min, w, h - # Paste the blended region back onto the canvas - canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] = blended + def batched_growcontextarea_m(self, mask, x, y, w, h, extend_factor): + img_h, img_w = mask.shape[1], mask.shape[2] + device = mask.device + + grow_x = (w.float() * (extend_factor - 1.0) / 2.0).round().long() + grow_y = (h.float() * (extend_factor - 1.0) / 2.0).round().long() + + new_x = torch.clamp(x - grow_x, min=0) + new_y = torch.clamp(y - grow_y, min=0) + new_x2 = torch.clamp(x + w + grow_x, max=img_w) + new_y2 = torch.clamp(y + h + grow_y, max=img_h) + + new_w = new_x2 - new_x + new_h = new_y2 - new_y + + empty = (w == -1) + new_x[empty] = 0 + new_y[empty] = 0 + new_w[empty] = img_w + new_h[empty] = img_h + + return None, new_x, new_y, new_w, new_h - # Final crop to get back the original image area - output_image = canvas_image[:, cto_y:cto_y + cto_h, cto_x:cto_x + cto_w] + def batched_combinecontextmask_m(self, mask, x, y, w, h, optional_context_mask): + _, ox, oy, ow, oh = self.batched_findcontextarea_m(optional_context_mask) + + mask_x_neg1 = (x == -1) + x_1 = torch.where(mask_x_neg1, ox, x) + y_1 = torch.where(mask_x_neg1, oy, y) + w_1 = torch.where(mask_x_neg1, ow, w) + h_1 = torch.where(mask_x_neg1, oh, h) + + mask_ox_neg1 = (ox == -1) + ox_2 = torch.where(mask_ox_neg1, x_1, ox) + oy_2 = torch.where(mask_ox_neg1, y_1, oy) + ow_2 = torch.where(mask_ox_neg1, w_1, ow) + oh_2 = torch.where(mask_ox_neg1, h_1, oh) + + new_x = torch.min(x_1, ox_2) + new_y = torch.min(y_1, oy_2) + new_x_max = torch.max(x_1 + w_1, ox_2 + ow_2) + new_y_max = torch.max(y_1 + h_1, oy_2 + oh_2) + new_w = new_x_max - new_x + new_h = new_y_max - new_y + + both_empty = (x_1 == -1) + new_x[both_empty] = -1 + new_y[both_empty] = -1 + new_w[both_empty] = -1 + new_h[both_empty] = -1 + + return None, new_x, new_y, new_w, new_h - return output_image + def crop_magic_im(self, image, mask, x, y, w, h, target_w, target_h, padding, downscale_algorithm, upscale_algorithm, resize_output=True): + image = image.clone() + mask = mask.clone() + + # Check for invalid inputs + if target_w <= 0 or target_h <= 0 or w == 0 or h == 0: + return image, 0, 0, image.shape[2], image.shape[1], image, mask, 0, 0, image.shape[2], image.shape[1] + # Step 1: Pad target dimensions to be multiples of padding + if padding != 0: + target_w = self.pad_to_multiple(target_w, padding) + target_h = self.pad_to_multiple(target_h, padding) + + # Step 2: Calculate target aspect ratio + target_aspect_ratio = target_w / target_h + + # Step 3: Grow current context area to meet the target aspect ratio + B, image_h, image_w, C = image.shape + context_aspect_ratio = w / h + if context_aspect_ratio < target_aspect_ratio: + # Grow width to meet aspect ratio + new_w = int(h * target_aspect_ratio) + new_h = h + new_x = x - (new_w - w) // 2 + new_y = y + + # Adjust new_x to keep within bounds + if new_x < 0: + shift = -new_x + if new_x + new_w + shift <= image_w: + new_x += shift + else: + overflow = (new_w - image_w) // 2 + new_x = -overflow + elif new_x + new_w > image_w: + overflow = new_x + new_w - image_w + if new_x - overflow >= 0: + new_x -= overflow + else: + overflow = (new_w - image_w) // 2 + new_x = -overflow + + else: + # Grow height to meet aspect ratio + new_w = w + new_h = int(w / target_aspect_ratio) + new_x = x + new_y = y - (new_h - h) // 2 + + # Adjust new_y to keep within bounds + if new_y < 0: + shift = -new_y + if new_y + new_h + shift <= image_h: + new_y += shift + else: + overflow = (new_h - image_h) // 2 + new_y = -overflow + elif new_y + new_h > image_h: + overflow = new_y + new_h - image_h + if new_y - overflow >= 0: + new_y -= overflow + else: + overflow = (new_h - image_h) // 2 + new_y = -overflow + + # Step 4: Grow the image to accommodate the new context area + up_padding, down_padding, left_padding, right_padding = 0, 0, 0, 0 + + expanded_image_w = image_w + expanded_image_h = image_h + + # Adjust width for left overflow (x < 0) and right overflow (x + w > image_w) + if new_x < 0: + left_padding = -new_x + expanded_image_w += left_padding + if new_x + new_w > image_w: + right_padding = (new_x + new_w - image_w) + expanded_image_w += right_padding + # Adjust height for top overflow (y < 0) and bottom overflow (y + h > image_h) + if new_y < 0: + up_padding = -new_y + expanded_image_h += up_padding + if new_y + new_h > image_h: + down_padding = (new_y + new_h - image_h) + expanded_image_h += down_padding + + # Step 5: Create the new image and mask + expanded_image = torch.zeros((image.shape[0], expanded_image_h, expanded_image_w, image.shape[3]), device=image.device) + expanded_mask = torch.ones((mask.shape[0], expanded_image_h, expanded_image_w), device=mask.device) + + # Reorder the tensors to match the required dimension format for padding + image = image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + expanded_image = expanded_image.permute(0, 3, 1, 2) # [B, H, W, C] -> [B, C, H, W] + + # Ensure the expanded image has enough room to hold the padded version of the original image + expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = image + + # Fill the new extended areas with the edge values of the image + if up_padding > 0: + expanded_image[:, :, :up_padding, left_padding:left_padding + image_w] = image[:, :, 0:1, left_padding:left_padding + image_w].repeat(1, 1, up_padding, 1) + if down_padding > 0: + expanded_image[:, :, -down_padding:, left_padding:left_padding + image_w] = image[:, :, -1:, left_padding:left_padding + image_w].repeat(1, 1, down_padding, 1) + if left_padding > 0: + expanded_image[:, :, up_padding:up_padding + image_h, :left_padding] = expanded_image[:, :, up_padding:up_padding + image_h, left_padding:left_padding+1].repeat(1, 1, 1, left_padding) + if right_padding > 0: + expanded_image[:, :, up_padding:up_padding + image_h, -right_padding:] = expanded_image[:, :, up_padding:up_padding + image_h, -right_padding-1:-right_padding].repeat(1, 1, 1, right_padding) + + # Reorder the tensors back to [B, H, W, C] format + expanded_image = expanded_image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + image = image.permute(0, 2, 3, 1) # [B, C, H, W] -> [B, H, W, C] + + # Same for the mask + expanded_mask[:, up_padding:up_padding + image_h, left_padding:left_padding + image_w] = mask + + # Record the cto values (canvas to original) + cto_x = left_padding + cto_y = up_padding + cto_w = image_w + cto_h = image_h + + # The final expanded image and mask + canvas_image = expanded_image + canvas_mask = expanded_mask + + # Step 6: Crop the image and mask around x, y, w, h + ctc_x = new_x+left_padding + ctc_y = new_y+up_padding + ctc_w = new_w + ctc_h = new_h + + # Crop the image and mask + cropped_image = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + cropped_mask = canvas_mask[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + + # Step 7: Resize image and mask to the target width and height + if resize_output: + # Decide which algorithm to use based on the scaling direction + if target_w > ctc_w or target_h > ctc_h: # Upscaling + cropped_image = self.rescale_i(cropped_image, target_w, target_h, upscale_algorithm) + cropped_mask = self.rescale_m(cropped_mask, target_w, target_h, upscale_algorithm) + else: # Downscaling + cropped_image = self.rescale_i(cropped_image, target_w, target_h, downscale_algorithm) + cropped_mask = self.rescale_m(cropped_mask, target_w, target_h, downscale_algorithm) + + return canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h + + def stitch_magic_im(self, canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm): + canvas_image = canvas_image.clone() + inpainted_image = inpainted_image.clone() + mask = mask.clone() + + # Resize inpainted image and mask to match the context size + B, h, w, _ = inpainted_image.shape + if ctc_w > w or ctc_h > h: # Upscaling + resized_image = self.rescale_i(inpainted_image, ctc_w, ctc_h, upscale_algorithm) + resized_mask = self.rescale_m(mask, ctc_w, ctc_h, upscale_algorithm) + else: # Downscaling + resized_image = self.rescale_i(inpainted_image, ctc_w, ctc_h, downscale_algorithm) + resized_mask = self.rescale_m(mask, ctc_w, ctc_h, downscale_algorithm) + + # Clamp mask to [0, 1] and expand to match image channels + resized_mask = resized_mask.clamp(0, 1).unsqueeze(-1) # shape: [B, H, W, 1] + + # Extract the canvas region we're about to overwrite + canvas_crop = canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] + + # Blend: new = mask * inpainted + (1 - mask) * canvas + blended = resized_mask * resized_image + (1.0 - resized_mask) * canvas_crop + + # Paste the blended region back onto the canvas + canvas_image[:, ctc_y:ctc_y + ctc_h, ctc_x:ctc_x + ctc_w] = blended + + # Final crop to get back the original image area + output_image = canvas_image[:, cto_y:cto_y + cto_h, cto_x:cto_x + cto_w] + + return output_image class InpaintCropImproved: @classmethod @@ -529,6 +1123,9 @@ class InpaintCropImproved: "output_target_width": ("INT", {"default": 512, "min": 64, "max": nodes.MAX_RESOLUTION, "step": 1}), "output_target_height": ("INT", {"default": 512, "min": 64, "max": nodes.MAX_RESOLUTION, "step": 1}), "output_padding": (["0", "8", "16", "32", "64", "128", "256", "512"], {"default": "32"}), + + # Device Mode + "device_mode": (["cpu (compatible)", "gpu (much faster)"], {"default": "cpu (compatible)"}), }, "optional": { # Optional inputs @@ -541,7 +1138,6 @@ class InpaintCropImproved: CATEGORY = "inpaint" DESCRIPTION = "Crops an image around a mask for inpainting, the optional context mask defines an extra area to keep for the context." - # Remove the following # to turn on debug mode (extra outputs, print statements) #''' DEBUG_MODE = False @@ -550,7 +1146,7 @@ class InpaintCropImproved: ''' - DEBUG_MODE = True # TODO + DEBUG_MODE = True RETURN_TYPES = ("STITCHER", "IMAGE", "MASK", # DEBUG "IMAGE", @@ -604,15 +1200,23 @@ class InpaintCropImproved: "DEBUG_cropped_mask_blend", ) #''' - - def inpaint_crop(self, image, downscale_algorithm, upscale_algorithm, preresize, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height, extend_for_outpainting, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor, mask_hipass_filter, mask_fill_holes, mask_expand_pixels, mask_invert, mask_blend_pixels, context_from_mask_extend_factor, output_resize_to_target_size, output_target_width, output_target_height, output_padding, mask=None, optional_context_mask=None): + def inpaint_crop(self, image, downscale_algorithm, upscale_algorithm, preresize, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height, extend_for_outpainting, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor, mask_hipass_filter, mask_fill_holes, mask_expand_pixels, mask_invert, mask_blend_pixels, context_from_mask_extend_factor, output_resize_to_target_size, output_target_width, output_target_height, output_padding, device_mode, mask=None, optional_context_mask=None): image = image.clone() if mask is not None: mask = mask.clone() if optional_context_mask is not None: optional_context_mask = optional_context_mask.clone() + if device_mode == "gpu (much faster)": + device = comfy.model_management.get_torch_device() + image = image.to(device) + if mask is not None: mask = mask.to(device) + if optional_context_mask is not None: optional_context_mask = optional_context_mask.to(device) + processor = GPUProcessorLogic() + else: + processor = CPUProcessorLogic() + output_padding = int(output_padding) # Check that some parameters make sense @@ -681,7 +1285,7 @@ class InpaintCropImproved: assert mask.shape[0] == image.shape[0], f"Mask batch does not match image batch. Expected {image.shape[0]}, got {mask.shape[0]}" assert optional_context_mask.shape[0] == image.shape[0], f"Optional context mask batch does not match image batch. Expected {image.shape[0]}, got {optional_context_mask.shape[0]}" - # Run for each image separately + # Results result_stitcher = { 'downscale_algorithm': downscale_algorithm, 'upscale_algorithm': upscale_algorithm, @@ -696,162 +1300,193 @@ class InpaintCropImproved: 'cropped_to_canvas_w': [], 'cropped_to_canvas_h': [], 'cropped_mask_for_blend': [], + 'device_mode': device_mode, } - result_image = [] result_mask = [] - debug_outputs = {name: [] for name in self.RETURN_NAMES if name.startswith("DEBUG_")} batch_size = image.shape[0] - for b in range(batch_size): - one_image = image[b].unsqueeze(0) - one_mask = mask[b].unsqueeze(0) - one_optional_context_mask = optional_context_mask[b].unsqueeze(0) - outputs = self.inpaint_crop_single_image( - one_image, downscale_algorithm, upscale_algorithm, preresize, preresize_mode, - preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height, - extend_for_outpainting, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor, - mask_hipass_filter, mask_fill_holes, mask_expand_pixels, mask_invert, mask_blend_pixels, - context_from_mask_extend_factor, output_resize_to_target_size, output_target_width, output_target_height, - output_padding, one_mask, one_optional_context_mask) + for i in range(batch_size): + sub_image = image[i:i+1] + sub_mask = mask[i:i+1] + sub_opt_mask = optional_context_mask[i:i+1] - stitcher, cropped_image, cropped_mask = outputs[:3] - for key in ['canvas_to_orig_x', 'canvas_to_orig_y', 'canvas_to_orig_w', 'canvas_to_orig_h', 'canvas_image', 'cropped_to_canvas_x', 'cropped_to_canvas_y', 'cropped_to_canvas_w', 'cropped_to_canvas_h', 'cropped_mask_for_blend']: - result_stitcher[key].append(stitcher[key]) + # Process individual image + if preresize: + sub_image, sub_mask, sub_opt_mask = processor.preresize_imm(sub_image, sub_mask, sub_opt_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height) + + sub_DEBUG_preresize_image = sub_image.clone() if self.DEBUG_MODE else None + sub_DEBUG_preresize_mask = sub_mask.clone() if self.DEBUG_MODE else None - cropped_image = cropped_image.clone().squeeze(0) - result_image.append(cropped_image) - cropped_mask = cropped_mask.clone().squeeze(0) - result_mask.append(cropped_mask) + if mask_fill_holes: + sub_mask = processor.fillholes_iterative_hipass_fill_m(sub_mask) + sub_DEBUG_fillholes_mask = sub_mask.clone() if self.DEBUG_MODE else None - # Handle the DEBUG_ fields dynamically - for name, output in zip(self.RETURN_NAMES[3:], outputs[3:]): # Start from index 3 since first 3 are fixed - if name.startswith("DEBUG_"): - output_array = output.squeeze(0) # Assuming output needs to be squeezed similar to image/mask - debug_outputs[name].append(output_array) + if mask_expand_pixels > 0: + sub_mask = processor.expand_m(sub_mask, mask_expand_pixels) + sub_DEBUG_expand_mask = sub_mask.clone() if self.DEBUG_MODE else None + if mask_invert: + sub_mask = processor.invert_m(sub_mask) + sub_DEBUG_invert_mask = sub_mask.clone() if self.DEBUG_MODE else None + + if mask_blend_pixels > 0: + sub_mask = processor.expand_m(sub_mask, mask_blend_pixels) + sub_mask = processor.blur_m(sub_mask, mask_blend_pixels*0.5) + sub_DEBUG_blur_mask = sub_mask.clone() if self.DEBUG_MODE else None + + if mask_hipass_filter >= 0.01: + sub_mask = processor.hipassfilter_m(sub_mask, mask_hipass_filter) + sub_opt_mask = processor.hipassfilter_m(sub_opt_mask, mask_hipass_filter) + sub_DEBUG_hipassfilter_mask = sub_mask.clone() if self.DEBUG_MODE else None + + if extend_for_outpainting: + sub_image, sub_mask, sub_opt_mask = processor.extend_imm(sub_image, sub_mask, sub_opt_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor) + sub_DEBUG_extend_image = sub_image.clone() if self.DEBUG_MODE else None + sub_DEBUG_extend_mask = sub_mask.clone() if self.DEBUG_MODE else None + + # Find context area + _, bx, by, bw, bh = processor.batched_findcontextarea_m(sub_mask) + + # Use original image size as fallback for empty masks + if bx[0] == -1: + bx[0], by[0], bw[0], bh[0] = 0, 0, sub_image.shape[2], sub_image.shape[1] + + # Growth + if context_from_mask_extend_factor >= 1.01: + _, bx, by, bw, bh = processor.batched_growcontextarea_m(sub_mask, bx, by, bw, bh, context_from_mask_extend_factor) + + # Combine + _, bx, by, bw, bh = processor.batched_combinecontextmask_m(sub_mask, bx, by, bw, bh, sub_opt_mask) + + # Final check/fallback + if bx[0] == -1: + bx[0], by[0], bw[0], bh[0] = 0, 0, sub_image.shape[2], sub_image.shape[1] + + # Crop logic + cur_x, cur_y, cur_w, cur_h = bx[0].item(), by[0].item(), bw[0].item(), bh[0].item() + + if output_resize_to_target_size: + canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h = processor.crop_magic_im( + sub_image, sub_mask, cur_x, cur_y, cur_w, cur_h, output_target_width, output_target_height, output_padding, downscale_algorithm, upscale_algorithm, resize_output=True + ) + else: + canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h = processor.crop_magic_im( + sub_image, sub_mask, cur_x, cur_y, cur_w, cur_h, cur_w, cur_h, output_padding, downscale_algorithm, upscale_algorithm, resize_output=False + ) + p_crop = cropped_image + p_mask = cropped_mask + + # Blending Blur + p_mask_blend = p_mask + if mask_blend_pixels > 0: + p_mask_blend = processor.blur_m(p_mask_blend, mask_blend_pixels * 0.5) + + # Collect Results + result_stitcher['canvas_to_orig_x'].append(cto_x) + result_stitcher['canvas_to_orig_y'].append(cto_y) + result_stitcher['canvas_to_orig_w'].append(cto_w) + result_stitcher['canvas_to_orig_h'].append(cto_h) + result_stitcher['canvas_image'].append(canvas_image.cpu()) + result_stitcher['cropped_to_canvas_x'].append(ctc_x) + result_stitcher['cropped_to_canvas_y'].append(ctc_y) + result_stitcher['cropped_to_canvas_w'].append(ctc_w) + result_stitcher['cropped_to_canvas_h'].append(ctc_h) + result_stitcher['cropped_mask_for_blend'].append(p_mask_blend.cpu()) + + result_image.append(p_crop.squeeze(0).cpu()) + result_mask.append(p_mask.squeeze(0).cpu()) + + # Debugs + if self.DEBUG_MODE: + # Stages for debug + co = (cur_x, cur_y, cur_w, cur_h) # This is combined coordinates actually, need stages if we want them. + # However, processing is 1 by 1 now, so we can just track them. + + # Re-calculate stages for individual debug accuracy + _, b_orig_x, b_orig_y, b_orig_w, b_orig_h = processor.batched_findcontextarea_m(sub_mask) + if b_orig_x[0] == -1: b_orig_x[0], b_orig_y[0], b_orig_w[0], b_orig_h[0] = 0, 0, sub_image.shape[2], sub_image.shape[1] + + b_grown_x, b_grown_y, b_grown_w, b_grown_h = b_orig_x.clone(), b_orig_y.clone(), b_orig_w.clone(), b_orig_h.clone() + if context_from_mask_extend_factor >= 1.01: + _, b_grown_x, b_grown_y, b_grown_w, b_grown_h = processor.batched_growcontextarea_m(sub_mask, b_orig_x, b_orig_y, b_orig_w, b_orig_h, context_from_mask_extend_factor) + + b_comb_x, b_comb_y, b_comb_w, b_comb_h = b_grown_x.clone(), b_grown_y.clone(), b_grown_w.clone(), b_grown_h.clone() + _, b_comb_x, b_comb_y, b_comb_w, b_comb_h = processor.batched_combinecontextmask_m(sub_mask, b_grown_x, b_grown_y, b_grown_w, b_grown_h, sub_opt_mask) + + p_co = (b_orig_x[0].item(), b_orig_y[0].item(), b_orig_w[0].item(), b_orig_h[0].item()) + p_cg = (b_grown_x[0].item(), b_grown_y[0].item(), b_grown_w[0].item(), b_grown_h[0].item()) + p_cc = (b_comb_x[0].item(), b_comb_y[0].item(), b_comb_w[0].item(), b_comb_h[0].item()) + p_cf = (cur_x, cur_y, cur_w, cur_h) + + def get_debug_crop_cpu(m, c): + crop = m[:, c[1]:c[1]+c[3], c[0]:c[0]+c[2]] + if output_resize_to_target_size and (crop.shape[2] != output_target_width or crop.shape[1] != output_target_height): + if isinstance(processor, GPUProcessorLogic): + crop = processor.rescale_m(crop, output_target_width, output_target_height, 'nearest') + else: + crop = processor.rescale_m(crop, output_target_width, output_target_height, 'bilinear') + return crop.cpu() + + debug_outputs["DEBUG_preresize_image"].append(sub_DEBUG_preresize_image[0].cpu()) + debug_outputs["DEBUG_preresize_mask"].append(sub_DEBUG_preresize_mask[0].cpu()) + debug_outputs["DEBUG_fillholes_mask"].append(sub_DEBUG_fillholes_mask[0].cpu()) + debug_outputs["DEBUG_expand_mask"].append(sub_DEBUG_expand_mask[0].cpu()) + debug_outputs["DEBUG_invert_mask"].append(sub_DEBUG_invert_mask[0].cpu()) + debug_outputs["DEBUG_blur_mask"].append(sub_DEBUG_blur_mask[0].cpu()) + debug_outputs["DEBUG_hipassfilter_mask"].append(sub_DEBUG_hipassfilter_mask[0].cpu()) + debug_outputs["DEBUG_extend_image"].append(sub_DEBUG_extend_image[0].cpu()) + debug_outputs["DEBUG_extend_mask"].append(sub_DEBUG_extend_mask[0].cpu()) + + debug_outputs["DEBUG_context_from_mask"].append(get_debug_crop_cpu(sub_mask, p_co).squeeze(0)) + debug_outputs["DEBUG_context_from_mask_location"].append(processor.debug_context_location_in_image(sub_image, *p_co).squeeze(0).cpu()) + debug_outputs["DEBUG_context_expand"].append(get_debug_crop_cpu(sub_mask, p_cg).squeeze(0)) + debug_outputs["DEBUG_context_expand_location"].append(processor.debug_context_location_in_image(sub_image, *p_cg).squeeze(0).cpu()) + debug_outputs["DEBUG_context_with_context_mask"].append(get_debug_crop_cpu(sub_mask, p_cc).squeeze(0)) + debug_outputs["DEBUG_context_with_context_mask_location"].append(processor.debug_context_location_in_image(sub_image, *p_cc).squeeze(0).cpu()) + + debug_outputs["DEBUG_context_to_target"].append(p_mask.squeeze(0).cpu()) + debug_outputs["DEBUG_context_to_target_location"].append(processor.debug_context_location_in_image(sub_image, *p_cf).squeeze(0).cpu()) + debug_outputs["DEBUG_context_to_target_image"].append(p_crop.squeeze(0).cpu()) + debug_outputs["DEBUG_context_to_target_mask"].append(p_mask.squeeze(0).cpu()) + debug_outputs["DEBUG_canvas_image"].append(canvas_image.squeeze(0).cpu()) + debug_outputs["DEBUG_orig_in_canvas_location"].append(processor.debug_context_location_in_image(canvas_image, cto_x, cto_y, cto_w, cto_h).squeeze(0).cpu()) + debug_outputs["DEBUG_cropped_in_canvas_location"].append(processor.debug_context_location_in_image(canvas_image, ctc_x, ctc_y, ctc_w, ctc_h).squeeze(0).cpu()) + debug_outputs["DEBUG_cropped_mask_blend"].append(p_mask_blend.squeeze(0).cpu()) + + # Final stacking on CPU result_image = torch.stack(result_image, dim=0) result_mask = torch.stack(result_mask, dim=0) if self.DEBUG_MODE: - print('Inpaint Crop Batch output') - print(result_image.shape, type(result_image), result_image.dtype) - print(result_mask.shape, type(result_mask), result_mask.dtype) - - debug_outputs = {name: torch.stack(values, dim=0) for name, values in debug_outputs.items()} - - return result_stitcher, result_image, result_mask, *[debug_outputs[name] for name in self.RETURN_NAMES if name.startswith("DEBUG_")] - - - def inpaint_crop_single_image(self, image, downscale_algorithm, upscale_algorithm, preresize, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height, extend_for_outpainting, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor, mask_hipass_filter, mask_fill_holes, mask_expand_pixels, mask_invert, mask_blend_pixels, context_from_mask_extend_factor, output_resize_to_target_size, output_target_width, output_target_height, output_padding, mask, optional_context_mask): - if preresize: - image, mask, optional_context_mask = preresize_imm(image, mask, optional_context_mask, downscale_algorithm, upscale_algorithm, preresize_mode, preresize_min_width, preresize_min_height, preresize_max_width, preresize_max_height) - if self.DEBUG_MODE: - DEBUG_preresize_image = image.clone() - DEBUG_preresize_mask = mask.clone() - - if mask_fill_holes: - mask = fillholes_iterative_hipass_fill_m(mask) - if self.DEBUG_MODE: - DEBUG_fillholes_mask = mask.clone() - - if mask_expand_pixels > 0: - mask = expand_m(mask, mask_expand_pixels) - if self.DEBUG_MODE: - DEBUG_expand_mask = mask.clone() - - if mask_invert: - mask = invert_m(mask) - if self.DEBUG_MODE: - DEBUG_invert_mask = mask.clone() - - if mask_blend_pixels > 0: - mask = expand_m(mask, mask_blend_pixels) - mask = blur_m(mask, mask_blend_pixels*0.5) - if self.DEBUG_MODE: - DEBUG_blur_mask = mask.clone() - - if mask_hipass_filter >= 0.01: - mask = hipassfilter_m(mask, mask_hipass_filter) - optional_context_mask = hipassfilter_m(optional_context_mask, mask_hipass_filter) - if self.DEBUG_MODE: - DEBUG_hipassfilter_mask = mask.clone() - - if extend_for_outpainting: - image, mask, optional_context_mask = extend_imm(image, mask, optional_context_mask, extend_up_factor, extend_down_factor, extend_left_factor, extend_right_factor) - if self.DEBUG_MODE: - DEBUG_extend_image = image.clone() - DEBUG_extend_mask = mask.clone() - - context, x, y, w, h = findcontextarea_m(mask) - # If no mask, mask everything for some inpainting. - if x == -1 or w == -1 or h == -1 or y == -1: - x, y, w, h = 0, 0, image.shape[2], image.shape[1] - context = mask[:, y:y+h, x:x+w] - if self.DEBUG_MODE: - DEBUG_context_from_mask = context.clone() - DEBUG_context_from_mask_location = debug_context_location_in_image(image, x, y, w, h) - - if context_from_mask_extend_factor >= 1.01: - context, x, y, w, h = growcontextarea_m(context, mask, x, y, w, h, context_from_mask_extend_factor) - # If no mask, mask everything for some inpainting. - if x == -1 or w == -1 or h == -1 or y == -1: - x, y, w, h = 0, 0, image.shape[2], image.shape[1] - context = mask[:, y:y+h, x:x+w] - if self.DEBUG_MODE: - DEBUG_context_expand = context.clone() - DEBUG_context_expand_location = debug_context_location_in_image(image, x, y, w, h) - - context, x, y, w, h = combinecontextmask_m(context, mask, x, y, w, h, optional_context_mask) - # If no mask, mask everything for some inpainting. - if x == -1 or w == -1 or h == -1 or y == -1: - x, y, w, h = 0, 0, image.shape[2], image.shape[1] - context = mask[:, y:y+h, x:x+w] - if self.DEBUG_MODE: - DEBUG_context_with_context_mask = context.clone() - DEBUG_context_with_context_mask_location = debug_context_location_in_image(image, x, y, w, h) - - if not output_resize_to_target_size: - canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h = crop_magic_im(image, mask, x, y, w, h, w, h, output_padding, downscale_algorithm, upscale_algorithm) - else: # if output_resize_to_target_size: - canvas_image, cto_x, cto_y, cto_w, cto_h, cropped_image, cropped_mask, ctc_x, ctc_y, ctc_w, ctc_h = crop_magic_im(image, mask, x, y, w, h, output_target_width, output_target_height, output_padding, downscale_algorithm, upscale_algorithm) - if self.DEBUG_MODE: - DEBUG_context_to_target = context.clone() - DEBUG_context_to_target_location = debug_context_location_in_image(image, x, y, w, h) - DEBUG_context_to_target_image = image.clone() - DEBUG_context_to_target_mask = mask.clone() - DEBUG_canvas_image = canvas_image.clone() - DEBUG_orig_in_canvas_location = debug_context_location_in_image(canvas_image, cto_x, cto_y, cto_w, cto_h) - DEBUG_cropped_in_canvas_location = debug_context_location_in_image(canvas_image, ctc_x, ctc_y, ctc_w, ctc_h) - - # For blending, grow the mask even further and make it blurrier. - cropped_mask_blend = cropped_mask.clone() - if mask_blend_pixels > 0: - cropped_mask_blend = blur_m(cropped_mask_blend, mask_blend_pixels*0.5) - if self.DEBUG_MODE: - DEBUG_cropped_mask_blend = cropped_mask_blend.clone() - - stitcher = { - 'canvas_to_orig_x': cto_x, - 'canvas_to_orig_y': cto_y, - 'canvas_to_orig_w': cto_w, - 'canvas_to_orig_h': cto_h, - 'canvas_image': canvas_image, - 'cropped_to_canvas_x': ctc_x, - 'cropped_to_canvas_y': ctc_y, - 'cropped_to_canvas_w': ctc_w, - 'cropped_to_canvas_h': ctc_h, - 'cropped_mask_for_blend': cropped_mask_blend, - } - - if not self.DEBUG_MODE: - return stitcher, cropped_image, cropped_mask + # Everything is already on CPU, stack will be memory-safe + final_debug_outputs = [] + for name in self.RETURN_NAMES: + if name.startswith("DEBUG_"): + values = debug_outputs[name] + if not values: + count = result_image.shape[0] + if name.endswith("_image") or name.endswith("_location"): + final_debug_outputs.append(torch.zeros((count, 1, 1, 3), device="cpu")) + else: + final_debug_outputs.append(torch.zeros((count, 1, 1), device="cpu")) + else: + try: + # Stacking happens on CPU + final_debug_outputs.append(torch.stack(values, dim=0)) + except Exception as e: + print(f"InpaintCropImproved: Failed to stack {name}. Error: {e}") + count = result_image.shape[0] + if name.endswith("_image") or name.endswith("_location"): + final_debug_outputs.append(torch.zeros((count, 1, 1, 3), device="cpu")) + else: + final_debug_outputs.append(torch.zeros((count, 1, 1), device="cpu")) + + return (result_stitcher, result_image, result_mask, *final_debug_outputs) else: - return stitcher, cropped_image, cropped_mask, DEBUG_preresize_image, DEBUG_preresize_mask, DEBUG_fillholes_mask, DEBUG_expand_mask, DEBUG_invert_mask, DEBUG_blur_mask, DEBUG_hipassfilter_mask, DEBUG_extend_image, DEBUG_extend_mask, DEBUG_context_from_mask, DEBUG_context_from_mask_location, DEBUG_context_expand, DEBUG_context_expand_location, DEBUG_context_with_context_mask, DEBUG_context_with_context_mask_location, DEBUG_context_to_target, DEBUG_context_to_target_location, DEBUG_context_to_target_image, DEBUG_context_to_target_mask, DEBUG_canvas_image, DEBUG_orig_in_canvas_location, DEBUG_cropped_in_canvas_location, DEBUG_cropped_mask_blend - - + return (result_stitcher, result_image, result_mask) class InpaintStitchImproved: @@ -882,33 +1517,49 @@ class InpaintStitchImproved: def inpaint_stitch(self, stitcher, inpainted_image): inpainted_image = inpainted_image.clone() results = [] + + device_mode = stitcher.get('device_mode', 'cpu (compatible)') + + if device_mode == "gpu (much faster)": + device = comfy.model_management.get_torch_device() + inpainted_image = inpainted_image.to(device) + processor = GPUProcessorLogic() + else: + device = torch.device("cpu") + processor = CPUProcessorLogic() + + # Pre-move stitcher data to device to avoid moving in loop + for key in ['canvas_image', 'cropped_mask_for_blend']: + if key in stitcher: + stitcher[key] = [t.to(device) if torch.is_tensor(t) else t for t in stitcher[key]] batch_size = inpainted_image.shape[0] assert len(stitcher['cropped_to_canvas_x']) == batch_size or len(stitcher['cropped_to_canvas_x']) == 1, "Stitch batch size doesn't match image batch size" override = False if len(stitcher['cropped_to_canvas_x']) != batch_size and len(stitcher['cropped_to_canvas_x']) == 1: override = True - for b in range(batch_size): - one_image = inpainted_image[b] + + for i in range(batch_size): + one_image = inpainted_image[i:i+1] + one_stitcher = {} for key in ['downscale_algorithm', 'upscale_algorithm', 'blend_pixels']: one_stitcher[key] = stitcher[key] for key in ['canvas_to_orig_x', 'canvas_to_orig_y', 'canvas_to_orig_w', 'canvas_to_orig_h', 'canvas_image', 'cropped_to_canvas_x', 'cropped_to_canvas_y', 'cropped_to_canvas_w', 'cropped_to_canvas_h', 'cropped_mask_for_blend']: - if override: # One stitcher for many images, always read 0. + if override: one_stitcher[key] = stitcher[key][0] else: - one_stitcher[key] = stitcher[key][b] - one_image = one_image.unsqueeze(0) - one_image, = self.inpaint_stitch_single_image(one_stitcher, one_image) - one_image = one_image.squeeze(0) - one_image = one_image.clone() - results.append(one_image) + one_stitcher[key] = stitcher[key][i] + + one_image, = self.inpaint_stitch_single_image(one_stitcher, one_image, processor) + results.append(one_image.squeeze(0)) result_batch = torch.stack(results, dim=0) + result_batch = result_batch.cpu() return (result_batch,) - def inpaint_stitch_single_image(self, stitcher, inpainted_image): + def inpaint_stitch_single_image(self, stitcher, inpainted_image, processor): downscale_algorithm = stitcher['downscale_algorithm'] upscale_algorithm = stitcher['upscale_algorithm'] canvas_image = stitcher['canvas_image'] @@ -925,6 +1576,17 @@ class InpaintStitchImproved: mask = stitcher['cropped_mask_for_blend'] # shape: [1, H, W] - output_image = stitch_magic_im(canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm) + output_image = processor.stitch_magic_im(canvas_image, inpainted_image, mask, ctc_x, ctc_y, ctc_w, ctc_h, cto_x, cto_y, cto_w, cto_h, downscale_algorithm, upscale_algorithm) return (output_image,) + +# Mappings for ComfyUI +NODE_CLASS_MAPPINGS = { + "InpaintCropImproved": InpaintCropImproved, + "InpaintStitchImproved": InpaintStitchImproved +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "InpaintCropImproved": "Inpaint Crop Improved", + "InpaintStitchImproved": "Inpaint Stitch Improved" +} diff --git a/inpaint_cropandstitch_old.py b/inpaint_cropandstitch_old.py deleted file mode 100644 index 8ebdd2c..0000000 --- a/inpaint_cropandstitch_old.py +++ /dev/null @@ -1,887 +0,0 @@ -import comfy.utils -import math -import nodes -import numpy as np -import torch -import torchvision.transforms.functional as F -from PIL import Image -from scipy.ndimage import gaussian_filter, grey_dilation, binary_fill_holes, binary_closing - -def rescale(samples, width, height, algorithm: str): - if algorithm == "bislerp": # convert for compatibility with old workflows - algorithm = "bicubic" - algorithm = getattr(Image, algorithm.upper()) # i.e. Image.BICUBIC - samples_pil: Image.Image = F.to_pil_image(samples[0].cpu()).resize((width, height), algorithm) - samples = F.to_tensor(samples_pil).unsqueeze(0) - return samples - -class InpaintCrop: - """ - ComfyUI-InpaintCropAndStitch - https://github.com/lquesada/ComfyUI-InpaintCropAndStitch - - This node crop before sampling and stitch after sampling for fast, efficient inpainting without altering unmasked areas. - Context area can be specified via expand pixels and expand factor or via a separate (optional) mask. - Works free size, forced size, and ranged size. - """ - - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "image": ("IMAGE",), - "mask": ("MASK",), - "context_expand_pixels": ("INT", {"default": 20, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), - "context_expand_factor": ("FLOAT", {"default": 1.0, "min": 1.0, "max": 100.0, "step": 0.01}), - "fill_mask_holes": ("BOOLEAN", {"default": True}), - "blur_mask_pixels": ("FLOAT", {"default": 16.0, "min": 0.0, "max": 256.0, "step": 0.1}), - "invert_mask": ("BOOLEAN", {"default": False}), - "blend_pixels": ("FLOAT", {"default": 16.0, "min": 0.0, "max": 32.0, "step": 0.1}), - "rescale_algorithm": (["nearest", "bilinear", "bicubic", "bislerp", "lanczos", "box", "hamming"], {"default": "bicubic"}), - "mode": (["ranged size", "forced size", "free size"], {"default": "ranged size"}), - "force_width": ("INT", {"default": 1024, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # force - "force_height": ("INT", {"default": 1024, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # force - "rescale_factor": ("FLOAT", {"default": 1.00, "min": 0.01, "max": 100.0, "step": 0.01}), # free - "min_width": ("INT", {"default": 512, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "min_height": ("INT", {"default": 512, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "max_width": ("INT", {"default": 768, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "max_height": ("INT", {"default": 768, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "padding": ([8, 16, 32, 64, 128, 256, 512], {"default": 32}), # free and ranged - }, - "optional": { - "optional_context_mask": ("MASK",), - } - } - - CATEGORY = "inpaint" - - RETURN_TYPES = ("STITCH", "IMAGE", "MASK") - RETURN_NAMES = ("stitch", "cropped_image", "cropped_mask") - - FUNCTION = "inpaint_crop" - - def grow_and_blur_mask(self, mask, blur_pixels): - if blur_pixels > 0.001: - sigma = blur_pixels / 4 - growmask = mask.reshape((-1, mask.shape[-2], mask.shape[-1])).cpu() - out = [] - for m in growmask: - mask_np = m.numpy() - kernel_size = math.ceil(sigma * 1.5 + 1) - kernel = np.ones((kernel_size, kernel_size), dtype=np.uint8) - dilated_mask = grey_dilation(mask_np, footprint=kernel) - output = dilated_mask.astype(np.float32) * 255 - output = torch.from_numpy(output) - out.append(output) - mask = torch.stack(out, dim=0) - mask = torch.clamp(mask, 0.0, 1.0) - - mask_np = mask.numpy() - filtered_mask = gaussian_filter(mask_np, sigma=sigma) - mask = torch.from_numpy(filtered_mask) - mask = torch.clamp(mask, 0.0, 1.0) - - return mask - - def adjust_to_aspect_ratio(self, x_min, x_max, y_min, y_max, width, height, target_width, target_height): - x_min_key, x_max_key, y_min_key, y_max_key = x_min, x_max, y_min, y_max - - # Calculate the current width and height - current_width = x_max - x_min + 1 - current_height = y_max - y_min + 1 - - # Calculate aspect ratios - aspect_ratio = target_width / target_height - current_aspect_ratio = current_width / current_height - - if current_aspect_ratio < aspect_ratio: - # Adjust width to match target aspect ratio - new_width = int(current_height * aspect_ratio) - extend_x = (new_width - current_width) - x_min = max(x_min - extend_x//2, 0) - x_max = min(x_max + extend_x//2, width - 1) - else: - # Adjust height to match target aspect ratio - new_height = int(current_width / aspect_ratio) - extend_y = (new_height - current_height) - y_min = max(y_min - extend_y//2, 0) - y_max = min(y_max + extend_y//2, height - 1) - - return int(x_min), int(x_max), int(y_min), int(y_max) - - def adjust_to_preferred(self, x_min, x_max, y_min, y_max, width, height, preferred_x_start, preferred_x_end, preferred_y_start, preferred_y_end): - # Ensure the area is within preferred bounds as much as possible - if preferred_x_start <= x_min and preferred_x_end >= x_max and preferred_y_start <= y_min and preferred_y_end >= y_max: - return x_min, x_max, y_min, y_max - - # Shift x_min and x_max to fit within preferred bounds if possible - if x_max - x_min + 1 <= preferred_x_end - preferred_x_start + 1: - if x_min < preferred_x_start: - x_shift = preferred_x_start - x_min - x_min += x_shift - x_max += x_shift - elif x_max > preferred_x_end: - x_shift = x_max - preferred_x_end - x_min -= x_shift - x_max -= x_shift - - # Shift y_min and y_max to fit within preferred bounds if possible - if y_max - y_min + 1 <= preferred_y_end - preferred_y_start + 1: - if y_min < preferred_y_start: - y_shift = preferred_y_start - y_min - y_min += y_shift - y_max += y_shift - elif y_max > preferred_y_end: - y_shift = y_max - preferred_y_end - y_min -= y_shift - y_max -= y_shift - - return int(x_min), int(x_max), int(y_min), int(y_max) - - def apply_padding(self, min_val, max_val, max_boundary, padding): - # Calculate the midpoint and the original range size - original_range_size = max_val - min_val + 1 - midpoint = (min_val + max_val) // 2 - - # Determine the smallest multiple of padding that is >= original_range_size - if original_range_size % padding == 0: - new_range_size = original_range_size - else: - new_range_size = (original_range_size // padding + 1) * padding - - # Calculate the new min and max values centered on the midpoint - new_min_val = max(midpoint - new_range_size // 2, 0) - new_max_val = new_min_val + new_range_size - 1 - - # Ensure the new max doesn't exceed the boundary - if new_max_val >= max_boundary: - new_max_val = max_boundary - 1 - new_min_val = max(new_max_val - new_range_size + 1, 0) - - # Ensure the range still ends on a multiple of padding - # Adjust if the calculated range isn't feasible within the given constraints - if (new_max_val - new_min_val + 1) != new_range_size: - new_min_val = max(new_max_val - new_range_size + 1, 0) - - return new_min_val, new_max_val - - def inpaint_crop(self, image, mask, context_expand_pixels, context_expand_factor, fill_mask_holes, blur_mask_pixels, invert_mask, blend_pixels, mode, rescale_algorithm, force_width, force_height, rescale_factor, padding, min_width, min_height, max_width, max_height, optional_context_mask=None): - if image.shape[0] > 1: - assert mode == "forced size", "Mode must be 'forced size' when input is a batch of images" - assert image.shape[0] == mask.shape[0], "Batch size of images and masks must be the same" - if optional_context_mask is not None: - assert optional_context_mask.shape[0] == image.shape[0], "Batch size of optional_context_masks must be the same as images or None" - - result_stitch = {'x': [], 'y': [], 'original_image': [], 'cropped_mask_blend': [], 'rescale_x': [], 'rescale_y': [], 'start_x': [], 'start_y': [], 'initial_width': [], 'initial_height': []} - results_image = [] - results_mask = [] - - batch_size = image.shape[0] - for b in range(batch_size): - one_image = image[b].unsqueeze(0) - one_mask = mask[b].unsqueeze(0) - one_optional_context_mask = None - if optional_context_mask is not None: - one_optional_context_mask = optional_context_mask[b].unsqueeze(0) - - stitch, cropped_image, cropped_mask = self.inpaint_crop_single_image(one_image, one_mask, context_expand_pixels, context_expand_factor, fill_mask_holes, blur_mask_pixels, invert_mask, blend_pixels, mode, rescale_algorithm, force_width, force_height, rescale_factor, padding, min_width, min_height, max_width, max_height, one_optional_context_mask) - - for key in result_stitch: - result_stitch[key].append(stitch[key]) - cropped_image = cropped_image.squeeze(0) - results_image.append(cropped_image) - cropped_mask = cropped_mask.squeeze(0) - results_mask.append(cropped_mask) - - result_image = torch.stack(results_image, dim=0) - result_mask = torch.stack(results_mask, dim=0) - - return result_stitch, result_image, result_mask - - # Parts of this function are from KJNodes: https://github.com/kijai/ComfyUI-KJNodes - def inpaint_crop_single_image(self, image, mask, context_expand_pixels, context_expand_factor, fill_mask_holes, blur_mask_pixels, invert_mask, blend_pixels, mode, rescale_algorithm, force_width, force_height, rescale_factor, padding, min_width, min_height, max_width, max_height, optional_context_mask=None): - #Validate or initialize mask - if mask.shape[1] != image.shape[1] or mask.shape[2] != image.shape[2]: - non_zero_indices = torch.nonzero(mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - mask = torch.zeros_like(image[:, :, :, 0]) - else: - assert False, "mask size must match image size" - - # Fill holes if requested - if fill_mask_holes: - holemask = mask.reshape((-1, mask.shape[-2], mask.shape[-1])).cpu() - out = [] - for m in holemask: - mask_np = m.numpy() - binary_mask = mask_np > 0 - struct = np.ones((5, 5)) - closed_mask = binary_closing(binary_mask, structure=struct, border_value=1) - filled_mask = binary_fill_holes(closed_mask) - output = filled_mask.astype(np.float32) * 255 - output = torch.from_numpy(output) - out.append(output) - mask = torch.stack(out, dim=0) - mask = torch.clamp(mask, 0.0, 1.0) - - # Grow and blur mask if requested - if blur_mask_pixels > 0.001: - mask = self.grow_and_blur_mask(mask, blur_mask_pixels) - - # Invert mask if requested - if invert_mask: - mask = 1.0 - mask - - # Validate or initialize context mask - if optional_context_mask is None: - context_mask = mask - elif optional_context_mask.shape[1] != image.shape[1] or optional_context_mask.shape[2] != image.shape[2]: - non_zero_indices = torch.nonzero(optional_context_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - context_mask = mask - else: - assert False, "context_mask size must match image size" - else: - context_mask = optional_context_mask + mask - context_mask = torch.clamp(context_mask, 0.0, 1.0) - - # Ensure mask dimensions match image dimensions except channels - initial_batch, initial_height, initial_width, initial_channels = image.shape - mask_batch, mask_height, mask_width = mask.shape - context_mask_batch, context_mask_height, context_mask_width = context_mask.shape - assert initial_height == mask_height and initial_width == mask_width, "Image and mask dimensions must match" - assert initial_height == context_mask_height and initial_width == context_mask_width, "Image and context mask dimensions must match" - - # Extend image and masks to turn it into a big square in case the context area would go off bounds - extend_y = (initial_width + 1) // 2 # Intended, extend height by width (turn into square) - extend_x = (initial_height + 1) // 2 # Intended, extend width by height (turn into square) - new_height = initial_height + 2 * extend_y - new_width = initial_width + 2 * extend_x - - start_y = extend_y - start_x = extend_x - - available_top = min(start_y, initial_height) - available_bottom = min(new_height - (start_y + initial_height), initial_height) - available_left = min(start_x, initial_width) - available_right = min(new_width - (start_x + initial_width), initial_width) - - new_image = torch.zeros((initial_batch, new_height, new_width, initial_channels), dtype=image.dtype) - new_image[:, start_y:start_y + initial_height, start_x:start_x + initial_width, :] = image - # Mirror image so there's no bleeding of black border when using inpaintmodelconditioning - # Top - new_image[:, start_y - available_top:start_y, start_x:start_x + initial_width, :] = torch.flip(image[:, :available_top, :, :], [1]) - # Bottom - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x:start_x + initial_width, :] = torch.flip(image[:, -available_bottom:, :, :], [1]) - # Left - new_image[:, start_y:start_y + initial_height, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y:start_y + initial_height, start_x:start_x + available_left, :], [2]) - # Right - new_image[:, start_y:start_y + initial_height, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width, :], [2]) - # Top-left corner - new_image[:, start_y - available_top:start_y, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y:start_y + available_top, start_x:start_x + available_left, :], [1, 2]) - # Top-right corner - new_image[:, start_y - available_top:start_y, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y:start_y + available_top, start_x + initial_width - available_right:start_x + initial_width, :], [1, 2]) - # Bottom-left corner - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x:start_x + available_left, :], [1, 2]) - # Bottom-right corner - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width, :], [1, 2]) - - new_mask = torch.ones((mask_batch, new_height, new_width), dtype=mask.dtype) # assume ones in extended image - new_mask[:, start_y:start_y + initial_height, start_x:start_x + initial_width] = mask - - blend_mask = torch.zeros((mask_batch, new_height, new_width), dtype=mask.dtype) # assume zeros in extended image - blend_mask[:, start_y:start_y + initial_height, start_x:start_x + initial_width] = mask - # Mirror blend mask so there's no bleeding of border when blending - # Top - blend_mask[:, start_y - available_top:start_y, start_x:start_x + initial_width] = torch.flip(mask[:, :available_top, :], [1]) - # Bottom - blend_mask[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x:start_x + initial_width] = torch.flip(mask[:, -available_bottom:, :], [1]) - # Left - blend_mask[:, start_y:start_y + initial_height, start_x - available_left:start_x] = torch.flip(blend_mask[:, start_y:start_y + initial_height, start_x:start_x + available_left], [2]) - # Right - blend_mask[:, start_y:start_y + initial_height, start_x + initial_width:start_x + initial_width + available_right] = torch.flip(blend_mask[:, start_y:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width], [2]) - # Top-left corner - blend_mask[:, start_y - available_top:start_y, start_x - available_left:start_x] = torch.flip(blend_mask[:, start_y:start_y + available_top, start_x:start_x + available_left], [1, 2]) - # Top-right corner - blend_mask[:, start_y - available_top:start_y, start_x + initial_width:start_x + initial_width + available_right] = torch.flip(blend_mask[:, start_y:start_y + available_top, start_x + initial_width - available_right:start_x + initial_width], [1, 2]) - # Bottom-left corner - blend_mask[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x - available_left:start_x] = torch.flip(blend_mask[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x:start_x + available_left], [1, 2]) - # Bottom-right corner - blend_mask[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x + initial_width:start_x + initial_width + available_right] = torch.flip(blend_mask[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width], [1, 2]) - - new_context_mask = torch.zeros((mask_batch, new_height, new_width), dtype=context_mask.dtype) - new_context_mask[:, start_y:start_y + initial_height, start_x:start_x + initial_width] = context_mask - - image = new_image - mask = new_mask - context_mask = new_context_mask - - original_image = image - original_mask = mask - original_width = image.shape[2] - original_height = image.shape[1] - - # If there are no non-zero indices in the context_mask, adjust context mask to the whole image - non_zero_indices = torch.nonzero(context_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - context_mask = torch.ones_like(image[:, :, :, 0]) - context_mask = torch.zeros((mask_batch, new_height, new_width), dtype=mask.dtype) - context_mask[:, start_y:start_y + initial_height, start_x:start_x + initial_width] += 1.0 - non_zero_indices = torch.nonzero(context_mask[0], as_tuple=True) - - # Compute context area from context mask - y_min = torch.min(non_zero_indices[0]).item() - y_max = torch.max(non_zero_indices[0]).item() - x_min = torch.min(non_zero_indices[1]).item() - x_max = torch.max(non_zero_indices[1]).item() - height = context_mask.shape[1] - width = context_mask.shape[2] - - # Grow context area if requested - y_size = y_max - y_min + 1 - x_size = x_max - x_min + 1 - y_grow = round(max(y_size*(context_expand_factor-1), context_expand_pixels, blend_pixels**1.5)) - x_grow = round(max(x_size*(context_expand_factor-1), context_expand_pixels, blend_pixels**1.5)) - y_min = max(y_min - y_grow // 2, 0) - y_max = min(y_max + y_grow // 2, height - 1) - x_min = max(x_min - x_grow // 2, 0) - x_max = min(x_max + x_grow // 2, width - 1) - y_size = y_max - y_min + 1 - x_size = x_max - x_min + 1 - - effective_upscale_factor_x = 1.0 - effective_upscale_factor_y = 1.0 - - # Adjust to preferred size - if mode == 'forced size': - #Sub case of ranged size. - min_width = max_width = force_width - min_height = max_height = force_height - - if mode == 'ranged size' or mode == 'forced size': - assert max_width >= min_width, "max_width must be greater than or equal to min_width" - assert max_height >= min_height, "max_height must be greater than or equal to min_height" - # Ensure we set an aspect ratio supported by min_width, max_width, min_height, max_height - current_width = x_max - x_min + 1 - current_height = y_max - y_min + 1 - - # Calculate aspect ratio of the selected area - current_aspect_ratio = current_width / current_height - - # Calculate the aspect ratio bounds - min_aspect_ratio = min_width / max_height - max_aspect_ratio = max_width / min_height - - # Adjust target width and height based on aspect ratio bounds - if current_aspect_ratio < min_aspect_ratio: - # Adjust to meet minimum width constraint - target_width = min(current_width, min_width) - target_height = int(target_width / min_aspect_ratio) - x_min, x_max, y_min, y_max = self.adjust_to_aspect_ratio(x_min, x_max, y_min, y_max, width, height, target_width, target_height) - x_min, x_max, y_min, y_max = self.adjust_to_preferred(x_min, x_max, y_min, y_max, width, height, start_x, start_x+initial_width, start_y, start_y+initial_height) - elif current_aspect_ratio > max_aspect_ratio: - # Adjust to meet maximum width constraint - target_height = min(current_height, max_height) - target_width = int(target_height * max_aspect_ratio) - x_min, x_max, y_min, y_max = self.adjust_to_aspect_ratio(x_min, x_max, y_min, y_max, width, height, target_width, target_height) - x_min, x_max, y_min, y_max = self.adjust_to_preferred(x_min, x_max, y_min, y_max, width, height, start_x, start_x+initial_width, start_y, start_y+initial_height) - else: - # Aspect ratio is within bounds, keep the current size - target_width = current_width - target_height = current_height - - y_size = y_max - y_min + 1 - x_size = x_max - x_min + 1 - - # Adjust to min and max sizes - max_rescale_width = max_width / x_size - max_rescale_height = max_height / y_size - max_rescale_factor = min(max_rescale_width, max_rescale_height) - rescale_factor = max_rescale_factor - min_rescale_width = min_width / x_size - min_rescale_height = min_height / y_size - min_rescale_factor = min(min_rescale_width, min_rescale_height) - rescale_factor = max(min_rescale_factor, rescale_factor) - - # Upscale image and masks if requested, they will be downsized at stitch phase - if rescale_factor < 0.999 or rescale_factor > 1.001: - samples = image - samples = samples.movedim(-1, 1) - width = round(samples.shape[3] * rescale_factor) - height = round(samples.shape[2] * rescale_factor) - samples = rescale(samples, width, height, rescale_algorithm) - effective_upscale_factor_x = float(width)/float(original_width) - effective_upscale_factor_y = float(height)/float(original_height) - samples = samples.movedim(1, -1) - image = samples - - samples = mask - samples = samples.unsqueeze(1) - samples = rescale(samples, width, height, "nearest") - samples = samples.squeeze(1) - mask = samples - - samples = blend_mask - samples = samples.unsqueeze(1) - samples = rescale(samples, width, height, "nearest") - samples = samples.squeeze(1) - blend_mask = samples - - # Do math based on min,size instead of min,max to avoid rounding errors - y_size = y_max - y_min + 1 - x_size = x_max - x_min + 1 - target_x_size = int(x_size * effective_upscale_factor_x) - target_y_size = int(y_size * effective_upscale_factor_y) - - x_min = round(x_min * effective_upscale_factor_x) - x_max = x_min + target_x_size - y_min = round(y_min * effective_upscale_factor_y) - y_max = y_min + target_y_size - - x_size = x_max - x_min + 1 - y_size = y_max - y_min + 1 - - # Ensure width and height are within specified bounds, key for ranged and forced size - if mode == 'ranged size' or mode == 'forced size': - if x_size < min_width: - x_max = min(x_max + (min_width - x_size), width - 1) - elif x_size > max_width: - x_max = x_min + max_width - 1 - - if y_size < min_height: - y_max = min(y_max + (min_height - y_size), height - 1) - elif y_size > max_height: - y_max = y_min + max_height - 1 - - # Recalculate x_size and y_size after adjustments - x_size = x_max - x_min + 1 - y_size = y_max - y_min + 1 - - # Pad area (if possible, i.e. if pad is smaller than width/height) to avoid the sampler returning smaller results - if (mode == 'free size' or mode == 'ranged size') and padding > 1: - x_min, x_max = self.apply_padding(x_min, x_max, width, padding) - y_min, y_max = self.apply_padding(y_min, y_max, height, padding) - - # Ensure that context area doesn't go outside of the image - x_min = max(x_min, 0) - x_max = min(x_max, width - 1) - y_min = max(y_min, 0) - y_max = min(y_max, height - 1) - - # Crop the image and the mask, sized context area - cropped_image = image[:, y_min:y_max+1, x_min:x_max+1] - cropped_mask = mask[:, y_min:y_max+1, x_min:x_max+1] - cropped_mask_blend = blend_mask[:, y_min:y_max+1, x_min:x_max+1] - - # Grow and blur mask for blend if requested - if blend_pixels > 0.001: - cropped_mask_blend = self.grow_and_blur_mask(cropped_mask_blend, blend_pixels) - - # Return stitch (to be consumed by the class below), image, and mask - stitch = {'x': x_min, 'y': y_min, 'original_image': original_image, 'cropped_mask_blend': cropped_mask_blend, 'rescale_x': effective_upscale_factor_x, 'rescale_y': effective_upscale_factor_y, 'start_x': start_x, 'start_y': start_y, 'initial_width': initial_width, 'initial_height': initial_height} - - return (stitch, cropped_image, cropped_mask) - - -class InpaintStitch: - """ - ComfyUI-InpaintCropAndStitch - https://github.com/lquesada/ComfyUI-InpaintCropAndStitch - - This node stitches the inpainted image without altering unmasked areas. - """ - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "stitch": ("STITCH",), - "inpainted_image": ("IMAGE",), - "rescale_algorithm": (["nearest", "bilinear", "bicubic", "bislerp", "lanczos", "box", "hamming"], {"default": "bislerp"}), - } - } - - CATEGORY = "inpaint" - - RETURN_TYPES = ("IMAGE",) - RETURN_NAMES = ("image",) - - FUNCTION = "inpaint_stitch" - - # This function is from comfy_extras: https://github.com/comfyanonymous/ComfyUI - def composite(self, destination, source, x, y, mask=None, multiplier=8, resize_source=False): - source = source.to(destination.device) - if resize_source: - source = torch.nn.functional.interpolate(source, size=(destination.shape[2], destination.shape[3]), mode="bilinear") - - source = comfy.utils.repeat_to_batch_size(source, destination.shape[0]) - - x = max(-source.shape[3] * multiplier, min(x, destination.shape[3] * multiplier)) - y = max(-source.shape[2] * multiplier, min(y, destination.shape[2] * multiplier)) - - left, top = (x // multiplier, y // multiplier) - right, bottom = (left + source.shape[3], top + source.shape[2],) - - if mask is None: - mask = torch.ones_like(source) - else: - mask = mask.to(destination.device, copy=True) - mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(source.shape[2], source.shape[3]), mode="bilinear") - mask = comfy.utils.repeat_to_batch_size(mask, source.shape[0]) - - # calculate the bounds of the source that will be overlapping the destination - # this prevents the source trying to overwrite latent pixels that are out of bounds - # of the destination - visible_width, visible_height = (destination.shape[3] - left + min(0, x), destination.shape[2] - top + min(0, y),) - - mask = mask[:, :, :visible_height, :visible_width] - inverse_mask = torch.ones_like(mask) - mask - - source_portion = mask * source[:, :, :visible_height, :visible_width] - destination_portion = inverse_mask * destination[:, :, top:bottom, left:right] - - destination[:, :, top:bottom, left:right] = source_portion + destination_portion - return destination - - def inpaint_stitch(self, stitch, inpainted_image, rescale_algorithm): - results = [] - - batch_size = inpainted_image.shape[0] - assert len(stitch['x']) == batch_size, "Stitch size doesn't match image batch size" - for b in range(batch_size): - one_image = inpainted_image[b] - one_stitch = {} - for key in stitch: - # Extract the value at the specified index and assign it to the single_stitch dictionary - one_stitch[key] = stitch[key][b] - one_image = one_image.unsqueeze(0) - one_image, = self.inpaint_stitch_single_image(one_stitch, one_image, rescale_algorithm) - one_image = one_image.squeeze(0) - results.append(one_image) - - # Stack the results to form a batch - result_batch = torch.stack(results, dim=0) - - return (result_batch,) - - def inpaint_stitch_single_image(self, stitch, inpainted_image, rescale_algorithm): - original_image = stitch['original_image'] - cropped_mask_blend = stitch['cropped_mask_blend'] - x = stitch['x'] - y = stitch['y'] - stitched_image = original_image.clone().movedim(-1, 1) - start_x = stitch['start_x'] - start_y = stitch['start_y'] - initial_width = stitch['initial_width'] - initial_height = stitch['initial_height'] - - inpaint_width = inpainted_image.shape[2] - inpaint_height = inpainted_image.shape[1] - - # Downscale inpainted before stitching if we upscaled it before - if stitch['rescale_x'] < 0.999 or stitch['rescale_x'] > 1.001 or stitch['rescale_y'] < 0.999 or stitch['rescale_y'] > 1.001: - samples = inpainted_image.movedim(-1, 1) - - width = math.ceil(float(inpaint_width)/stitch['rescale_x'])+1 - height = math.ceil(float(inpaint_height)/stitch['rescale_y'])+1 - x = math.floor(float(x)/stitch['rescale_x']) - y = math.floor(float(y)/stitch['rescale_y']) - - samples = rescale(samples, width, height, rescale_algorithm) - inpainted_image = samples.movedim(1, -1) - - samples = cropped_mask_blend.movedim(-1, 1) - samples = samples.unsqueeze(0) - samples = rescale(samples, width, height, rescale_algorithm) - samples = samples.squeeze(0) - cropped_mask_blend = samples.movedim(1, -1) - cropped_mask_blend = torch.clamp(cropped_mask_blend, 0.0, 1.0) - - output = self.composite(stitched_image, inpainted_image.movedim(-1, 1), x, y, cropped_mask_blend, 1).movedim(1, -1) - - # Crop out from the extended dimensions back to original. - cropped_output = output[:, start_y:start_y + initial_height, start_x:start_x + initial_width, :] - output = cropped_output - return (output,) - - -class InpaintExtendOutpaint: - """ - ComfyUI-InpaintCropAndStitch - https://github.com/lquesada/ComfyUI-InpaintCropAndStitch - - This node extends an image for inpainting with Inpaint Crop and Stitch. - """ - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "image": ("IMAGE",), - "mask": ("MASK",), - "mode": (["factors", "pixels"], {"default": "factors"}), - "expand_up_pixels": ("INT", {"default": 0, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), - "expand_up_factor": ("FLOAT", {"default": 1.0, "min": 1.0, "max": 100.0, "step": 0.01}), - "expand_down_pixels": ("INT", {"default": 0, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), - "expand_down_factor": ("FLOAT", {"default": 1.0, "min": 1.0, "max": 100.0, "step": 0.01}), - "expand_left_pixels": ("INT", {"default": 0, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), - "expand_left_factor": ("FLOAT", {"default": 1.0, "min": 1.0, "max": 100.0, "step": 0.01}), - "expand_right_pixels": ("INT", {"default": 0, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), - "expand_right_factor": ("FLOAT", {"default": 1.0, "min": 1.0, "max": 100.0, "step": 0.01}), - }, - "optional": { - "optional_context_mask": ("MASK",), - } - } - - CATEGORY = "inpaint" - - RETURN_TYPES = ("IMAGE", "MASK", "MASK") - RETURN_NAMES = ("image", "mask", "context_mask") - - FUNCTION = "inpaint_extend" - - def inpaint_extend(self, image, mask, mode, expand_up_pixels, expand_up_factor, expand_down_pixels, expand_down_factor, expand_left_pixels, expand_left_factor, expand_right_pixels, expand_right_factor, optional_context_mask=None): - assert image.shape[0] == mask.shape[0], "Batch size of images and masks must be the same" - if optional_context_mask is not None: - assert optional_context_mask.shape[0] == image.shape[0], "Batch size of optional_context_masks must be the same as images or None" - - results_image = [] - results_mask = [] - results_context_mask = [] - - batch_size = image.shape[0] - for b in range(batch_size): - one_image = image[b].unsqueeze(0) # Adding batch dimension - one_mask = mask[b].unsqueeze(0) # Adding batch dimension - one_context_mask = None - if optional_context_mask is not None: - one_context_mask = optional_context_mask[b].unsqueeze(0) - - #Validate or initialize mask - if one_mask.shape[1] != one_image.shape[1] or one_mask.shape[2] != one_image.shape[2]: - non_zero_indices = torch.nonzero(one_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - one_mask = torch.zeros_like(one_image[:, :, :, 0]) - else: - assert False, "mask size must match image size" - - # Validate or initialize context mask - if one_context_mask is not None and (one_context_mask.shape[1] != one_image.shape[1] or one_context_mask.shape[2] != one_image.shape[2]): - non_zero_indices = torch.nonzero(one_context_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - one_context_mask = torch.zeros_like(one_image[:, :, :, 0]) - else: - assert False, "context_mask size must match image size" - - # Get original dimensions - orig_height, orig_width = one_image.shape[1], one_image.shape[2] - - if mode == "factors": - # Calculate new dimensions based on factors - new_height = int(orig_height * (expand_up_factor + expand_down_factor - 1)) - new_width = int(orig_width * (expand_left_factor + expand_right_factor - 1)) - - up_padding = int(orig_height * (expand_up_factor - 1)) - down_padding = new_height - orig_height - up_padding - left_padding = int(orig_width * (expand_left_factor - 1)) - right_padding = new_width - orig_width - left_padding - elif mode == "pixels": - # Calculate new dimensions based on pixel expansion - new_height = orig_height + expand_up_pixels + expand_down_pixels - new_width = orig_width + expand_left_pixels + expand_right_pixels - - up_padding = expand_up_pixels - down_padding = expand_down_pixels - left_padding = expand_left_pixels - right_padding = expand_right_pixels - - # Expand image - new_image = torch.zeros((one_image.shape[0], new_height, new_width, one_image.shape[3]), dtype=one_image.dtype) - new_image[:, up_padding:up_padding + orig_height, left_padding:left_padding + orig_width, :] = one_image.squeeze(0) - - start_y = up_padding - start_x = left_padding - initial_height = orig_height - initial_width = orig_width - - # Mirror image so there's no bleeding of black border when using inpaintmodelconditioning - available_top = min(start_y, initial_height) - available_bottom = min(new_height - (start_y + initial_height), initial_height) - available_left = min(start_x, initial_width) - available_right = min(new_width - (start_x + initial_width), initial_width) - # Top - if available_top: - new_image[:, start_y - available_top:start_y, start_x:start_x + initial_width, :] = torch.flip(image[:, :available_top, :, :], [1]) - # Bottom - if available_bottom: - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x:start_x + initial_width, :] = torch.flip(image[:, -available_bottom:, :, :], [1]) - # Left - if available_left: - new_image[:, start_y:start_y + initial_height, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y:start_y + initial_height, start_x:start_x + available_left, :], [2]) - # Right - if available_right: - new_image[:, start_y:start_y + initial_height, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width, :], [2]) - # Top-left corner - if available_top and available_left: - new_image[:, start_y - available_top:start_y, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y:start_y + available_top, start_x:start_x + available_left, :], [1, 2]) - # Top-right corner - if available_top and available_right: - new_image[:, start_y - available_top:start_y, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y:start_y + available_top, start_x + initial_width - available_right:start_x + initial_width, :], [1, 2]) - # Bottom-left corner - if available_bottom and available_left: - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x - available_left:start_x, :] = torch.flip(new_image[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x:start_x + available_left, :], [1, 2]) - # Bottom-right corner - if available_bottom and available_right: - new_image[:, start_y + initial_height:start_y + initial_height + available_bottom, start_x + initial_width:start_x + initial_width + available_right, :] = torch.flip(new_image[:, start_y + initial_height - available_bottom:start_y + initial_height, start_x + initial_width - available_right:start_x + initial_width, :], [1, 2]) - - - # Expand mask - new_mask = torch.ones((one_mask.shape[0], new_height, new_width), dtype=one_mask.dtype) - new_mask[:, up_padding:up_padding + orig_height, left_padding:left_padding + orig_width] = one_mask.squeeze(0) - - # Expand context mask if present - if one_context_mask is not None: - new_context_mask = torch.zeros((one_context_mask.shape[0], new_height, new_width), dtype=one_context_mask.dtype) - new_context_mask[:, up_padding:up_padding + orig_height, left_padding:left_padding + orig_width] = one_context_mask.squeeze(0) - - # Append results - results_image.append(new_image.squeeze(0)) - results_mask.append(new_mask.squeeze(0)) - if one_context_mask is not None: - results_context_mask.append(new_context_mask.squeeze(0)) - - # Stack the results to form batches - output_image = torch.stack(results_image, dim=0) - output_mask = torch.stack(results_mask, dim=0) - output_context_mask = None - if optional_context_mask is not None: - output_context_mask = torch.stack(results_context_mask, dim=0) - - return (output_image, output_mask, output_context_mask) - - -class InpaintResize: - """ - ComfyUI-InpaintCropAndStitch - https://github.com/lquesada/ComfyUI-InpaintCropAndStitch - - This node resizes an image before inpainting with Inpaint Crop and Stitch. - """ - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "image": ("IMAGE",), - "mask": ("MASK",), - "rescale_algorithm": (["nearest", "bilinear", "bicubic", "bislerp", "lanczos", "box", "hamming"], {"default": "bicubic"}), - "mode": (["ensure minimum size", "factor"], {"default": "ensure minimum size"}), - "min_width": ("INT", {"default": 1024, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "min_height": ("INT", {"default": 1024, "min": 0, "max": nodes.MAX_RESOLUTION, "step": 1}), # ranged - "rescale_factor": ("FLOAT", {"default": 1.00, "min": 0.01, "max": 100.0, "step": 0.01}), # free - }, - "optional": { - "optional_context_mask": ("MASK",), - } - } - - CATEGORY = "inpaint" - - RETURN_TYPES = ("IMAGE", "MASK", "MASK") - RETURN_NAMES = ("image", "mask", "context_mask") - - FUNCTION = "inpaint_resize" - - def inpaint_resize(self, image, mask, rescale_algorithm, mode, min_width, min_height, rescale_factor, optional_context_mask=None): - assert image.shape[0] == mask.shape[0], "Batch size of images and masks must be the same" - if optional_context_mask is not None: - assert optional_context_mask.shape[0] == image.shape[0], "Batch size of optional_context_masks must be the same as images or None" - - results_image = [] - results_mask = [] - results_context_mask = [] - - batch_size = image.shape[0] - for b in range(batch_size): - one_image = image[b].unsqueeze(0) # Adding batch dimension - one_mask = mask[b].unsqueeze(0) # Adding batch dimension - one_context_mask = None - if optional_context_mask is not None: - one_context_mask = optional_context_mask[b].unsqueeze(0) - - #Validate or initialize mask - if one_mask.shape[1] != one_image.shape[1] or one_mask.shape[2] != one_image.shape[2]: - non_zero_indices = torch.nonzero(one_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - one_mask = torch.zeros_like(one_image[:, :, :, 0]) - else: - assert False, "mask size must match image size" - - # Validate or initialize context mask - if one_context_mask is not None and (one_context_mask.shape[1] != one_image.shape[1] or one_context_mask.shape[2] != one_image.shape[2]): - non_zero_indices = torch.nonzero(one_context_mask[0], as_tuple=True) - if not non_zero_indices[0].size(0): - one_context_mask = torch.zeros_like(one_image[:, :, :, 0]) - else: - assert False, "context_mask size must match image size" - - # Get original dimensions - orig_height, orig_width = one_image.shape[1], one_image.shape[2] - - # Calculate target width and height - if mode == "ensure minimum size": - # Start with original dimensions - width = orig_width - height = orig_height - - # If either dimension is smaller than the minimum, scale up - if orig_width < min_width or orig_height < min_height: - aspect_ratio = orig_width / orig_height - if min_width / aspect_ratio >= min_height: - width = min_width - height = int(min_width / aspect_ratio) - else: - height = min_height - width = int(min_height * aspect_ratio) - - # Ensure the dimensions are at least min_width and min_height - width = max(width, min_width) - height = max(height, min_height) - - elif mode == "factor": - width = round(orig_width * rescale_factor) - height = round(orig_height * rescale_factor) - - # Resize - if orig_width != width or orig_height != height: - samples = one_image - samples = samples.movedim(-1, 1) - samples = rescale(samples, width, height, rescale_algorithm) - samples = samples.movedim(1, -1) - one_image = samples - - samples = one_mask - samples = samples.unsqueeze(1) - samples = rescale(samples, width, height, "nearest") - samples = samples.squeeze(1) - one_mask = samples - - if one_context_mask is not None: - samples = one_context_mask - samples = samples.unsqueeze(1) - samples = rescale(samples, width, height, "nearest") - samples = samples.squeeze(1) - one_context_mask = samples - - # Append results - results_image.append(one_image.squeeze(0)) - results_mask.append(one_mask.squeeze(0)) - if one_context_mask is not None: - results_context_mask.append(one_context_mask.squeeze(0)) - - # Stack the results to form batches - output_image = torch.stack(results_image, dim=0) - output_mask = torch.stack(results_mask, dim=0) - output_context_mask = None - if optional_context_mask is not None: - output_context_mask = torch.stack(results_context_mask, dim=0) - - return (output_image, output_mask, output_context_mask) diff --git a/pyproject.toml b/pyproject.toml index 9d7ff22..b1e4a46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-inpaint-cropandstitch" description = "The '✂️ Inpaint Crop' and '✂️ Inpaint Stitch' nodes enable inpainting only on masked area very easily: crop the image around the masked area with the Crop node, then use any standard workflow for sampling, then connect the sampled image to the Stitch node, which will put it back in place in the original image. These nodes enable faster sampling of smaller areas and take care of downsampling and upsampling to fit specific model and resource needs." -version = "2.1.9" +version = "3.0.0" license = { file = "LICENSE" } [project.urls] diff --git a/testscpu.json b/testscpu.json new file mode 100644 index 0000000..646d4fb --- /dev/null +++ b/testscpu.json @@ -0,0 +1 @@ +{"id":"b0a93d1a-b030-4e82-8b0a-8d5789363be7","revision":0,"last_node_id":1153,"last_link_id":1529,"nodes":[{"id":8,"type":"PreviewImage","pos":[-14550,-5140],"size":[210,246],"flags":{},"order":216,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":223}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":18,"type":"PreviewImage","pos":[-14520,-3450],"size":[210,246],"flags":{},"order":564,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":225}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":22,"type":"PreviewImage","pos":[-14550,-2390],"size":[210,246],"flags":{},"order":562,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":227}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":32,"type":"PreviewImage","pos":[-12970,-2360],"size":[210,246],"flags":{},"order":576,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":217}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":38,"type":"LoadImage","pos":[-13970,-4980],"size":[315,314],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[53]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[54,60]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":48,"type":"PreviewImage","pos":[-11390,-2350],"size":[210,246],"flags":{},"order":570,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":218}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":50,"type":"PreviewImage","pos":[-11390,-5100],"size":[210,246],"flags":{},"order":214,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":221}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":53,"type":"PreviewImage","pos":[-11360,-3410],"size":[210,246],"flags":{},"order":568,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":219}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":56,"type":"LoadImage","pos":[-12390,-4970],"size":[315,314],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[70]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[83]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":68,"type":"PreviewImage","pos":[-14600,-1220],"size":[210,246],"flags":{},"order":560,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":215}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":76,"type":"PreviewImage","pos":[-13160,-1250],"size":[210,246],"flags":{},"order":573,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":216}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":39,"type":"PreviewImage","pos":[-12940,-3420],"size":[210,246],"flags":{},"order":566,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":220}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":10,"type":"LoadImage","pos":[-15550,-5010],"size":[315,314],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[28]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[29]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":87,"type":"PreviewImage","pos":[-8200,-4520],"size":[210,246],"flags":{},"order":218,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":125}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":90,"type":"LoadImage","pos":[-9200,-4390],"size":[315,314],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[127]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[128,129]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":91,"type":"PreviewImage","pos":[-8250,-3750],"size":[210,246],"flags":{},"order":234,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":130}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":85,"type":"LoadImage","pos":[-9220,-5170],"size":[315,314],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[122]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[123,124]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":105,"type":"LoadImage","pos":[-1600,-5170],"size":[315,314],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[142,195,196,197,198]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[143,144,191,192,193,194,774]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":143,"type":"PreviewImage","pos":[-14570,-4280],"size":[210,246],"flags":{},"order":232,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":231}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":145,"type":"PreviewImage","pos":[-12990,-4250],"size":[210,246],"flags":{},"order":228,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":233}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":148,"type":"PreviewImage","pos":[-11410,-4240],"size":[210,246],"flags":{},"order":230,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":235}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":156,"type":"LoadImage","pos":[-13950,-4130],"size":[315,314],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[244]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[245]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":157,"type":"LoadImage","pos":[-12380,-4100],"size":[315,314],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[246]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[247]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":155,"type":"LoadImage","pos":[-15520,-4170],"size":[315,314],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[248]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[249]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":158,"type":"LoadImage","pos":[-9260,-3610],"size":[315,314],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[251]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[252]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":139,"type":"LoadImage","pos":[-7710,-5210],"size":[315,314],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[188]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[189,190,818]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":165,"type":"LoadImage","pos":[-4710,-4390],"size":[315,314],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[266]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[267,268,800]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":159,"type":"LoadImage","pos":[-4800,-5200],"size":[315,314],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[260]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[261,262,802]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":171,"type":"LoadImage","pos":[-4720,-3550],"size":[315,314],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[272]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[273,274,798]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":178,"type":"LoadImage","pos":[-6280,-4400],"size":[315,314],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[287]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[288,289,812]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":180,"type":"LoadImage","pos":[-6370,-5210],"size":[315,314],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[290]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[291,292,814]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":183,"type":"LoadImage","pos":[-6290,-3560],"size":[315,314],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[284]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[285,286,810]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":160,"type":"Note","pos":[-4650,-5440],"size":[210,88],"flags":{},"order":17,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["invert"],"color":"#432","bgcolor":"#653"},{"id":197,"type":"LoadImage","pos":[-3110,-5180],"size":[315,314],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[309]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[310,311,778]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":200,"type":"Note","pos":[-2960,-5420],"size":[210,88],"flags":{},"order":19,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["blur for blend"],"color":"#432","bgcolor":"#653"},{"id":190,"type":"InpaintCropImproved","pos":[-4250,-2830],"size":[522.4000244140625,1110],"flags":{},"order":167,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":298},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":299},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":300},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[794]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,true,100,true,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":89,"type":"InpaintCropImproved","pos":[-8750,-4500],"size":[522.4000244140625,1110],"flags":{},"order":103,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":127},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":128},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":129},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[125]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[822]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure maximum resolution",16000,16000,128,128,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":94,"type":"InpaintCropImproved","pos":[-8800,-3730],"size":[522.4000244140625,1110],"flags":{},"order":114,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":251},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":252},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[130]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[824]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure minimum and maximum resolution",128,128,2048,2048,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":52,"type":"InpaintCropImproved","pos":[-11940,-5080],"size":[522.4000244140625,1110],"flags":{},"order":101,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":70},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":83},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[221]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[846]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":152,"type":"InpaintCropImproved","pos":[-11960,-4220],"size":[522.4000244140625,1110],"flags":{},"order":112,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":246},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":247},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[235]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[844]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":54,"type":"InpaintCropImproved","pos":[-11910,-3390],"size":[522.4000244140625,1110],"flags":{},"order":354,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":975},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":84},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[219]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[842]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":60,"type":"InpaintCropImproved","pos":[-11940,-2330],"size":[522.4000244140625,1110],"flags":{},"order":355,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":977},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":919},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":920},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[218]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[840]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":30,"type":"InpaintCropImproved","pos":[-13520,-2340],"size":[522.4000244140625,1110],"flags":{},"order":359,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":990},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":926},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":927},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[217]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[836]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":40,"type":"InpaintCropImproved","pos":[-13490,-3400],"size":[522.4000244140625,1110],"flags":{},"order":353,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":970},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":57},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":61},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[220]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[852]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":153,"type":"InpaintCropImproved","pos":[-13540,-4230],"size":[522.4000244140625,1110],"flags":{},"order":111,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":244},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":245},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[233]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[850]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":15,"type":"InpaintCropImproved","pos":[-15100,-5120],"size":[522.4000244140625,1110],"flags":{},"order":102,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":28},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":29},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[223]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[858]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1,1.2,false,512,512,"32","cpu (compatible)"]},{"id":154,"type":"InpaintCropImproved","pos":[-15120,-4260],"size":[522.4000244140625,1110],"flags":{},"order":113,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":248},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":249},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[231]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[856]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":23,"type":"InpaintCropImproved","pos":[-15100,-2370],"size":[522.4000244140625,1110],"flags":{},"order":350,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":955},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":946},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[227]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[860]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":72,"type":"InpaintCropImproved","pos":[-15150,-1200],"size":[522.4000244140625,1110],"flags":{},"order":348,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":953},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":104},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":105},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[215]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[828]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":78,"type":"InpaintCropImproved","pos":[-13710,-1230],"size":[522.4000244140625,1110],"flags":{},"order":357,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":985},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":933},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":934},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[216]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[832]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":211,"type":"LoadImage","pos":[-3080,-3510],"size":[315,314],"flags":{},"order":20,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[323]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[324,325,785]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":207,"type":"LoadImage","pos":[-3080,-4370],"size":[315,314],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[318]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[319,320,782]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":86,"type":"InpaintCropImproved","pos":[-8770,-5280],"size":[522.4000244140625,1110],"flags":{},"order":104,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":122},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":123},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":124},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[229]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[820]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":131,"type":"InpaintCropImproved","pos":[-940,-2600],"size":[522.4000244140625,1110],"flags":{},"order":108,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":197},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":193},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[770]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0.5000000000000001,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":136,"type":"InpaintCropImproved","pos":[-970,-1740],"size":[522.4000244140625,1110],"flags":{},"order":109,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":198},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":194},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[772]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,1,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":126,"type":"InpaintCropImproved","pos":[-970,-3510],"size":[522.4000244140625,1110],"flags":{},"order":107,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":196},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":192},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[768]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0.30000000000000004,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":107,"type":"InpaintCropImproved","pos":[-1010,-5260],"size":[522.4000244140625,1110],"flags":{},"order":105,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":142},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":143},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":144},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[764]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":121,"type":"InpaintCropImproved","pos":[-970,-4410],"size":[522.4000244140625,1110],"flags":{},"order":106,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":195},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":191},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[766]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0.15000000000000002,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":186,"type":"InpaintCropImproved","pos":[-5780,-5300],"size":[522.4000244140625,1110],"flags":{},"order":125,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":290},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":291},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":292},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[804]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,10,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":185,"type":"InpaintCropImproved","pos":[-5830,-4510],"size":[522.4000244140625,1110],"flags":{},"order":123,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":287},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":288},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":289},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[806]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,200,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":184,"type":"InpaintCropImproved","pos":[-5840,-3670],"size":[522.4000244140625,1110],"flags":{},"order":127,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":284},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":285},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":286},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[808]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,500,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":163,"type":"InpaintCropImproved","pos":[-4210,-5290],"size":[522.4000244140625,1110],"flags":{},"order":119,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":260},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":261},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":262},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[788]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":173,"type":"InpaintCropImproved","pos":[-4270,-3660],"size":[522.4000244140625,1110],"flags":{},"order":121,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":272},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":273},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":274},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[792]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,true,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":167,"type":"InpaintCropImproved","pos":[-4260,-4500],"size":[522.4000244140625,1110],"flags":{},"order":117,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":266},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":267},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":268},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[790]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":208,"type":"InpaintCropImproved","pos":[-2490,-4460],"size":[522.4000244140625,1110],"flags":{},"order":133,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":318},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":319},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":320},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[781]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,32,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":202,"type":"InpaintCropImproved","pos":[-2520,-5270],"size":[522.4000244140625,1110],"flags":{},"order":129,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":309},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":310},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":311},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[776]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,16,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":212,"type":"InpaintCropImproved","pos":[-2490,-3600],"size":[522.4000244140625,1110],"flags":{},"order":131,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":323},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":324},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":325},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[786]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,64,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":106,"type":"Note","pos":[-1450,-5410],"size":[210,88],"flags":{},"order":22,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Hipass filtered"],"color":"#432","bgcolor":"#653"},{"id":215,"type":"LoadImage","pos":[-10,-5240],"size":[315,314],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[347,349,351,353,356]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[348,350,352,354,355,357,762]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":83,"type":"PreviewImage","pos":[-8220,-5300],"size":[210,246],"flags":{},"order":220,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":229}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":227,"type":"PreviewImage","pos":[1140,-5310],"size":[210,246],"flags":{},"order":262,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":359}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":225,"type":"InpaintCropImproved","pos":[580,-5330],"size":[522.4000244140625,1110],"flags":{},"order":138,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":353},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":354},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":355},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[359]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[758]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":228,"type":"PreviewImage","pos":[1170,-4510],"size":[210,246],"flags":{},"order":264,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":361}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":229,"type":"PreviewImage","pos":[1160,-3600],"size":[210,246],"flags":{},"order":260,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":362}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":231,"type":"PreviewImage","pos":[1160,-1840],"size":[210,246],"flags":{},"order":258,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":366}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":223,"type":"InpaintCropImproved","pos":[620,-1810],"size":[522.4000244140625,1110],"flags":{},"order":136,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":349},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":350},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[366]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[750]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,0,true,2.0000000000000004,2.0000000000000004,2.0000000000000004,2.0000000000000004,1.2,false,512,512,"32","cpu (compatible)"]},{"id":222,"type":"InpaintCropImproved","pos":[650,-2670],"size":[522.4000244140625,1110],"flags":{},"order":135,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":347},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":348},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[364]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[752]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0,true,2.0000000000000004,1.0000000000000002,2.0000000000000004,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":224,"type":"InpaintCropImproved","pos":[620,-3580],"size":[522.4000244140625,1110],"flags":{},"order":137,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":351},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":352},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[362]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[754]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0,true,1.0000000000000002,1.0000000000000002,2.0000000000000004,2.0000000000000004,1.2,false,512,512,"32","cpu (compatible)"]},{"id":232,"type":"PreviewImage","pos":[2660,-1890],"size":[210,246],"flags":{},"order":269,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":368}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":239,"type":"PreviewImage","pos":[2670,-4560],"size":[210,246],"flags":{},"order":273,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":376}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":241,"type":"PreviewImage","pos":[2660,-3650],"size":[210,246],"flags":{},"order":275,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":378}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":243,"type":"PreviewImage","pos":[2680,-2770],"size":[210,246],"flags":{},"order":271,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":380}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":234,"type":"LoadImage","pos":[1490,-5290],"size":[315,314],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[372,382,384,386,388]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[373,374,383,385,387,389,760]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":237,"type":"InpaintCropImproved","pos":[2080,-5380],"size":[522.4000244140625,1110],"flags":{},"order":141,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":372},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":373},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":374},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[370]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[740]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.7000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":247,"type":"InpaintCropImproved","pos":[2120,-4530],"size":[522.4000244140625,1110],"flags":{},"order":144,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":386},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":387},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[376]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[742]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,1.0000000000000002,0.7000000000000002,0.7000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":248,"type":"InpaintCropImproved","pos":[2120,-3630],"size":[522.4000244140625,1110],"flags":{},"order":145,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":388},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":389},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[378]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[744]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0,true,1.0000000000000002,1.0000000000000002,2.0000000000000004,0.10000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":245,"type":"InpaintCropImproved","pos":[2120,-1860],"size":[522.4000244140625,1110],"flags":{},"order":142,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":382},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":383},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[368]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[748]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,0,true,3.0000000000000004,0.33000000000000007,1.0000000000000002,1.5000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":176,"type":"Note","pos":[-6220,-5450],"size":[210,88],"flags":{},"order":25,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["expand mask"],"color":"#432","bgcolor":"#653"},{"id":251,"type":"LoadImage","pos":[-15460,610],"size":[315,314],"flags":{},"order":26,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[392]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[393]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":255,"type":"LoadImage","pos":[-15430,1310],"size":[315,314],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[403]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[404,862]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":262,"type":"LoadImage","pos":[-14030,600],"size":[315,314],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[406]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[407]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":263,"type":"Note","pos":[-14030,240],"size":[210,88],"flags":{},"order":29,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context extend factor"],"color":"#432","bgcolor":"#653"},{"id":266,"type":"LoadImage","pos":[-14020,1380],"size":[315,314],"flags":{},"order":30,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[409]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[410]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":235,"type":"PreviewImage","pos":[2640,-5360],"size":[210,246],"flags":{},"order":267,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":370}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":252,"type":"InpaintCropImproved","pos":[-15040,490],"size":[522.4000244140625,1110],"flags":{},"order":147,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":392},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":393},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[738]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[414]},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":271,"type":"PreviewImage","pos":[-14490,900],"size":[210,246],"flags":{},"order":279,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":414}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":272,"type":"PreviewImage","pos":[-14370,1660],"size":[210,246],"flags":{},"order":281,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":416}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":261,"type":"InpaintCropImproved","pos":[-14950,1310],"size":[522.4000244140625,1110],"flags":{},"order":148,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":403},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":404},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[736]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[416]},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,3.0000000000000004,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":273,"type":"PreviewImage","pos":[-13040,1650],"size":[210,246],"flags":{},"order":286,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":418}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":268,"type":"InpaintCropImproved","pos":[-13600,1260],"size":[522.4000244140625,1110],"flags":{},"order":151,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":409},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":410},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[734]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[418]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,2.0000000000000004,false,512,512,"32","cpu (compatible)"]},{"id":274,"type":"PreviewImage","pos":[-13070,880],"size":[210,246],"flags":{},"order":284,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":420}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":265,"type":"InpaintCropImproved","pos":[-13610,480],"size":[522.4000244140625,1110],"flags":{},"order":150,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":406},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":407},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[732]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[420]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":81,"type":"Note","pos":[-15420,-5350],"size":[490,150],"flags":{},"order":31,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Initialization / asserts / fixing mask and optional_context_mask"],"color":"#432","bgcolor":"#653"},{"id":282,"type":"PreviewImage","pos":[-11670,930],"size":[210,246],"flags":{},"order":288,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":437}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":275,"type":"LoadImage","pos":[-12630,650],"size":[315,314],"flags":{},"order":32,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[427]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[428]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":284,"type":"LoadImage","pos":[-12610,1030],"size":[315,314],"flags":{},"order":33,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[429]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":286,"type":"PreviewImage","pos":[-11650,1840],"size":[210,246],"flags":{},"order":290,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":435}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":288,"type":"LoadImage","pos":[-12610,1560],"size":[315,314],"flags":{},"order":34,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[432]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[433]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":289,"type":"LoadImage","pos":[-12590,1940],"size":[315,314],"flags":{},"order":35,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[434]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3535755.200000003.png [input]","image"]},{"id":283,"type":"InpaintCropImproved","pos":[-12210,530],"size":[522.4000244140625,1110],"flags":{},"order":152,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":427},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":428},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":429},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[730]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[437]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":287,"type":"InpaintCropImproved","pos":[-12190,1440],"size":[522.4000244140625,1110],"flags":{},"order":153,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":432},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":433},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":434},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[728]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[435]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,2.0000000000000004,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":293,"type":"LoadImage","pos":[-8210,550],"size":[315,314],"flags":{},"order":36,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[443]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[444]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":297,"type":"LoadImage","pos":[-8190,1460],"size":[315,314],"flags":{},"order":37,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[446]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[447]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":294,"type":"LoadImage","pos":[-8190,930],"size":[315,314],"flags":{},"order":38,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[445]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":298,"type":"LoadImage","pos":[-8170,1840],"size":[315,314],"flags":{},"order":39,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[448]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-225116.5.png [input]","image"]},{"id":305,"type":"PreviewImage","pos":[-11630,2810],"size":[210,246],"flags":{},"order":306,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":457}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":306,"type":"LoadImage","pos":[-12590,2530],"size":[315,314],"flags":{},"order":40,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[458]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[459]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":308,"type":"InpaintCropImproved","pos":[-12170,2410],"size":[522.4000244140625,1110],"flags":{},"order":156,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":458},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":459},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":465},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[726]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[457]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":307,"type":"LoadImage","pos":[-12570,2910],"size":[315,314],"flags":{},"order":41,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[465]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":313,"type":"PreviewImage","pos":[-11630,3800],"size":[210,246],"flags":{},"order":308,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":467}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":316,"type":"LoadImage","pos":[-12570,3900],"size":[315,314],"flags":{},"order":42,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[470]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":314,"type":"LoadImage","pos":[-12590,3520],"size":[315,314],"flags":{},"order":43,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[468]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[469]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":315,"type":"InpaintCropImproved","pos":[-12170,3400],"size":[522.4000244140625,1110],"flags":{},"order":157,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":468},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":469},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":470},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[724]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[467]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":318,"type":"PreviewImage","pos":[-11620,4700],"size":[210,246],"flags":{},"order":440,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":472}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":319,"type":"LoadImage","pos":[-12560,4800],"size":[315,314],"flags":{},"order":44,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[476]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":325,"type":"PreviewImage","pos":[-7160,2670],"size":[210,246],"flags":{},"order":309,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":484}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":324,"type":"LoadImage","pos":[-8150,2490],"size":[315,314],"flags":{},"order":45,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[481]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[482]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":329,"type":"InpaintCropImproved","pos":[-7730,2370],"size":[522.4000244140625,1110],"flags":{},"order":158,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":481},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":482},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[484,488]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[489,710]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":336,"type":"PreviewImage","pos":[-7180,3700],"size":[210,246],"flags":{},"order":312,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":494}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":337,"type":"LoadImage","pos":[-8170,3520],"size":[315,314],"flags":{},"order":46,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[497]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[498]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":340,"type":"InpaintCropImproved","pos":[-7750,3400],"size":[522.4000244140625,1110],"flags":{},"order":159,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":497},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":498},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[494,500]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[501,720]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":277,"type":"Note","pos":[-12630,290],"size":[210,88],"flags":{},"order":47,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context add context mask"],"color":"#432","bgcolor":"#653"},{"id":142,"type":"Note","pos":[-7680,-5450],"size":[210,88],"flags":{},"order":48,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Fill holes"],"color":"#432","bgcolor":"#653"},{"id":350,"type":"LoadImage","pos":[-4950,1440],"size":[315,314],"flags":{},"order":49,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[529]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[530]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":352,"type":"LoadImage","pos":[-4950,910],"size":[315,314],"flags":{},"order":50,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[537]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":353,"type":"LoadImage","pos":[-4930,1820],"size":[315,314],"flags":{},"order":51,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[531]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-225116.5.png [input]","image"]},{"id":354,"type":"PreviewImage","pos":[-3920,2650],"size":[210,246],"flags":{},"order":322,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":514}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":355,"type":"LoadImage","pos":[-4910,2470],"size":[315,314],"flags":{},"order":52,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[517]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[518]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":358,"type":"InpaintCropImproved","pos":[-4490,2350],"size":[522.4000244140625,1110],"flags":{},"order":161,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":517},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":518},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[514,543]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[544,682]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":362,"type":"PreviewImage","pos":[-3940,3680],"size":[210,246],"flags":{},"order":325,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":522}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":363,"type":"LoadImage","pos":[-4930,3500],"size":[315,314],"flags":{},"order":53,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[526]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[527]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":365,"type":"PreviewImage","pos":[-3080,3530],"size":[210,246],"flags":{},"order":531,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":524}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":367,"type":"InpaintCropImproved","pos":[-4510,3380],"size":[522.4000244140625,1110],"flags":{},"order":162,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":526},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":527},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[522,547]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[548,688]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":370,"type":"PreviewImage","pos":[-3960,1490],"size":[210,246],"flags":{},"order":317,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":532}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":393,"type":"PreviewImage","pos":[-3470,550],"size":[210,246],"flags":{},"order":328,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":557}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":395,"type":"PreviewImage","pos":[-3470,1400],"size":[210,246],"flags":{},"order":315,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":559}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":397,"type":"PreviewImage","pos":[-2540,2510],"size":[210,246],"flags":{},"order":521,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":561}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":399,"type":"PreviewImage","pos":[-2570,3500],"size":[210,246],"flags":{},"order":529,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":563}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":349,"type":"LoadImage","pos":[-4970,530],"size":[315,314],"flags":{},"order":54,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[535]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[536]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":299,"type":"InpaintCropImproved","pos":[-7790,430],"size":[522.4000244140625,1110],"flags":{},"order":154,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":443},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":444},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":445},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[549]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[702]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[450]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[704]},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[565]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[566]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[567]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":300,"type":"InpaintCropImproved","pos":[-7770,1340],"size":[522.4000244140625,1110],"flags":{},"order":155,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":446},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":447},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":448},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[551]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[708]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[453]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[706]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[568]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[569]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[570]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","cpu (compatible)"]},{"id":369,"type":"InpaintCropImproved","pos":[-4530,1320],"size":[522.4000244140625,1110],"flags":{},"order":160,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":529},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":530},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":531},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[559]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[676]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[532]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[674]},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[580]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[581]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[582]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":419,"type":"PreviewImage","pos":[-2800,2500],"size":[210,246],"flags":{},"order":525,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":583}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":423,"type":"PreviewImage","pos":[-2830,3830],"size":[210,246],"flags":{},"order":534,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":587}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":342,"type":"InpaintCropImproved","pos":[-6900,3370],"size":[522.4000244140625,1110],"flags":{},"order":313,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":500},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":501},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[555]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[718]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[496]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[716]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[574]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[575]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[576]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","cpu (compatible)"]},{"id":333,"type":"InpaintCropImproved","pos":[-6880,2340],"size":[522.4000244140625,1110],"flags":{},"order":310,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":488},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":489},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[553]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[714]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[491]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[712]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[571]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[572]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[573]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","cpu (compatible)"]},{"id":382,"type":"InpaintCropImproved","pos":[-3660,3350],"size":[522.4000244140625,1110],"flags":{},"order":326,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":547},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":548},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[563]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[686]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[524]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[684]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[586]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[587]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[588]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":427,"type":"PreviewImage","pos":[-3950,4730],"size":[210,246],"flags":{},"order":335,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":591}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":430,"type":"PreviewImage","pos":[-3100,4530],"size":[210,246],"flags":{},"order":541,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":593}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":432,"type":"InpaintCropImproved","pos":[-4520,4430],"size":[522.4000244140625,1110],"flags":{},"order":164,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":595},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":596},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[591,603]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[604,700]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":437,"type":"PreviewImage","pos":[-2850,4530],"size":[210,246],"flags":{},"order":543,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":601}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":428,"type":"LoadImage","pos":[-4940,4550],"size":[315,314],"flags":{},"order":55,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[595]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[596]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3225001.799999997.png [input]","image"]},{"id":400,"type":"PreviewImage","pos":[-6980,610],"size":[210,246],"flags":{},"order":295,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":565}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":401,"type":"PreviewImage","pos":[-6980,920],"size":[210,246],"flags":{},"order":296,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":566}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":404,"type":"PreviewImage","pos":[-6930,1460],"size":[210,246],"flags":{},"order":302,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":568}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":296,"type":"PreviewImage","pos":[-7210,1470],"size":[210,246],"flags":{},"order":300,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":453}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":331,"type":"PreviewImage","pos":[-6310,2490],"size":[210,246],"flags":{},"order":505,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":491}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":407,"type":"PreviewImage","pos":[-6060,2500],"size":[210,246],"flags":{},"order":507,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":571}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":339,"type":"PreviewImage","pos":[-6310,3500],"size":[210,246],"flags":{},"order":513,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":496}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":410,"type":"PreviewImage","pos":[-6070,3500],"size":[210,246],"flags":{},"order":515,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":574}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":411,"type":"PreviewImage","pos":[-6080,3810],"size":[210,246],"flags":{},"order":516,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":575}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":391,"type":"PreviewImage","pos":[-5840,3470],"size":[210,246],"flags":{},"order":511,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":555}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":384,"type":"PreviewImage","pos":[-6720,610],"size":[210,246],"flags":{},"order":291,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":549}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":402,"type":"PreviewImage","pos":[-6470,770],"size":[210,246],"flags":{},"order":297,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":567}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":386,"type":"PreviewImage","pos":[-6680,1440],"size":[210,246],"flags":{},"order":298,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":551}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":405,"type":"PreviewImage","pos":[-6920,1770],"size":[210,246],"flags":{},"order":303,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":569}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":403,"type":"PreviewImage","pos":[-6400,1610],"size":[210,246],"flags":{},"order":304,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":570}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":408,"type":"PreviewImage","pos":[-6060,2800],"size":[210,246],"flags":{},"order":508,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":572}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":406,"type":"PreviewImage","pos":[-5510,2720],"size":[210,246],"flags":{},"order":509,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":573}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":389,"type":"PreviewImage","pos":[-5790,2490],"size":[210,246],"flags":{},"order":503,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":553}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":409,"type":"PreviewImage","pos":[-5560,3650],"size":[210,246],"flags":{},"order":517,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":576}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":351,"type":"PreviewImage","pos":[-4000,520],"size":[210,246],"flags":{},"order":330,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":513}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":413,"type":"PreviewImage","pos":[-3730,530],"size":[210,246],"flags":{},"order":332,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":577}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":414,"type":"PreviewImage","pos":[-3720,840],"size":[210,246],"flags":{},"order":333,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":578}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":412,"type":"PreviewImage","pos":[-3200,710],"size":[210,246],"flags":{},"order":334,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":579}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":416,"type":"PreviewImage","pos":[-3720,1480],"size":[210,246],"flags":{},"order":319,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":580}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":417,"type":"PreviewImage","pos":[-3710,1790],"size":[210,246],"flags":{},"order":320,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":581}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":415,"type":"PreviewImage","pos":[-3180,1590],"size":[210,246],"flags":{},"order":321,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":582}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":420,"type":"PreviewImage","pos":[-2800,2810],"size":[210,246],"flags":{},"order":526,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":584}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":418,"type":"PreviewImage","pos":[-2270,2670],"size":[210,246],"flags":{},"order":527,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":585}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":368,"type":"PreviewImage","pos":[-3060,2500],"size":[210,246],"flags":{},"order":523,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":528}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":422,"type":"PreviewImage","pos":[-2830,3520],"size":[210,246],"flags":{},"order":533,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":586}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":421,"type":"PreviewImage","pos":[-2330,3680],"size":[210,246],"flags":{},"order":535,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":588}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":373,"type":"InpaintCropImproved","pos":[-4550,390],"size":[522.4000244140625,1110],"flags":{},"order":163,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":535},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":536},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":537},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[557]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[670]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[513]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[672]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[577]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[578]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[579]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"8","cpu (compatible)"]},{"id":439,"type":"InpaintCropImproved","pos":[-3670,4400],"size":[522.4000244140625,1110],"flags":{},"order":336,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":603},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":604},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[599]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[692]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[593]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[690]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[601]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[602]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[600]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":453,"type":"PreviewImage","pos":[-4790,3300],"size":[210,246],"flags":{},"order":338,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":618}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":456,"type":"InpaintCropImproved","pos":[-4530,5570],"size":[522.4000244140625,1110],"flags":{},"order":165,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":620},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":621},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[618,626]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[627,698]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":458,"type":"PreviewImage","pos":[-3410,3160],"size":[210,246],"flags":{},"order":547,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":623}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":460,"type":"PreviewImage","pos":[-3670,3150],"size":[210,246],"flags":{},"order":551,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":625}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":462,"type":"PreviewImage","pos":[-3670,3460],"size":[210,246],"flags":{},"order":552,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":628}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":463,"type":"PreviewImage","pos":[-3140,3320],"size":[210,246],"flags":{},"order":553,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":629}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":454,"type":"LoadImage","pos":[-5780,3120],"size":[315,314],"flags":{},"order":56,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[620]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[621]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3255269.599999994.png [input]","image"]},{"id":464,"type":"PreviewImage","pos":[-3930,3150],"size":[210,246],"flags":{},"order":549,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":630}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":461,"type":"InpaintCropImproved","pos":[-3680,5540],"size":[522.4000244140625,1110],"flags":{},"order":339,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":626},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":627},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[623]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[696]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[630]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[694]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[625]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[628]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[629]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":141,"type":"InpaintCropImproved","pos":[-7260,-5320],"size":[522.4000244140625,1110],"flags":{},"order":115,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":188},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":189},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":190},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[816]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":291,"type":"PreviewImage","pos":[-7230,610],"size":[210,246],"flags":{},"order":293,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":450}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":436,"type":"PreviewImage","pos":[-2310,4680],"size":[210,246],"flags":{},"order":545,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":600}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":435,"type":"PreviewImage","pos":[-2580,4550],"size":[210,246],"flags":{},"order":539,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":599}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":438,"type":"PreviewImage","pos":[-2850,4840],"size":[210,246],"flags":{},"order":544,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":602}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":475,"type":"LoadImage","pos":[240,1250],"size":[315,314],"flags":{},"order":57,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[633]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[634]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5472479.200000003.png [input]","image"]},{"id":478,"type":"InpaintStitchImproved","pos":[2350,1030],"size":[352.79998779296875,78],"flags":{},"order":701,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":644},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":650},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[647]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":466,"type":"PreviewImage","pos":[1230,1430],"size":[210,246],"flags":{},"order":341,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":631}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":468,"type":"InpaintCropImproved","pos":[660,1130],"size":[522.4000244140625,1110],"flags":{},"order":166,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":633},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":634},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[631,642,648]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[643,668]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":477,"type":"InpaintCropImproved","pos":[1510,1100],"size":[522.4000244140625,1110],"flags":{},"order":343,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":642},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":643},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[644]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[649]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":480,"type":"ImageInvert","pos":[2100,1370],"size":[210,26],"flags":{},"order":555,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":649}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[650]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":479,"type":"PreviewImage","pos":[2490,1130],"size":[210,246],"flags":{},"order":342,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":648}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":470,"type":"PreviewImage","pos":[2510,1450],"size":[210,246],"flags":{},"order":764,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":647}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":383,"type":"Note","pos":[-5000,170],"size":[210,88],"flags":{},"order":58,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["padding target"],"color":"#432","bgcolor":"#653"},{"id":494,"type":"PreviewImage","pos":[3990,1740],"size":[210,246],"flags":{},"order":594,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":665}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":495,"type":"MaskToImage","pos":[3940,1670],"size":[264.5999755859375,26],"flags":{},"order":373,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":666}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[665]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":496,"type":"PreviewImage","pos":[1270,1830],"size":[210,246],"flags":{},"order":556,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":667}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":497,"type":"MaskToImage","pos":[1220,1760],"size":[264.5999755859375,26],"flags":{},"order":344,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":668}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[667]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":498,"type":"PreviewImage","pos":[-3440,940],"size":[210,246],"flags":{},"order":537,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":669}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":499,"type":"MaskToImage","pos":[-3430,870],"size":[184.6236328125,26],"flags":{},"order":329,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":670}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[669]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":500,"type":"PreviewImage","pos":[-3980,930],"size":[210,246],"flags":{},"order":538,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":671}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":501,"type":"MaskToImage","pos":[-3970,850],"size":[184.6236328125,26],"flags":{},"order":331,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":672}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[671]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":502,"type":"PreviewImage","pos":[-3950,1870],"size":[210,246],"flags":{},"order":520,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":673}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":503,"type":"MaskToImage","pos":[-3940,1800],"size":[184.6236328125,26],"flags":{},"order":318,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":674}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[673]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":504,"type":"PreviewImage","pos":[-3460,1790],"size":[210,246],"flags":{},"order":519,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":675}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":505,"type":"MaskToImage","pos":[-3450,1720],"size":[184.6236328125,26],"flags":{},"order":316,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":676}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[675]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":506,"type":"PreviewImage","pos":[-3070,2880],"size":[210,246],"flags":{},"order":694,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":677}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":507,"type":"MaskToImage","pos":[-3060,2810],"size":[184.6236328125,26],"flags":{},"order":524,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":678}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[677]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":508,"type":"PreviewImage","pos":[-2540,2900],"size":[210,246],"flags":{},"order":693,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":679}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":509,"type":"MaskToImage","pos":[-2530,2830],"size":[184.6236328125,26],"flags":{},"order":522,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":680}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[679]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":510,"type":"PreviewImage","pos":[-3910,3020],"size":[210,246],"flags":{},"order":528,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":681}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":511,"type":"MaskToImage","pos":[-3900,2950],"size":[184.6236328125,26],"flags":{},"order":324,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":682}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[681]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":379,"type":"InpaintCropImproved","pos":[-3640,2320],"size":[522.4000244140625,1110],"flags":{},"order":323,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":543},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":544},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[561]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[680]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[528]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[678]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[583]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[584]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[585]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":512,"type":"PreviewImage","pos":[-3100,3910],"size":[210,246],"flags":{},"order":696,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":683}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":513,"type":"MaskToImage","pos":[-3090,3840],"size":[184.6236328125,26],"flags":{},"order":532,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":684}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[683]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":514,"type":"PreviewImage","pos":[-2580,3890],"size":[210,246],"flags":{},"order":695,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":685}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":515,"type":"MaskToImage","pos":[-2570,3820],"size":[184.6236328125,26],"flags":{},"order":530,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":686}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[685]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":516,"type":"PreviewImage","pos":[-3940,4080],"size":[210,246],"flags":{},"order":536,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":687}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":517,"type":"MaskToImage","pos":[-3930,4010],"size":[184.6236328125,26],"flags":{},"order":327,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":688}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[687]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":518,"type":"PreviewImage","pos":[-3110,4910],"size":[210,246],"flags":{},"order":698,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":689}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":519,"type":"MaskToImage","pos":[-3100,4840],"size":[184.6236328125,26],"flags":{},"order":542,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":690}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[689]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":520,"type":"PreviewImage","pos":[-2580,4940],"size":[210,246],"flags":{},"order":697,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":691}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":521,"type":"MaskToImage","pos":[-2570,4870],"size":[184.6236328125,26],"flags":{},"order":540,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":692}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[691]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":522,"type":"PreviewImage","pos":[-3950,3540],"size":[210,246],"flags":{},"order":700,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":693}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":523,"type":"MaskToImage","pos":[-3940,3470],"size":[184.6236328125,26],"flags":{},"order":550,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":694}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[693]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":524,"type":"PreviewImage","pos":[-3400,3550],"size":[210,246],"flags":{},"order":699,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":695}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":525,"type":"MaskToImage","pos":[-3390,3480],"size":[184.6236328125,26],"flags":{},"order":548,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":696}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[695]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":526,"type":"PreviewImage","pos":[-4800,3680],"size":[210,246],"flags":{},"order":554,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":697}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":527,"type":"MaskToImage","pos":[-4790,3610],"size":[184.6236328125,26],"flags":{},"order":340,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":698}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[697]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":528,"type":"PreviewImage","pos":[-3960,5120],"size":[210,246],"flags":{},"order":546,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":699}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":529,"type":"MaskToImage","pos":[-3950,5050],"size":[184.6236328125,26],"flags":{},"order":337,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":700}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[699]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":530,"type":"PreviewImage","pos":[-6720,1000],"size":[210,246],"flags":{},"order":497,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":701}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":531,"type":"MaskToImage","pos":[-6710,930],"size":[184.6236328125,26],"flags":{},"order":292,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":702}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[701]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":532,"type":"PreviewImage","pos":[-7230,1000],"size":[210,246],"flags":{},"order":498,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":703}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":533,"type":"MaskToImage","pos":[-7220,930],"size":[184.6236328125,26],"flags":{},"order":294,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":704}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[703]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":534,"type":"PreviewImage","pos":[-7200,1850],"size":[210,246],"flags":{},"order":500,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":705}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":535,"type":"MaskToImage","pos":[-7190,1780],"size":[184.6236328125,26],"flags":{},"order":301,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":706}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[705]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":536,"type":"PreviewImage","pos":[-6670,1840],"size":[210,246],"flags":{},"order":499,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":707}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":537,"type":"MaskToImage","pos":[-6660,1770],"size":[184.6236328125,26],"flags":{},"order":299,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":708}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[707]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":538,"type":"PreviewImage","pos":[-7160,3070],"size":[210,246],"flags":{},"order":510,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":709}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":539,"type":"MaskToImage","pos":[-7150,3000],"size":[184.6236328125,26],"flags":{},"order":311,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":710}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[709]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":540,"type":"PreviewImage","pos":[-6320,2890],"size":[210,246],"flags":{},"order":690,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":711}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":541,"type":"MaskToImage","pos":[-6310,2820],"size":[184.6236328125,26],"flags":{},"order":506,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":712}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[711]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":542,"type":"PreviewImage","pos":[-5780,2880],"size":[210,246],"flags":{},"order":689,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":713}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":543,"type":"MaskToImage","pos":[-5770,2810],"size":[184.6236328125,26],"flags":{},"order":504,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":714}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[713]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":544,"type":"PreviewImage","pos":[-6340,3900],"size":[210,246],"flags":{},"order":692,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":715}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":545,"type":"MaskToImage","pos":[-6330,3830],"size":[184.6236328125,26],"flags":{},"order":514,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":716}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[715]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":546,"type":"PreviewImage","pos":[-5830,3870],"size":[210,246],"flags":{},"order":691,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":717}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":547,"type":"MaskToImage","pos":[-5820,3800],"size":[184.6236328125,26],"flags":{},"order":512,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":718}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[717]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":548,"type":"PreviewImage","pos":[-7190,4090],"size":[210,246],"flags":{},"order":518,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":719}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":549,"type":"MaskToImage","pos":[-7180,4020],"size":[184.6236328125,26],"flags":{},"order":314,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":720}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[719]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":550,"type":"PreviewImage","pos":[-11590,4370],"size":[210,246],"flags":{},"order":682,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":721}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":551,"type":"MaskToImage","pos":[-11580,4300],"size":[184.6236328125,26],"flags":{},"order":439,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":722}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[721]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":552,"type":"PreviewImage","pos":[-11610,3490],"size":[210,246],"flags":{},"order":502,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":723}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":553,"type":"MaskToImage","pos":[-11600,3420],"size":[184.6236328125,26],"flags":{},"order":307,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":724}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[723]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":554,"type":"PreviewImage","pos":[-11620,2520],"size":[210,246],"flags":{},"order":501,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":725}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":555,"type":"MaskToImage","pos":[-11610,2450],"size":[184.6236328125,26],"flags":{},"order":305,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":726}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[725]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":556,"type":"PreviewImage","pos":[-11640,1550],"size":[210,246],"flags":{},"order":496,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":727}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":557,"type":"MaskToImage","pos":[-11630,1480],"size":[184.6236328125,26],"flags":{},"order":289,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":728}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[727]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":558,"type":"PreviewImage","pos":[-11660,630],"size":[210,246],"flags":{},"order":495,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":729}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":559,"type":"MaskToImage","pos":[-11650,560],"size":[184.6236328125,26],"flags":{},"order":287,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":730}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[729]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":560,"type":"PreviewImage","pos":[-13060,580],"size":[210,246],"flags":{},"order":493,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":731}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":561,"type":"MaskToImage","pos":[-13050,510],"size":[184.6236328125,26],"flags":{},"order":283,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":732}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[731]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":562,"type":"PreviewImage","pos":[-13040,1350],"size":[210,246],"flags":{},"order":494,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":733}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":563,"type":"MaskToImage","pos":[-13030,1280],"size":[184.6236328125,26],"flags":{},"order":285,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":734}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[733]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":564,"type":"PreviewImage","pos":[-14370,1360],"size":[210,246],"flags":{},"order":492,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":735}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":565,"type":"MaskToImage","pos":[-14360,1290],"size":[184.6236328125,26],"flags":{},"order":280,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":736}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[735]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":566,"type":"PreviewImage","pos":[-14480,600],"size":[210,246],"flags":{},"order":491,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":737}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":567,"type":"MaskToImage","pos":[-14470,530],"size":[184.6236328125,26],"flags":{},"order":278,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":738}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[737]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":568,"type":"PreviewImage","pos":[2640,-4950],"size":[210,246],"flags":{},"order":486,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":739}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":569,"type":"MaskToImage","pos":[2650,-5020],"size":[184.6236328125,26],"flags":{},"order":268,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":740}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[739]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":570,"type":"PreviewImage","pos":[2680,-4170],"size":[210,246],"flags":{},"order":489,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":741}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":571,"type":"MaskToImage","pos":[2690,-4240],"size":[184.6236328125,26],"flags":{},"order":274,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":742}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[741]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":572,"type":"PreviewImage","pos":[2690,-3260],"size":[210,246],"flags":{},"order":490,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":743}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":573,"type":"MaskToImage","pos":[2700,-3330],"size":[184.6236328125,26],"flags":{},"order":276,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":744}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[743]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":246,"type":"InpaintCropImproved","pos":[2110,-2710],"size":[522.4000244140625,1110],"flags":{},"order":143,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":384},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":385},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[380]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[746]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0,true,0.6500000000000001,0.8000000000000002,0.6000000000000001,0.5000000000000001,1.2,false,512,512,"32","cpu (compatible)"]},{"id":574,"type":"PreviewImage","pos":[2690,-2370],"size":[210,246],"flags":{},"order":488,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":745}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":575,"type":"MaskToImage","pos":[2700,-2440],"size":[184.6236328125,26],"flags":{},"order":272,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":746}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[745]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":576,"type":"PreviewImage","pos":[2670,-1490],"size":[210,246],"flags":{},"order":487,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":747}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":577,"type":"MaskToImage","pos":[2680,-1560],"size":[184.6236328125,26],"flags":{},"order":270,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":748}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[747]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":578,"type":"PreviewImage","pos":[1170,-1440],"size":[210,246],"flags":{},"order":482,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":749}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":579,"type":"MaskToImage","pos":[1180,-1510],"size":[184.6236328125,26],"flags":{},"order":259,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":750}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[749]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":580,"type":"PreviewImage","pos":[1210,-2320],"size":[210,246],"flags":{},"order":481,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":751}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":581,"type":"MaskToImage","pos":[1220,-2390],"size":[184.6236328125,26],"flags":{},"order":257,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":752}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[751]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":582,"type":"PreviewImage","pos":[1190,-3210],"size":[210,246],"flags":{},"order":483,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":753}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":583,"type":"MaskToImage","pos":[1200,-3280],"size":[184.6236328125,26],"flags":{},"order":261,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":754}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[753]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":584,"type":"PreviewImage","pos":[1170,-4110],"size":[210,246],"flags":{},"order":485,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":755}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":585,"type":"MaskToImage","pos":[1180,-4180],"size":[184.6236328125,26],"flags":{},"order":265,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":756}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[755]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":586,"type":"PreviewImage","pos":[1150,-4920],"size":[210,246],"flags":{},"order":484,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":757}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":587,"type":"MaskToImage","pos":[1160,-4990],"size":[184.6236328125,26],"flags":{},"order":263,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":758}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[757]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":588,"type":"PreviewImage","pos":[1580,-4820],"size":[210,246],"flags":{},"order":277,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":759}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":589,"type":"MaskToImage","pos":[1590,-4890],"size":[184.6236328125,26],"flags":{},"order":146,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":760}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[759]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":590,"type":"PreviewImage","pos":[50,-4770],"size":[210,246],"flags":{},"order":266,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":761}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":591,"type":"MaskToImage","pos":[60,-4840],"size":[184.6236328125,26],"flags":{},"order":140,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":762}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[761]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":592,"type":"PreviewImage","pos":[-450,-5150],"size":[210,246],"flags":{},"order":462,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":763}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":593,"type":"MaskToImage","pos":[-440,-5220],"size":[184.6236328125,26],"flags":{},"order":222,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":764}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[763]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":594,"type":"PreviewImage","pos":[-390,-4240],"size":[210,246],"flags":{},"order":463,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":765}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":595,"type":"MaskToImage","pos":[-380,-4310],"size":[184.6236328125,26],"flags":{},"order":223,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":766}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[765]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":596,"type":"PreviewImage","pos":[-380,-3380],"size":[210,246],"flags":{},"order":464,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":767}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":597,"type":"MaskToImage","pos":[-370,-3450],"size":[184.6236328125,26],"flags":{},"order":224,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":768}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[767]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":598,"type":"PreviewImage","pos":[-310,-2460],"size":[210,246],"flags":{},"order":465,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":769}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":599,"type":"MaskToImage","pos":[-300,-2530],"size":[184.6236328125,26],"flags":{},"order":225,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":770}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[769]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":600,"type":"PreviewImage","pos":[-390,-1570],"size":[210,246],"flags":{},"order":466,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":771}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":601,"type":"MaskToImage","pos":[-380,-1640],"size":[184.6236328125,26],"flags":{},"order":226,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":772}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[771]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":602,"type":"PreviewImage","pos":[-1550,-4670],"size":[210,246],"flags":{},"order":227,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":773}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":603,"type":"MaskToImage","pos":[-1540,-4740],"size":[184.6236328125,26],"flags":{},"order":110,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":774}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[773]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":604,"type":"PreviewImage","pos":[-1960,-5200],"size":[210,246],"flags":{},"order":478,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":775}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":605,"type":"MaskToImage","pos":[-1950,-5270],"size":[184.6236328125,26],"flags":{},"order":250,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":776}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[775]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":606,"type":"PreviewImage","pos":[-1940,-4830],"size":[210,246],"flags":{},"order":251,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":777}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":607,"type":"MaskToImage","pos":[-1930,-4900],"size":[184.6236328125,26],"flags":{},"order":130,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":778}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[777]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":608,"type":"PreviewImage","pos":[-1910,-4350],"size":[210,246],"flags":{},"order":480,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":779}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":609,"type":"MaskToImage","pos":[-1900,-4420],"size":[184.6236328125,26],"flags":{},"order":254,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":781}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[779]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":610,"type":"PreviewImage","pos":[-1890,-3940],"size":[210,246],"flags":{},"order":255,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":780}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":611,"type":"MaskToImage","pos":[-1880,-4010],"size":[184.6236328125,26],"flags":{},"order":134,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":782}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[780]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":612,"type":"PreviewImage","pos":[-1880,-3540],"size":[210,246],"flags":{},"order":479,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":783}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":613,"type":"MaskToImage","pos":[-1870,-3610],"size":[184.6236328125,26],"flags":{},"order":252,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":786}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[783]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":614,"type":"PreviewImage","pos":[-1870,-3120],"size":[210,246],"flags":{},"order":253,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":784}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":615,"type":"MaskToImage","pos":[-1860,-3190],"size":[184.6236328125,26],"flags":{},"order":132,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":785}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[784]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":616,"type":"PreviewImage","pos":[-3610,-5180],"size":[210,246],"flags":{},"order":473,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":787}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":617,"type":"MaskToImage","pos":[-3600,-5250],"size":[184.6236328125,26],"flags":{},"order":240,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":788}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[787]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":618,"type":"PreviewImage","pos":[-3670,-4290],"size":[210,246],"flags":{},"order":472,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":789}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":619,"type":"MaskToImage","pos":[-3660,-4360],"size":[184.6236328125,26],"flags":{},"order":238,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":790}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[789]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":620,"type":"PreviewImage","pos":[-3680,-3470],"size":[210,246],"flags":{},"order":474,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":791}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":621,"type":"MaskToImage","pos":[-3670,-3540],"size":[184.6236328125,26],"flags":{},"order":242,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":792}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[791]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":622,"type":"PreviewImage","pos":[-3680,-2630],"size":[210,246],"flags":{},"order":557,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":793}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":623,"type":"MaskToImage","pos":[-3670,-2700],"size":[184.6236328125,26],"flags":{},"order":345,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":794}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[793]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":624,"type":"PreviewImage","pos":[-4620,-2290],"size":[210,246],"flags":{},"order":346,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":795}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":625,"type":"MaskToImage","pos":[-4610,-2360],"size":[184.6236328125,26],"flags":{},"order":168,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":796}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[795]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":189,"type":"LoadImage","pos":[-4700,-2720],"size":[315,314],"flags":{},"order":59,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[298]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[299,300,796]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":626,"type":"PreviewImage","pos":[-4660,-3100],"size":[210,246],"flags":{},"order":243,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":797}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":627,"type":"MaskToImage","pos":[-4650,-3170],"size":[184.6236328125,26],"flags":{},"order":122,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":798}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[797]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":628,"type":"PreviewImage","pos":[-4630,-3940],"size":[210,246],"flags":{},"order":239,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":799}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":629,"type":"MaskToImage","pos":[-4620,-4010],"size":[184.6236328125,26],"flags":{},"order":118,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":800}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[799]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":630,"type":"PreviewImage","pos":[-4740,-4740],"size":[210,246],"flags":{},"order":241,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":801}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":631,"type":"MaskToImage","pos":[-4730,-4810],"size":[184.6236328125,26],"flags":{},"order":120,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":802}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[801]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":632,"type":"PreviewImage","pos":[-5220,-5100],"size":[210,246],"flags":{},"order":476,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":803}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":633,"type":"MaskToImage","pos":[-5210,-5170],"size":[184.6236328125,26],"flags":{},"order":246,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":804}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[803]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":634,"type":"PreviewImage","pos":[-5260,-4300],"size":[210,246],"flags":{},"order":475,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":805}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":635,"type":"MaskToImage","pos":[-5250,-4370],"size":[184.6236328125,26],"flags":{},"order":244,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":806}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[805]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":636,"type":"PreviewImage","pos":[-5240,-3470],"size":[210,246],"flags":{},"order":477,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":807}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":637,"type":"MaskToImage","pos":[-5230,-3540],"size":[184.6236328125,26],"flags":{},"order":248,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":808}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[807]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":638,"type":"PreviewImage","pos":[-6200,-3130],"size":[210,246],"flags":{},"order":249,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":809}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":639,"type":"MaskToImage","pos":[-6190,-3200],"size":[184.6236328125,26],"flags":{},"order":128,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":810}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[809]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":640,"type":"PreviewImage","pos":[-6210,-3950],"size":[210,246],"flags":{},"order":245,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":811}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":641,"type":"MaskToImage","pos":[-6200,-4020],"size":[184.6236328125,26],"flags":{},"order":124,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":812}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[811]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":642,"type":"PreviewImage","pos":[-6300,-4730],"size":[210,246],"flags":{},"order":247,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":813}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":643,"type":"MaskToImage","pos":[-6290,-4800],"size":[184.6236328125,26],"flags":{},"order":126,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":814}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[813]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":644,"type":"PreviewImage","pos":[-6690,-5150],"size":[210,246],"flags":{},"order":471,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":815}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":645,"type":"MaskToImage","pos":[-6680,-5220],"size":[184.6236328125,26],"flags":{},"order":236,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":816}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[815]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":646,"type":"PreviewImage","pos":[-7610,-4780],"size":[210,246],"flags":{},"order":237,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":817}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":647,"type":"MaskToImage","pos":[-7600,-4850],"size":[184.6236328125,26],"flags":{},"order":116,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":818}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[817]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":648,"type":"PreviewImage","pos":[-8190,-4890],"size":[210,246],"flags":{},"order":461,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":819}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":649,"type":"MaskToImage","pos":[-8180,-4960],"size":[184.6236328125,26],"flags":{},"order":221,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":820}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[819]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":650,"type":"PreviewImage","pos":[-8180,-4130],"size":[210,246],"flags":{},"order":460,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":821}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":651,"type":"MaskToImage","pos":[-8170,-4200],"size":[184.6236328125,26],"flags":{},"order":219,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":822}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[821]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":652,"type":"PreviewImage","pos":[-8220,-3340],"size":[210,246],"flags":{},"order":470,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":823}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":653,"type":"MaskToImage","pos":[-8210,-3410],"size":[184.6236328125,26],"flags":{},"order":235,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":824}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[823]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":654,"type":"PreviewImage","pos":[-15490,-610],"size":[210,246],"flags":{},"order":349,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":825}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":655,"type":"MaskToImage","pos":[-15480,-680],"size":[184.6236328125,26],"flags":{},"order":171,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":826}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[825]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":656,"type":"PreviewImage","pos":[-14570,-780],"size":[210,246],"flags":{},"order":703,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":827}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":657,"type":"MaskToImage","pos":[-14560,-850],"size":[184.6236328125,26],"flags":{},"order":561,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":828}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[827]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":658,"type":"PreviewImage","pos":[-14000,-470],"size":[210,246],"flags":{},"order":575,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":829}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":659,"type":"MaskToImage","pos":[-13990,-540],"size":[184.6236328125,26],"flags":{},"order":358,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":936}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[829]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":660,"type":"PreviewImage","pos":[-13130,-820],"size":[210,246],"flags":{},"order":709,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":831}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":661,"type":"MaskToImage","pos":[-13120,-890],"size":[184.6236328125,26],"flags":{},"order":574,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":832}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[831]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":662,"type":"PreviewImage","pos":[-13760,-1570],"size":[210,246],"flags":{},"order":578,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":833}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":663,"type":"MaskToImage","pos":[-13750,-1640],"size":[184.6236328125,26],"flags":{},"order":360,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":937}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[833]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":664,"type":"PreviewImage","pos":[-12930,-1930],"size":[210,246],"flags":{},"order":710,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":835}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":665,"type":"MaskToImage","pos":[-12920,-2000],"size":[184.6236328125,26],"flags":{},"order":577,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":836}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[835]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":666,"type":"PreviewImage","pos":[-12230,-1540],"size":[210,246],"flags":{},"order":572,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":837}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":667,"type":"MaskToImage","pos":[-12220,-1610],"size":[184.6236328125,26],"flags":{},"order":356,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":938}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[837]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":668,"type":"PreviewImage","pos":[-11370,-1920],"size":[210,246],"flags":{},"order":708,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":839}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":669,"type":"MaskToImage","pos":[-11360,-1990],"size":[184.6236328125,26],"flags":{},"order":571,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":840}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[839]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":670,"type":"PreviewImage","pos":[-11330,-2980],"size":[210,246],"flags":{},"order":707,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":841}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":671,"type":"MaskToImage","pos":[-11320,-3050],"size":[184.6236328125,26],"flags":{},"order":569,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":842}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[841]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":672,"type":"PreviewImage","pos":[-11380,-3800],"size":[210,246],"flags":{},"order":468,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":843}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":673,"type":"MaskToImage","pos":[-11370,-3870],"size":[184.6236328125,26],"flags":{},"order":231,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":844}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[843]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":674,"type":"PreviewImage","pos":[-11370,-4690],"size":[210,246],"flags":{},"order":458,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":845}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":675,"type":"MaskToImage","pos":[-11360,-4760],"size":[184.6236328125,26],"flags":{},"order":215,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":846}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[845]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":676,"type":"PreviewImage","pos":[-12950,-4690],"size":[210,246],"flags":{},"order":457,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":847}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":677,"type":"MaskToImage","pos":[-12940,-4760],"size":[184.6236328125,26],"flags":{},"order":213,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":848}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[847]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":678,"type":"PreviewImage","pos":[-12970,-3810],"size":[210,246],"flags":{},"order":467,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":849}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":679,"type":"MaskToImage","pos":[-12960,-3880],"size":[184.6236328125,26],"flags":{},"order":229,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":850}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[849]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":680,"type":"PreviewImage","pos":[-12900,-3020],"size":[210,246],"flags":{},"order":706,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":851}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":681,"type":"MaskToImage","pos":[-12890,-3090],"size":[184.6236328125,26],"flags":{},"order":567,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":852}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[851]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":682,"type":"PreviewImage","pos":[-14480,-3020],"size":[210,246],"flags":{},"order":705,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":853}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":683,"type":"MaskToImage","pos":[-14470,-3090],"size":[184.6236328125,26],"flags":{},"order":565,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":854}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[853]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":684,"type":"PreviewImage","pos":[-14530,-3850],"size":[210,246],"flags":{},"order":469,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":855}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":685,"type":"MaskToImage","pos":[-14520,-3920],"size":[184.6236328125,26],"flags":{},"order":233,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":856}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[855]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":686,"type":"PreviewImage","pos":[-14500,-4710],"size":[210,246],"flags":{},"order":459,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":857}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":687,"type":"MaskToImage","pos":[-14490,-4780],"size":[184.6236328125,26],"flags":{},"order":217,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":858}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[857]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":688,"type":"PreviewImage","pos":[-14500,-1970],"size":[210,246],"flags":{},"order":704,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":859}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":689,"type":"MaskToImage","pos":[-14490,-2040],"size":[184.6236328125,26],"flags":{},"order":563,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":860}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[859]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":690,"type":"PreviewImage","pos":[-15420,1760],"size":[210,246],"flags":{},"order":282,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":861}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":691,"type":"MaskToImage","pos":[-15410,1690],"size":[184.6236328125,26],"flags":{},"order":149,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":862}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[861]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":692,"type":"PreviewImage","pos":[-15350,-1620],"size":[210,246],"flags":{},"order":351,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":863}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":693,"type":"MaskToImage","pos":[-15340,-1690],"size":[184.6236328125,26],"flags":{},"order":174,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":947}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[863]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":96,"type":"Note","pos":[-9210,-5430],"size":[210,88],"flags":{},"order":60,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Preresize"],"color":"#432","bgcolor":"#653"},{"id":253,"type":"Note","pos":[-15460,250],"size":[210,88],"flags":{},"order":61,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context from mask"],"color":"#432","bgcolor":"#653"},{"id":292,"type":"Note","pos":[-8210,190],"size":[210,88],"flags":{},"order":62,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["padding no target"],"color":"#432","bgcolor":"#653"},{"id":694,"type":"PreviewImage","pos":[1180,2530],"size":[210,246],"flags":{},"order":362,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":865}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":696,"type":"InpaintCropImproved","pos":[610,2230],"size":[522.4000244140625,1110],"flags":{},"order":185,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":867},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":868},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[865,870,888]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[871,880]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":707,"type":"PreviewImage","pos":[1170,2920],"size":[210,246],"flags":{},"order":584,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":879}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":708,"type":"MaskToImage","pos":[1180,2850],"size":[184.6236328125,26],"flags":{},"order":365,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":880}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[879]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":710,"type":"ImageInvert","pos":[2090,2520],"size":[210,26],"flags":{},"order":581,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":885}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[881]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":712,"type":"PreviewImage","pos":[2500,2600],"size":[210,246],"flags":{},"order":765,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":882}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":713,"type":"PreviewImage","pos":[2180,2980],"size":[210,246],"flags":{},"order":713,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":883}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":714,"type":"MaskToImage","pos":[2130,2910],"size":[264.5999755859375,26],"flags":{},"order":583,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":887}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[883]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":715,"type":"PreviewImage","pos":[2170,2600],"size":[210,246],"flags":{},"order":582,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":886}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":709,"type":"InpaintStitchImproved","pos":[2340,2180],"size":[352.79998779296875,78],"flags":{},"order":712,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":884},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":881},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[882]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":699,"type":"InpaintCropImproved","pos":[1460,2200],"size":[522.4000244140625,1110],"flags":{},"order":364,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":870},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":871},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[884]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[885,886]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[887]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":711,"type":"PreviewImage","pos":[2490,2300],"size":[210,246],"flags":{},"order":363,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":888}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":214,"type":"Note","pos":[-10,-5450],"size":[210,88],"flags":{},"order":63,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Extend"],"color":"#432","bgcolor":"#653"},{"id":213,"type":"Note","pos":[1020,530],"size":[980,310],"flags":{"pinned":true},"order":64,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["This is the suite of unit and integration tests for the Crop and Stitch nodes.\n\nIn order to run these tests:\n- Copy the content of testimgs/ to ComfyUI input/.\n- Enable DEBUG_MODE in inpaint_cropandstitch.py\n- Reload this workflow and run.\n\nYou can find the end-to-end tests (using both crop and stitch) below this note.\n\nAbove and left (zoom out) there are a bunch of tests for the most complex logic within the crop node."],"color":"#432","bgcolor":"#653"},{"id":720,"type":"InpaintCropImproved","pos":[-11910,-1140],"size":[522.4000244140625,1110],"flags":{},"order":347,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":897},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":913},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":914},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[889]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[894]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":722,"type":"MaskToImage","pos":[-11320,-800],"size":[184.6236328125,26],"flags":{},"order":559,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":894}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[893]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":716,"type":"PreviewImage","pos":[-11360,-1160],"size":[210,246],"flags":{},"order":558,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":889}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":718,"type":"LoadImage","pos":[-12360,-1030],"size":[315,314],"flags":{},"order":65,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[897]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[909,910,911,912]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":732,"type":"ImpactMakeMaskBatch","pos":[-14020,-710],"size":[210,106],"flags":{},"order":181,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":929},{"name":"mask2","type":"MASK","link":930},{"name":"mask3","type":"MASK","link":931},{"name":"mask4","type":"MASK","link":932},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[933,934,936]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":731,"type":"ImpactMakeMaskBatch","pos":[-13790,-1800],"size":[210,106],"flags":{},"order":183,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":922},{"name":"mask2","type":"MASK","link":923},{"name":"mask3","type":"MASK","link":924},{"name":"mask4","type":"MASK","link":925},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[926,927,937]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":730,"type":"ImpactMakeMaskBatch","pos":[-12240,-1810],"size":[210,106],"flags":{},"order":179,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":915},{"name":"mask2","type":"MASK","link":916},{"name":"mask3","type":"MASK","link":917},{"name":"mask4","type":"MASK","link":918},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[919,920,938]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":729,"type":"ImpactMakeMaskBatch","pos":[-12260,-560],"size":[210,106],"flags":{},"order":169,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":909},{"name":"mask2","type":"MASK","link":910},{"name":"mask3","type":"MASK","link":911},{"name":"mask4","type":"MASK","link":912},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[913,914]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":733,"type":"ImpactMakeMaskBatch","pos":[-15370,-1870],"size":[210,126],"flags":{},"order":173,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":939},{"name":"mask2","type":"MASK","link":940},{"name":"mask3","type":"MASK","link":941},{"name":"mask4","type":"MASK","link":945},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[946]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":70,"type":"LoadImage","pos":[-15600,-1090],"size":[315,314],"flags":{},"order":66,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[949,950,951,952]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[104,105,826]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":735,"type":"ImpactMakeImageBatch","pos":[-15460,-1260],"size":[210,106],"flags":{},"order":170,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":949},{"name":"image2","type":"IMAGE","link":950},{"name":"image3","type":"IMAGE","link":951},{"name":"image4","type":"IMAGE","link":952},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[953]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":24,"type":"LoadImage","pos":[-15550,-2260],"size":[315,314],"flags":{},"order":67,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[954,956,957,958]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[939,940,941,944,945,947]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":736,"type":"ImpactMakeImageBatch","pos":[-15480,-2430],"size":[210,106],"flags":{},"order":172,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":954},{"name":"image2","type":"IMAGE","link":956},{"name":"image3","type":"IMAGE","link":957},{"name":"image4","type":"IMAGE","link":958},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[955]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":20,"type":"InpaintCropImproved","pos":[-15070,-3430],"size":[522.4000244140625,1110],"flags":{},"order":352,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":961},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":33},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[225]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[854]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":21,"type":"LoadImage","pos":[-15520,-3320],"size":[315,314],"flags":{},"order":68,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[959,962,963,964]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[33]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":737,"type":"ImpactMakeImageBatch","pos":[-15410,-3470],"size":[210,106],"flags":{},"order":175,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":959},{"name":"image2","type":"IMAGE","link":962},{"name":"image3","type":"IMAGE","link":963},{"name":"image4","type":"IMAGE","link":964},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[961]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":41,"type":"LoadImage","pos":[-13940,-3290],"size":[315,314],"flags":{},"order":69,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[966,967,968,969]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[57,61]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":738,"type":"ImpactMakeImageBatch","pos":[-13780,-3550],"size":[210,126],"flags":{},"order":176,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":969},{"name":"image2","type":"IMAGE","link":968},{"name":"image3","type":"IMAGE","link":967},{"name":"image4","type":"IMAGE","link":966},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[970]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":57,"type":"LoadImage","pos":[-12360,-3280],"size":[315,314],"flags":{},"order":70,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[971,972,973,974]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[84]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":739,"type":"ImpactMakeImageBatch","pos":[-12270,-3480],"size":[210,106],"flags":{},"order":177,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":971},{"name":"image2","type":"IMAGE","link":972},{"name":"image3","type":"IMAGE","link":973},{"name":"image4","type":"IMAGE","link":974},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[975]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":58,"type":"LoadImage","pos":[-12390,-2220],"size":[315,314],"flags":{},"order":71,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[976,978,979,980]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[915,916,917,918]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":740,"type":"ImpactMakeImageBatch","pos":[-12260,-2420],"size":[210,106],"flags":{},"order":178,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":976},{"name":"image2","type":"IMAGE","link":978},{"name":"image3","type":"IMAGE","link":979},{"name":"image4","type":"IMAGE","link":980},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[977]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":79,"type":"LoadImage","pos":[-14160,-1120],"size":[315,314],"flags":{},"order":72,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[981,982,983,984]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[929,930,931,932]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":741,"type":"ImpactMakeImageBatch","pos":[-14050,-1300],"size":[210,106],"flags":{},"order":180,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":981},{"name":"image2","type":"IMAGE","link":982},{"name":"image3","type":"IMAGE","link":983},{"name":"image4","type":"IMAGE","link":984},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[985]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":31,"type":"LoadImage","pos":[-13970,-2230],"size":[315,314],"flags":{},"order":73,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[986,987,988,989]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[922,923,924,925]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":742,"type":"ImpactMakeImageBatch","pos":[-13850,-2410],"size":[210,106],"flags":{},"order":182,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":986},{"name":"image2","type":"IMAGE","link":987},{"name":"image3","type":"IMAGE","link":988},{"name":"image4","type":"IMAGE","link":989},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[990]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":721,"type":"PreviewImage","pos":[-11330,-730],"size":[210,246],"flags":{},"order":702,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":893}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":743,"type":"InpaintCropImproved","pos":[-10378.255859375,-1075.4649658203125],"size":[522.4000244140625,1110],"flags":{},"order":361,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":991},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":992},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1005},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[995]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[994]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":744,"type":"MaskToImage","pos":[-9788.255859375,-735.4649658203125],"size":[184.6236328125,26],"flags":{},"order":580,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":994}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1000]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":745,"type":"PreviewImage","pos":[-9828.255859375,-1095.4649658203125],"size":[210,246],"flags":{},"order":579,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":995}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":748,"type":"PreviewImage","pos":[-9798.255859375,-665.4649658203125],"size":[210,246],"flags":{},"order":711,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1000}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":747,"type":"ImpactMakeMaskBatch","pos":[-10728.255859375,-495.4649353027344],"size":[210,106],"flags":{},"order":184,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":996},{"name":"mask2","type":"MASK","link":997},{"name":"mask3","type":"MASK","link":998},{"name":"mask4","type":"MASK","link":999},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[992]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":746,"type":"LoadImage","pos":[-10828.255859375,-965.4649658203125],"size":[315,314],"flags":{},"order":74,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[991]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[996,997,998,999,1003,1005]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":483,"type":"InpaintStitchImproved","pos":[5080,940],"size":[352.79998779296875,78],"flags":{},"order":716,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":652},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":653},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[661]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":491,"type":"PreviewImage","pos":[4860,1450],"size":[210,246],"flags":{},"order":718,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":662}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":493,"type":"PreviewImage","pos":[4840,960],"size":[210,246],"flags":{},"order":590,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":664}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":750,"type":"ImageCompositeMasked","pos":[5120,1540],"size":[315,146],"flags":{},"order":717,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1006},{"localized_name":"source","name":"source","type":"IMAGE","link":1007},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1008},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1009]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":698,"type":"LoadImage","pos":[190,2350],"size":[315,314],"flags":{},"order":75,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[867]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[868]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3225001.799999997.png [input]","image"]},{"id":751,"type":"InpaintStitchImproved","pos":[5100,1440],"size":[352.79998779296875,78],"flags":{},"order":768,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1010},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1009},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1011]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":752,"type":"PreviewImage","pos":[5910,850],"size":[210,246],"flags":{},"order":787,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1011}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":785,"type":"PreviewImage","pos":[5910,1210],"size":[210,246],"flags":{},"order":788,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1060}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":787,"type":"MaskToImage","pos":[4820,2330],"size":[264.5999755859375,26],"flags":{},"order":597,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1061}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1064]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":788,"type":"InpaintStitchImproved","pos":[5090,1890],"size":[352.79998779296875,78],"flags":{},"order":721,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1062},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1063},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1070]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":789,"type":"PreviewImage","pos":[4870,2400],"size":[210,246],"flags":{},"order":723,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1064}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":790,"type":"ImageInvert","pos":[4840,2230],"size":[210,26],"flags":{},"order":595,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1065}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1063,1068]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":791,"type":"PreviewImage","pos":[4850,1910],"size":[210,246],"flags":{},"order":596,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1066}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":792,"type":"ImageCompositeMasked","pos":[5130,2490],"size":[315,146],"flags":{},"order":722,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1067},{"localized_name":"source","name":"source","type":"IMAGE","link":1068},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1069},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1072]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":795,"type":"InpaintStitchImproved","pos":[5110,2390],"size":[352.79998779296875,78],"flags":{},"order":770,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1071},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1072},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1060]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":798,"type":"MaskToImage","pos":[4830,3250],"size":[264.5999755859375,26],"flags":{},"order":601,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1074}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1077]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":799,"type":"InpaintStitchImproved","pos":[5100,2810],"size":[352.79998779296875,78],"flags":{},"order":725,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1075},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1076},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1083]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":800,"type":"PreviewImage","pos":[4880,3320],"size":[210,246],"flags":{},"order":727,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1077}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":801,"type":"ImageInvert","pos":[4850,3150],"size":[210,26],"flags":{},"order":599,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1078}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1076,1081]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":802,"type":"PreviewImage","pos":[4860,2830],"size":[210,246],"flags":{},"order":600,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1079}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":803,"type":"ImageCompositeMasked","pos":[5140,3410],"size":[315,146],"flags":{},"order":726,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1080},{"localized_name":"source","name":"source","type":"IMAGE","link":1081},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1082},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1085]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":806,"type":"InpaintStitchImproved","pos":[5120,3310],"size":[352.79998779296875,78],"flags":{},"order":772,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1084},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1085},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1073]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":809,"type":"MaskToImage","pos":[4830,4180],"size":[264.5999755859375,26],"flags":{},"order":605,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1087}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1090]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":811,"type":"PreviewImage","pos":[4880,4250],"size":[210,246],"flags":{},"order":731,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1090}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":812,"type":"ImageInvert","pos":[4850,4080],"size":[210,26],"flags":{},"order":603,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1091}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1089,1094]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":813,"type":"PreviewImage","pos":[4860,3760],"size":[210,246],"flags":{},"order":604,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1092}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":814,"type":"ImageCompositeMasked","pos":[5140,4340],"size":[315,146],"flags":{},"order":730,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1093},{"localized_name":"source","name":"source","type":"IMAGE","link":1094},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1095},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1098]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":817,"type":"InpaintStitchImproved","pos":[5120,4240],"size":[352.79998779296875,78],"flags":{},"order":774,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1097},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1098},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1086]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":484,"type":"PreviewImage","pos":[3960,1340],"size":[210,246],"flags":{},"order":370,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":654}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":488,"type":"PreviewImage","pos":[3950,1020],"size":[210,246],"flags":{},"order":371,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":660}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":816,"type":"PreviewImage","pos":[5660,2120],"size":[210,246],"flags":{},"order":773,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1096}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":805,"type":"PreviewImage","pos":[5660,1650],"size":[210,246],"flags":{},"order":771,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1083}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":794,"type":"PreviewImage","pos":[5670,1210],"size":[210,246],"flags":{},"order":769,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1070}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":820,"type":"InpaintStitchImproved","pos":[5130,4660],"size":[352.79998779296875,78],"flags":{},"order":733,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1108},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1109},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1120]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":822,"type":"ImageInvert","pos":[4880,5000],"size":[210,26],"flags":{},"order":607,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1111}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1109,1114]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":823,"type":"PreviewImage","pos":[4890,4680],"size":[210,246],"flags":{},"order":608,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1112}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":824,"type":"ImageCompositeMasked","pos":[5170,5260],"size":[315,146],"flags":{},"order":734,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1113},{"localized_name":"source","name":"source","type":"IMAGE","link":1114},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1115},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1117]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":825,"type":"InpaintStitchImproved","pos":[5150,5160],"size":[352.79998779296875,78],"flags":{},"order":776,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1116},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1117},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1121]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":810,"type":"InpaintStitchImproved","pos":[5100,3740],"size":[352.79998779296875,78],"flags":{},"order":729,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1088},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1089},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1096]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":829,"type":"MaskToImage","pos":[4870,6070],"size":[264.5999755859375,26],"flags":{},"order":613,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1122}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1125]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":830,"type":"InpaintStitchImproved","pos":[5140,5630],"size":[352.79998779296875,78],"flags":{},"order":737,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1123},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1124},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1131]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":831,"type":"PreviewImage","pos":[4920,6140],"size":[210,246],"flags":{},"order":739,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1125}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":832,"type":"ImageInvert","pos":[4890,5970],"size":[210,26],"flags":{},"order":611,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1126}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1124,1129]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":833,"type":"PreviewImage","pos":[4900,5650],"size":[210,246],"flags":{},"order":612,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1127}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":834,"type":"ImageCompositeMasked","pos":[5180,6230],"size":[315,146],"flags":{},"order":738,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1128},{"localized_name":"source","name":"source","type":"IMAGE","link":1129},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1130},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1133]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":837,"type":"InpaintStitchImproved","pos":[5160,6130],"size":[352.79998779296875,78],"flags":{},"order":778,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1132},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1133},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1134]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":485,"type":"InpaintCropImproved","pos":[3390,1040],"size":[522.4000244140625,1110],"flags":{},"order":187,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":655},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":656},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[654,657,660,1099,1101,1102,1118,1135]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[658,666,1100,1104,1105,1119,1137]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":835,"type":"InpaintCropImproved","pos":[4300,5700],"size":[522.4000244140625,1110],"flags":{},"order":378,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1135},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1137},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1123,1132]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1126,1127,1128]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1122,1130]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,64,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":490,"type":"Note","pos":[240,910],"size":[210,88],"flags":{},"order":76,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["stitch"],"color":"#432","bgcolor":"#653"},{"id":845,"type":"PreviewImage","pos":[1223.3046875,3689.203857421875],"size":[210,246],"flags":{},"order":366,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1138}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":846,"type":"InpaintCropImproved","pos":[653.3047485351562,3389.203857421875],"size":[522.4000244140625,1110],"flags":{},"order":186,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1153},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1154},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1138,1150,1152]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1142,1151]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":847,"type":"PreviewImage","pos":[1213.3046875,4079.203857421875],"size":[210,246],"flags":{},"order":585,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1141}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":848,"type":"MaskToImage","pos":[1223.3046875,4009.203857421875],"size":[184.6236328125,26],"flags":{},"order":368,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1142}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1141]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":849,"type":"ImageInvert","pos":[2133.3046875,3679.203857421875],"size":[210,26],"flags":{},"order":586,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1143}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1149]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":850,"type":"PreviewImage","pos":[2543.3046875,3759.203857421875],"size":[210,246],"flags":{},"order":766,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1144}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":851,"type":"PreviewImage","pos":[2223.3046875,4139.20361328125],"size":[210,246],"flags":{},"order":715,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1145}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":852,"type":"MaskToImage","pos":[2173.3046875,4069.203857421875],"size":[264.5999755859375,26],"flags":{},"order":588,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1146}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1145]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":853,"type":"PreviewImage","pos":[2213.3046875,3759.203857421875],"size":[210,246],"flags":{},"order":587,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1147}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":854,"type":"InpaintStitchImproved","pos":[2383.3046875,3339.203857421875],"size":[352.79998779296875,78],"flags":{},"order":714,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1148},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1149},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1144]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":855,"type":"InpaintCropImproved","pos":[1503.3046875,3359.203857421875],"size":[522.4000244140625,1110],"flags":{},"order":369,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1150},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1151},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1148]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1143,1147]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1146]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":856,"type":"PreviewImage","pos":[2533.3046875,3459.203857421875],"size":[210,246],"flags":{},"order":367,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1152}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":858,"type":"LoadImage","pos":[210,3510],"size":[315,314],"flags":{},"order":77,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1153]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1154]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5485412.599999994.png [input]","image"]},{"id":828,"type":"PreviewImage","pos":[5670,2580],"size":[210,246],"flags":{},"order":775,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1120}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":859,"type":"MaskToImage","pos":[6140,770],"size":[264.5999755859375,26],"flags":{},"order":592,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1156}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1155]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":860,"type":"PreviewImage","pos":[6150,840],"size":[210,246],"flags":{},"order":719,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1155}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":862,"type":"PreviewImage","pos":[6160,1260],"size":[210,246],"flags":{},"order":720,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1157}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":489,"type":"PreviewImage","pos":[5670,850],"size":[210,246],"flags":{},"order":767,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":661}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":796,"type":"PreviewImage","pos":[5900,1650],"size":[210,246],"flags":{},"order":789,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1073}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":807,"type":"PreviewImage","pos":[5900,2120],"size":[210,246],"flags":{},"order":790,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1086}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":827,"type":"PreviewImage","pos":[5910,2580],"size":[210,246],"flags":{},"order":791,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1121}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":838,"type":"PreviewImage","pos":[5920,3040],"size":[210,246],"flags":{},"order":792,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1134}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":486,"type":"InpaintCropImproved","pos":[4240,1010],"size":[522.4000244140625,1110],"flags":{},"order":372,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":657},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":658},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[652,1010]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[659,664,1006]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[663,1008]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1156,1158]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,0,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":863,"type":"PreviewImage","pos":[6169.62841796875,1649.466552734375],"size":[210,246],"flags":{},"order":724,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1159}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":793,"type":"InpaintCropImproved","pos":[4250,1960],"size":[522.4000244140625,1110],"flags":{},"order":374,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1099},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1100},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1062,1071]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1065,1066,1067]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1061,1069]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1160]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,1,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":865,"type":"PreviewImage","pos":[6169.9599609375,2092.87158203125],"size":[210,246],"flags":{},"order":728,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1161}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":804,"type":"InpaintCropImproved","pos":[4260,2880],"size":[522.4000244140625,1110],"flags":{},"order":375,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1101},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1104},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1075,1084]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1078,1079,1080]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1074,1082]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1162]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,8,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":867,"type":"PreviewImage","pos":[6180,2610],"size":[210,246],"flags":{},"order":732,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1163}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":869,"type":"PreviewImage","pos":[6180,3070],"size":[210,246],"flags":{},"order":736,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1164}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":815,"type":"InpaintCropImproved","pos":[4260,3810],"size":[522.4000244140625,1110],"flags":{},"order":376,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1102},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1105},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1088,1097]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1091,1092,1093]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1087,1095]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1165]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,16,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":492,"type":"MaskToImage","pos":[4810,1380],"size":[264.5999755859375,26],"flags":{},"order":591,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":663}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[662]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":487,"type":"ImageInvert","pos":[4830,1280],"size":[210,26],"flags":{},"order":589,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":659}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[653,1007]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":821,"type":"PreviewImage","pos":[4910,5170],"size":[210,246],"flags":{},"order":735,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1110}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":819,"type":"MaskToImage","pos":[4860,5100],"size":[264.5999755859375,26],"flags":{},"order":609,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1107}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1110]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":861,"type":"MaskToImage","pos":[6150,1190],"size":[264.5999755859375,26],"flags":{},"order":593,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1158}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1157]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":864,"type":"MaskToImage","pos":[6159.62841796875,1579.466552734375],"size":[264.5999755859375,26],"flags":{},"order":598,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1160}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1159]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":866,"type":"MaskToImage","pos":[6159.9599609375,2022.87158203125],"size":[264.5999755859375,26],"flags":{},"order":602,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1162}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1161]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":868,"type":"MaskToImage","pos":[6170,2540],"size":[264.5999755859375,26],"flags":{},"order":606,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1165}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1163]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":870,"type":"MaskToImage","pos":[6170,3000],"size":[264.5999755859375,26],"flags":{},"order":610,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1166}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1164]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":836,"type":"PreviewImage","pos":[5680,3040],"size":[210,246],"flags":{},"order":777,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1131}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":826,"type":"InpaintCropImproved","pos":[4290,4730],"size":[522.4000244140625,1110],"flags":{},"order":377,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1118},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1119},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1108,1116]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1111,1112,1113]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1107,1115]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1166]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,32,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":873,"type":"PreviewImage","pos":[6960,1780],"size":[210,246],"flags":{},"order":678,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1171}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":874,"type":"MaskToImage","pos":[6970,1710],"size":[184.6236328125,26],"flags":{},"order":430,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1172}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1171]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":877,"type":"ImpactMakeMaskBatch","pos":[6940,1540],"size":[210,106],"flags":{},"order":204,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":1188},{"name":"mask2","type":"MASK","link":1191},{"name":"mask3","type":"MASK","link":1192},{"name":"mask4","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[1169,1170,1172]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":879,"type":"ImpactMakeImageBatch","pos":[6910,950],"size":[210,106],"flags":{},"order":203,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":1184},{"name":"image2","type":"IMAGE","link":1189},{"name":"image3","type":"IMAGE","link":1190},{"name":"image4","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1168]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":481,"type":"LoadImage","pos":[2970,1160],"size":[315,314],"flags":{},"order":78,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[655]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[656]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5485412.599999994.png [input]","image"]},{"id":872,"type":"InpaintCropImproved","pos":[7250,1020],"size":[522.4000244140625,1110],"flags":{},"order":429,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1168},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1169},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1170},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1199]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1198]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":887,"type":"ImageInvert","pos":[7860,1180],"size":[210,26],"flags":{},"order":677,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1198}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1194]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":881,"type":"InpaintStitchImproved","pos":[7830,1270],"size":[240,78],"flags":{},"order":760,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1199},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1194},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1200]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":882,"type":"PreviewImage","pos":[7860,1400],"size":[210,246],"flags":{},"order":786,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1200}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":888,"type":"PreviewImage","pos":[7950,2590],"size":[210,246],"flags":{},"order":783,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1202}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":889,"type":"PreviewImage","pos":[7050,2970],"size":[210,246],"flags":{},"order":663,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1203}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":890,"type":"MaskToImage","pos":[7060,2900],"size":[184.6236328125,26],"flags":{},"order":421,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1204}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1203]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":891,"type":"ImpactMakeMaskBatch","pos":[7030,2730],"size":[210,106],"flags":{},"order":200,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":1205},{"name":"mask2","type":"MASK","link":1206},{"name":"mask3","type":"MASK","link":1207},{"name":"mask4","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[1204,1212,1213]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":892,"type":"ImpactMakeImageBatch","pos":[7000,2140],"size":[210,106],"flags":{},"order":199,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":1208},{"name":"image2","type":"IMAGE","link":1209},{"name":"image3","type":"IMAGE","link":1210},{"name":"image4","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1211]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":895,"type":"ImageInvert","pos":[7950,2370],"size":[210,26],"flags":{},"order":664,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1214}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1216]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":896,"type":"InpaintStitchImproved","pos":[7920,2460],"size":[240,78],"flags":{},"order":753,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1215},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1216},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1202]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":894,"type":"InpaintCropImproved","pos":[7340,2210],"size":[522.4000244140625,1110],"flags":{},"order":422,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1211},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1212},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1213},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1215]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1214]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","cpu (compatible)"]},{"id":899,"type":"ImageInvert","pos":[9570,1160],"size":[210,26],"flags":{},"order":379,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1221}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1219,1260]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":904,"type":"PreviewImage","pos":[9590,2340],"size":[210,246],"flags":{},"order":741,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1223}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":905,"type":"InpaintStitchImproved","pos":[9560,2210],"size":[240,78],"flags":{},"order":620,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1224},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1225},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1223]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":914,"type":"PreviewImage","pos":[9890,1230],"size":[210,246],"flags":{},"order":617,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1235}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":915,"type":"MaskToImage","pos":[9880,1160],"size":[264.5999755859375,26],"flags":{},"order":382,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1236}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1235]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":916,"type":"PreviewImage","pos":[10180,1230],"size":[210,246],"flags":{},"order":618,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1237}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":917,"type":"MaskToImage","pos":[10170,1160],"size":[264.5999755859375,26],"flags":{},"order":383,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1238}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1237]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":918,"type":"PreviewImage","pos":[9940,2220],"size":[210,246],"flags":{},"order":622,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1239}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":919,"type":"MaskToImage","pos":[9930,2150],"size":[264.5999755859375,26],"flags":{},"order":387,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1247}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1239]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":920,"type":"PreviewImage","pos":[10230,2220],"size":[210,246],"flags":{},"order":623,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1240}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":921,"type":"MaskToImage","pos":[10220,2150],"size":[264.5999755859375,26],"flags":{},"order":388,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1248}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1240]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":929,"type":"MaskToImage","pos":[10020,2530],"size":[264.5999755859375,26],"flags":{},"order":389,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1252}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1251]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":931,"type":"MaskToImage","pos":[10070,1560],"size":[264.5999755859375,26],"flags":{},"order":384,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1254}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1253]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":907,"type":"ImageInvert","pos":[9590,2120],"size":[210,26],"flags":{},"order":385,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1228}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1225,1256]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":928,"type":"PreviewImage","pos":[10030,2600],"size":[210,246],"flags":{},"order":624,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1251}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":936,"type":"PreviewImage","pos":[9510,1690],"size":[210,246],"flags":{},"order":380,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1259}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":937,"type":"PreviewImage","pos":[9780,1670],"size":[210,246],"flags":{},"order":615,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1260}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":939,"type":"InpaintStitchImproved","pos":[9590,4150],"size":[240,78],"flags":{},"order":625,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1262},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1263},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1261]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":941,"type":"PreviewImage","pos":[9950,4080],"size":[210,246],"flags":{},"order":627,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1264}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":942,"type":"PreviewImage","pos":[10240,4080],"size":[210,246],"flags":{},"order":628,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1265}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":943,"type":"MaskToImage","pos":[9940,4010],"size":[264.5999755859375,26],"flags":{},"order":392,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1266}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1264]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":944,"type":"MaskToImage","pos":[10230,4010],"size":[264.5999755859375,26],"flags":{},"order":393,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1267}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1265]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":945,"type":"PreviewImage","pos":[10050,4460],"size":[210,246],"flags":{},"order":629,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1268}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":947,"type":"MaskToImage","pos":[10040,4390],"size":[264.5999755859375,26],"flags":{},"order":394,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1270}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1268]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":950,"type":"InpaintCropImproved","pos":[9000,4040],"size":[522.4000244140625,1110],"flags":{},"order":191,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1288},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1289},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1262]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1269,1271]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","links":[1266]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":[1267]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1270]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,0,0.10000000000000002,false,1,1,1,1,1.2,true,512,512,"32","cpu (compatible)"]},{"id":948,"type":"PreviewImage","pos":[9570,4610],"size":[210,246],"flags":{},"order":391,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1271}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":897,"type":"InpaintCropImproved","pos":[8950,1140],"size":[522.4000244140625,1110],"flags":{},"order":189,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1282},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1283},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1222,1459]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1221,1259,1460]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1236]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[1238]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[1254]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,false,1,1,1,1,1.2,true,512,512,"32","cpu (compatible)"]},{"id":901,"type":"PreviewImage","pos":[9570,1380],"size":[210,246],"flags":{},"order":740,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1220}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":965,"type":"InpaintStitchImproved","pos":[9570,3150],"size":[240,78],"flags":{},"order":630,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1292},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1293},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1302]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":966,"type":"PreviewImage","pos":[9930,3080],"size":[210,246],"flags":{},"order":632,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1294}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":967,"type":"PreviewImage","pos":[10220,3080],"size":[210,246],"flags":{},"order":633,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1295}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":968,"type":"MaskToImage","pos":[9920,3010],"size":[264.5999755859375,26],"flags":{},"order":397,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1296}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1294]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":969,"type":"MaskToImage","pos":[10210,3010],"size":[264.5999755859375,26],"flags":{},"order":398,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1297}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1295]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":970,"type":"PreviewImage","pos":[10030,3460],"size":[210,246],"flags":{},"order":634,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1298}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":971,"type":"ImageInvert","pos":[9600,3060],"size":[210,26],"flags":{},"order":395,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1299}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1293,1301]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":972,"type":"MaskToImage","pos":[10020,3390],"size":[264.5999755859375,26],"flags":{},"order":399,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1300}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1298]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":973,"type":"PreviewImage","pos":[9780,3610],"size":[210,246],"flags":{},"order":631,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1301}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":975,"type":"PreviewImage","pos":[9600,3280],"size":[210,246],"flags":{},"order":743,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1302}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":976,"type":"PreviewImage","pos":[9550,3610],"size":[210,246],"flags":{},"order":396,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1303}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":977,"type":"PreviewImage","pos":[8590,1650],"size":[210,246],"flags":{},"order":188,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1306}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":980,"type":"PreviewImage","pos":[12550,1190],"size":[210,246],"flags":{},"order":637,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1310}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":981,"type":"MaskToImage","pos":[12540,1120],"size":[264.5999755859375,26],"flags":{},"order":402,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1311}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1310]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":982,"type":"PreviewImage","pos":[12840,1190],"size":[210,246],"flags":{},"order":638,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1312}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":983,"type":"MaskToImage","pos":[12830,1120],"size":[264.5999755859375,26],"flags":{},"order":403,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1313}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1312]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":984,"type":"MaskToImage","pos":[12730,1520],"size":[264.5999755859375,26],"flags":{},"order":404,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1314}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1317]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":985,"type":"PreviewImage","pos":[12170,1650],"size":[210,246],"flags":{},"order":401,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1315}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":986,"type":"PreviewImage","pos":[12450,1630],"size":[210,246],"flags":{},"order":636,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1316}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":987,"type":"PreviewImage","pos":[12740,1590],"size":[210,246],"flags":{},"order":639,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1317}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":990,"type":"PreviewImage","pos":[11250,1610],"size":[210,246],"flags":{},"order":193,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1321}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":988,"type":"InpaintCropImproved","pos":[11610,1100],"size":[522.4000244140625,1110],"flags":{},"order":194,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1318},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1319},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1307]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1309,1315]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1311]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[1313]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[1314]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,false,1,1,1,1,1.2,true,1024,1024,"32","cpu (compatible)"]},{"id":979,"type":"ImageInvert","pos":[12230,1120],"size":[210,26],"flags":{},"order":400,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1309}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1308,1316]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":978,"type":"InpaintStitchImproved","pos":[12200,1210],"size":[240,78],"flags":{},"order":635,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1307},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1308},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1320]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":989,"type":"PreviewImage","pos":[12230,1340],"size":[210,246],"flags":{},"order":744,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1320}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":844,"type":"Note","pos":[3025.133056640625,915.4596557617188],"size":[210,88],"flags":{},"order":79,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["blend"],"color":"#432","bgcolor":"#653"},{"id":992,"type":"Note","pos":[6810,800],"size":[210,88],"flags":{},"order":80,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["batches"],"color":"#432","bgcolor":"#653"},{"id":993,"type":"Note","pos":[8310.1806640625,855.4518432617188],"size":[210,88],"flags":{},"order":81,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["default config"],"color":"#432","bgcolor":"#653"},{"id":964,"type":"LoadImage","pos":[8270,1170],"size":[370,314],"flags":{},"order":82,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1282,1284,1288,1304,1306]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1283,1285,1289,1305]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":991,"type":"LoadImage","pos":[10930,1130],"size":[370,314],"flags":{},"order":83,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1318,1321]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1319]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-84438.39999999106.png [input]","image"]},{"id":995,"type":"PreviewImage","pos":[1190,6050],"size":[210,246],"flags":{},"order":405,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1322}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":997,"type":"PreviewImage","pos":[1180,6440],"size":[210,246],"flags":{},"order":640,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1325}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":998,"type":"MaskToImage","pos":[1190,6370],"size":[184.6236328125,26],"flags":{},"order":407,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1326}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1325]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":999,"type":"ImageInvert","pos":[2100,6040],"size":[210,26],"flags":{},"order":641,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1327}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1333]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1000,"type":"PreviewImage","pos":[2510,6120],"size":[210,246],"flags":{},"order":779,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1328}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1001,"type":"PreviewImage","pos":[2190,6500],"size":[210,246],"flags":{},"order":746,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1329}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1002,"type":"MaskToImage","pos":[2140,6430],"size":[264.5999755859375,26],"flags":{},"order":643,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1330}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1329]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1003,"type":"PreviewImage","pos":[2180,6120],"size":[210,246],"flags":{},"order":642,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1331}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1004,"type":"InpaintStitchImproved","pos":[2350,5700],"size":[352.79998779296875,78],"flags":{},"order":745,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1332},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1333},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1328]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1006,"type":"PreviewImage","pos":[2500,5820],"size":[210,246],"flags":{},"order":406,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1336}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1007,"type":"LoadImage","pos":[200,5870],"size":[315,314],"flags":{},"order":84,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1323]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1324]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-69973.90000000596.png [input]","image"]},{"id":996,"type":"InpaintCropImproved","pos":[620,5750],"size":[522.4000244140625,1110],"flags":{},"order":195,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1323},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1324},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1322,1334,1336]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1326,1335]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.9000000000000001,0.9000000000000001,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1008,"type":"PreviewImage","pos":[2110,5460],"size":[210,246],"flags":{},"order":644,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1347}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1005,"type":"InpaintCropImproved","pos":[1470,5720],"size":[522.4000244140625,1110],"flags":{},"order":408,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1334},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1335},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1332]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1327,1331]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1330]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1347]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1009,"type":"PreviewImage","pos":[1290,7540],"size":[210,246],"flags":{},"order":409,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1348}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1010,"type":"PreviewImage","pos":[1280,7930],"size":[210,246],"flags":{},"order":645,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1349}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1011,"type":"MaskToImage","pos":[1290,7860],"size":[184.6236328125,26],"flags":{},"order":411,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1350}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1349]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1012,"type":"ImageInvert","pos":[2200,7530],"size":[210,26],"flags":{},"order":646,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1351}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1357]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1013,"type":"PreviewImage","pos":[2610,7610],"size":[210,246],"flags":{},"order":780,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1352}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1014,"type":"PreviewImage","pos":[2290,7990],"size":[210,246],"flags":{},"order":748,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1353}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1015,"type":"MaskToImage","pos":[2240,7920],"size":[264.5999755859375,26],"flags":{},"order":648,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1354}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1353]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1016,"type":"PreviewImage","pos":[2280,7610],"size":[210,246],"flags":{},"order":647,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1355}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1017,"type":"InpaintStitchImproved","pos":[2450,7190],"size":[352.79998779296875,78],"flags":{},"order":747,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1356},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1357},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1352]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1018,"type":"PreviewImage","pos":[2600,7310],"size":[210,246],"flags":{},"order":410,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1358}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1020,"type":"InpaintCropImproved","pos":[720,7240],"size":[522.4000244140625,1110],"flags":{},"order":196,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1359},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1360},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1348,1358,1362]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1350,1363]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.9000000000000001,0.9000000000000001,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1021,"type":"PreviewImage","pos":[2210,6950],"size":[210,246],"flags":{},"order":649,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1361}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1022,"type":"InpaintCropImproved","pos":[1570,7210],"size":[522.4000244140625,1110],"flags":{},"order":412,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1362},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1363},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1356]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1351,1355]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1354]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1361]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1019,"type":"LoadImage","pos":[300,7360],"size":[315,314],"flags":{},"order":85,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1359]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1360]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-562340.6999999881.png [input]","image"]},{"id":1024,"type":"PreviewImage","pos":[1300,9090],"size":[210,246],"flags":{},"order":413,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1364}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1025,"type":"PreviewImage","pos":[1290,9480],"size":[210,246],"flags":{},"order":650,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1365}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1026,"type":"MaskToImage","pos":[1300,9410],"size":[184.6236328125,26],"flags":{},"order":415,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1366}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1365]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1027,"type":"ImageInvert","pos":[2210,9080],"size":[210,26],"flags":{},"order":651,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1367}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1373]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1028,"type":"PreviewImage","pos":[2620,9160],"size":[210,246],"flags":{},"order":781,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1368}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1029,"type":"PreviewImage","pos":[2300,9540],"size":[210,246],"flags":{},"order":750,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1369}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1030,"type":"MaskToImage","pos":[2250,9470],"size":[264.5999755859375,26],"flags":{},"order":653,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1370}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1369]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1031,"type":"PreviewImage","pos":[2290,9160],"size":[210,246],"flags":{},"order":652,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1371}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1032,"type":"InpaintStitchImproved","pos":[2460,8740],"size":[352.79998779296875,78],"flags":{},"order":749,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1372},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1373},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1368]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1033,"type":"PreviewImage","pos":[2610,8860],"size":[210,246],"flags":{},"order":414,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1374}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1035,"type":"PreviewImage","pos":[2220,8500],"size":[210,246],"flags":{},"order":657,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1377}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1023,"type":"LoadImage","pos":[310,8910],"size":[315,314],"flags":{},"order":86,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1375]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1376]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-576288.900000006.png [input]","image"]},{"id":1038,"type":"PreviewImage","pos":[1330,10530],"size":[210,246],"flags":{},"order":417,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1380}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1039,"type":"PreviewImage","pos":[1320,10920],"size":[210,246],"flags":{},"order":658,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1381}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1040,"type":"MaskToImage","pos":[1330,10850],"size":[184.6236328125,26],"flags":{},"order":419,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1382}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1381]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1041,"type":"ImageInvert","pos":[2240,10520],"size":[210,26],"flags":{},"order":659,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1383}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1389]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1042,"type":"PreviewImage","pos":[2650,10600],"size":[210,246],"flags":{},"order":782,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1384}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1043,"type":"PreviewImage","pos":[2330,10980],"size":[210,246],"flags":{},"order":752,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1385}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1044,"type":"MaskToImage","pos":[2280,10910],"size":[264.5999755859375,26],"flags":{},"order":661,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1386}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1385]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1045,"type":"PreviewImage","pos":[2320,10600],"size":[210,246],"flags":{},"order":660,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1387}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1046,"type":"InpaintStitchImproved","pos":[2490,10180],"size":[352.79998779296875,78],"flags":{},"order":751,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1388},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1389},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1384]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1047,"type":"PreviewImage","pos":[2640,10300],"size":[210,246],"flags":{},"order":418,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1390}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1049,"type":"PreviewImage","pos":[2250,9940],"size":[210,246],"flags":{},"order":662,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1393}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1050,"type":"InpaintCropImproved","pos":[1610,10200],"size":[522.4000244140625,1110],"flags":{},"order":420,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1394},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1395},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1388]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1383,1387]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1386]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1393]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1037,"type":"LoadImage","pos":[340,10350],"size":[315,314],"flags":{},"order":87,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1391]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1392]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-588013.599999994.png [input]","image"]},{"id":1048,"type":"InpaintCropImproved","pos":[760,10230],"size":[522.4000244140625,1110],"flags":{},"order":198,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1391},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1392},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1380,1390,1394]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1382,1395]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.9000000000000001,0.9000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1034,"type":"InpaintCropImproved","pos":[730,8790],"size":[522.4000244140625,1110],"flags":{},"order":197,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1375},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1376},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1364,1374,1378]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1366,1379]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.9000000000000001,0.9000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1052,"type":"PreviewImage","pos":[1880,8410],"size":[210,246],"flags":{},"order":656,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1397}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1051,"type":"PreviewImage","pos":[1590,8410],"size":[210,246],"flags":{},"order":655,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1396}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1036,"type":"InpaintCropImproved","pos":[1580,8760],"size":[522.4000244140625,1110],"flags":{},"order":416,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1378},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1379},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1372]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1367,1371]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1370]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[1398]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1396]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[1397]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1377]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1053,"type":"PreviewImage","pos":[1320,8400],"size":[210,246],"flags":{},"order":654,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1398}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":933,"type":"PreviewImage","pos":[9750,2660],"size":[210,246],"flags":{},"order":621,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1256}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":934,"type":"PreviewImage","pos":[9520,2660],"size":[210,246],"flags":{},"order":386,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1257}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":906,"type":"InpaintCropImproved","pos":[8970,2100],"size":[522.4000244140625,1110],"flags":{},"order":190,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1284},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1285},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1224]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","links":[1228,1257]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1247]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[1248]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1252]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,16,0.1,false,1,1,1,1,1.2,true,512,512,"32","cpu (compatible)"]},{"id":949,"type":"PreviewImage","pos":[9800,4610],"size":[210,246],"flags":{},"order":626,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1272}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":938,"type":"PreviewImage","pos":[9620,4270],"size":[210,246],"flags":{},"order":742,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1261}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":974,"type":"InpaintCropImproved","pos":[8980,3040],"size":[522.4000244140625,1110],"flags":{},"order":192,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1304},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1305},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1292]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1299,1303]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","links":[1296]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":[1297]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1300]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,8,0.10000000000000002,false,1,1,1,1,1.2,true,512,512,"32","cpu (compatible)"]},{"id":1067,"type":"Note","pos":[11032.34375,2191.9013671875],"size":[210,88],"flags":{},"order":88,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["extend with aspect ratio"],"color":"#432","bgcolor":"#653"},{"id":1069,"type":"PreviewImage","pos":[12020,2760],"size":[210,246],"flags":{},"order":423,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1414}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1071,"type":"PreviewImage","pos":[12010,3150],"size":[210,246],"flags":{},"order":665,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1417}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1072,"type":"MaskToImage","pos":[12020,3080],"size":[184.6236328125,26],"flags":{},"order":424,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1418}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1417]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1077,"type":"MaskToImage","pos":[12990,2870],"size":[184.6236328125,26],"flags":{},"order":669,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1423}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1421]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1070,"type":"InpaintCropImproved","pos":[11450,2460],"size":[522.4000244140625,1110],"flags":{},"order":201,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1452},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1453},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1414,1419]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1418,1429]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1075,"type":"PreviewImage","pos":[12990,2550],"size":[210,246],"flags":{},"order":666,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1422}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1080,"type":"PreviewImage","pos":[13025.9404296875,2251.31494140625],"size":[210,246],"flags":{},"order":670,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1431}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":230,"type":"PreviewImage","pos":[1180,-2720],"size":[210,246],"flags":{},"order":256,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":364}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":226,"type":"InpaintCropImproved","pos":[620,-4480],"size":[522.4000244140625,1110],"flags":{},"order":139,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":356},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":357},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[361]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[756]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,3.0000000000000004,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","cpu (compatible)"]},{"id":1081,"type":"PreviewImage","pos":[12013.361328125,4135.1748046875],"size":[210,246],"flags":{},"order":426,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1432}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1082,"type":"PreviewImage","pos":[12003.361328125,4525.1748046875],"size":[210,246],"flags":{},"order":671,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1433}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1083,"type":"MaskToImage","pos":[12013.361328125,4455.1748046875],"size":[184.6236328125,26],"flags":{},"order":427,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1434}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1433]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1084,"type":"PreviewImage","pos":[12973.361328125,4315.1748046875],"size":[210,246],"flags":{},"order":759,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1435}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1085,"type":"MaskToImage","pos":[12983.361328125,4245.1748046875],"size":[184.6236328125,26],"flags":{},"order":675,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1436}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1435]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1090,"type":"PreviewImage","pos":[12983.361328125,3925.1748046875],"size":[210,246],"flags":{},"order":672,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1442}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1091,"type":"PreviewImage","pos":[13023.361328125,3625.1748046875],"size":[210,246],"flags":{},"order":676,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1443}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1089,"type":"InpaintCropImproved","pos":[11443.361328125,3835.1748046875],"size":[522.4000244140625,1110],"flags":{},"order":202,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1454},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1455},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1432,1444]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1434,1445]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.20000000000000004,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","cpu (compatible)"]},{"id":1076,"type":"PreviewImage","pos":[12970,2950],"size":[210,246],"flags":{},"order":756,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1421}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":946,"type":"ImageInvert","pos":[9620,4060],"size":[210,26],"flags":{},"order":390,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1269}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1263,1272]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1093,"type":"ImageInvert","pos":[13260,3910],"size":[210,26],"flags":{},"order":673,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1448}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1449]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":893,"type":"LoadImage","pos":[6880,2340],"size":[370,314],"flags":{},"order":89,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1208,1209,1210]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1205,1206,1207]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1095,"type":"LoadImage","pos":[10970,2650],"size":[370,314],"flags":{},"order":90,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1452]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1453]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1096,"type":"LoadImage","pos":[10980,3770],"size":[370,314],"flags":{},"order":91,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1454]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1455]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1086,"type":"InpaintStitchImproved","pos":[13333.361328125,4005.1748046875],"size":[352.79998779296875,78],"flags":{},"order":757,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1437},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1449},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1439]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1087,"type":"PreviewImage","pos":[13773.361328125,3955.1748046875],"size":[210,246],"flags":{},"order":785,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1439}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1098,"type":"PreviewImage","pos":[13763.341796875,4271.88623046875],"size":[210,246],"flags":{},"order":758,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1457}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1097,"type":"InpaintStitchImproved","pos":[13343.0615234375,4146.96875],"size":[352.79998779296875,78],"flags":{},"order":674,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1458},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1456},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1457]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":900,"type":"InpaintStitchImproved","pos":[9540,1250],"size":[240,78],"flags":{},"order":614,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1222},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1219},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1220]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":930,"type":"PreviewImage","pos":[10080,1630],"size":[210,246],"flags":{},"order":619,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1253}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1100,"type":"PreviewImage","pos":[10433.5751953125,1538.987060546875],"size":[210,246],"flags":{},"order":616,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1461}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1099,"type":"InpaintStitchImproved","pos":[9831.8974609375,1475.47705078125],"size":[240,78],"flags":{},"order":381,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1459},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1460},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1461]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1092,"type":"InpaintCropImproved","pos":[12353.361328125,3825.1748046875],"size":[522.4000244140625,1110],"flags":{},"order":428,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1444},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1445},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1437,1458]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1442,1447,1448,1456]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":[1436]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1443]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1094,"type":"ImageInvert","pos":[13350,2500],"size":[210,26],"flags":{},"order":667,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1450}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1451]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1078,"type":"InpaintStitchImproved","pos":[13340,2630],"size":[352.79998779296875,78],"flags":{},"order":754,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1424},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1451},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1426]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1079,"type":"PreviewImage","pos":[13780,2580],"size":[210,246],"flags":{},"order":784,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1426}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1102,"type":"PreviewImage","pos":[13782.3271484375,2882.192138671875],"size":[210,246],"flags":{},"order":755,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1464}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1101,"type":"InpaintStitchImproved","pos":[13377.4228515625,2737.561767578125],"size":[352.79998779296875,78],"flags":{},"order":668,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1462},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1463},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1464]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1074,"type":"InpaintCropImproved","pos":[12360,2450],"size":[522.4000244140625,1110],"flags":{},"order":425,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1419},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1429},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1424,1462]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1422,1446,1450,1463]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":[1423]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1431]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":880,"type":"LoadImage","pos":[6790,1150],"size":[315,314],"flags":{},"order":92,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1183,1184,1185,1189,1190]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1186,1187,1188,1191,1192]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1103,"type":"PreviewImage","pos":[14932.81640625,2045.9593505859375],"size":[210,246],"flags":{},"order":431,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1465}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1104,"type":"MaskToImage","pos":[14942.81640625,1975.9593505859375],"size":[184.6236328125,26],"flags":{},"order":205,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1477}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1465]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1107,"type":"ImageInvert","pos":[15832.81640625,1445.9593505859375],"size":[210,26],"flags":{},"order":432,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1472}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1474]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":994,"type":"Note","pos":[10950.45703125,882.1204223632812],"size":[210,88],"flags":{},"order":93,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["tiny mask"],"color":"#432","bgcolor":"#653"},{"id":1111,"type":"Note","pos":[14721.8935546875,1015.5156860351562],"size":[210,88],"flags":{},"order":94,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Check extend centered"],"color":"#432","bgcolor":"#653"},{"id":1110,"type":"LoadImage","pos":[14762.81640625,1415.9593505859375],"size":[315,314],"flags":{},"order":95,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1476]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1468,1477,1478,1479]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1114,"type":"MaskToImage","pos":[16066.2939453125,1064.7933349609375],"size":[184.6236328125,26],"flags":{},"order":434,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1482}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1481]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1115,"type":"PreviewImage","pos":[15800.8828125,785.7247924804688],"size":[210,246],"flags":{},"order":435,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1483}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1117,"type":"MaskToImage","pos":[16028.947265625,713.314453125],"size":[184.6236328125,26],"flags":{},"order":436,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1485}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1484]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1116,"type":"PreviewImage","pos":[16018.947265625,783.314453125],"size":[210,246],"flags":{},"order":681,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1484}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1112,"type":"PreviewImage","pos":[15811.9580078125,1136.6173095703125],"size":[210,246],"flags":{},"order":433,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1480}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1113,"type":"PreviewImage","pos":[16056.2939453125,1134.7933349609375],"size":[210,246],"flags":{},"order":680,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1481}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":35,"type":"PreviewImage","pos":[-12970,-5110],"size":[210,246],"flags":{},"order":212,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":222}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":37,"type":"InpaintCropImproved","pos":[-13520,-5090],"size":[522.4000244140625,1110],"flags":{},"order":100,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":53},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":54},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":60},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[222]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[848]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":320,"type":"LoadImage","pos":[-12580,4420],"size":[315,314],"flags":{},"order":96,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[474]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[475]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-991989.900000006.png [input]","image"]},{"id":322,"type":"InpaintCropImproved","pos":[-12160,4300],"size":[522.4000244140625,1110],"flags":{},"order":207,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":474},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":475},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":476},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[722]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[472]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","cpu (compatible)"]},{"id":1109,"type":"PreviewImage","pos":[15863.232421875,1728.523193359375],"size":[210,246],"flags":{},"order":761,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1475}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1108,"type":"InpaintStitchImproved","pos":[15867.4287109375,1571.1998291015625],"size":[240,78],"flags":{},"order":679,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1473},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1474},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1475]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1121,"type":"PreviewImage","pos":[16215.853515625,1686.820556640625],"size":[210,246],"flags":{},"order":437,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1491}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1122,"type":"PreviewImage","pos":[14950.05078125,3809.6123046875],"size":[210,246],"flags":{},"order":441,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1496}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1123,"type":"MaskToImage","pos":[14960.05078125,3739.6123046875],"size":[184.6236328125,26],"flags":{},"order":208,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1497}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1496]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1124,"type":"ImageInvert","pos":[15850.05078125,3209.6123046875],"size":[210,26],"flags":{},"order":442,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1498}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1507]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1126,"type":"LoadImage","pos":[14780.05078125,3179.6123046875],"size":[315,314],"flags":{},"order":97,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1510]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1497,1511,1512]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1127,"type":"MaskToImage","pos":[16083.5283203125,2828.4462890625],"size":[184.6236328125,26],"flags":{},"order":444,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1499}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1504]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1128,"type":"PreviewImage","pos":[15818.1171875,2549.377685546875],"size":[210,246],"flags":{},"order":445,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1500}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1129,"type":"MaskToImage","pos":[16046.181640625,2476.967529296875],"size":[184.6236328125,26],"flags":{},"order":446,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1501}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1502]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1130,"type":"PreviewImage","pos":[16036.181640625,2546.967529296875],"size":[210,246],"flags":{},"order":685,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1502}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1131,"type":"PreviewImage","pos":[15829.1923828125,2900.270263671875],"size":[210,246],"flags":{},"order":443,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1503}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1132,"type":"PreviewImage","pos":[16073.5283203125,2898.4462890625],"size":[210,246],"flags":{},"order":684,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1504}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1133,"type":"PreviewImage","pos":[15880.466796875,3492.17626953125],"size":[210,246],"flags":{},"order":762,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1505}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1134,"type":"InpaintStitchImproved","pos":[15884.6630859375,3334.852783203125],"size":[240,78],"flags":{},"order":683,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1506},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1507},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1505]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1135,"type":"PreviewImage","pos":[16328.642578125,3082.38623046875],"size":[210,246],"flags":{},"order":448,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1508}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1136,"type":"PreviewImage","pos":[16233.087890625,3450.4736328125],"size":[210,246],"flags":{},"order":447,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1509}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1118,"type":"PreviewImage","pos":[16311.408203125,1318.7332763671875],"size":[210,246],"flags":{},"order":438,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1495}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1137,"type":"InpaintCropImproved","pos":[15240.05078125,3049.6123046875],"size":[522.4000244140625,1110],"flags":{},"order":209,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1510},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1511},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1512},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1506]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1498,1503]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1499]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1500]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1501]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1509]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1508]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1106,"type":"InpaintCropImproved","pos":[15222.81640625,1285.9593505859375],"size":[522.4000244140625,1110],"flags":{},"order":206,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1476},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1478},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1479},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1473]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1472,1480]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1482]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1483]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1485]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1491]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1495]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1138,"type":"PreviewImage","pos":[16717.052734375,2483.63330078125],"size":[210,246],"flags":{},"order":449,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1513}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1139,"type":"MaskToImage","pos":[16727.052734375,2413.63330078125],"size":[184.6236328125,26],"flags":{},"order":210,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1514}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1513]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1140,"type":"ImageInvert","pos":[17617.052734375,1883.63330078125],"size":[210,26],"flags":{},"order":450,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1515}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1524]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1141,"type":"Note","pos":[16506.12890625,1453.189697265625],"size":[210,88],"flags":{},"order":98,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Check extend centered"],"color":"#432","bgcolor":"#653"},{"id":1142,"type":"LoadImage","pos":[16547.052734375,1853.63330078125],"size":[315,314],"flags":{},"order":99,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1527]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1514,1528,1529]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1143,"type":"MaskToImage","pos":[17850.529296875,1502.46728515625],"size":[184.6236328125,26],"flags":{},"order":452,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1516}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1521]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1144,"type":"PreviewImage","pos":[17585.119140625,1223.3988037109375],"size":[210,246],"flags":{},"order":453,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1517}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1145,"type":"MaskToImage","pos":[17813.18359375,1150.9884033203125],"size":[184.6236328125,26],"flags":{},"order":454,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1518}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1519]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1146,"type":"PreviewImage","pos":[17803.18359375,1220.9884033203125],"size":[210,246],"flags":{},"order":688,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1519}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1148,"type":"PreviewImage","pos":[17840.529296875,1572.46728515625],"size":[210,246],"flags":{},"order":687,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1521}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1149,"type":"PreviewImage","pos":[17647.46875,2166.197265625],"size":[210,246],"flags":{},"order":763,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1522}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1150,"type":"InpaintStitchImproved","pos":[17651.6640625,2008.873779296875],"size":[240,78],"flags":{},"order":686,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1523},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1524},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1522]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["cpu (compatible)"]},{"id":1151,"type":"PreviewImage","pos":[18095.64453125,1756.4072265625],"size":[210,246],"flags":{},"order":456,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1525}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1152,"type":"PreviewImage","pos":[18000.08984375,2124.49462890625],"size":[210,246],"flags":{},"order":455,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1526}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1153,"type":"InpaintCropImproved","pos":[17007.052734375,1723.63330078125],"size":[522.4000244140625,1110],"flags":{},"order":211,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1527},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1528},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1529},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1523]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1515,1520]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1516]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1517]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1518]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1526]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1525]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","cpu (compatible)"]},{"id":1147,"type":"PreviewImage","pos":[17596.193359375,1574.291259765625],"size":[210,246],"flags":{},"order":451,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1520}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]}],"links":[[28,10,0,15,0,"IMAGE"],[29,10,1,15,1,"MASK"],[33,21,1,20,1,"MASK"],[53,38,0,37,0,"IMAGE"],[54,38,1,37,1,"MASK"],[57,41,1,40,1,"MASK"],[60,38,1,37,2,"MASK"],[61,41,1,40,2,"MASK"],[70,56,0,52,0,"IMAGE"],[83,56,1,52,2,"MASK"],[84,57,1,54,2,"MASK"],[104,70,1,72,1,"MASK"],[105,70,1,72,2,"MASK"],[122,85,0,86,0,"IMAGE"],[123,85,1,86,1,"MASK"],[124,85,1,86,2,"MASK"],[125,89,1,87,0,"IMAGE"],[127,90,0,89,0,"IMAGE"],[128,90,1,89,1,"MASK"],[129,90,1,89,2,"MASK"],[130,94,1,91,0,"IMAGE"],[142,105,0,107,0,"IMAGE"],[143,105,1,107,1,"MASK"],[144,105,1,107,2,"MASK"],[188,139,0,141,0,"IMAGE"],[189,139,1,141,1,"MASK"],[190,139,1,141,2,"MASK"],[191,105,1,121,1,"MASK"],[192,105,1,126,1,"MASK"],[193,105,1,131,1,"MASK"],[194,105,1,136,1,"MASK"],[195,105,0,121,0,"IMAGE"],[196,105,0,126,0,"IMAGE"],[197,105,0,131,0,"IMAGE"],[198,105,0,136,0,"IMAGE"],[215,72,3,68,0,"IMAGE"],[216,78,3,76,0,"IMAGE"],[217,30,3,32,0,"IMAGE"],[218,60,3,48,0,"IMAGE"],[219,54,3,53,0,"IMAGE"],[220,40,3,39,0,"IMAGE"],[221,52,3,50,0,"IMAGE"],[222,37,3,35,0,"IMAGE"],[223,15,3,8,0,"IMAGE"],[225,20,3,18,0,"IMAGE"],[227,23,3,22,0,"IMAGE"],[229,86,3,83,0,"IMAGE"],[231,154,3,143,0,"IMAGE"],[233,153,3,145,0,"IMAGE"],[235,152,3,148,0,"IMAGE"],[244,156,0,153,0,"IMAGE"],[245,156,1,153,1,"MASK"],[246,157,0,152,0,"IMAGE"],[247,157,1,152,1,"MASK"],[248,155,0,154,0,"IMAGE"],[249,155,1,154,1,"MASK"],[251,158,0,94,0,"IMAGE"],[252,158,1,94,1,"MASK"],[260,159,0,163,0,"IMAGE"],[261,159,1,163,1,"MASK"],[262,159,1,163,2,"MASK"],[266,165,0,167,0,"IMAGE"],[267,165,1,167,1,"MASK"],[268,165,1,167,2,"MASK"],[272,171,0,173,0,"IMAGE"],[273,171,1,173,1,"MASK"],[274,171,1,173,2,"MASK"],[284,183,0,184,0,"IMAGE"],[285,183,1,184,1,"MASK"],[286,183,1,184,2,"MASK"],[287,178,0,185,0,"IMAGE"],[288,178,1,185,1,"MASK"],[289,178,1,185,2,"MASK"],[290,180,0,186,0,"IMAGE"],[291,180,1,186,1,"MASK"],[292,180,1,186,2,"MASK"],[298,189,0,190,0,"IMAGE"],[299,189,1,190,1,"MASK"],[300,189,1,190,2,"MASK"],[309,197,0,202,0,"IMAGE"],[310,197,1,202,1,"MASK"],[311,197,1,202,2,"MASK"],[318,207,0,208,0,"IMAGE"],[319,207,1,208,1,"MASK"],[320,207,1,208,2,"MASK"],[323,211,0,212,0,"IMAGE"],[324,211,1,212,1,"MASK"],[325,211,1,212,2,"MASK"],[347,215,0,222,0,"IMAGE"],[348,215,1,222,1,"MASK"],[349,215,0,223,0,"IMAGE"],[350,215,1,223,1,"MASK"],[351,215,0,224,0,"IMAGE"],[352,215,1,224,1,"MASK"],[353,215,0,225,0,"IMAGE"],[354,215,1,225,1,"MASK"],[355,215,1,225,2,"MASK"],[356,215,0,226,0,"IMAGE"],[357,215,1,226,1,"MASK"],[359,225,10,227,0,"IMAGE"],[361,226,10,228,0,"IMAGE"],[362,224,10,229,0,"IMAGE"],[364,222,10,230,0,"IMAGE"],[366,223,10,231,0,"IMAGE"],[368,245,10,232,0,"IMAGE"],[370,237,10,235,0,"IMAGE"],[372,234,0,237,0,"IMAGE"],[373,234,1,237,1,"MASK"],[374,234,1,237,2,"MASK"],[376,247,10,239,0,"IMAGE"],[378,248,10,241,0,"IMAGE"],[380,246,10,243,0,"IMAGE"],[382,234,0,245,0,"IMAGE"],[383,234,1,245,1,"MASK"],[384,234,0,246,0,"IMAGE"],[385,234,1,246,1,"MASK"],[386,234,0,247,0,"IMAGE"],[387,234,1,247,1,"MASK"],[388,234,0,248,0,"IMAGE"],[389,234,1,248,1,"MASK"],[392,251,0,252,0,"IMAGE"],[393,251,1,252,1,"MASK"],[403,255,0,261,0,"IMAGE"],[404,255,1,261,1,"MASK"],[406,262,0,265,0,"IMAGE"],[407,262,1,265,1,"MASK"],[409,266,0,268,0,"IMAGE"],[410,266,1,268,1,"MASK"],[414,252,13,271,0,"IMAGE"],[416,261,13,272,0,"IMAGE"],[418,268,15,273,0,"IMAGE"],[420,265,15,274,0,"IMAGE"],[427,275,0,283,0,"IMAGE"],[428,275,1,283,1,"MASK"],[429,284,1,283,2,"MASK"],[432,288,0,287,0,"IMAGE"],[433,288,1,287,1,"MASK"],[434,289,1,287,2,"MASK"],[435,287,17,286,0,"IMAGE"],[437,283,17,282,0,"IMAGE"],[443,293,0,299,0,"IMAGE"],[444,293,1,299,1,"MASK"],[445,294,1,299,2,"MASK"],[446,297,0,300,0,"IMAGE"],[447,297,1,300,1,"MASK"],[448,298,1,300,2,"MASK"],[450,299,19,291,0,"IMAGE"],[453,300,19,296,0,"IMAGE"],[457,308,17,305,0,"IMAGE"],[458,306,0,308,0,"IMAGE"],[459,306,1,308,1,"MASK"],[465,307,1,308,2,"MASK"],[467,315,17,313,0,"IMAGE"],[468,314,0,315,0,"IMAGE"],[469,314,1,315,1,"MASK"],[470,316,1,315,2,"MASK"],[472,322,17,318,0,"IMAGE"],[474,320,0,322,0,"IMAGE"],[475,320,1,322,1,"MASK"],[476,319,1,322,2,"MASK"],[481,324,0,329,0,"IMAGE"],[482,324,1,329,1,"MASK"],[484,329,10,325,0,"IMAGE"],[488,329,10,333,0,"IMAGE"],[489,329,11,333,1,"MASK"],[491,333,19,331,0,"IMAGE"],[494,340,10,336,0,"IMAGE"],[496,342,19,339,0,"IMAGE"],[497,337,0,340,0,"IMAGE"],[498,337,1,340,1,"MASK"],[500,340,10,342,0,"IMAGE"],[501,340,11,342,1,"MASK"],[513,373,19,351,0,"IMAGE"],[514,358,10,354,0,"IMAGE"],[517,355,0,358,0,"IMAGE"],[518,355,1,358,1,"MASK"],[522,367,10,362,0,"IMAGE"],[524,382,19,365,0,"IMAGE"],[526,363,0,367,0,"IMAGE"],[527,363,1,367,1,"MASK"],[528,379,19,368,0,"IMAGE"],[529,350,0,369,0,"IMAGE"],[530,350,1,369,1,"MASK"],[531,353,1,369,2,"MASK"],[532,369,19,370,0,"IMAGE"],[535,349,0,373,0,"IMAGE"],[536,349,1,373,1,"MASK"],[537,352,1,373,2,"MASK"],[543,358,10,379,0,"IMAGE"],[544,358,11,379,1,"MASK"],[547,367,10,382,0,"IMAGE"],[548,367,11,382,1,"MASK"],[549,299,1,384,0,"IMAGE"],[551,300,1,386,0,"IMAGE"],[553,333,1,389,0,"IMAGE"],[555,342,1,391,0,"IMAGE"],[557,373,1,393,0,"IMAGE"],[559,369,1,395,0,"IMAGE"],[561,379,1,397,0,"IMAGE"],[563,382,1,399,0,"IMAGE"],[565,299,22,400,0,"IMAGE"],[566,299,23,401,0,"IMAGE"],[567,299,24,402,0,"IMAGE"],[568,300,22,404,0,"IMAGE"],[569,300,23,405,0,"IMAGE"],[570,300,24,403,0,"IMAGE"],[571,333,22,407,0,"IMAGE"],[572,333,23,408,0,"IMAGE"],[573,333,24,406,0,"IMAGE"],[574,342,22,410,0,"IMAGE"],[575,342,23,411,0,"IMAGE"],[576,342,24,409,0,"IMAGE"],[577,373,22,413,0,"IMAGE"],[578,373,23,414,0,"IMAGE"],[579,373,24,412,0,"IMAGE"],[580,369,22,416,0,"IMAGE"],[581,369,23,417,0,"IMAGE"],[582,369,24,415,0,"IMAGE"],[583,379,22,419,0,"IMAGE"],[584,379,23,420,0,"IMAGE"],[585,379,24,418,0,"IMAGE"],[586,382,22,422,0,"IMAGE"],[587,382,23,423,0,"IMAGE"],[588,382,24,421,0,"IMAGE"],[591,432,10,427,0,"IMAGE"],[593,439,19,430,0,"IMAGE"],[595,428,0,432,0,"IMAGE"],[596,428,1,432,1,"MASK"],[599,439,1,435,0,"IMAGE"],[600,439,24,436,0,"IMAGE"],[601,439,22,437,0,"IMAGE"],[602,439,23,438,0,"IMAGE"],[603,432,10,439,0,"IMAGE"],[604,432,11,439,1,"MASK"],[618,456,10,453,0,"IMAGE"],[620,454,0,456,0,"IMAGE"],[621,454,1,456,1,"MASK"],[623,461,1,458,0,"IMAGE"],[625,461,22,460,0,"IMAGE"],[626,456,10,461,0,"IMAGE"],[627,456,11,461,1,"MASK"],[628,461,23,462,0,"IMAGE"],[629,461,24,463,0,"IMAGE"],[630,461,19,464,0,"IMAGE"],[631,468,10,466,0,"IMAGE"],[633,475,0,468,0,"IMAGE"],[634,475,1,468,1,"MASK"],[642,468,10,477,0,"IMAGE"],[643,468,11,477,1,"MASK"],[644,477,0,478,0,"STITCHER"],[647,478,0,470,0,"IMAGE"],[648,468,10,479,0,"IMAGE"],[649,477,1,480,0,"IMAGE"],[650,480,0,478,1,"IMAGE"],[652,486,0,483,0,"STITCHER"],[653,487,0,483,1,"IMAGE"],[654,485,10,484,0,"IMAGE"],[655,481,0,485,0,"IMAGE"],[656,481,1,485,1,"MASK"],[657,485,10,486,0,"IMAGE"],[658,485,11,486,1,"MASK"],[659,486,1,487,0,"IMAGE"],[660,485,10,488,0,"IMAGE"],[661,483,0,489,0,"IMAGE"],[662,492,0,491,0,"IMAGE"],[663,486,2,492,0,"MASK"],[664,486,1,493,0,"IMAGE"],[665,495,0,494,0,"IMAGE"],[666,485,11,495,0,"MASK"],[667,497,0,496,0,"IMAGE"],[668,468,11,497,0,"MASK"],[669,499,0,498,0,"IMAGE"],[670,373,2,499,0,"MASK"],[671,501,0,500,0,"IMAGE"],[672,373,21,501,0,"MASK"],[673,503,0,502,0,"IMAGE"],[674,369,21,503,0,"MASK"],[675,505,0,504,0,"IMAGE"],[676,369,2,505,0,"MASK"],[677,507,0,506,0,"IMAGE"],[678,379,21,507,0,"MASK"],[679,509,0,508,0,"IMAGE"],[680,379,2,509,0,"MASK"],[681,511,0,510,0,"IMAGE"],[682,358,11,511,0,"MASK"],[683,513,0,512,0,"IMAGE"],[684,382,21,513,0,"MASK"],[685,515,0,514,0,"IMAGE"],[686,382,2,515,0,"MASK"],[687,517,0,516,0,"IMAGE"],[688,367,11,517,0,"MASK"],[689,519,0,518,0,"IMAGE"],[690,439,21,519,0,"MASK"],[691,521,0,520,0,"IMAGE"],[692,439,2,521,0,"MASK"],[693,523,0,522,0,"IMAGE"],[694,461,21,523,0,"MASK"],[695,525,0,524,0,"IMAGE"],[696,461,2,525,0,"MASK"],[697,527,0,526,0,"IMAGE"],[698,456,11,527,0,"MASK"],[699,529,0,528,0,"IMAGE"],[700,432,11,529,0,"MASK"],[701,531,0,530,0,"IMAGE"],[702,299,2,531,0,"MASK"],[703,533,0,532,0,"IMAGE"],[704,299,21,533,0,"MASK"],[705,535,0,534,0,"IMAGE"],[706,300,21,535,0,"MASK"],[707,537,0,536,0,"IMAGE"],[708,300,2,537,0,"MASK"],[709,539,0,538,0,"IMAGE"],[710,329,11,539,0,"MASK"],[711,541,0,540,0,"IMAGE"],[712,333,21,541,0,"MASK"],[713,543,0,542,0,"IMAGE"],[714,333,2,543,0,"MASK"],[715,545,0,544,0,"IMAGE"],[716,342,21,545,0,"MASK"],[717,547,0,546,0,"IMAGE"],[718,342,2,547,0,"MASK"],[719,549,0,548,0,"IMAGE"],[720,340,11,549,0,"MASK"],[721,551,0,550,0,"IMAGE"],[722,322,16,551,0,"MASK"],[723,553,0,552,0,"IMAGE"],[724,315,16,553,0,"MASK"],[725,555,0,554,0,"IMAGE"],[726,308,16,555,0,"MASK"],[727,557,0,556,0,"IMAGE"],[728,287,16,557,0,"MASK"],[729,559,0,558,0,"IMAGE"],[730,283,16,559,0,"MASK"],[731,561,0,560,0,"IMAGE"],[732,265,14,561,0,"MASK"],[733,563,0,562,0,"IMAGE"],[734,268,14,563,0,"MASK"],[735,565,0,564,0,"IMAGE"],[736,261,12,565,0,"MASK"],[737,567,0,566,0,"IMAGE"],[738,252,12,567,0,"MASK"],[739,569,0,568,0,"IMAGE"],[740,237,11,569,0,"MASK"],[741,571,0,570,0,"IMAGE"],[742,247,11,571,0,"MASK"],[743,573,0,572,0,"IMAGE"],[744,248,11,573,0,"MASK"],[745,575,0,574,0,"IMAGE"],[746,246,11,575,0,"MASK"],[747,577,0,576,0,"IMAGE"],[748,245,11,577,0,"MASK"],[749,579,0,578,0,"IMAGE"],[750,223,11,579,0,"MASK"],[751,581,0,580,0,"IMAGE"],[752,222,11,581,0,"MASK"],[753,583,0,582,0,"IMAGE"],[754,224,11,583,0,"MASK"],[755,585,0,584,0,"IMAGE"],[756,226,11,585,0,"MASK"],[757,587,0,586,0,"IMAGE"],[758,225,11,587,0,"MASK"],[759,589,0,588,0,"IMAGE"],[760,234,1,589,0,"MASK"],[761,591,0,590,0,"IMAGE"],[762,215,1,591,0,"MASK"],[763,593,0,592,0,"IMAGE"],[764,107,9,593,0,"MASK"],[765,595,0,594,0,"IMAGE"],[766,121,9,595,0,"MASK"],[767,597,0,596,0,"IMAGE"],[768,126,9,597,0,"MASK"],[769,599,0,598,0,"IMAGE"],[770,131,9,599,0,"MASK"],[771,601,0,600,0,"IMAGE"],[772,136,9,601,0,"MASK"],[773,603,0,602,0,"IMAGE"],[774,105,1,603,0,"MASK"],[775,605,0,604,0,"IMAGE"],[776,202,8,605,0,"MASK"],[777,607,0,606,0,"IMAGE"],[778,197,1,607,0,"MASK"],[779,609,0,608,0,"IMAGE"],[780,611,0,610,0,"IMAGE"],[781,208,9,609,0,"MASK"],[782,207,1,611,0,"MASK"],[783,613,0,612,0,"IMAGE"],[784,615,0,614,0,"IMAGE"],[785,211,1,615,0,"MASK"],[786,212,9,613,0,"MASK"],[787,617,0,616,0,"IMAGE"],[788,163,7,617,0,"MASK"],[789,619,0,618,0,"IMAGE"],[790,167,7,619,0,"MASK"],[791,621,0,620,0,"IMAGE"],[792,173,7,621,0,"MASK"],[793,623,0,622,0,"IMAGE"],[794,190,8,623,0,"MASK"],[795,625,0,624,0,"IMAGE"],[796,189,1,625,0,"MASK"],[797,627,0,626,0,"IMAGE"],[798,171,1,627,0,"MASK"],[799,629,0,628,0,"IMAGE"],[800,165,1,629,0,"MASK"],[801,631,0,630,0,"IMAGE"],[802,159,1,631,0,"MASK"],[803,633,0,632,0,"IMAGE"],[804,186,6,633,0,"MASK"],[805,635,0,634,0,"IMAGE"],[806,185,6,635,0,"MASK"],[807,637,0,636,0,"IMAGE"],[808,184,6,637,0,"MASK"],[809,639,0,638,0,"IMAGE"],[810,183,1,639,0,"MASK"],[811,641,0,640,0,"IMAGE"],[812,178,1,641,0,"MASK"],[813,643,0,642,0,"IMAGE"],[814,180,1,643,0,"MASK"],[815,645,0,644,0,"IMAGE"],[816,141,5,645,0,"MASK"],[817,647,0,646,0,"IMAGE"],[818,139,1,647,0,"MASK"],[819,649,0,648,0,"IMAGE"],[820,86,4,649,0,"MASK"],[821,651,0,650,0,"IMAGE"],[822,89,4,651,0,"MASK"],[823,653,0,652,0,"IMAGE"],[824,94,4,653,0,"MASK"],[825,655,0,654,0,"IMAGE"],[826,70,1,655,0,"MASK"],[827,657,0,656,0,"IMAGE"],[828,72,4,657,0,"MASK"],[829,659,0,658,0,"IMAGE"],[831,661,0,660,0,"IMAGE"],[832,78,4,661,0,"MASK"],[833,663,0,662,0,"IMAGE"],[835,665,0,664,0,"IMAGE"],[836,30,4,665,0,"MASK"],[837,667,0,666,0,"IMAGE"],[839,669,0,668,0,"IMAGE"],[840,60,4,669,0,"MASK"],[841,671,0,670,0,"IMAGE"],[842,54,4,671,0,"MASK"],[843,673,0,672,0,"IMAGE"],[844,152,4,673,0,"MASK"],[845,675,0,674,0,"IMAGE"],[846,52,4,675,0,"MASK"],[847,677,0,676,0,"IMAGE"],[848,37,4,677,0,"MASK"],[849,679,0,678,0,"IMAGE"],[850,153,4,679,0,"MASK"],[851,681,0,680,0,"IMAGE"],[852,40,4,681,0,"MASK"],[853,683,0,682,0,"IMAGE"],[854,20,4,683,0,"MASK"],[855,685,0,684,0,"IMAGE"],[856,154,4,685,0,"MASK"],[857,687,0,686,0,"IMAGE"],[858,15,4,687,0,"MASK"],[859,689,0,688,0,"IMAGE"],[860,23,4,689,0,"MASK"],[861,691,0,690,0,"IMAGE"],[862,255,1,691,0,"MASK"],[863,693,0,692,0,"IMAGE"],[865,696,10,694,0,"IMAGE"],[867,698,0,696,0,"IMAGE"],[868,698,1,696,1,"MASK"],[870,696,10,699,0,"IMAGE"],[871,696,11,699,1,"MASK"],[879,708,0,707,0,"IMAGE"],[880,696,11,708,0,"MASK"],[881,710,0,709,1,"IMAGE"],[882,709,0,712,0,"IMAGE"],[883,714,0,713,0,"IMAGE"],[884,699,0,709,0,"STITCHER"],[885,699,1,710,0,"IMAGE"],[886,699,1,715,0,"IMAGE"],[887,699,2,714,0,"MASK"],[888,696,10,711,0,"IMAGE"],[889,720,3,716,0,"IMAGE"],[893,722,0,721,0,"IMAGE"],[894,720,4,722,0,"MASK"],[897,718,0,720,0,"IMAGE"],[909,718,1,729,0,"MASK"],[910,718,1,729,1,"MASK"],[911,718,1,729,2,"MASK"],[912,718,1,729,3,"MASK"],[913,729,0,720,1,"MASK"],[914,729,0,720,2,"MASK"],[915,58,1,730,0,"MASK"],[916,58,1,730,1,"MASK"],[917,58,1,730,2,"MASK"],[918,58,1,730,3,"MASK"],[919,730,0,60,1,"MASK"],[920,730,0,60,2,"MASK"],[922,31,1,731,0,"MASK"],[923,31,1,731,1,"MASK"],[924,31,1,731,2,"MASK"],[925,31,1,731,3,"MASK"],[926,731,0,30,1,"MASK"],[927,731,0,30,2,"MASK"],[929,79,1,732,0,"MASK"],[930,79,1,732,1,"MASK"],[931,79,1,732,2,"MASK"],[932,79,1,732,3,"MASK"],[933,732,0,78,1,"MASK"],[934,732,0,78,2,"MASK"],[936,732,0,659,0,"MASK"],[937,731,0,663,0,"MASK"],[938,730,0,667,0,"MASK"],[939,24,1,733,0,"MASK"],[940,24,1,733,1,"MASK"],[941,24,1,733,2,"MASK"],[944,24,1,733,3,"MASK"],[945,24,1,733,3,"MASK"],[946,733,0,23,1,"MASK"],[947,24,1,693,0,"MASK"],[949,70,0,735,0,"IMAGE"],[950,70,0,735,1,"IMAGE"],[951,70,0,735,2,"IMAGE"],[952,70,0,735,3,"IMAGE"],[953,735,0,72,0,"IMAGE"],[954,24,0,736,0,"IMAGE"],[955,736,0,23,0,"IMAGE"],[956,24,0,736,1,"IMAGE"],[957,24,0,736,2,"IMAGE"],[958,24,0,736,3,"IMAGE"],[959,21,0,737,0,"IMAGE"],[961,737,0,20,0,"IMAGE"],[962,21,0,737,1,"IMAGE"],[963,21,0,737,2,"IMAGE"],[964,21,0,737,3,"IMAGE"],[966,41,0,738,3,"IMAGE"],[967,41,0,738,2,"IMAGE"],[968,41,0,738,1,"IMAGE"],[969,41,0,738,0,"IMAGE"],[970,738,0,40,0,"IMAGE"],[971,57,0,739,0,"IMAGE"],[972,57,0,739,1,"IMAGE"],[973,57,0,739,2,"IMAGE"],[974,57,0,739,3,"IMAGE"],[975,739,0,54,0,"IMAGE"],[976,58,0,740,0,"IMAGE"],[977,740,0,60,0,"IMAGE"],[978,58,0,740,1,"IMAGE"],[979,58,0,740,2,"IMAGE"],[980,58,0,740,3,"IMAGE"],[981,79,0,741,0,"IMAGE"],[982,79,0,741,1,"IMAGE"],[983,79,0,741,2,"IMAGE"],[984,79,0,741,3,"IMAGE"],[985,741,0,78,0,"IMAGE"],[986,31,0,742,0,"IMAGE"],[987,31,0,742,1,"IMAGE"],[988,31,0,742,2,"IMAGE"],[989,31,0,742,3,"IMAGE"],[990,742,0,30,0,"IMAGE"],[991,746,0,743,0,"IMAGE"],[992,747,0,743,1,"MASK"],[994,743,4,744,0,"MASK"],[995,743,3,745,0,"IMAGE"],[996,746,1,747,0,"MASK"],[997,746,1,747,1,"MASK"],[998,746,1,747,2,"MASK"],[999,746,1,747,3,"MASK"],[1000,744,0,748,0,"IMAGE"],[1003,746,1,749,0,"MASK"],[1005,746,1,743,2,"MASK"],[1006,486,1,750,0,"IMAGE"],[1007,487,0,750,1,"IMAGE"],[1008,486,2,750,2,"MASK"],[1009,750,0,751,1,"IMAGE"],[1010,486,0,751,0,"STITCHER"],[1011,751,0,752,0,"IMAGE"],[1060,795,0,785,0,"IMAGE"],[1061,793,2,787,0,"MASK"],[1062,793,0,788,0,"STITCHER"],[1063,790,0,788,1,"IMAGE"],[1064,787,0,789,0,"IMAGE"],[1065,793,1,790,0,"IMAGE"],[1066,793,1,791,0,"IMAGE"],[1067,793,1,792,0,"IMAGE"],[1068,790,0,792,1,"IMAGE"],[1069,793,2,792,2,"MASK"],[1070,788,0,794,0,"IMAGE"],[1071,793,0,795,0,"STITCHER"],[1072,792,0,795,1,"IMAGE"],[1073,806,0,796,0,"IMAGE"],[1074,804,2,798,0,"MASK"],[1075,804,0,799,0,"STITCHER"],[1076,801,0,799,1,"IMAGE"],[1077,798,0,800,0,"IMAGE"],[1078,804,1,801,0,"IMAGE"],[1079,804,1,802,0,"IMAGE"],[1080,804,1,803,0,"IMAGE"],[1081,801,0,803,1,"IMAGE"],[1082,804,2,803,2,"MASK"],[1083,799,0,805,0,"IMAGE"],[1084,804,0,806,0,"STITCHER"],[1085,803,0,806,1,"IMAGE"],[1086,817,0,807,0,"IMAGE"],[1087,815,2,809,0,"MASK"],[1088,815,0,810,0,"STITCHER"],[1089,812,0,810,1,"IMAGE"],[1090,809,0,811,0,"IMAGE"],[1091,815,1,812,0,"IMAGE"],[1092,815,1,813,0,"IMAGE"],[1093,815,1,814,0,"IMAGE"],[1094,812,0,814,1,"IMAGE"],[1095,815,2,814,2,"MASK"],[1096,810,0,816,0,"IMAGE"],[1097,815,0,817,0,"STITCHER"],[1098,814,0,817,1,"IMAGE"],[1099,485,10,793,0,"IMAGE"],[1100,485,11,793,1,"MASK"],[1101,485,10,804,0,"IMAGE"],[1102,485,10,815,0,"IMAGE"],[1104,485,11,804,1,"MASK"],[1105,485,11,815,1,"MASK"],[1107,826,2,819,0,"MASK"],[1108,826,0,820,0,"STITCHER"],[1109,822,0,820,1,"IMAGE"],[1110,819,0,821,0,"IMAGE"],[1111,826,1,822,0,"IMAGE"],[1112,826,1,823,0,"IMAGE"],[1113,826,1,824,0,"IMAGE"],[1114,822,0,824,1,"IMAGE"],[1115,826,2,824,2,"MASK"],[1116,826,0,825,0,"STITCHER"],[1117,824,0,825,1,"IMAGE"],[1118,485,10,826,0,"IMAGE"],[1119,485,11,826,1,"MASK"],[1120,820,0,828,0,"IMAGE"],[1121,825,0,827,0,"IMAGE"],[1122,835,2,829,0,"MASK"],[1123,835,0,830,0,"STITCHER"],[1124,832,0,830,1,"IMAGE"],[1125,829,0,831,0,"IMAGE"],[1126,835,1,832,0,"IMAGE"],[1127,835,1,833,0,"IMAGE"],[1128,835,1,834,0,"IMAGE"],[1129,832,0,834,1,"IMAGE"],[1130,835,2,834,2,"MASK"],[1131,830,0,836,0,"IMAGE"],[1132,835,0,837,0,"STITCHER"],[1133,834,0,837,1,"IMAGE"],[1134,837,0,838,0,"IMAGE"],[1135,485,10,835,0,"IMAGE"],[1137,485,11,835,1,"MASK"],[1138,846,10,845,0,"IMAGE"],[1141,848,0,847,0,"IMAGE"],[1142,846,11,848,0,"MASK"],[1143,855,1,849,0,"IMAGE"],[1144,854,0,850,0,"IMAGE"],[1145,852,0,851,0,"IMAGE"],[1146,855,2,852,0,"MASK"],[1147,855,1,853,0,"IMAGE"],[1148,855,0,854,0,"STITCHER"],[1149,849,0,854,1,"IMAGE"],[1150,846,10,855,0,"IMAGE"],[1151,846,11,855,1,"MASK"],[1152,846,10,856,0,"IMAGE"],[1153,858,0,846,0,"IMAGE"],[1154,858,1,846,1,"MASK"],[1155,859,0,860,0,"IMAGE"],[1156,486,25,859,0,"MASK"],[1157,861,0,862,0,"IMAGE"],[1158,486,25,861,0,"MASK"],[1159,864,0,863,0,"IMAGE"],[1160,793,25,864,0,"MASK"],[1161,866,0,865,0,"IMAGE"],[1162,804,25,866,0,"MASK"],[1163,868,0,867,0,"IMAGE"],[1164,870,0,869,0,"IMAGE"],[1165,815,25,868,0,"MASK"],[1166,826,25,870,0,"MASK"],[1168,879,0,872,0,"IMAGE"],[1169,877,0,872,1,"MASK"],[1170,877,0,872,2,"MASK"],[1171,874,0,873,0,"IMAGE"],[1172,877,0,874,0,"MASK"],[1183,880,0,879,0,"IMAGE"],[1184,880,0,879,0,"IMAGE"],[1185,880,0,879,1,"IMAGE"],[1186,880,1,877,0,"MASK"],[1187,880,1,877,1,"MASK"],[1188,880,1,877,0,"MASK"],[1189,880,0,879,1,"IMAGE"],[1190,880,0,879,2,"IMAGE"],[1191,880,1,877,1,"MASK"],[1192,880,1,877,2,"MASK"],[1194,887,0,881,1,"IMAGE"],[1198,872,1,887,0,"IMAGE"],[1199,872,0,881,0,"STITCHER"],[1200,881,0,882,0,"IMAGE"],[1202,896,0,888,0,"IMAGE"],[1203,890,0,889,0,"IMAGE"],[1204,891,0,890,0,"MASK"],[1205,893,1,891,0,"MASK"],[1206,893,1,891,1,"MASK"],[1207,893,1,891,2,"MASK"],[1208,893,0,892,0,"IMAGE"],[1209,893,0,892,1,"IMAGE"],[1210,893,0,892,2,"IMAGE"],[1211,892,0,894,0,"IMAGE"],[1212,891,0,894,1,"MASK"],[1213,891,0,894,2,"MASK"],[1214,894,1,895,0,"IMAGE"],[1215,894,0,896,0,"STITCHER"],[1216,895,0,896,1,"IMAGE"],[1219,899,0,900,1,"IMAGE"],[1220,900,0,901,0,"IMAGE"],[1221,897,1,899,0,"IMAGE"],[1222,897,0,900,0,"STITCHER"],[1223,905,0,904,0,"IMAGE"],[1224,906,0,905,0,"STITCHER"],[1225,907,0,905,1,"IMAGE"],[1228,906,1,907,0,"IMAGE"],[1235,915,0,914,0,"IMAGE"],[1236,897,4,915,0,"MASK"],[1237,917,0,916,0,"IMAGE"],[1238,897,6,917,0,"MASK"],[1239,919,0,918,0,"IMAGE"],[1240,921,0,920,0,"IMAGE"],[1247,906,4,919,0,"MASK"],[1248,906,5,921,0,"MASK"],[1251,929,0,928,0,"IMAGE"],[1252,906,25,929,0,"MASK"],[1253,931,0,930,0,"IMAGE"],[1254,897,25,931,0,"MASK"],[1256,907,0,933,0,"IMAGE"],[1257,906,1,934,0,"IMAGE"],[1259,897,1,936,0,"IMAGE"],[1260,899,0,937,0,"IMAGE"],[1261,939,0,938,0,"IMAGE"],[1262,950,0,939,0,"STITCHER"],[1263,946,0,939,1,"IMAGE"],[1264,943,0,941,0,"IMAGE"],[1265,944,0,942,0,"IMAGE"],[1266,950,4,943,0,"MASK"],[1267,950,5,944,0,"MASK"],[1268,947,0,945,0,"IMAGE"],[1269,950,1,946,0,"IMAGE"],[1270,950,25,947,0,"MASK"],[1271,950,1,948,0,"IMAGE"],[1272,946,0,949,0,"IMAGE"],[1282,964,0,897,0,"IMAGE"],[1283,964,1,897,1,"MASK"],[1284,964,0,906,0,"IMAGE"],[1285,964,1,906,1,"MASK"],[1288,964,0,950,0,"IMAGE"],[1289,964,1,950,1,"MASK"],[1292,974,0,965,0,"STITCHER"],[1293,971,0,965,1,"IMAGE"],[1294,968,0,966,0,"IMAGE"],[1295,969,0,967,0,"IMAGE"],[1296,974,4,968,0,"MASK"],[1297,974,5,969,0,"MASK"],[1298,972,0,970,0,"IMAGE"],[1299,974,1,971,0,"IMAGE"],[1300,974,25,972,0,"MASK"],[1301,971,0,973,0,"IMAGE"],[1302,965,0,975,0,"IMAGE"],[1303,974,1,976,0,"IMAGE"],[1304,964,0,974,0,"IMAGE"],[1305,964,1,974,1,"MASK"],[1306,964,0,977,0,"IMAGE"],[1307,988,0,978,0,"STITCHER"],[1308,979,0,978,1,"IMAGE"],[1309,988,1,979,0,"IMAGE"],[1310,981,0,980,0,"IMAGE"],[1311,988,4,981,0,"MASK"],[1312,983,0,982,0,"IMAGE"],[1313,988,6,983,0,"MASK"],[1314,988,25,984,0,"MASK"],[1315,988,1,985,0,"IMAGE"],[1316,979,0,986,0,"IMAGE"],[1317,984,0,987,0,"IMAGE"],[1318,991,0,988,0,"IMAGE"],[1319,991,1,988,1,"MASK"],[1320,978,0,989,0,"IMAGE"],[1321,991,0,990,0,"IMAGE"],[1322,996,10,995,0,"IMAGE"],[1323,1007,0,996,0,"IMAGE"],[1324,1007,1,996,1,"MASK"],[1325,998,0,997,0,"IMAGE"],[1326,996,11,998,0,"MASK"],[1327,1005,1,999,0,"IMAGE"],[1328,1004,0,1000,0,"IMAGE"],[1329,1002,0,1001,0,"IMAGE"],[1330,1005,2,1002,0,"MASK"],[1331,1005,1,1003,0,"IMAGE"],[1332,1005,0,1004,0,"STITCHER"],[1333,999,0,1004,1,"IMAGE"],[1334,996,10,1005,0,"IMAGE"],[1335,996,11,1005,1,"MASK"],[1336,996,10,1006,0,"IMAGE"],[1347,1005,24,1008,0,"IMAGE"],[1348,1020,10,1009,0,"IMAGE"],[1349,1011,0,1010,0,"IMAGE"],[1350,1020,11,1011,0,"MASK"],[1351,1022,1,1012,0,"IMAGE"],[1352,1017,0,1013,0,"IMAGE"],[1353,1015,0,1014,0,"IMAGE"],[1354,1022,2,1015,0,"MASK"],[1355,1022,1,1016,0,"IMAGE"],[1356,1022,0,1017,0,"STITCHER"],[1357,1012,0,1017,1,"IMAGE"],[1358,1020,10,1018,0,"IMAGE"],[1359,1019,0,1020,0,"IMAGE"],[1360,1019,1,1020,1,"MASK"],[1361,1022,24,1021,0,"IMAGE"],[1362,1020,10,1022,0,"IMAGE"],[1363,1020,11,1022,1,"MASK"],[1364,1034,10,1024,0,"IMAGE"],[1365,1026,0,1025,0,"IMAGE"],[1366,1034,11,1026,0,"MASK"],[1367,1036,1,1027,0,"IMAGE"],[1368,1032,0,1028,0,"IMAGE"],[1369,1030,0,1029,0,"IMAGE"],[1370,1036,2,1030,0,"MASK"],[1371,1036,1,1031,0,"IMAGE"],[1372,1036,0,1032,0,"STITCHER"],[1373,1027,0,1032,1,"IMAGE"],[1374,1034,10,1033,0,"IMAGE"],[1375,1023,0,1034,0,"IMAGE"],[1376,1023,1,1034,1,"MASK"],[1377,1036,24,1035,0,"IMAGE"],[1378,1034,10,1036,0,"IMAGE"],[1379,1034,11,1036,1,"MASK"],[1380,1048,10,1038,0,"IMAGE"],[1381,1040,0,1039,0,"IMAGE"],[1382,1048,11,1040,0,"MASK"],[1383,1050,1,1041,0,"IMAGE"],[1384,1046,0,1042,0,"IMAGE"],[1385,1044,0,1043,0,"IMAGE"],[1386,1050,2,1044,0,"MASK"],[1387,1050,1,1045,0,"IMAGE"],[1388,1050,0,1046,0,"STITCHER"],[1389,1041,0,1046,1,"IMAGE"],[1390,1048,10,1047,0,"IMAGE"],[1391,1037,0,1048,0,"IMAGE"],[1392,1037,1,1048,1,"MASK"],[1393,1050,24,1049,0,"IMAGE"],[1394,1048,10,1050,0,"IMAGE"],[1395,1048,11,1050,1,"MASK"],[1396,1036,22,1051,0,"IMAGE"],[1397,1036,23,1052,0,"IMAGE"],[1398,1036,19,1053,0,"IMAGE"],[1414,1070,10,1069,0,"IMAGE"],[1417,1072,0,1071,0,"IMAGE"],[1418,1070,11,1072,0,"MASK"],[1419,1070,10,1074,0,"IMAGE"],[1421,1077,0,1076,0,"IMAGE"],[1422,1074,1,1075,0,"IMAGE"],[1423,1074,2,1077,0,"MASK"],[1424,1074,0,1078,0,"STITCHER"],[1426,1078,0,1079,0,"IMAGE"],[1429,1070,11,1074,1,"MASK"],[1431,1074,22,1080,0,"IMAGE"],[1432,1089,10,1081,0,"IMAGE"],[1433,1083,0,1082,0,"IMAGE"],[1434,1089,11,1083,0,"MASK"],[1435,1085,0,1084,0,"IMAGE"],[1436,1092,2,1085,0,"MASK"],[1437,1092,0,1086,0,"STITCHER"],[1439,1086,0,1087,0,"IMAGE"],[1442,1092,1,1090,0,"IMAGE"],[1443,1092,22,1091,0,"IMAGE"],[1444,1089,10,1092,0,"IMAGE"],[1445,1089,11,1092,1,"MASK"],[1448,1092,1,1093,0,"IMAGE"],[1449,1093,0,1086,1,"IMAGE"],[1450,1074,1,1094,0,"IMAGE"],[1451,1094,0,1078,1,"IMAGE"],[1452,1095,0,1070,0,"IMAGE"],[1453,1095,1,1070,1,"MASK"],[1454,1096,0,1089,0,"IMAGE"],[1455,1096,1,1089,1,"MASK"],[1456,1092,1,1097,1,"IMAGE"],[1457,1097,0,1098,0,"IMAGE"],[1458,1092,0,1097,0,"STITCHER"],[1459,897,0,1099,0,"STITCHER"],[1460,897,1,1099,1,"IMAGE"],[1461,1099,0,1100,0,"IMAGE"],[1462,1074,0,1101,0,"STITCHER"],[1463,1074,1,1101,1,"IMAGE"],[1464,1101,0,1102,0,"IMAGE"],[1465,1104,0,1103,0,"IMAGE"],[1468,1110,1,1105,0,"MASK"],[1472,1106,1,1107,0,"IMAGE"],[1473,1106,0,1108,0,"STITCHER"],[1474,1107,0,1108,1,"IMAGE"],[1475,1108,0,1109,0,"IMAGE"],[1476,1110,0,1106,0,"IMAGE"],[1477,1110,1,1104,0,"MASK"],[1478,1110,1,1106,1,"MASK"],[1479,1110,1,1106,2,"MASK"],[1480,1106,1,1112,0,"IMAGE"],[1481,1114,0,1113,0,"IMAGE"],[1482,1106,2,1114,0,"MASK"],[1483,1106,10,1115,0,"IMAGE"],[1484,1117,0,1116,0,"IMAGE"],[1485,1106,11,1117,0,"MASK"],[1491,1106,22,1121,0,"IMAGE"],[1495,1106,24,1118,0,"IMAGE"],[1496,1123,0,1122,0,"IMAGE"],[1497,1126,1,1123,0,"MASK"],[1498,1137,1,1124,0,"IMAGE"],[1499,1137,2,1127,0,"MASK"],[1500,1137,10,1128,0,"IMAGE"],[1501,1137,11,1129,0,"MASK"],[1502,1129,0,1130,0,"IMAGE"],[1503,1137,1,1131,0,"IMAGE"],[1504,1127,0,1132,0,"IMAGE"],[1505,1134,0,1133,0,"IMAGE"],[1506,1137,0,1134,0,"STITCHER"],[1507,1124,0,1134,1,"IMAGE"],[1508,1137,24,1135,0,"IMAGE"],[1509,1137,22,1136,0,"IMAGE"],[1510,1126,0,1137,0,"IMAGE"],[1511,1126,1,1137,1,"MASK"],[1512,1126,1,1137,2,"MASK"],[1513,1139,0,1138,0,"IMAGE"],[1514,1142,1,1139,0,"MASK"],[1515,1153,1,1140,0,"IMAGE"],[1516,1153,2,1143,0,"MASK"],[1517,1153,10,1144,0,"IMAGE"],[1518,1153,11,1145,0,"MASK"],[1519,1145,0,1146,0,"IMAGE"],[1520,1153,1,1147,0,"IMAGE"],[1521,1143,0,1148,0,"IMAGE"],[1522,1150,0,1149,0,"IMAGE"],[1523,1153,0,1150,0,"STITCHER"],[1524,1140,0,1150,1,"IMAGE"],[1525,1153,24,1151,0,"IMAGE"],[1526,1153,22,1152,0,"IMAGE"],[1527,1142,0,1153,0,"IMAGE"],[1528,1142,1,1153,1,"MASK"],[1529,1142,1,1153,2,"MASK"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.16105100000000006,"offset":[-534.1631096222325,2261.2803196282093]},"ue_links":[],"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} \ No newline at end of file diff --git a/testsgpu.json b/testsgpu.json new file mode 100644 index 0000000..f77f020 --- /dev/null +++ b/testsgpu.json @@ -0,0 +1 @@ +{"id":"b0a93d1a-b030-4e82-8b0a-8d5789363be7","revision":0,"last_node_id":1153,"last_link_id":1529,"nodes":[{"id":8,"type":"PreviewImage","pos":[-14550,-5140],"size":[210,246],"flags":{},"order":216,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":223}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":18,"type":"PreviewImage","pos":[-14520,-3450],"size":[210,246],"flags":{},"order":564,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":225}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":22,"type":"PreviewImage","pos":[-14550,-2390],"size":[210,246],"flags":{},"order":562,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":227}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":32,"type":"PreviewImage","pos":[-12970,-2360],"size":[210,246],"flags":{},"order":576,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":217}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":38,"type":"LoadImage","pos":[-13970,-4980],"size":[315,314],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[53]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[54,60]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":48,"type":"PreviewImage","pos":[-11390,-2350],"size":[210,246],"flags":{},"order":570,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":218}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":50,"type":"PreviewImage","pos":[-11390,-5100],"size":[210,246],"flags":{},"order":214,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":221}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":53,"type":"PreviewImage","pos":[-11360,-3410],"size":[210,246],"flags":{},"order":568,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":219}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":56,"type":"LoadImage","pos":[-12390,-4970],"size":[315,314],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[70]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[83]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":68,"type":"PreviewImage","pos":[-14600,-1220],"size":[210,246],"flags":{},"order":560,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":215}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":76,"type":"PreviewImage","pos":[-13160,-1250],"size":[210,246],"flags":{},"order":573,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":216}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":39,"type":"PreviewImage","pos":[-12940,-3420],"size":[210,246],"flags":{},"order":566,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":220}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":10,"type":"LoadImage","pos":[-15550,-5010],"size":[315,314],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[28]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[29]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":87,"type":"PreviewImage","pos":[-8200,-4520],"size":[210,246],"flags":{},"order":218,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":125}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":90,"type":"LoadImage","pos":[-9200,-4390],"size":[315,314],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[127]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[128,129]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":91,"type":"PreviewImage","pos":[-8250,-3750],"size":[210,246],"flags":{},"order":234,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":130}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":85,"type":"LoadImage","pos":[-9220,-5170],"size":[315,314],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[122]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[123,124]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":105,"type":"LoadImage","pos":[-1600,-5170],"size":[315,314],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[142,195,196,197,198]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[143,144,191,192,193,194,774]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":143,"type":"PreviewImage","pos":[-14570,-4280],"size":[210,246],"flags":{},"order":232,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":231}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":145,"type":"PreviewImage","pos":[-12990,-4250],"size":[210,246],"flags":{},"order":228,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":233}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":148,"type":"PreviewImage","pos":[-11410,-4240],"size":[210,246],"flags":{},"order":230,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":235}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":156,"type":"LoadImage","pos":[-13950,-4130],"size":[315,314],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[244]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[245]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":157,"type":"LoadImage","pos":[-12380,-4100],"size":[315,314],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[246]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[247]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":155,"type":"LoadImage","pos":[-15520,-4170],"size":[315,314],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[248]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[249]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":158,"type":"LoadImage","pos":[-9260,-3610],"size":[315,314],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[251]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[252]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":139,"type":"LoadImage","pos":[-7710,-5210],"size":[315,314],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[188]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[189,190,818]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":165,"type":"LoadImage","pos":[-4710,-4390],"size":[315,314],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[266]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[267,268,800]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":159,"type":"LoadImage","pos":[-4800,-5200],"size":[315,314],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[260]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[261,262,802]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":171,"type":"LoadImage","pos":[-4720,-3550],"size":[315,314],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[272]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[273,274,798]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":178,"type":"LoadImage","pos":[-6280,-4400],"size":[315,314],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[287]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[288,289,812]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":180,"type":"LoadImage","pos":[-6370,-5210],"size":[315,314],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[290]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[291,292,814]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":183,"type":"LoadImage","pos":[-6290,-3560],"size":[315,314],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[284]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[285,286,810]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":160,"type":"Note","pos":[-4650,-5440],"size":[210,88],"flags":{},"order":17,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["invert"],"color":"#432","bgcolor":"#653"},{"id":197,"type":"LoadImage","pos":[-3110,-5180],"size":[315,314],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[309]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[310,311,778]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":200,"type":"Note","pos":[-2960,-5420],"size":[210,88],"flags":{},"order":19,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["blur for blend"],"color":"#432","bgcolor":"#653"},{"id":190,"type":"InpaintCropImproved","pos":[-4250,-2830],"size":[522.4000244140625,1110],"flags":{},"order":167,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":298},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":299},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":300},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[794]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,true,100,true,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":89,"type":"InpaintCropImproved","pos":[-8750,-4500],"size":[522.4000244140625,1110],"flags":{},"order":103,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":127},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":128},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":129},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[125]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[822]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure maximum resolution",16000,16000,128,128,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":94,"type":"InpaintCropImproved","pos":[-8800,-3730],"size":[522.4000244140625,1110],"flags":{},"order":114,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":251},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":252},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[130]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[824]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure minimum and maximum resolution",128,128,2048,2048,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":52,"type":"InpaintCropImproved","pos":[-11940,-5080],"size":[522.4000244140625,1110],"flags":{},"order":101,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":70},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":83},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[221]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[846]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":152,"type":"InpaintCropImproved","pos":[-11960,-4220],"size":[522.4000244140625,1110],"flags":{},"order":112,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":246},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":247},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[235]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[844]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":54,"type":"InpaintCropImproved","pos":[-11910,-3390],"size":[522.4000244140625,1110],"flags":{},"order":354,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":975},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":null},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":84},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[219]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[842]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":60,"type":"InpaintCropImproved","pos":[-11940,-2330],"size":[522.4000244140625,1110],"flags":{},"order":355,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":977},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":919},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":920},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[218]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[840]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":30,"type":"InpaintCropImproved","pos":[-13520,-2340],"size":[522.4000244140625,1110],"flags":{},"order":359,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":990},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":926},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":927},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[217]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[836]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":40,"type":"InpaintCropImproved","pos":[-13490,-3400],"size":[522.4000244140625,1110],"flags":{},"order":353,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":970},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":57},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":61},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[220]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[852]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":153,"type":"InpaintCropImproved","pos":[-13540,-4230],"size":[522.4000244140625,1110],"flags":{},"order":111,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":244},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":245},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[233]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[850]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":15,"type":"InpaintCropImproved","pos":[-15100,-5120],"size":[522.4000244140625,1110],"flags":{},"order":102,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":28},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":29},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[223]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[858]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1,1.2,false,512,512,"32","gpu (much faster)"]},{"id":154,"type":"InpaintCropImproved","pos":[-15120,-4260],"size":[522.4000244140625,1110],"flags":{},"order":113,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":248},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":249},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[231]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[856]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":23,"type":"InpaintCropImproved","pos":[-15100,-2370],"size":[522.4000244140625,1110],"flags":{},"order":350,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":955},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":946},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[227]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[860]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":72,"type":"InpaintCropImproved","pos":[-15150,-1200],"size":[522.4000244140625,1110],"flags":{},"order":348,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":953},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":104},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":105},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[215]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[828]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":78,"type":"InpaintCropImproved","pos":[-13710,-1230],"size":[522.4000244140625,1110],"flags":{},"order":357,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":985},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":933},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":934},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[216]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[832]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":211,"type":"LoadImage","pos":[-3080,-3510],"size":[315,314],"flags":{},"order":20,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[323]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[324,325,785]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":207,"type":"LoadImage","pos":[-3080,-4370],"size":[315,314],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[318]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[319,320,782]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":86,"type":"InpaintCropImproved","pos":[-8770,-5280],"size":[522.4000244140625,1110],"flags":{},"order":104,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":122},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":123},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":124},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[229]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[820]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",true,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":131,"type":"InpaintCropImproved","pos":[-940,-2600],"size":[522.4000244140625,1110],"flags":{},"order":108,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":197},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":193},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[770]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0.5000000000000001,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":136,"type":"InpaintCropImproved","pos":[-970,-1740],"size":[522.4000244140625,1110],"flags":{},"order":109,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":198},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":194},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[772]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,1,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":126,"type":"InpaintCropImproved","pos":[-970,-3510],"size":[522.4000244140625,1110],"flags":{},"order":107,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":196},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":192},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[768]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0.30000000000000004,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":107,"type":"InpaintCropImproved","pos":[-1010,-5260],"size":[522.4000244140625,1110],"flags":{},"order":105,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":142},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":143},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":144},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[764]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":121,"type":"InpaintCropImproved","pos":[-970,-4410],"size":[522.4000244140625,1110],"flags":{},"order":106,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":195},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":191},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[766]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0.15000000000000002,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":186,"type":"InpaintCropImproved","pos":[-5780,-5300],"size":[522.4000244140625,1110],"flags":{},"order":125,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":290},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":291},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":292},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[804]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,10,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":185,"type":"InpaintCropImproved","pos":[-5830,-4510],"size":[522.4000244140625,1110],"flags":{},"order":123,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":287},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":288},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":289},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[806]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,200,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":184,"type":"InpaintCropImproved","pos":[-5840,-3670],"size":[522.4000244140625,1110],"flags":{},"order":127,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":284},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":285},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":286},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[808]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,500,false,false,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":163,"type":"InpaintCropImproved","pos":[-4210,-5290],"size":[522.4000244140625,1110],"flags":{},"order":119,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":260},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":261},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":262},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[788]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":173,"type":"InpaintCropImproved","pos":[-4270,-3660],"size":[522.4000244140625,1110],"flags":{},"order":121,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":272},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":273},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":274},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[792]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,true,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":167,"type":"InpaintCropImproved","pos":[-4260,-4500],"size":[522.4000244140625,1110],"flags":{},"order":117,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":266},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":267},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":268},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[790]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,true,0,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":208,"type":"InpaintCropImproved","pos":[-2490,-4460],"size":[522.4000244140625,1110],"flags":{},"order":133,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":318},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":319},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":320},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[781]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,32,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":202,"type":"InpaintCropImproved","pos":[-2520,-5270],"size":[522.4000244140625,1110],"flags":{},"order":129,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":309},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":310},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":311},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[776]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,16,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":212,"type":"InpaintCropImproved","pos":[-2490,-3600],"size":[522.4000244140625,1110],"flags":{},"order":131,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":323},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":324},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":325},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","slot_index":8,"links":[]},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[786]},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,false,64,0,false,1.0000000000000002,1.0000000000000002,true,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":106,"type":"Note","pos":[-1450,-5410],"size":[210,88],"flags":{},"order":22,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Hipass filtered"],"color":"#432","bgcolor":"#653"},{"id":215,"type":"LoadImage","pos":[-10,-5240],"size":[315,314],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[347,349,351,353,356]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[348,350,352,354,355,357,762]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":83,"type":"PreviewImage","pos":[-8220,-5300],"size":[210,246],"flags":{},"order":220,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":229}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":227,"type":"PreviewImage","pos":[1140,-5310],"size":[210,246],"flags":{},"order":262,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":359}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":225,"type":"InpaintCropImproved","pos":[580,-5330],"size":[522.4000244140625,1110],"flags":{},"order":138,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":353},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":354},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":355},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[359]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[758]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":228,"type":"PreviewImage","pos":[1170,-4510],"size":[210,246],"flags":{},"order":264,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":361}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":229,"type":"PreviewImage","pos":[1160,-3600],"size":[210,246],"flags":{},"order":260,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":362}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":231,"type":"PreviewImage","pos":[1160,-1840],"size":[210,246],"flags":{},"order":258,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":366}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":223,"type":"InpaintCropImproved","pos":[620,-1810],"size":[522.4000244140625,1110],"flags":{},"order":136,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":349},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":350},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[366]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[750]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,0,true,2.0000000000000004,2.0000000000000004,2.0000000000000004,2.0000000000000004,1.2,false,512,512,"32","gpu (much faster)"]},{"id":222,"type":"InpaintCropImproved","pos":[650,-2670],"size":[522.4000244140625,1110],"flags":{},"order":135,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":347},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":348},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[364]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[752]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0,true,2.0000000000000004,1.0000000000000002,2.0000000000000004,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":224,"type":"InpaintCropImproved","pos":[620,-3580],"size":[522.4000244140625,1110],"flags":{},"order":137,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":351},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":352},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[362]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[754]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0,true,1.0000000000000002,1.0000000000000002,2.0000000000000004,2.0000000000000004,1.2,false,512,512,"32","gpu (much faster)"]},{"id":232,"type":"PreviewImage","pos":[2660,-1890],"size":[210,246],"flags":{},"order":269,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":368}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":239,"type":"PreviewImage","pos":[2670,-4560],"size":[210,246],"flags":{},"order":273,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":376}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":241,"type":"PreviewImage","pos":[2660,-3650],"size":[210,246],"flags":{},"order":275,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":378}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":243,"type":"PreviewImage","pos":[2680,-2770],"size":[210,246],"flags":{},"order":271,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":380}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":234,"type":"LoadImage","pos":[1490,-5290],"size":[315,314],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[372,382,384,386,388]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[373,374,383,385,387,389,760]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":237,"type":"InpaintCropImproved","pos":[2080,-5380],"size":[522.4000244140625,1110],"flags":{},"order":141,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":372},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":373},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":374},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[370]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[740]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.7000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":247,"type":"InpaintCropImproved","pos":[2120,-4530],"size":[522.4000244140625,1110],"flags":{},"order":144,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":386},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":387},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[376]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[742]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,1.0000000000000002,0.7000000000000002,0.7000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":248,"type":"InpaintCropImproved","pos":[2120,-3630],"size":[522.4000244140625,1110],"flags":{},"order":145,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":388},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":389},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[378]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[744]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.30000000000000004,false,0,false,0,true,1.0000000000000002,1.0000000000000002,2.0000000000000004,0.10000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":245,"type":"InpaintCropImproved","pos":[2120,-1860],"size":[522.4000244140625,1110],"flags":{},"order":142,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":382},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":383},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[368]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[748]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,1,false,0,0,0,true,3.0000000000000004,0.33000000000000007,1.0000000000000002,1.5000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":176,"type":"Note","pos":[-6220,-5450],"size":[210,88],"flags":{},"order":25,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["expand mask"],"color":"#432","bgcolor":"#653"},{"id":251,"type":"LoadImage","pos":[-15460,610],"size":[315,314],"flags":{},"order":26,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[392]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[393]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":255,"type":"LoadImage","pos":[-15430,1310],"size":[315,314],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[403]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[404,862]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-1670481.1000000015.png [input]","image"]},{"id":262,"type":"LoadImage","pos":[-14030,600],"size":[315,314],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[406]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[407]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":263,"type":"Note","pos":[-14030,240],"size":[210,88],"flags":{},"order":29,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context extend factor"],"color":"#432","bgcolor":"#653"},{"id":266,"type":"LoadImage","pos":[-14020,1380],"size":[315,314],"flags":{},"order":30,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[409]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[410]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":235,"type":"PreviewImage","pos":[2640,-5360],"size":[210,246],"flags":{},"order":267,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":370}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":252,"type":"InpaintCropImproved","pos":[-15040,490],"size":[522.4000244140625,1110],"flags":{},"order":147,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":392},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":393},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[738]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[414]},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":271,"type":"PreviewImage","pos":[-14490,900],"size":[210,246],"flags":{},"order":279,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":414}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":272,"type":"PreviewImage","pos":[-14370,1660],"size":[210,246],"flags":{},"order":281,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":416}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":261,"type":"InpaintCropImproved","pos":[-14950,1310],"size":[522.4000244140625,1110],"flags":{},"order":148,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":403},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":404},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[736]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[416]},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,3.0000000000000004,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":273,"type":"PreviewImage","pos":[-13040,1650],"size":[210,246],"flags":{},"order":286,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":418}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":268,"type":"InpaintCropImproved","pos":[-13600,1260],"size":[522.4000244140625,1110],"flags":{},"order":151,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":409},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":410},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[734]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[418]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,2.0000000000000004,false,512,512,"32","gpu (much faster)"]},{"id":274,"type":"PreviewImage","pos":[-13070,880],"size":[210,246],"flags":{},"order":284,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":420}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":265,"type":"InpaintCropImproved","pos":[-13610,480],"size":[522.4000244140625,1110],"flags":{},"order":150,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":406},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":407},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[732]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[420]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":81,"type":"Note","pos":[-15420,-5350],"size":[490,150],"flags":{},"order":31,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Initialization / asserts / fixing mask and optional_context_mask"],"color":"#432","bgcolor":"#653"},{"id":282,"type":"PreviewImage","pos":[-11670,930],"size":[210,246],"flags":{},"order":288,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":437}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":275,"type":"LoadImage","pos":[-12630,650],"size":[315,314],"flags":{},"order":32,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[427]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[428]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":284,"type":"LoadImage","pos":[-12610,1030],"size":[315,314],"flags":{},"order":33,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[429]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":286,"type":"PreviewImage","pos":[-11650,1840],"size":[210,246],"flags":{},"order":290,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":435}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":288,"type":"LoadImage","pos":[-12610,1560],"size":[315,314],"flags":{},"order":34,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[432]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[433]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":289,"type":"LoadImage","pos":[-12590,1940],"size":[315,314],"flags":{},"order":35,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[434]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3535755.200000003.png [input]","image"]},{"id":283,"type":"InpaintCropImproved","pos":[-12210,530],"size":[522.4000244140625,1110],"flags":{},"order":152,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":427},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":428},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":429},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[730]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[437]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":287,"type":"InpaintCropImproved","pos":[-12190,1440],"size":[522.4000244140625,1110],"flags":{},"order":153,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":432},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":433},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":434},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[728]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[435]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,2.0000000000000004,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":293,"type":"LoadImage","pos":[-8210,550],"size":[315,314],"flags":{},"order":36,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[443]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[444]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":297,"type":"LoadImage","pos":[-8190,1460],"size":[315,314],"flags":{},"order":37,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[446]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[447]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":294,"type":"LoadImage","pos":[-8190,930],"size":[315,314],"flags":{},"order":38,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[445]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":298,"type":"LoadImage","pos":[-8170,1840],"size":[315,314],"flags":{},"order":39,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[448]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-225116.5.png [input]","image"]},{"id":305,"type":"PreviewImage","pos":[-11630,2810],"size":[210,246],"flags":{},"order":306,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":457}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":306,"type":"LoadImage","pos":[-12590,2530],"size":[315,314],"flags":{},"order":40,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[458]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[459]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":308,"type":"InpaintCropImproved","pos":[-12170,2410],"size":[522.4000244140625,1110],"flags":{},"order":156,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":458},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":459},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":465},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[726]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[457]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":307,"type":"LoadImage","pos":[-12570,2910],"size":[315,314],"flags":{},"order":41,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[465]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":313,"type":"PreviewImage","pos":[-11630,3800],"size":[210,246],"flags":{},"order":308,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":467}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":316,"type":"LoadImage","pos":[-12570,3900],"size":[315,314],"flags":{},"order":42,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[470]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":314,"type":"LoadImage","pos":[-12590,3520],"size":[315,314],"flags":{},"order":43,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[468]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[469]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":315,"type":"InpaintCropImproved","pos":[-12170,3400],"size":[522.4000244140625,1110],"flags":{},"order":157,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":468},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":469},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":470},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[724]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[467]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":318,"type":"PreviewImage","pos":[-11620,4700],"size":[210,246],"flags":{},"order":440,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":472}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":319,"type":"LoadImage","pos":[-12560,4800],"size":[315,314],"flags":{},"order":44,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[476]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-248882.59999999404.png [input]","image"]},{"id":325,"type":"PreviewImage","pos":[-7160,2670],"size":[210,246],"flags":{},"order":309,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":484}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":324,"type":"LoadImage","pos":[-8150,2490],"size":[315,314],"flags":{},"order":45,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[481]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[482]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":329,"type":"InpaintCropImproved","pos":[-7730,2370],"size":[522.4000244140625,1110],"flags":{},"order":158,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":481},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":482},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[484,488]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[489,710]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":336,"type":"PreviewImage","pos":[-7180,3700],"size":[210,246],"flags":{},"order":312,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":494}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":337,"type":"LoadImage","pos":[-8170,3520],"size":[315,314],"flags":{},"order":46,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[497]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[498]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":340,"type":"InpaintCropImproved","pos":[-7750,3400],"size":[522.4000244140625,1110],"flags":{},"order":159,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":497},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":498},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[494,500]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[501,720]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":277,"type":"Note","pos":[-12630,290],"size":[210,88],"flags":{},"order":47,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context add context mask"],"color":"#432","bgcolor":"#653"},{"id":142,"type":"Note","pos":[-7680,-5450],"size":[210,88],"flags":{},"order":48,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Fill holes"],"color":"#432","bgcolor":"#653"},{"id":350,"type":"LoadImage","pos":[-4950,1440],"size":[315,314],"flags":{},"order":49,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[529]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[530]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":352,"type":"LoadImage","pos":[-4950,910],"size":[315,314],"flags":{},"order":50,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[537]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3492848.299999997.png [input]","image"]},{"id":353,"type":"LoadImage","pos":[-4930,1820],"size":[315,314],"flags":{},"order":51,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[531]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-225116.5.png [input]","image"]},{"id":354,"type":"PreviewImage","pos":[-3920,2650],"size":[210,246],"flags":{},"order":322,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":514}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":355,"type":"LoadImage","pos":[-4910,2470],"size":[315,314],"flags":{},"order":52,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[517]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[518]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":358,"type":"InpaintCropImproved","pos":[-4490,2350],"size":[522.4000244140625,1110],"flags":{},"order":161,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":517},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":518},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[514,543]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[544,682]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":362,"type":"PreviewImage","pos":[-3940,3680],"size":[210,246],"flags":{},"order":325,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":522}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":363,"type":"LoadImage","pos":[-4930,3500],"size":[315,314],"flags":{},"order":53,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[526]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[527]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-219964.40000000596.png [input]","image"]},{"id":365,"type":"PreviewImage","pos":[-3080,3530],"size":[210,246],"flags":{},"order":531,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":524}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":367,"type":"InpaintCropImproved","pos":[-4510,3380],"size":[522.4000244140625,1110],"flags":{},"order":162,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":526},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":527},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[522,547]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[548,688]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":370,"type":"PreviewImage","pos":[-3960,1490],"size":[210,246],"flags":{},"order":317,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":532}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":393,"type":"PreviewImage","pos":[-3470,550],"size":[210,246],"flags":{},"order":328,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":557}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":395,"type":"PreviewImage","pos":[-3470,1400],"size":[210,246],"flags":{},"order":315,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":559}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":397,"type":"PreviewImage","pos":[-2540,2510],"size":[210,246],"flags":{},"order":521,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":561}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":399,"type":"PreviewImage","pos":[-2570,3500],"size":[210,246],"flags":{},"order":529,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":563}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":349,"type":"LoadImage","pos":[-4970,530],"size":[315,314],"flags":{},"order":54,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[535]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[536]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":299,"type":"InpaintCropImproved","pos":[-7790,430],"size":[522.4000244140625,1110],"flags":{},"order":154,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":443},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":444},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":445},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[549]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[702]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[450]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[704]},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[565]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[566]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[567]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":300,"type":"InpaintCropImproved","pos":[-7770,1340],"size":[522.4000244140625,1110],"flags":{},"order":155,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":446},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":447},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":448},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[551]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[708]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[453]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[706]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[568]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[569]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[570]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","gpu (much faster)"]},{"id":369,"type":"InpaintCropImproved","pos":[-4530,1320],"size":[522.4000244140625,1110],"flags":{},"order":160,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":529},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":530},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":531},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[559]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[676]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[532]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[674]},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[580]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[581]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[582]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":419,"type":"PreviewImage","pos":[-2800,2500],"size":[210,246],"flags":{},"order":525,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":583}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":423,"type":"PreviewImage","pos":[-2830,3830],"size":[210,246],"flags":{},"order":534,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":587}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":342,"type":"InpaintCropImproved","pos":[-6900,3370],"size":[522.4000244140625,1110],"flags":{},"order":313,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":500},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":501},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[555]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[718]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[496]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[716]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[574]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[575]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[576]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","gpu (much faster)"]},{"id":333,"type":"InpaintCropImproved","pos":[-6880,2340],"size":[522.4000244140625,1110],"flags":{},"order":310,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":488},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":489},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[553]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[714]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[491]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[712]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[571]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[572]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[573]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"512","gpu (much faster)"]},{"id":382,"type":"InpaintCropImproved","pos":[-3660,3350],"size":[522.4000244140625,1110],"flags":{},"order":326,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":547},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":548},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[563]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[686]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[524]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[684]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[586]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[587]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[588]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":427,"type":"PreviewImage","pos":[-3950,4730],"size":[210,246],"flags":{},"order":335,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":591}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":430,"type":"PreviewImage","pos":[-3100,4530],"size":[210,246],"flags":{},"order":541,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":593}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":432,"type":"InpaintCropImproved","pos":[-4520,4430],"size":[522.4000244140625,1110],"flags":{},"order":164,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":595},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":596},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[591,603]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[604,700]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":437,"type":"PreviewImage","pos":[-2850,4530],"size":[210,246],"flags":{},"order":543,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":601}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":428,"type":"LoadImage","pos":[-4940,4550],"size":[315,314],"flags":{},"order":55,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[595]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[596]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3225001.799999997.png [input]","image"]},{"id":400,"type":"PreviewImage","pos":[-6980,610],"size":[210,246],"flags":{},"order":295,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":565}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":401,"type":"PreviewImage","pos":[-6980,920],"size":[210,246],"flags":{},"order":296,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":566}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":404,"type":"PreviewImage","pos":[-6930,1460],"size":[210,246],"flags":{},"order":302,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":568}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":296,"type":"PreviewImage","pos":[-7210,1470],"size":[210,246],"flags":{},"order":300,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":453}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":331,"type":"PreviewImage","pos":[-6310,2490],"size":[210,246],"flags":{},"order":505,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":491}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":407,"type":"PreviewImage","pos":[-6060,2500],"size":[210,246],"flags":{},"order":507,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":571}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":339,"type":"PreviewImage","pos":[-6310,3500],"size":[210,246],"flags":{},"order":513,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":496}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":410,"type":"PreviewImage","pos":[-6070,3500],"size":[210,246],"flags":{},"order":515,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":574}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":411,"type":"PreviewImage","pos":[-6080,3810],"size":[210,246],"flags":{},"order":516,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":575}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":391,"type":"PreviewImage","pos":[-5840,3470],"size":[210,246],"flags":{},"order":511,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":555}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":384,"type":"PreviewImage","pos":[-6720,610],"size":[210,246],"flags":{},"order":291,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":549}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":402,"type":"PreviewImage","pos":[-6470,770],"size":[210,246],"flags":{},"order":297,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":567}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":386,"type":"PreviewImage","pos":[-6680,1440],"size":[210,246],"flags":{},"order":298,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":551}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":405,"type":"PreviewImage","pos":[-6920,1770],"size":[210,246],"flags":{},"order":303,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":569}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":403,"type":"PreviewImage","pos":[-6400,1610],"size":[210,246],"flags":{},"order":304,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":570}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":408,"type":"PreviewImage","pos":[-6060,2800],"size":[210,246],"flags":{},"order":508,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":572}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":406,"type":"PreviewImage","pos":[-5510,2720],"size":[210,246],"flags":{},"order":509,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":573}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":389,"type":"PreviewImage","pos":[-5790,2490],"size":[210,246],"flags":{},"order":503,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":553}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":409,"type":"PreviewImage","pos":[-5560,3650],"size":[210,246],"flags":{},"order":517,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":576}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":351,"type":"PreviewImage","pos":[-4000,520],"size":[210,246],"flags":{},"order":330,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":513}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":413,"type":"PreviewImage","pos":[-3730,530],"size":[210,246],"flags":{},"order":332,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":577}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":414,"type":"PreviewImage","pos":[-3720,840],"size":[210,246],"flags":{},"order":333,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":578}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":412,"type":"PreviewImage","pos":[-3200,710],"size":[210,246],"flags":{},"order":334,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":579}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":416,"type":"PreviewImage","pos":[-3720,1480],"size":[210,246],"flags":{},"order":319,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":580}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":417,"type":"PreviewImage","pos":[-3710,1790],"size":[210,246],"flags":{},"order":320,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":581}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":415,"type":"PreviewImage","pos":[-3180,1590],"size":[210,246],"flags":{},"order":321,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":582}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":420,"type":"PreviewImage","pos":[-2800,2810],"size":[210,246],"flags":{},"order":526,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":584}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":418,"type":"PreviewImage","pos":[-2270,2670],"size":[210,246],"flags":{},"order":527,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":585}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":368,"type":"PreviewImage","pos":[-3060,2500],"size":[210,246],"flags":{},"order":523,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":528}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":422,"type":"PreviewImage","pos":[-2830,3520],"size":[210,246],"flags":{},"order":533,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":586}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":421,"type":"PreviewImage","pos":[-2330,3680],"size":[210,246],"flags":{},"order":535,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":588}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":373,"type":"InpaintCropImproved","pos":[-4550,390],"size":[522.4000244140625,1110],"flags":{},"order":163,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":535},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":536},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":537},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[557]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[670]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[513]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[672]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[577]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[578]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[579]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"8","gpu (much faster)"]},{"id":439,"type":"InpaintCropImproved","pos":[-3670,4400],"size":[522.4000244140625,1110],"flags":{},"order":336,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":603},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":604},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[599]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[692]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[593]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[690]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[601]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[602]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[600]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":453,"type":"PreviewImage","pos":[-4790,3300],"size":[210,246],"flags":{},"order":338,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":618}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":456,"type":"InpaintCropImproved","pos":[-4530,5570],"size":[522.4000244140625,1110],"flags":{},"order":165,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":620},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":621},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[618,626]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[627,698]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":458,"type":"PreviewImage","pos":[-3410,3160],"size":[210,246],"flags":{},"order":547,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":623}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":460,"type":"PreviewImage","pos":[-3670,3150],"size":[210,246],"flags":{},"order":551,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":625}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":462,"type":"PreviewImage","pos":[-3670,3460],"size":[210,246],"flags":{},"order":552,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":628}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":463,"type":"PreviewImage","pos":[-3140,3320],"size":[210,246],"flags":{},"order":553,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":629}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":454,"type":"LoadImage","pos":[-5780,3120],"size":[315,314],"flags":{},"order":56,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[620]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[621]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3255269.599999994.png [input]","image"]},{"id":464,"type":"PreviewImage","pos":[-3930,3150],"size":[210,246],"flags":{},"order":549,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":630}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":461,"type":"InpaintCropImproved","pos":[-3680,5540],"size":[522.4000244140625,1110],"flags":{},"order":339,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":626},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":627},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[623]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[696]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[630]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[694]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[625]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[628]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[629]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":141,"type":"InpaintCropImproved","pos":[-7260,-5320],"size":[522.4000244140625,1110],"flags":{},"order":115,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":188},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":189},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":190},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[816]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":291,"type":"PreviewImage","pos":[-7230,610],"size":[210,246],"flags":{},"order":293,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":450}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":436,"type":"PreviewImage","pos":[-2310,4680],"size":[210,246],"flags":{},"order":545,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":600}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":435,"type":"PreviewImage","pos":[-2580,4550],"size":[210,246],"flags":{},"order":539,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":599}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":438,"type":"PreviewImage","pos":[-2850,4840],"size":[210,246],"flags":{},"order":544,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":602}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":475,"type":"LoadImage","pos":[240,1250],"size":[315,314],"flags":{},"order":57,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[633]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[634]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5472479.200000003.png [input]","image"]},{"id":478,"type":"InpaintStitchImproved","pos":[2350,1030],"size":[352.79998779296875,78],"flags":{},"order":701,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":644},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":650},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[647]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":466,"type":"PreviewImage","pos":[1230,1430],"size":[210,246],"flags":{},"order":341,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":631}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":468,"type":"InpaintCropImproved","pos":[660,1130],"size":[522.4000244140625,1110],"flags":{},"order":166,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":633},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":634},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[631,642,648]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[643,668]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":477,"type":"InpaintCropImproved","pos":[1510,1100],"size":[522.4000244140625,1110],"flags":{},"order":343,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":642},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":643},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[644]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[649]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":480,"type":"ImageInvert","pos":[2100,1370],"size":[210,26],"flags":{},"order":555,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":649}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[650]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":479,"type":"PreviewImage","pos":[2490,1130],"size":[210,246],"flags":{},"order":342,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":648}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":470,"type":"PreviewImage","pos":[2510,1450],"size":[210,246],"flags":{},"order":764,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":647}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":383,"type":"Note","pos":[-5000,170],"size":[210,88],"flags":{},"order":58,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["padding target"],"color":"#432","bgcolor":"#653"},{"id":494,"type":"PreviewImage","pos":[3990,1740],"size":[210,246],"flags":{},"order":594,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":665}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":495,"type":"MaskToImage","pos":[3940,1670],"size":[264.5999755859375,26],"flags":{},"order":373,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":666}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[665]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":496,"type":"PreviewImage","pos":[1270,1830],"size":[210,246],"flags":{},"order":556,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":667}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":497,"type":"MaskToImage","pos":[1220,1760],"size":[264.5999755859375,26],"flags":{},"order":344,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":668}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[667]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":498,"type":"PreviewImage","pos":[-3440,940],"size":[210,246],"flags":{},"order":537,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":669}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":499,"type":"MaskToImage","pos":[-3430,870],"size":[184.6236328125,26],"flags":{},"order":329,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":670}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[669]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":500,"type":"PreviewImage","pos":[-3980,930],"size":[210,246],"flags":{},"order":538,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":671}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":501,"type":"MaskToImage","pos":[-3970,850],"size":[184.6236328125,26],"flags":{},"order":331,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":672}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[671]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":502,"type":"PreviewImage","pos":[-3950,1870],"size":[210,246],"flags":{},"order":520,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":673}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":503,"type":"MaskToImage","pos":[-3940,1800],"size":[184.6236328125,26],"flags":{},"order":318,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":674}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[673]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":504,"type":"PreviewImage","pos":[-3460,1790],"size":[210,246],"flags":{},"order":519,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":675}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":505,"type":"MaskToImage","pos":[-3450,1720],"size":[184.6236328125,26],"flags":{},"order":316,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":676}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[675]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":506,"type":"PreviewImage","pos":[-3070,2880],"size":[210,246],"flags":{},"order":694,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":677}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":507,"type":"MaskToImage","pos":[-3060,2810],"size":[184.6236328125,26],"flags":{},"order":524,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":678}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[677]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":508,"type":"PreviewImage","pos":[-2540,2900],"size":[210,246],"flags":{},"order":693,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":679}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":509,"type":"MaskToImage","pos":[-2530,2830],"size":[184.6236328125,26],"flags":{},"order":522,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":680}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[679]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":510,"type":"PreviewImage","pos":[-3910,3020],"size":[210,246],"flags":{},"order":528,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":681}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":511,"type":"MaskToImage","pos":[-3900,2950],"size":[184.6236328125,26],"flags":{},"order":324,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":682}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[681]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":379,"type":"InpaintCropImproved","pos":[-3640,2320],"size":[522.4000244140625,1110],"flags":{},"order":323,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":543},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":544},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[561]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[680]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[528]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[678]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[583]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[584]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[585]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":512,"type":"PreviewImage","pos":[-3100,3910],"size":[210,246],"flags":{},"order":696,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":683}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":513,"type":"MaskToImage","pos":[-3090,3840],"size":[184.6236328125,26],"flags":{},"order":532,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":684}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[683]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":514,"type":"PreviewImage","pos":[-2580,3890],"size":[210,246],"flags":{},"order":695,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":685}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":515,"type":"MaskToImage","pos":[-2570,3820],"size":[184.6236328125,26],"flags":{},"order":530,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":686}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[685]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":516,"type":"PreviewImage","pos":[-3940,4080],"size":[210,246],"flags":{},"order":536,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":687}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":517,"type":"MaskToImage","pos":[-3930,4010],"size":[184.6236328125,26],"flags":{},"order":327,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":688}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[687]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":518,"type":"PreviewImage","pos":[-3110,4910],"size":[210,246],"flags":{},"order":698,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":689}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":519,"type":"MaskToImage","pos":[-3100,4840],"size":[184.6236328125,26],"flags":{},"order":542,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":690}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[689]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":520,"type":"PreviewImage","pos":[-2580,4940],"size":[210,246],"flags":{},"order":697,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":691}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":521,"type":"MaskToImage","pos":[-2570,4870],"size":[184.6236328125,26],"flags":{},"order":540,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":692}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[691]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":522,"type":"PreviewImage","pos":[-3950,3540],"size":[210,246],"flags":{},"order":700,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":693}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":523,"type":"MaskToImage","pos":[-3940,3470],"size":[184.6236328125,26],"flags":{},"order":550,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":694}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[693]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":524,"type":"PreviewImage","pos":[-3400,3550],"size":[210,246],"flags":{},"order":699,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":695}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":525,"type":"MaskToImage","pos":[-3390,3480],"size":[184.6236328125,26],"flags":{},"order":548,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":696}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[695]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":526,"type":"PreviewImage","pos":[-4800,3680],"size":[210,246],"flags":{},"order":554,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":697}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":527,"type":"MaskToImage","pos":[-4790,3610],"size":[184.6236328125,26],"flags":{},"order":340,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":698}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[697]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":528,"type":"PreviewImage","pos":[-3960,5120],"size":[210,246],"flags":{},"order":546,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":699}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":529,"type":"MaskToImage","pos":[-3950,5050],"size":[184.6236328125,26],"flags":{},"order":337,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":700}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[699]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":530,"type":"PreviewImage","pos":[-6720,1000],"size":[210,246],"flags":{},"order":497,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":701}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":531,"type":"MaskToImage","pos":[-6710,930],"size":[184.6236328125,26],"flags":{},"order":292,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":702}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[701]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":532,"type":"PreviewImage","pos":[-7230,1000],"size":[210,246],"flags":{},"order":498,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":703}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":533,"type":"MaskToImage","pos":[-7220,930],"size":[184.6236328125,26],"flags":{},"order":294,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":704}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[703]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":534,"type":"PreviewImage","pos":[-7200,1850],"size":[210,246],"flags":{},"order":500,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":705}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":535,"type":"MaskToImage","pos":[-7190,1780],"size":[184.6236328125,26],"flags":{},"order":301,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":706}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[705]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":536,"type":"PreviewImage","pos":[-6670,1840],"size":[210,246],"flags":{},"order":499,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":707}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":537,"type":"MaskToImage","pos":[-6660,1770],"size":[184.6236328125,26],"flags":{},"order":299,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":708}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[707]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":538,"type":"PreviewImage","pos":[-7160,3070],"size":[210,246],"flags":{},"order":510,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":709}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":539,"type":"MaskToImage","pos":[-7150,3000],"size":[184.6236328125,26],"flags":{},"order":311,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":710}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[709]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":540,"type":"PreviewImage","pos":[-6320,2890],"size":[210,246],"flags":{},"order":690,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":711}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":541,"type":"MaskToImage","pos":[-6310,2820],"size":[184.6236328125,26],"flags":{},"order":506,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":712}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[711]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":542,"type":"PreviewImage","pos":[-5780,2880],"size":[210,246],"flags":{},"order":689,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":713}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":543,"type":"MaskToImage","pos":[-5770,2810],"size":[184.6236328125,26],"flags":{},"order":504,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":714}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[713]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":544,"type":"PreviewImage","pos":[-6340,3900],"size":[210,246],"flags":{},"order":692,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":715}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":545,"type":"MaskToImage","pos":[-6330,3830],"size":[184.6236328125,26],"flags":{},"order":514,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":716}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[715]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":546,"type":"PreviewImage","pos":[-5830,3870],"size":[210,246],"flags":{},"order":691,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":717}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":547,"type":"MaskToImage","pos":[-5820,3800],"size":[184.6236328125,26],"flags":{},"order":512,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":718}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[717]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":548,"type":"PreviewImage","pos":[-7190,4090],"size":[210,246],"flags":{},"order":518,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":719}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":549,"type":"MaskToImage","pos":[-7180,4020],"size":[184.6236328125,26],"flags":{},"order":314,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":720}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[719]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":550,"type":"PreviewImage","pos":[-11590,4370],"size":[210,246],"flags":{},"order":682,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":721}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":551,"type":"MaskToImage","pos":[-11580,4300],"size":[184.6236328125,26],"flags":{},"order":439,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":722}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[721]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":552,"type":"PreviewImage","pos":[-11610,3490],"size":[210,246],"flags":{},"order":502,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":723}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":553,"type":"MaskToImage","pos":[-11600,3420],"size":[184.6236328125,26],"flags":{},"order":307,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":724}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[723]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":554,"type":"PreviewImage","pos":[-11620,2520],"size":[210,246],"flags":{},"order":501,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":725}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":555,"type":"MaskToImage","pos":[-11610,2450],"size":[184.6236328125,26],"flags":{},"order":305,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":726}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[725]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":556,"type":"PreviewImage","pos":[-11640,1550],"size":[210,246],"flags":{},"order":496,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":727}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":557,"type":"MaskToImage","pos":[-11630,1480],"size":[184.6236328125,26],"flags":{},"order":289,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":728}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[727]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":558,"type":"PreviewImage","pos":[-11660,630],"size":[210,246],"flags":{},"order":495,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":729}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":559,"type":"MaskToImage","pos":[-11650,560],"size":[184.6236328125,26],"flags":{},"order":287,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":730}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[729]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":560,"type":"PreviewImage","pos":[-13060,580],"size":[210,246],"flags":{},"order":493,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":731}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":561,"type":"MaskToImage","pos":[-13050,510],"size":[184.6236328125,26],"flags":{},"order":283,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":732}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[731]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":562,"type":"PreviewImage","pos":[-13040,1350],"size":[210,246],"flags":{},"order":494,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":733}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":563,"type":"MaskToImage","pos":[-13030,1280],"size":[184.6236328125,26],"flags":{},"order":285,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":734}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[733]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":564,"type":"PreviewImage","pos":[-14370,1360],"size":[210,246],"flags":{},"order":492,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":735}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":565,"type":"MaskToImage","pos":[-14360,1290],"size":[184.6236328125,26],"flags":{},"order":280,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":736}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[735]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":566,"type":"PreviewImage","pos":[-14480,600],"size":[210,246],"flags":{},"order":491,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":737}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":567,"type":"MaskToImage","pos":[-14470,530],"size":[184.6236328125,26],"flags":{},"order":278,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":738}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[737]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":568,"type":"PreviewImage","pos":[2640,-4950],"size":[210,246],"flags":{},"order":486,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":739}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":569,"type":"MaskToImage","pos":[2650,-5020],"size":[184.6236328125,26],"flags":{},"order":268,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":740}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[739]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":570,"type":"PreviewImage","pos":[2680,-4170],"size":[210,246],"flags":{},"order":489,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":741}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":571,"type":"MaskToImage","pos":[2690,-4240],"size":[184.6236328125,26],"flags":{},"order":274,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":742}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[741]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":572,"type":"PreviewImage","pos":[2690,-3260],"size":[210,246],"flags":{},"order":490,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":743}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":573,"type":"MaskToImage","pos":[2700,-3330],"size":[184.6236328125,26],"flags":{},"order":276,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":744}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[743]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":246,"type":"InpaintCropImproved","pos":[2110,-2710],"size":[522.4000244140625,1110],"flags":{},"order":143,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":384},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":385},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[380]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[746]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.5000000000000001,false,0,false,0,true,0.6500000000000001,0.8000000000000002,0.6000000000000001,0.5000000000000001,1.2,false,512,512,"32","gpu (much faster)"]},{"id":574,"type":"PreviewImage","pos":[2690,-2370],"size":[210,246],"flags":{},"order":488,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":745}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":575,"type":"MaskToImage","pos":[2700,-2440],"size":[184.6236328125,26],"flags":{},"order":272,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":746}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[745]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":576,"type":"PreviewImage","pos":[2670,-1490],"size":[210,246],"flags":{},"order":487,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":747}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":577,"type":"MaskToImage","pos":[2680,-1560],"size":[184.6236328125,26],"flags":{},"order":270,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":748}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[747]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":578,"type":"PreviewImage","pos":[1170,-1440],"size":[210,246],"flags":{},"order":482,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":749}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":579,"type":"MaskToImage","pos":[1180,-1510],"size":[184.6236328125,26],"flags":{},"order":259,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":750}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[749]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":580,"type":"PreviewImage","pos":[1210,-2320],"size":[210,246],"flags":{},"order":481,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":751}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":581,"type":"MaskToImage","pos":[1220,-2390],"size":[184.6236328125,26],"flags":{},"order":257,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":752}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[751]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":582,"type":"PreviewImage","pos":[1190,-3210],"size":[210,246],"flags":{},"order":483,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":753}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":583,"type":"MaskToImage","pos":[1200,-3280],"size":[184.6236328125,26],"flags":{},"order":261,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":754}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[753]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":584,"type":"PreviewImage","pos":[1170,-4110],"size":[210,246],"flags":{},"order":485,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":755}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":585,"type":"MaskToImage","pos":[1180,-4180],"size":[184.6236328125,26],"flags":{},"order":265,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":756}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[755]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":586,"type":"PreviewImage","pos":[1150,-4920],"size":[210,246],"flags":{},"order":484,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":757}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":587,"type":"MaskToImage","pos":[1160,-4990],"size":[184.6236328125,26],"flags":{},"order":263,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":758}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[757]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":588,"type":"PreviewImage","pos":[1580,-4820],"size":[210,246],"flags":{},"order":277,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":759}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":589,"type":"MaskToImage","pos":[1590,-4890],"size":[184.6236328125,26],"flags":{},"order":146,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":760}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[759]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":590,"type":"PreviewImage","pos":[50,-4770],"size":[210,246],"flags":{},"order":266,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":761}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":591,"type":"MaskToImage","pos":[60,-4840],"size":[184.6236328125,26],"flags":{},"order":140,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":762}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[761]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":592,"type":"PreviewImage","pos":[-450,-5150],"size":[210,246],"flags":{},"order":462,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":763}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":593,"type":"MaskToImage","pos":[-440,-5220],"size":[184.6236328125,26],"flags":{},"order":222,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":764}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[763]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":594,"type":"PreviewImage","pos":[-390,-4240],"size":[210,246],"flags":{},"order":463,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":765}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":595,"type":"MaskToImage","pos":[-380,-4310],"size":[184.6236328125,26],"flags":{},"order":223,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":766}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[765]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":596,"type":"PreviewImage","pos":[-380,-3380],"size":[210,246],"flags":{},"order":464,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":767}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":597,"type":"MaskToImage","pos":[-370,-3450],"size":[184.6236328125,26],"flags":{},"order":224,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":768}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[767]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":598,"type":"PreviewImage","pos":[-310,-2460],"size":[210,246],"flags":{},"order":465,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":769}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":599,"type":"MaskToImage","pos":[-300,-2530],"size":[184.6236328125,26],"flags":{},"order":225,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":770}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[769]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":600,"type":"PreviewImage","pos":[-390,-1570],"size":[210,246],"flags":{},"order":466,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":771}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":601,"type":"MaskToImage","pos":[-380,-1640],"size":[184.6236328125,26],"flags":{},"order":226,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":772}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[771]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":602,"type":"PreviewImage","pos":[-1550,-4670],"size":[210,246],"flags":{},"order":227,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":773}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":603,"type":"MaskToImage","pos":[-1540,-4740],"size":[184.6236328125,26],"flags":{},"order":110,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":774}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[773]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":604,"type":"PreviewImage","pos":[-1960,-5200],"size":[210,246],"flags":{},"order":478,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":775}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":605,"type":"MaskToImage","pos":[-1950,-5270],"size":[184.6236328125,26],"flags":{},"order":250,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":776}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[775]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":606,"type":"PreviewImage","pos":[-1940,-4830],"size":[210,246],"flags":{},"order":251,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":777}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":607,"type":"MaskToImage","pos":[-1930,-4900],"size":[184.6236328125,26],"flags":{},"order":130,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":778}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[777]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":608,"type":"PreviewImage","pos":[-1910,-4350],"size":[210,246],"flags":{},"order":480,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":779}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":609,"type":"MaskToImage","pos":[-1900,-4420],"size":[184.6236328125,26],"flags":{},"order":254,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":781}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[779]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":610,"type":"PreviewImage","pos":[-1890,-3940],"size":[210,246],"flags":{},"order":255,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":780}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":611,"type":"MaskToImage","pos":[-1880,-4010],"size":[184.6236328125,26],"flags":{},"order":134,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":782}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[780]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":612,"type":"PreviewImage","pos":[-1880,-3540],"size":[210,246],"flags":{},"order":479,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":783}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":613,"type":"MaskToImage","pos":[-1870,-3610],"size":[184.6236328125,26],"flags":{},"order":252,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":786}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[783]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":614,"type":"PreviewImage","pos":[-1870,-3120],"size":[210,246],"flags":{},"order":253,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":784}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":615,"type":"MaskToImage","pos":[-1860,-3190],"size":[184.6236328125,26],"flags":{},"order":132,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":785}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[784]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":616,"type":"PreviewImage","pos":[-3610,-5180],"size":[210,246],"flags":{},"order":473,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":787}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":617,"type":"MaskToImage","pos":[-3600,-5250],"size":[184.6236328125,26],"flags":{},"order":240,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":788}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[787]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":618,"type":"PreviewImage","pos":[-3670,-4290],"size":[210,246],"flags":{},"order":472,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":789}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":619,"type":"MaskToImage","pos":[-3660,-4360],"size":[184.6236328125,26],"flags":{},"order":238,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":790}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[789]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":620,"type":"PreviewImage","pos":[-3680,-3470],"size":[210,246],"flags":{},"order":474,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":791}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":621,"type":"MaskToImage","pos":[-3670,-3540],"size":[184.6236328125,26],"flags":{},"order":242,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":792}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[791]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":622,"type":"PreviewImage","pos":[-3680,-2630],"size":[210,246],"flags":{},"order":557,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":793}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":623,"type":"MaskToImage","pos":[-3670,-2700],"size":[184.6236328125,26],"flags":{},"order":345,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":794}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[793]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":624,"type":"PreviewImage","pos":[-4620,-2290],"size":[210,246],"flags":{},"order":346,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":795}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":625,"type":"MaskToImage","pos":[-4610,-2360],"size":[184.6236328125,26],"flags":{},"order":168,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":796}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[795]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":189,"type":"LoadImage","pos":[-4700,-2720],"size":[315,314],"flags":{},"order":59,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[298]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[299,300,796]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-2116156.8999999985.png [input]","image"]},{"id":626,"type":"PreviewImage","pos":[-4660,-3100],"size":[210,246],"flags":{},"order":243,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":797}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":627,"type":"MaskToImage","pos":[-4650,-3170],"size":[184.6236328125,26],"flags":{},"order":122,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":798}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[797]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":628,"type":"PreviewImage","pos":[-4630,-3940],"size":[210,246],"flags":{},"order":239,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":799}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":629,"type":"MaskToImage","pos":[-4620,-4010],"size":[184.6236328125,26],"flags":{},"order":118,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":800}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[799]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":630,"type":"PreviewImage","pos":[-4740,-4740],"size":[210,246],"flags":{},"order":241,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":801}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":631,"type":"MaskToImage","pos":[-4730,-4810],"size":[184.6236328125,26],"flags":{},"order":120,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":802}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[801]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":632,"type":"PreviewImage","pos":[-5220,-5100],"size":[210,246],"flags":{},"order":476,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":803}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":633,"type":"MaskToImage","pos":[-5210,-5170],"size":[184.6236328125,26],"flags":{},"order":246,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":804}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[803]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":634,"type":"PreviewImage","pos":[-5260,-4300],"size":[210,246],"flags":{},"order":475,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":805}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":635,"type":"MaskToImage","pos":[-5250,-4370],"size":[184.6236328125,26],"flags":{},"order":244,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":806}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[805]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":636,"type":"PreviewImage","pos":[-5240,-3470],"size":[210,246],"flags":{},"order":477,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":807}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":637,"type":"MaskToImage","pos":[-5230,-3540],"size":[184.6236328125,26],"flags":{},"order":248,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":808}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[807]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":638,"type":"PreviewImage","pos":[-6200,-3130],"size":[210,246],"flags":{},"order":249,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":809}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":639,"type":"MaskToImage","pos":[-6190,-3200],"size":[184.6236328125,26],"flags":{},"order":128,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":810}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[809]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":640,"type":"PreviewImage","pos":[-6210,-3950],"size":[210,246],"flags":{},"order":245,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":811}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":641,"type":"MaskToImage","pos":[-6200,-4020],"size":[184.6236328125,26],"flags":{},"order":124,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":812}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[811]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":642,"type":"PreviewImage","pos":[-6300,-4730],"size":[210,246],"flags":{},"order":247,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":813}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":643,"type":"MaskToImage","pos":[-6290,-4800],"size":[184.6236328125,26],"flags":{},"order":126,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":814}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[813]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":644,"type":"PreviewImage","pos":[-6690,-5150],"size":[210,246],"flags":{},"order":471,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":815}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":645,"type":"MaskToImage","pos":[-6680,-5220],"size":[184.6236328125,26],"flags":{},"order":236,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":816}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[815]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":646,"type":"PreviewImage","pos":[-7610,-4780],"size":[210,246],"flags":{},"order":237,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":817}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":647,"type":"MaskToImage","pos":[-7600,-4850],"size":[184.6236328125,26],"flags":{},"order":116,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":818}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[817]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":648,"type":"PreviewImage","pos":[-8190,-4890],"size":[210,246],"flags":{},"order":461,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":819}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":649,"type":"MaskToImage","pos":[-8180,-4960],"size":[184.6236328125,26],"flags":{},"order":221,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":820}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[819]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":650,"type":"PreviewImage","pos":[-8180,-4130],"size":[210,246],"flags":{},"order":460,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":821}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":651,"type":"MaskToImage","pos":[-8170,-4200],"size":[184.6236328125,26],"flags":{},"order":219,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":822}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[821]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":652,"type":"PreviewImage","pos":[-8220,-3340],"size":[210,246],"flags":{},"order":470,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":823}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":653,"type":"MaskToImage","pos":[-8210,-3410],"size":[184.6236328125,26],"flags":{},"order":235,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":824}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[823]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":654,"type":"PreviewImage","pos":[-15490,-610],"size":[210,246],"flags":{},"order":349,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":825}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":655,"type":"MaskToImage","pos":[-15480,-680],"size":[184.6236328125,26],"flags":{},"order":171,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":826}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[825]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":656,"type":"PreviewImage","pos":[-14570,-780],"size":[210,246],"flags":{},"order":703,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":827}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":657,"type":"MaskToImage","pos":[-14560,-850],"size":[184.6236328125,26],"flags":{},"order":561,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":828}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[827]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":658,"type":"PreviewImage","pos":[-14000,-470],"size":[210,246],"flags":{},"order":575,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":829}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":659,"type":"MaskToImage","pos":[-13990,-540],"size":[184.6236328125,26],"flags":{},"order":358,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":936}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[829]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":660,"type":"PreviewImage","pos":[-13130,-820],"size":[210,246],"flags":{},"order":709,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":831}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":661,"type":"MaskToImage","pos":[-13120,-890],"size":[184.6236328125,26],"flags":{},"order":574,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":832}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[831]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":662,"type":"PreviewImage","pos":[-13760,-1570],"size":[210,246],"flags":{},"order":578,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":833}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":663,"type":"MaskToImage","pos":[-13750,-1640],"size":[184.6236328125,26],"flags":{},"order":360,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":937}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[833]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":664,"type":"PreviewImage","pos":[-12930,-1930],"size":[210,246],"flags":{},"order":710,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":835}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":665,"type":"MaskToImage","pos":[-12920,-2000],"size":[184.6236328125,26],"flags":{},"order":577,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":836}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[835]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":666,"type":"PreviewImage","pos":[-12230,-1540],"size":[210,246],"flags":{},"order":572,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":837}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":667,"type":"MaskToImage","pos":[-12220,-1610],"size":[184.6236328125,26],"flags":{},"order":356,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":938}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[837]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":668,"type":"PreviewImage","pos":[-11370,-1920],"size":[210,246],"flags":{},"order":708,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":839}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":669,"type":"MaskToImage","pos":[-11360,-1990],"size":[184.6236328125,26],"flags":{},"order":571,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":840}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[839]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":670,"type":"PreviewImage","pos":[-11330,-2980],"size":[210,246],"flags":{},"order":707,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":841}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":671,"type":"MaskToImage","pos":[-11320,-3050],"size":[184.6236328125,26],"flags":{},"order":569,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":842}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[841]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":672,"type":"PreviewImage","pos":[-11380,-3800],"size":[210,246],"flags":{},"order":468,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":843}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":673,"type":"MaskToImage","pos":[-11370,-3870],"size":[184.6236328125,26],"flags":{},"order":231,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":844}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[843]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":674,"type":"PreviewImage","pos":[-11370,-4690],"size":[210,246],"flags":{},"order":458,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":845}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":675,"type":"MaskToImage","pos":[-11360,-4760],"size":[184.6236328125,26],"flags":{},"order":215,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":846}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[845]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":676,"type":"PreviewImage","pos":[-12950,-4690],"size":[210,246],"flags":{},"order":457,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":847}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":677,"type":"MaskToImage","pos":[-12940,-4760],"size":[184.6236328125,26],"flags":{},"order":213,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":848}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[847]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":678,"type":"PreviewImage","pos":[-12970,-3810],"size":[210,246],"flags":{},"order":467,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":849}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":679,"type":"MaskToImage","pos":[-12960,-3880],"size":[184.6236328125,26],"flags":{},"order":229,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":850}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[849]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":680,"type":"PreviewImage","pos":[-12900,-3020],"size":[210,246],"flags":{},"order":706,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":851}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":681,"type":"MaskToImage","pos":[-12890,-3090],"size":[184.6236328125,26],"flags":{},"order":567,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":852}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[851]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":682,"type":"PreviewImage","pos":[-14480,-3020],"size":[210,246],"flags":{},"order":705,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":853}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":683,"type":"MaskToImage","pos":[-14470,-3090],"size":[184.6236328125,26],"flags":{},"order":565,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":854}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[853]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":684,"type":"PreviewImage","pos":[-14530,-3850],"size":[210,246],"flags":{},"order":469,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":855}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":685,"type":"MaskToImage","pos":[-14520,-3920],"size":[184.6236328125,26],"flags":{},"order":233,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":856}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[855]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":686,"type":"PreviewImage","pos":[-14500,-4710],"size":[210,246],"flags":{},"order":459,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":857}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":687,"type":"MaskToImage","pos":[-14490,-4780],"size":[184.6236328125,26],"flags":{},"order":217,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":858}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[857]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":688,"type":"PreviewImage","pos":[-14500,-1970],"size":[210,246],"flags":{},"order":704,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":859}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":689,"type":"MaskToImage","pos":[-14490,-2040],"size":[184.6236328125,26],"flags":{},"order":563,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":860}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[859]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":690,"type":"PreviewImage","pos":[-15420,1760],"size":[210,246],"flags":{},"order":282,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":861}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":691,"type":"MaskToImage","pos":[-15410,1690],"size":[184.6236328125,26],"flags":{},"order":149,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":862}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[861]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":692,"type":"PreviewImage","pos":[-15350,-1620],"size":[210,246],"flags":{},"order":351,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":863}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":693,"type":"MaskToImage","pos":[-15340,-1690],"size":[184.6236328125,26],"flags":{},"order":174,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":947}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[863]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":96,"type":"Note","pos":[-9210,-5430],"size":[210,88],"flags":{},"order":60,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Preresize"],"color":"#432","bgcolor":"#653"},{"id":253,"type":"Note","pos":[-15460,250],"size":[210,88],"flags":{},"order":61,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Context from mask"],"color":"#432","bgcolor":"#653"},{"id":292,"type":"Note","pos":[-8210,190],"size":[210,88],"flags":{},"order":62,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["padding no target"],"color":"#432","bgcolor":"#653"},{"id":694,"type":"PreviewImage","pos":[1180,2530],"size":[210,246],"flags":{},"order":362,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":865}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":696,"type":"InpaintCropImproved","pos":[610,2230],"size":[522.4000244140625,1110],"flags":{},"order":185,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":867},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":868},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[865,870,888]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[871,880]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":707,"type":"PreviewImage","pos":[1170,2920],"size":[210,246],"flags":{},"order":584,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":879}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":708,"type":"MaskToImage","pos":[1180,2850],"size":[184.6236328125,26],"flags":{},"order":365,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":880}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[879]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":710,"type":"ImageInvert","pos":[2090,2520],"size":[210,26],"flags":{},"order":581,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":885}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[881]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":712,"type":"PreviewImage","pos":[2500,2600],"size":[210,246],"flags":{},"order":765,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":882}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":713,"type":"PreviewImage","pos":[2180,2980],"size":[210,246],"flags":{},"order":713,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":883}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":714,"type":"MaskToImage","pos":[2130,2910],"size":[264.5999755859375,26],"flags":{},"order":583,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":887}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[883]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":715,"type":"PreviewImage","pos":[2170,2600],"size":[210,246],"flags":{},"order":582,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":886}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":709,"type":"InpaintStitchImproved","pos":[2340,2180],"size":[352.79998779296875,78],"flags":{},"order":712,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":884},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":881},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[882]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":699,"type":"InpaintCropImproved","pos":[1460,2200],"size":[522.4000244140625,1110],"flags":{},"order":364,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":870},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":871},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[884]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[885,886]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[887]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":711,"type":"PreviewImage","pos":[2490,2300],"size":[210,246],"flags":{},"order":363,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":888}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":214,"type":"Note","pos":[-10,-5450],"size":[210,88],"flags":{},"order":63,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Extend"],"color":"#432","bgcolor":"#653"},{"id":213,"type":"Note","pos":[1020,530],"size":[980,310],"flags":{"pinned":true},"order":64,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["This is the suite of unit and integration tests for the Crop and Stitch nodes.\n\nIn order to run these tests:\n- Copy the content of testimgs/ to ComfyUI input/.\n- Enable DEBUG_MODE in inpaint_cropandstitch.py\n- Reload this workflow and run.\n\nYou can find the end-to-end tests (using both crop and stitch) below this note.\n\nAbove and left (zoom out) there are a bunch of tests for the most complex logic within the crop node."],"color":"#432","bgcolor":"#653"},{"id":720,"type":"InpaintCropImproved","pos":[-11910,-1140],"size":[522.4000244140625,1110],"flags":{},"order":347,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":897},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":913},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":914},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[889]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[894]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":722,"type":"MaskToImage","pos":[-11320,-800],"size":[184.6236328125,26],"flags":{},"order":559,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":894}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[893]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":716,"type":"PreviewImage","pos":[-11360,-1160],"size":[210,246],"flags":{},"order":558,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":889}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":718,"type":"LoadImage","pos":[-12360,-1030],"size":[315,314],"flags":{},"order":65,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[897]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[909,910,911,912]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":732,"type":"ImpactMakeMaskBatch","pos":[-14020,-710],"size":[210,106],"flags":{},"order":181,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":929},{"name":"mask2","type":"MASK","link":930},{"name":"mask3","type":"MASK","link":931},{"name":"mask4","type":"MASK","link":932},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[933,934,936]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":731,"type":"ImpactMakeMaskBatch","pos":[-13790,-1800],"size":[210,106],"flags":{},"order":183,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":922},{"name":"mask2","type":"MASK","link":923},{"name":"mask3","type":"MASK","link":924},{"name":"mask4","type":"MASK","link":925},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[926,927,937]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":730,"type":"ImpactMakeMaskBatch","pos":[-12240,-1810],"size":[210,106],"flags":{},"order":179,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":915},{"name":"mask2","type":"MASK","link":916},{"name":"mask3","type":"MASK","link":917},{"name":"mask4","type":"MASK","link":918},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[919,920,938]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":729,"type":"ImpactMakeMaskBatch","pos":[-12260,-560],"size":[210,106],"flags":{},"order":169,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":909},{"name":"mask2","type":"MASK","link":910},{"name":"mask3","type":"MASK","link":911},{"name":"mask4","type":"MASK","link":912},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[913,914]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":733,"type":"ImpactMakeMaskBatch","pos":[-15370,-1870],"size":[210,126],"flags":{},"order":173,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":939},{"name":"mask2","type":"MASK","link":940},{"name":"mask3","type":"MASK","link":941},{"name":"mask4","type":"MASK","link":945},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[946]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":70,"type":"LoadImage","pos":[-15600,-1090],"size":[315,314],"flags":{},"order":66,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[949,950,951,952]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[104,105,826]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":735,"type":"ImpactMakeImageBatch","pos":[-15460,-1260],"size":[210,106],"flags":{},"order":170,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":949},{"name":"image2","type":"IMAGE","link":950},{"name":"image3","type":"IMAGE","link":951},{"name":"image4","type":"IMAGE","link":952},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[953]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":24,"type":"LoadImage","pos":[-15550,-2260],"size":[315,314],"flags":{},"order":67,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[954,956,957,958]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[939,940,941,944,945,947]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":736,"type":"ImpactMakeImageBatch","pos":[-15480,-2430],"size":[210,106],"flags":{},"order":172,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":954},{"name":"image2","type":"IMAGE","link":956},{"name":"image3","type":"IMAGE","link":957},{"name":"image4","type":"IMAGE","link":958},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[955]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":20,"type":"InpaintCropImproved","pos":[-15070,-3430],"size":[522.4000244140625,1110],"flags":{},"order":352,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":961},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":33},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[225]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[854]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":21,"type":"LoadImage","pos":[-15520,-3320],"size":[315,314],"flags":{},"order":68,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[959,962,963,964]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[33]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":737,"type":"ImpactMakeImageBatch","pos":[-15410,-3470],"size":[210,106],"flags":{},"order":175,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":959},{"name":"image2","type":"IMAGE","link":962},{"name":"image3","type":"IMAGE","link":963},{"name":"image4","type":"IMAGE","link":964},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[961]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":41,"type":"LoadImage","pos":[-13940,-3290],"size":[315,314],"flags":{},"order":69,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[966,967,968,969]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[57,61]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":738,"type":"ImpactMakeImageBatch","pos":[-13780,-3550],"size":[210,126],"flags":{},"order":176,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":969},{"name":"image2","type":"IMAGE","link":968},{"name":"image3","type":"IMAGE","link":967},{"name":"image4","type":"IMAGE","link":966},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[970]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":57,"type":"LoadImage","pos":[-12360,-3280],"size":[315,314],"flags":{},"order":70,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[971,972,973,974]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[84]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":739,"type":"ImpactMakeImageBatch","pos":[-12270,-3480],"size":[210,106],"flags":{},"order":177,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":971},{"name":"image2","type":"IMAGE","link":972},{"name":"image3","type":"IMAGE","link":973},{"name":"image4","type":"IMAGE","link":974},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[975]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":58,"type":"LoadImage","pos":[-12390,-2220],"size":[315,314],"flags":{},"order":71,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[976,978,979,980]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[915,916,917,918]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":740,"type":"ImpactMakeImageBatch","pos":[-12260,-2420],"size":[210,106],"flags":{},"order":178,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":976},{"name":"image2","type":"IMAGE","link":978},{"name":"image3","type":"IMAGE","link":979},{"name":"image4","type":"IMAGE","link":980},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[977]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":79,"type":"LoadImage","pos":[-14160,-1120],"size":[315,314],"flags":{},"order":72,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[981,982,983,984]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[929,930,931,932]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":741,"type":"ImpactMakeImageBatch","pos":[-14050,-1300],"size":[210,106],"flags":{},"order":180,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":981},{"name":"image2","type":"IMAGE","link":982},{"name":"image3","type":"IMAGE","link":983},{"name":"image4","type":"IMAGE","link":984},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[985]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":31,"type":"LoadImage","pos":[-13970,-2230],"size":[315,314],"flags":{},"order":73,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[986,987,988,989]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[922,923,924,925]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-213955.39999999944.png [input]","image"]},{"id":742,"type":"ImpactMakeImageBatch","pos":[-13850,-2410],"size":[210,106],"flags":{},"order":182,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":986},{"name":"image2","type":"IMAGE","link":987},{"name":"image3","type":"IMAGE","link":988},{"name":"image4","type":"IMAGE","link":989},{"name":"image5","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[990]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":721,"type":"PreviewImage","pos":[-11330,-730],"size":[210,246],"flags":{},"order":702,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":893}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":743,"type":"InpaintCropImproved","pos":[-10378.255859375,-1075.4649658203125],"size":[522.4000244140625,1110],"flags":{},"order":361,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":991},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":992},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1005},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[995]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[994]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":744,"type":"MaskToImage","pos":[-9788.255859375,-735.4649658203125],"size":[184.6236328125,26],"flags":{},"order":580,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":994}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1000]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":745,"type":"PreviewImage","pos":[-9828.255859375,-1095.4649658203125],"size":[210,246],"flags":{},"order":579,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":995}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":748,"type":"PreviewImage","pos":[-9798.255859375,-665.4649658203125],"size":[210,246],"flags":{},"order":711,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1000}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":747,"type":"ImpactMakeMaskBatch","pos":[-10728.255859375,-495.4649353027344],"size":[210,106],"flags":{},"order":184,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":996},{"name":"mask2","type":"MASK","link":997},{"name":"mask3","type":"MASK","link":998},{"name":"mask4","type":"MASK","link":999},{"name":"mask5","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[992]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":746,"type":"LoadImage","pos":[-10828.255859375,-965.4649658203125],"size":[315,314],"flags":{},"order":74,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[991]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[996,997,998,999,1003,1005]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":483,"type":"InpaintStitchImproved","pos":[5080,940],"size":[352.79998779296875,78],"flags":{},"order":716,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":652},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":653},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[661]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":491,"type":"PreviewImage","pos":[4860,1450],"size":[210,246],"flags":{},"order":718,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":662}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":493,"type":"PreviewImage","pos":[4840,960],"size":[210,246],"flags":{},"order":590,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":664}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":750,"type":"ImageCompositeMasked","pos":[5120,1540],"size":[315,146],"flags":{},"order":717,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1006},{"localized_name":"source","name":"source","type":"IMAGE","link":1007},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1008},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1009]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":698,"type":"LoadImage","pos":[190,2350],"size":[315,314],"flags":{},"order":75,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[867]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[868]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-3225001.799999997.png [input]","image"]},{"id":751,"type":"InpaintStitchImproved","pos":[5100,1440],"size":[352.79998779296875,78],"flags":{},"order":768,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1010},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1009},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1011]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":752,"type":"PreviewImage","pos":[5910,850],"size":[210,246],"flags":{},"order":787,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1011}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":785,"type":"PreviewImage","pos":[5910,1210],"size":[210,246],"flags":{},"order":788,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1060}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":787,"type":"MaskToImage","pos":[4820,2330],"size":[264.5999755859375,26],"flags":{},"order":597,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1061}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1064]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":788,"type":"InpaintStitchImproved","pos":[5090,1890],"size":[352.79998779296875,78],"flags":{},"order":721,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1062},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1063},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1070]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":789,"type":"PreviewImage","pos":[4870,2400],"size":[210,246],"flags":{},"order":723,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1064}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":790,"type":"ImageInvert","pos":[4840,2230],"size":[210,26],"flags":{},"order":595,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1065}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1063,1068]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":791,"type":"PreviewImage","pos":[4850,1910],"size":[210,246],"flags":{},"order":596,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1066}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":792,"type":"ImageCompositeMasked","pos":[5130,2490],"size":[315,146],"flags":{},"order":722,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1067},{"localized_name":"source","name":"source","type":"IMAGE","link":1068},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1069},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1072]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":795,"type":"InpaintStitchImproved","pos":[5110,2390],"size":[352.79998779296875,78],"flags":{},"order":770,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1071},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1072},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1060]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":798,"type":"MaskToImage","pos":[4830,3250],"size":[264.5999755859375,26],"flags":{},"order":601,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1074}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1077]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":799,"type":"InpaintStitchImproved","pos":[5100,2810],"size":[352.79998779296875,78],"flags":{},"order":725,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1075},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1076},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1083]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":800,"type":"PreviewImage","pos":[4880,3320],"size":[210,246],"flags":{},"order":727,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1077}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":801,"type":"ImageInvert","pos":[4850,3150],"size":[210,26],"flags":{},"order":599,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1078}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1076,1081]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":802,"type":"PreviewImage","pos":[4860,2830],"size":[210,246],"flags":{},"order":600,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1079}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":803,"type":"ImageCompositeMasked","pos":[5140,3410],"size":[315,146],"flags":{},"order":726,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1080},{"localized_name":"source","name":"source","type":"IMAGE","link":1081},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1082},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1085]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":806,"type":"InpaintStitchImproved","pos":[5120,3310],"size":[352.79998779296875,78],"flags":{},"order":772,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1084},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1085},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1073]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":809,"type":"MaskToImage","pos":[4830,4180],"size":[264.5999755859375,26],"flags":{},"order":605,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1087}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1090]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":811,"type":"PreviewImage","pos":[4880,4250],"size":[210,246],"flags":{},"order":731,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1090}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":812,"type":"ImageInvert","pos":[4850,4080],"size":[210,26],"flags":{},"order":603,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1091}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1089,1094]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":813,"type":"PreviewImage","pos":[4860,3760],"size":[210,246],"flags":{},"order":604,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1092}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":814,"type":"ImageCompositeMasked","pos":[5140,4340],"size":[315,146],"flags":{},"order":730,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1093},{"localized_name":"source","name":"source","type":"IMAGE","link":1094},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1095},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1098]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":817,"type":"InpaintStitchImproved","pos":[5120,4240],"size":[352.79998779296875,78],"flags":{},"order":774,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1097},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1098},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1086]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":484,"type":"PreviewImage","pos":[3960,1340],"size":[210,246],"flags":{},"order":370,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":654}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":488,"type":"PreviewImage","pos":[3950,1020],"size":[210,246],"flags":{},"order":371,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":660}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":816,"type":"PreviewImage","pos":[5660,2120],"size":[210,246],"flags":{},"order":773,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1096}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":805,"type":"PreviewImage","pos":[5660,1650],"size":[210,246],"flags":{},"order":771,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1083}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":794,"type":"PreviewImage","pos":[5670,1210],"size":[210,246],"flags":{},"order":769,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1070}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":820,"type":"InpaintStitchImproved","pos":[5130,4660],"size":[352.79998779296875,78],"flags":{},"order":733,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1108},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1109},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1120]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":822,"type":"ImageInvert","pos":[4880,5000],"size":[210,26],"flags":{},"order":607,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1111}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1109,1114]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":823,"type":"PreviewImage","pos":[4890,4680],"size":[210,246],"flags":{},"order":608,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1112}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":824,"type":"ImageCompositeMasked","pos":[5170,5260],"size":[315,146],"flags":{},"order":734,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1113},{"localized_name":"source","name":"source","type":"IMAGE","link":1114},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1115},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1117]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":825,"type":"InpaintStitchImproved","pos":[5150,5160],"size":[352.79998779296875,78],"flags":{},"order":776,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1116},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1117},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1121]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":810,"type":"InpaintStitchImproved","pos":[5100,3740],"size":[352.79998779296875,78],"flags":{},"order":729,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1088},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1089},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1096]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":829,"type":"MaskToImage","pos":[4870,6070],"size":[264.5999755859375,26],"flags":{},"order":613,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1122}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1125]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":830,"type":"InpaintStitchImproved","pos":[5140,5630],"size":[352.79998779296875,78],"flags":{},"order":737,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1123},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1124},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1131]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":831,"type":"PreviewImage","pos":[4920,6140],"size":[210,246],"flags":{},"order":739,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1125}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":832,"type":"ImageInvert","pos":[4890,5970],"size":[210,26],"flags":{},"order":611,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1126}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1124,1129]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":833,"type":"PreviewImage","pos":[4900,5650],"size":[210,246],"flags":{},"order":612,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1127}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":834,"type":"ImageCompositeMasked","pos":[5180,6230],"size":[315,146],"flags":{},"order":738,"mode":0,"inputs":[{"localized_name":"destination","name":"destination","type":"IMAGE","link":1128},{"localized_name":"source","name":"source","type":"IMAGE","link":1129},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1130},{"localized_name":"x","name":"x","type":"INT","widget":{"name":"x"},"link":null},{"localized_name":"y","name":"y","type":"INT","widget":{"name":"y"},"link":null},{"localized_name":"resize_source","name":"resize_source","type":"BOOLEAN","widget":{"name":"resize_source"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1133]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageCompositeMasked","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[0,0,false]},{"id":837,"type":"InpaintStitchImproved","pos":[5160,6130],"size":[352.79998779296875,78],"flags":{},"order":778,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1132},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1133},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1134]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":485,"type":"InpaintCropImproved","pos":[3390,1040],"size":[522.4000244140625,1110],"flags":{},"order":187,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":655},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":656},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[654,657,660,1099,1101,1102,1118,1135]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[658,666,1100,1104,1105,1119,1137]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":835,"type":"InpaintCropImproved","pos":[4300,5700],"size":[522.4000244140625,1110],"flags":{},"order":378,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1135},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1137},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1123,1132]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1126,1127,1128]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1122,1130]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,64,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":490,"type":"Note","pos":[240,910],"size":[210,88],"flags":{},"order":76,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["stitch"],"color":"#432","bgcolor":"#653"},{"id":845,"type":"PreviewImage","pos":[1223.3046875,3689.203857421875],"size":[210,246],"flags":{},"order":366,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1138}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":846,"type":"InpaintCropImproved","pos":[653.3047485351562,3389.203857421875],"size":[522.4000244140625,1110],"flags":{},"order":186,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1153},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1154},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1138,1150,1152]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1142,1151]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":847,"type":"PreviewImage","pos":[1213.3046875,4079.203857421875],"size":[210,246],"flags":{},"order":585,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1141}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":848,"type":"MaskToImage","pos":[1223.3046875,4009.203857421875],"size":[184.6236328125,26],"flags":{},"order":368,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1142}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1141]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":849,"type":"ImageInvert","pos":[2133.3046875,3679.203857421875],"size":[210,26],"flags":{},"order":586,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1143}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1149]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":850,"type":"PreviewImage","pos":[2543.3046875,3759.203857421875],"size":[210,246],"flags":{},"order":766,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1144}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":851,"type":"PreviewImage","pos":[2223.3046875,4139.20361328125],"size":[210,246],"flags":{},"order":715,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1145}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":852,"type":"MaskToImage","pos":[2173.3046875,4069.203857421875],"size":[264.5999755859375,26],"flags":{},"order":588,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1146}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1145]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":853,"type":"PreviewImage","pos":[2213.3046875,3759.203857421875],"size":[210,246],"flags":{},"order":587,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1147}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":854,"type":"InpaintStitchImproved","pos":[2383.3046875,3339.203857421875],"size":[352.79998779296875,78],"flags":{},"order":714,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1148},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1149},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1144]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":855,"type":"InpaintCropImproved","pos":[1503.3046875,3359.203857421875],"size":[522.4000244140625,1110],"flags":{},"order":369,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1150},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1151},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1148]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1143,1147]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1146]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":856,"type":"PreviewImage","pos":[2533.3046875,3459.203857421875],"size":[210,246],"flags":{},"order":367,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1152}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":858,"type":"LoadImage","pos":[210,3510],"size":[315,314],"flags":{},"order":77,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1153]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1154]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5485412.599999994.png [input]","image"]},{"id":828,"type":"PreviewImage","pos":[5670,2580],"size":[210,246],"flags":{},"order":775,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1120}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":859,"type":"MaskToImage","pos":[6140,770],"size":[264.5999755859375,26],"flags":{},"order":592,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1156}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1155]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":860,"type":"PreviewImage","pos":[6150,840],"size":[210,246],"flags":{},"order":719,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1155}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":862,"type":"PreviewImage","pos":[6160,1260],"size":[210,246],"flags":{},"order":720,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1157}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":489,"type":"PreviewImage","pos":[5670,850],"size":[210,246],"flags":{},"order":767,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":661}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":796,"type":"PreviewImage","pos":[5900,1650],"size":[210,246],"flags":{},"order":789,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1073}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":807,"type":"PreviewImage","pos":[5900,2120],"size":[210,246],"flags":{},"order":790,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1086}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":827,"type":"PreviewImage","pos":[5910,2580],"size":[210,246],"flags":{},"order":791,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1121}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":838,"type":"PreviewImage","pos":[5920,3040],"size":[210,246],"flags":{},"order":792,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1134}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":486,"type":"InpaintCropImproved","pos":[4240,1010],"size":[522.4000244140625,1110],"flags":{},"order":372,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":657},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":658},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[652,1010]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[659,664,1006]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[663,1008]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1156,1158]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,0,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":863,"type":"PreviewImage","pos":[6169.62841796875,1649.466552734375],"size":[210,246],"flags":{},"order":724,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1159}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":793,"type":"InpaintCropImproved","pos":[4250,1960],"size":[522.4000244140625,1110],"flags":{},"order":374,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1099},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1100},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1062,1071]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1065,1066,1067]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1061,1069]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1160]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,1,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":865,"type":"PreviewImage","pos":[6169.9599609375,2092.87158203125],"size":[210,246],"flags":{},"order":728,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1161}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":804,"type":"InpaintCropImproved","pos":[4260,2880],"size":[522.4000244140625,1110],"flags":{},"order":375,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1101},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1104},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1075,1084]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1078,1079,1080]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1074,1082]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1162]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,8,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":867,"type":"PreviewImage","pos":[6180,2610],"size":[210,246],"flags":{},"order":732,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1163}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":869,"type":"PreviewImage","pos":[6180,3070],"size":[210,246],"flags":{},"order":736,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1164}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":815,"type":"InpaintCropImproved","pos":[4260,3810],"size":[522.4000244140625,1110],"flags":{},"order":376,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1102},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1105},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1088,1097]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1091,1092,1093]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1087,1095]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1165]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,16,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":492,"type":"MaskToImage","pos":[4810,1380],"size":[264.5999755859375,26],"flags":{},"order":591,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":663}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[662]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":487,"type":"ImageInvert","pos":[4830,1280],"size":[210,26],"flags":{},"order":589,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":659}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[653,1007]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":821,"type":"PreviewImage","pos":[4910,5170],"size":[210,246],"flags":{},"order":735,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1110}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":819,"type":"MaskToImage","pos":[4860,5100],"size":[264.5999755859375,26],"flags":{},"order":609,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1107}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1110]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":861,"type":"MaskToImage","pos":[6150,1190],"size":[264.5999755859375,26],"flags":{},"order":593,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1158}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1157]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":864,"type":"MaskToImage","pos":[6159.62841796875,1579.466552734375],"size":[264.5999755859375,26],"flags":{},"order":598,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1160}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1159]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":866,"type":"MaskToImage","pos":[6159.9599609375,2022.87158203125],"size":[264.5999755859375,26],"flags":{},"order":602,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1162}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1161]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":868,"type":"MaskToImage","pos":[6170,2540],"size":[264.5999755859375,26],"flags":{},"order":606,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1165}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1163]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":870,"type":"MaskToImage","pos":[6170,3000],"size":[264.5999755859375,26],"flags":{},"order":610,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1166}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1164]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":836,"type":"PreviewImage","pos":[5680,3040],"size":[210,246],"flags":{},"order":777,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1131}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":826,"type":"InpaintCropImproved","pos":[4290,4730],"size":[522.4000244140625,1110],"flags":{},"order":377,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1118},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1119},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1108,1116]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1111,1112,1113]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1107,1115]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1166]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,32,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":873,"type":"PreviewImage","pos":[6960,1780],"size":[210,246],"flags":{},"order":678,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1171}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":874,"type":"MaskToImage","pos":[6970,1710],"size":[184.6236328125,26],"flags":{},"order":430,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1172}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1171]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":877,"type":"ImpactMakeMaskBatch","pos":[6940,1540],"size":[210,106],"flags":{},"order":204,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":1188},{"name":"mask2","type":"MASK","link":1191},{"name":"mask3","type":"MASK","link":1192},{"name":"mask4","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[1169,1170,1172]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":879,"type":"ImpactMakeImageBatch","pos":[6910,950],"size":[210,106],"flags":{},"order":203,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":1184},{"name":"image2","type":"IMAGE","link":1189},{"name":"image3","type":"IMAGE","link":1190},{"name":"image4","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1168]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":481,"type":"LoadImage","pos":[2970,1160],"size":[315,314],"flags":{},"order":78,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[655]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[656]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-5485412.599999994.png [input]","image"]},{"id":872,"type":"InpaintCropImproved","pos":[7250,1020],"size":[522.4000244140625,1110],"flags":{},"order":429,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1168},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1169},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1170},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1199]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1198]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":887,"type":"ImageInvert","pos":[7860,1180],"size":[210,26],"flags":{},"order":677,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1198}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1194]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":881,"type":"InpaintStitchImproved","pos":[7830,1270],"size":[240,78],"flags":{},"order":760,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1199},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1194},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1200]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":882,"type":"PreviewImage","pos":[7860,1400],"size":[210,246],"flags":{},"order":786,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1200}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":888,"type":"PreviewImage","pos":[7950,2590],"size":[210,246],"flags":{},"order":783,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1202}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":889,"type":"PreviewImage","pos":[7050,2970],"size":[210,246],"flags":{},"order":663,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1203}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":890,"type":"MaskToImage","pos":[7060,2900],"size":[184.6236328125,26],"flags":{},"order":421,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1204}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1203]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":891,"type":"ImpactMakeMaskBatch","pos":[7030,2730],"size":[210,106],"flags":{},"order":200,"mode":0,"inputs":[{"localized_name":"mask1","name":"mask1","shape":7,"type":"MASK","link":1205},{"name":"mask2","type":"MASK","link":1206},{"name":"mask3","type":"MASK","link":1207},{"name":"mask4","type":"MASK","link":null}],"outputs":[{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":0,"links":[1204,1212,1213]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeMaskBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":892,"type":"ImpactMakeImageBatch","pos":[7000,2140],"size":[210,106],"flags":{},"order":199,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","shape":7,"type":"IMAGE","link":1208},{"name":"image2","type":"IMAGE","link":1209},{"name":"image3","type":"IMAGE","link":1210},{"name":"image4","type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1211]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"782c6f439eda79d88f22908bc83f57db77d44097","Node name for S&R":"ImpactMakeImageBatch","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":895,"type":"ImageInvert","pos":[7950,2370],"size":[210,26],"flags":{},"order":664,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1214}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1216]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":896,"type":"InpaintStitchImproved","pos":[7920,2460],"size":[240,78],"flags":{},"order":753,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1215},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1216},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1202]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":894,"type":"InpaintCropImproved","pos":[7340,2210],"size":[522.4000244140625,1110],"flags":{},"order":422,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1211},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1212},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1213},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1215]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1214]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2,true,512,512,"32","gpu (much faster)"]},{"id":899,"type":"ImageInvert","pos":[9570,1160],"size":[210,26],"flags":{},"order":379,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1221}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1219,1260]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":904,"type":"PreviewImage","pos":[9590,2340],"size":[210,246],"flags":{},"order":741,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1223}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":905,"type":"InpaintStitchImproved","pos":[9560,2210],"size":[240,78],"flags":{},"order":620,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1224},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1225},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1223]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":914,"type":"PreviewImage","pos":[9890,1230],"size":[210,246],"flags":{},"order":617,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1235}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":915,"type":"MaskToImage","pos":[9880,1160],"size":[264.5999755859375,26],"flags":{},"order":382,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1236}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1235]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":916,"type":"PreviewImage","pos":[10180,1230],"size":[210,246],"flags":{},"order":618,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1237}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":917,"type":"MaskToImage","pos":[10170,1160],"size":[264.5999755859375,26],"flags":{},"order":383,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1238}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1237]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":918,"type":"PreviewImage","pos":[9940,2220],"size":[210,246],"flags":{},"order":622,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1239}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":919,"type":"MaskToImage","pos":[9930,2150],"size":[264.5999755859375,26],"flags":{},"order":387,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1247}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1239]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":920,"type":"PreviewImage","pos":[10230,2220],"size":[210,246],"flags":{},"order":623,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1240}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":921,"type":"MaskToImage","pos":[10220,2150],"size":[264.5999755859375,26],"flags":{},"order":388,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1248}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1240]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":929,"type":"MaskToImage","pos":[10020,2530],"size":[264.5999755859375,26],"flags":{},"order":389,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1252}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1251]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":931,"type":"MaskToImage","pos":[10070,1560],"size":[264.5999755859375,26],"flags":{},"order":384,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1254}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1253]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":907,"type":"ImageInvert","pos":[9590,2120],"size":[210,26],"flags":{},"order":385,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1228}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1225,1256]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":928,"type":"PreviewImage","pos":[10030,2600],"size":[210,246],"flags":{},"order":624,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1251}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":936,"type":"PreviewImage","pos":[9510,1690],"size":[210,246],"flags":{},"order":380,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1259}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":937,"type":"PreviewImage","pos":[9780,1670],"size":[210,246],"flags":{},"order":615,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1260}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":939,"type":"InpaintStitchImproved","pos":[9590,4150],"size":[240,78],"flags":{},"order":625,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1262},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1263},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1261]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":941,"type":"PreviewImage","pos":[9950,4080],"size":[210,246],"flags":{},"order":627,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1264}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":942,"type":"PreviewImage","pos":[10240,4080],"size":[210,246],"flags":{},"order":628,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1265}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":943,"type":"MaskToImage","pos":[9940,4010],"size":[264.5999755859375,26],"flags":{},"order":392,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1266}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1264]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":944,"type":"MaskToImage","pos":[10230,4010],"size":[264.5999755859375,26],"flags":{},"order":393,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1267}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1265]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":945,"type":"PreviewImage","pos":[10050,4460],"size":[210,246],"flags":{},"order":629,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1268}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":947,"type":"MaskToImage","pos":[10040,4390],"size":[264.5999755859375,26],"flags":{},"order":394,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1270}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1268]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":950,"type":"InpaintCropImproved","pos":[9000,4040],"size":[522.4000244140625,1110],"flags":{},"order":191,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1288},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1289},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1262]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1269,1271]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","links":[1266]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":[1267]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1270]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,0,0.10000000000000002,false,1,1,1,1,1.2,true,512,512,"32","gpu (much faster)"]},{"id":948,"type":"PreviewImage","pos":[9570,4610],"size":[210,246],"flags":{},"order":391,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1271}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":897,"type":"InpaintCropImproved","pos":[8950,1140],"size":[522.4000244140625,1110],"flags":{},"order":189,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1282},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1283},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1222,1459]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1221,1259,1460]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1236]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[1238]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[1254]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,false,1,1,1,1,1.2,true,512,512,"32","gpu (much faster)"]},{"id":901,"type":"PreviewImage","pos":[9570,1380],"size":[210,246],"flags":{},"order":740,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1220}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":965,"type":"InpaintStitchImproved","pos":[9570,3150],"size":[240,78],"flags":{},"order":630,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1292},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1293},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1302]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":966,"type":"PreviewImage","pos":[9930,3080],"size":[210,246],"flags":{},"order":632,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1294}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":967,"type":"PreviewImage","pos":[10220,3080],"size":[210,246],"flags":{},"order":633,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1295}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":968,"type":"MaskToImage","pos":[9920,3010],"size":[264.5999755859375,26],"flags":{},"order":397,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1296}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1294]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":969,"type":"MaskToImage","pos":[10210,3010],"size":[264.5999755859375,26],"flags":{},"order":398,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1297}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1295]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":970,"type":"PreviewImage","pos":[10030,3460],"size":[210,246],"flags":{},"order":634,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1298}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":971,"type":"ImageInvert","pos":[9600,3060],"size":[210,26],"flags":{},"order":395,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1299}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1293,1301]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":972,"type":"MaskToImage","pos":[10020,3390],"size":[264.5999755859375,26],"flags":{},"order":399,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1300}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1298]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":973,"type":"PreviewImage","pos":[9780,3610],"size":[210,246],"flags":{},"order":631,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1301}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":975,"type":"PreviewImage","pos":[9600,3280],"size":[210,246],"flags":{},"order":743,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1302}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":976,"type":"PreviewImage","pos":[9550,3610],"size":[210,246],"flags":{},"order":396,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1303}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":977,"type":"PreviewImage","pos":[8590,1650],"size":[210,246],"flags":{},"order":188,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1306}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":980,"type":"PreviewImage","pos":[12550,1190],"size":[210,246],"flags":{},"order":637,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1310}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":981,"type":"MaskToImage","pos":[12540,1120],"size":[264.5999755859375,26],"flags":{},"order":402,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1311}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1310]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":982,"type":"PreviewImage","pos":[12840,1190],"size":[210,246],"flags":{},"order":638,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1312}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":983,"type":"MaskToImage","pos":[12830,1120],"size":[264.5999755859375,26],"flags":{},"order":403,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1313}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1312]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":984,"type":"MaskToImage","pos":[12730,1520],"size":[264.5999755859375,26],"flags":{},"order":404,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1314}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1317]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":985,"type":"PreviewImage","pos":[12170,1650],"size":[210,246],"flags":{},"order":401,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1315}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":986,"type":"PreviewImage","pos":[12450,1630],"size":[210,246],"flags":{},"order":636,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1316}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":987,"type":"PreviewImage","pos":[12740,1590],"size":[210,246],"flags":{},"order":639,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1317}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":990,"type":"PreviewImage","pos":[11250,1610],"size":[210,246],"flags":{},"order":193,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1321}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":988,"type":"InpaintCropImproved","pos":[11610,1100],"size":[522.4000244140625,1110],"flags":{},"order":194,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1318},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1319},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1307]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1309,1315]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1311]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[1313]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[1314]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,false,1,1,1,1,1.2,true,1024,1024,"32","gpu (much faster)"]},{"id":979,"type":"ImageInvert","pos":[12230,1120],"size":[210,26],"flags":{},"order":400,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1309}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1308,1316]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":978,"type":"InpaintStitchImproved","pos":[12200,1210],"size":[240,78],"flags":{},"order":635,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1307},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1308},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1320]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":989,"type":"PreviewImage","pos":[12230,1340],"size":[210,246],"flags":{},"order":744,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1320}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":844,"type":"Note","pos":[3025.133056640625,915.4596557617188],"size":[210,88],"flags":{},"order":79,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["blend"],"color":"#432","bgcolor":"#653"},{"id":992,"type":"Note","pos":[6810,800],"size":[210,88],"flags":{},"order":80,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["batches"],"color":"#432","bgcolor":"#653"},{"id":993,"type":"Note","pos":[8310.1806640625,855.4518432617188],"size":[210,88],"flags":{},"order":81,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["default config"],"color":"#432","bgcolor":"#653"},{"id":964,"type":"LoadImage","pos":[8270,1170],"size":[370,314],"flags":{},"order":82,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1282,1284,1288,1304,1306]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1283,1285,1289,1305]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":991,"type":"LoadImage","pos":[10930,1130],"size":[370,314],"flags":{},"order":83,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1318,1321]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1319]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-84438.39999999106.png [input]","image"]},{"id":995,"type":"PreviewImage","pos":[1190,6050],"size":[210,246],"flags":{},"order":405,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1322}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":997,"type":"PreviewImage","pos":[1180,6440],"size":[210,246],"flags":{},"order":640,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1325}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":998,"type":"MaskToImage","pos":[1190,6370],"size":[184.6236328125,26],"flags":{},"order":407,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1326}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1325]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":999,"type":"ImageInvert","pos":[2100,6040],"size":[210,26],"flags":{},"order":641,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1327}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1333]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1000,"type":"PreviewImage","pos":[2510,6120],"size":[210,246],"flags":{},"order":779,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1328}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1001,"type":"PreviewImage","pos":[2190,6500],"size":[210,246],"flags":{},"order":746,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1329}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1002,"type":"MaskToImage","pos":[2140,6430],"size":[264.5999755859375,26],"flags":{},"order":643,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1330}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1329]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1003,"type":"PreviewImage","pos":[2180,6120],"size":[210,246],"flags":{},"order":642,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1331}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1004,"type":"InpaintStitchImproved","pos":[2350,5700],"size":[352.79998779296875,78],"flags":{},"order":745,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1332},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1333},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1328]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1006,"type":"PreviewImage","pos":[2500,5820],"size":[210,246],"flags":{},"order":406,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1336}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1007,"type":"LoadImage","pos":[200,5870],"size":[315,314],"flags":{},"order":84,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1323]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1324]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-69973.90000000596.png [input]","image"]},{"id":996,"type":"InpaintCropImproved","pos":[620,5750],"size":[522.4000244140625,1110],"flags":{},"order":195,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1323},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1324},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1322,1334,1336]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1326,1335]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.9000000000000001,0.9000000000000001,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1008,"type":"PreviewImage","pos":[2110,5460],"size":[210,246],"flags":{},"order":644,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1347}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1005,"type":"InpaintCropImproved","pos":[1470,5720],"size":[522.4000244140625,1110],"flags":{},"order":408,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1334},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1335},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1332]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1327,1331]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1330]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1347]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1009,"type":"PreviewImage","pos":[1290,7540],"size":[210,246],"flags":{},"order":409,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1348}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1010,"type":"PreviewImage","pos":[1280,7930],"size":[210,246],"flags":{},"order":645,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1349}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1011,"type":"MaskToImage","pos":[1290,7860],"size":[184.6236328125,26],"flags":{},"order":411,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1350}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1349]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1012,"type":"ImageInvert","pos":[2200,7530],"size":[210,26],"flags":{},"order":646,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1351}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1357]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1013,"type":"PreviewImage","pos":[2610,7610],"size":[210,246],"flags":{},"order":780,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1352}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1014,"type":"PreviewImage","pos":[2290,7990],"size":[210,246],"flags":{},"order":748,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1353}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1015,"type":"MaskToImage","pos":[2240,7920],"size":[264.5999755859375,26],"flags":{},"order":648,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1354}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1353]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1016,"type":"PreviewImage","pos":[2280,7610],"size":[210,246],"flags":{},"order":647,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1355}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1017,"type":"InpaintStitchImproved","pos":[2450,7190],"size":[352.79998779296875,78],"flags":{},"order":747,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1356},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1357},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1352]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1018,"type":"PreviewImage","pos":[2600,7310],"size":[210,246],"flags":{},"order":410,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1358}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1020,"type":"InpaintCropImproved","pos":[720,7240],"size":[522.4000244140625,1110],"flags":{},"order":196,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1359},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1360},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1348,1358,1362]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1350,1363]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.9000000000000001,0.9000000000000001,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1021,"type":"PreviewImage","pos":[2210,6950],"size":[210,246],"flags":{},"order":649,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1361}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1022,"type":"InpaintCropImproved","pos":[1570,7210],"size":[522.4000244140625,1110],"flags":{},"order":412,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1362},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1363},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1356]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1351,1355]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1354]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1361]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1019,"type":"LoadImage","pos":[300,7360],"size":[315,314],"flags":{},"order":85,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1359]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1360]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-562340.6999999881.png [input]","image"]},{"id":1024,"type":"PreviewImage","pos":[1300,9090],"size":[210,246],"flags":{},"order":413,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1364}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1025,"type":"PreviewImage","pos":[1290,9480],"size":[210,246],"flags":{},"order":650,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1365}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1026,"type":"MaskToImage","pos":[1300,9410],"size":[184.6236328125,26],"flags":{},"order":415,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1366}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1365]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1027,"type":"ImageInvert","pos":[2210,9080],"size":[210,26],"flags":{},"order":651,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1367}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1373]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1028,"type":"PreviewImage","pos":[2620,9160],"size":[210,246],"flags":{},"order":781,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1368}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1029,"type":"PreviewImage","pos":[2300,9540],"size":[210,246],"flags":{},"order":750,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1369}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1030,"type":"MaskToImage","pos":[2250,9470],"size":[264.5999755859375,26],"flags":{},"order":653,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1370}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1369]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1031,"type":"PreviewImage","pos":[2290,9160],"size":[210,246],"flags":{},"order":652,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1371}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1032,"type":"InpaintStitchImproved","pos":[2460,8740],"size":[352.79998779296875,78],"flags":{},"order":749,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1372},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1373},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1368]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1033,"type":"PreviewImage","pos":[2610,8860],"size":[210,246],"flags":{},"order":414,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1374}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1035,"type":"PreviewImage","pos":[2220,8500],"size":[210,246],"flags":{},"order":657,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1377}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1023,"type":"LoadImage","pos":[310,8910],"size":[315,314],"flags":{},"order":86,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1375]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1376]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-576288.900000006.png [input]","image"]},{"id":1038,"type":"PreviewImage","pos":[1330,10530],"size":[210,246],"flags":{},"order":417,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1380}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1039,"type":"PreviewImage","pos":[1320,10920],"size":[210,246],"flags":{},"order":658,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1381}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1040,"type":"MaskToImage","pos":[1330,10850],"size":[184.6236328125,26],"flags":{},"order":419,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1382}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1381]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1041,"type":"ImageInvert","pos":[2240,10520],"size":[210,26],"flags":{},"order":659,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1383}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1389]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1042,"type":"PreviewImage","pos":[2650,10600],"size":[210,246],"flags":{},"order":782,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1384}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1043,"type":"PreviewImage","pos":[2330,10980],"size":[210,246],"flags":{},"order":752,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1385}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1044,"type":"MaskToImage","pos":[2280,10910],"size":[264.5999755859375,26],"flags":{},"order":661,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1386}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1385]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1045,"type":"PreviewImage","pos":[2320,10600],"size":[210,246],"flags":{},"order":660,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1387}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1046,"type":"InpaintStitchImproved","pos":[2490,10180],"size":[352.79998779296875,78],"flags":{},"order":751,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1388},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1389},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1384]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1047,"type":"PreviewImage","pos":[2640,10300],"size":[210,246],"flags":{},"order":418,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1390}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1049,"type":"PreviewImage","pos":[2250,9940],"size":[210,246],"flags":{},"order":662,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1393}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1050,"type":"InpaintCropImproved","pos":[1610,10200],"size":[522.4000244140625,1110],"flags":{},"order":420,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1394},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1395},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1388]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1383,1387]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1386]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1393]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1037,"type":"LoadImage","pos":[340,10350],"size":[315,314],"flags":{},"order":87,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1391]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1392]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-588013.599999994.png [input]","image"]},{"id":1048,"type":"InpaintCropImproved","pos":[760,10230],"size":[522.4000244140625,1110],"flags":{},"order":198,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1391},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1392},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1380,1390,1394]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1382,1395]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.9000000000000001,0.9000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1034,"type":"InpaintCropImproved","pos":[730,8790],"size":[522.4000244140625,1110],"flags":{},"order":197,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1375},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1376},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1364,1374,1378]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1366,1379]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,0.9000000000000001,0.9000000000000001,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1052,"type":"PreviewImage","pos":[1880,8410],"size":[210,246],"flags":{},"order":656,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1397}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1051,"type":"PreviewImage","pos":[1590,8410],"size":[210,246],"flags":{},"order":655,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1396}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1036,"type":"InpaintCropImproved","pos":[1580,8760],"size":[522.4000244140625,1110],"flags":{},"order":416,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1378},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1379},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[1372]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1367,1371]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1370]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":[]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[1398]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","slot_index":20,"links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","slot_index":21,"links":[]},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1396]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","slot_index":23,"links":[1397]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","slot_index":24,"links":[1377]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,0,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.5000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1053,"type":"PreviewImage","pos":[1320,8400],"size":[210,246],"flags":{},"order":654,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1398}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":933,"type":"PreviewImage","pos":[9750,2660],"size":[210,246],"flags":{},"order":621,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1256}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":934,"type":"PreviewImage","pos":[9520,2660],"size":[210,246],"flags":{},"order":386,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1257}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":906,"type":"InpaintCropImproved","pos":[8970,2100],"size":[522.4000244140625,1110],"flags":{},"order":190,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1284},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1285},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1224]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","links":[1228,1257]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[1247]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[1248]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","slot_index":7,"links":[]},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1252]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,16,0.1,false,1,1,1,1,1.2,true,512,512,"32","gpu (much faster)"]},{"id":949,"type":"PreviewImage","pos":[9800,4610],"size":[210,246],"flags":{},"order":626,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1272}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":938,"type":"PreviewImage","pos":[9620,4270],"size":[210,246],"flags":{},"order":742,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1261}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":974,"type":"InpaintCropImproved","pos":[8980,3040],"size":[522.4000244140625,1110],"flags":{},"order":192,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1304},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1305},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1292]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1299,1303]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":null},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","links":[1296]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":[1297]},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","slot_index":25,"links":[1300]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,8,0.10000000000000002,false,1,1,1,1,1.2,true,512,512,"32","gpu (much faster)"]},{"id":1067,"type":"Note","pos":[11032.34375,2191.9013671875],"size":[210,88],"flags":{},"order":88,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["extend with aspect ratio"],"color":"#432","bgcolor":"#653"},{"id":1069,"type":"PreviewImage","pos":[12020,2760],"size":[210,246],"flags":{},"order":423,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1414}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1071,"type":"PreviewImage","pos":[12010,3150],"size":[210,246],"flags":{},"order":665,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1417}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1072,"type":"MaskToImage","pos":[12020,3080],"size":[184.6236328125,26],"flags":{},"order":424,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1418}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1417]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1077,"type":"MaskToImage","pos":[12990,2870],"size":[184.6236328125,26],"flags":{},"order":669,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1423}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1421]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1070,"type":"InpaintCropImproved","pos":[11450,2460],"size":[522.4000244140625,1110],"flags":{},"order":201,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1452},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1453},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1414,1419]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1418,1429]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.0000000000000002,0.5000000000000001,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1075,"type":"PreviewImage","pos":[12990,2550],"size":[210,246],"flags":{},"order":666,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1422}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1080,"type":"PreviewImage","pos":[13025.9404296875,2251.31494140625],"size":[210,246],"flags":{},"order":670,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1431}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":230,"type":"PreviewImage","pos":[1180,-2720],"size":[210,246],"flags":{},"order":256,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":364}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":226,"type":"InpaintCropImproved","pos":[620,-4480],"size":[522.4000244140625,1110],"flags":{},"order":139,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":356},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":357},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","slot_index":5,"links":[]},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","slot_index":9,"links":[]},{"name":"DEBUG_extend_image","type":"IMAGE","links":[361]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[756]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,0.10000000000000002,false,0,false,0,true,3.0000000000000004,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.2,false,512,512,"32","gpu (much faster)"]},{"id":1081,"type":"PreviewImage","pos":[12013.361328125,4135.1748046875],"size":[210,246],"flags":{},"order":426,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1432}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1082,"type":"PreviewImage","pos":[12003.361328125,4525.1748046875],"size":[210,246],"flags":{},"order":671,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1433}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1083,"type":"MaskToImage","pos":[12013.361328125,4455.1748046875],"size":[184.6236328125,26],"flags":{},"order":427,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1434}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1433]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1084,"type":"PreviewImage","pos":[12973.361328125,4315.1748046875],"size":[210,246],"flags":{},"order":759,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1435}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1085,"type":"MaskToImage","pos":[12983.361328125,4245.1748046875],"size":[184.6236328125,26],"flags":{},"order":675,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1436}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1435]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1090,"type":"PreviewImage","pos":[12983.361328125,3925.1748046875],"size":[210,246],"flags":{},"order":672,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1442}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1091,"type":"PreviewImage","pos":[13023.361328125,3625.1748046875],"size":[210,246],"flags":{},"order":676,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1443}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1089,"type":"InpaintCropImproved","pos":[11443.361328125,3835.1748046875],"size":[522.4000244140625,1110],"flags":{},"order":202,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1454},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1455},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[1432,1444]},{"name":"DEBUG_extend_mask","type":"MASK","slot_index":11,"links":[1434,1445]},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[]},{"name":"DEBUG_context_to_target","type":"MASK","slot_index":18,"links":[]},{"name":"DEBUG_context_to_target_location","type":"IMAGE","slot_index":19,"links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,0.20000000000000004,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"0","gpu (much faster)"]},{"id":1076,"type":"PreviewImage","pos":[12970,2950],"size":[210,246],"flags":{},"order":756,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1421}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":946,"type":"ImageInvert","pos":[9620,4060],"size":[210,26],"flags":{},"order":390,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1269}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1263,1272]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1093,"type":"ImageInvert","pos":[13260,3910],"size":[210,26],"flags":{},"order":673,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1448}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1449]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":893,"type":"LoadImage","pos":[6880,2340],"size":[370,314],"flags":{},"order":89,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1208,1209,1210]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1205,1206,1207]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1095,"type":"LoadImage","pos":[10970,2650],"size":[370,314],"flags":{},"order":90,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1452]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1453]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1096,"type":"LoadImage","pos":[10980,3770],"size":[370,314],"flags":{},"order":91,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1454]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1455]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-105444.59999999404.png [input]","image"]},{"id":1086,"type":"InpaintStitchImproved","pos":[13333.361328125,4005.1748046875],"size":[352.79998779296875,78],"flags":{},"order":757,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1437},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1449},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1439]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1087,"type":"PreviewImage","pos":[13773.361328125,3955.1748046875],"size":[210,246],"flags":{},"order":785,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1439}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1098,"type":"PreviewImage","pos":[13763.341796875,4271.88623046875],"size":[210,246],"flags":{},"order":758,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1457}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1097,"type":"InpaintStitchImproved","pos":[13343.0615234375,4146.96875],"size":[352.79998779296875,78],"flags":{},"order":674,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1458},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1456},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1457]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":900,"type":"InpaintStitchImproved","pos":[9540,1250],"size":[240,78],"flags":{},"order":614,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1222},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1219},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1220]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":930,"type":"PreviewImage","pos":[10080,1630],"size":[210,246],"flags":{},"order":619,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1253}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1100,"type":"PreviewImage","pos":[10433.5751953125,1538.987060546875],"size":[210,246],"flags":{},"order":616,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1461}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1099,"type":"InpaintStitchImproved","pos":[9831.8974609375,1475.47705078125],"size":[240,78],"flags":{},"order":381,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1459},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1460},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1461]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1092,"type":"InpaintCropImproved","pos":[12353.361328125,3825.1748046875],"size":[522.4000244140625,1110],"flags":{},"order":428,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1444},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1445},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1437,1458]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1442,1447,1448,1456]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":[1436]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1443]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1094,"type":"ImageInvert","pos":[13350,2500],"size":[210,26],"flags":{},"order":667,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1450}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1451]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1078,"type":"InpaintStitchImproved","pos":[13340,2630],"size":[352.79998779296875,78],"flags":{},"order":754,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1424},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1451},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1426]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1079,"type":"PreviewImage","pos":[13780,2580],"size":[210,246],"flags":{},"order":784,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1426}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1102,"type":"PreviewImage","pos":[13782.3271484375,2882.192138671875],"size":[210,246],"flags":{},"order":755,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1464}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1101,"type":"InpaintStitchImproved","pos":[13377.4228515625,2737.561767578125],"size":[352.79998779296875,78],"flags":{},"order":668,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1462},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1463},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":[1464]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1074,"type":"InpaintCropImproved","pos":[12360,2450],"size":[522.4000244140625,1110],"flags":{},"order":425,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1419},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1429},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":null},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1424,1462]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1422,1446,1450,1463]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","links":[1423]},{"name":"DEBUG_preresize_image","type":"IMAGE","links":null},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","slot_index":6,"links":[]},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","slot_index":10,"links":[]},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","slot_index":22,"links":[1431]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":[]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,true,0,false,32,0.1,true,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":880,"type":"LoadImage","pos":[6790,1150],"size":[315,314],"flags":{},"order":92,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1183,1184,1185,1189,1190]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1186,1187,1188,1191,1192]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1103,"type":"PreviewImage","pos":[14932.81640625,2045.9593505859375],"size":[210,246],"flags":{},"order":431,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1465}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1104,"type":"MaskToImage","pos":[14942.81640625,1975.9593505859375],"size":[184.6236328125,26],"flags":{},"order":205,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1477}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1465]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1107,"type":"ImageInvert","pos":[15832.81640625,1445.9593505859375],"size":[210,26],"flags":{},"order":432,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1472}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1474]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":994,"type":"Note","pos":[10950.45703125,882.1204223632812],"size":[210,88],"flags":{},"order":93,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["tiny mask"],"color":"#432","bgcolor":"#653"},{"id":1111,"type":"Note","pos":[14721.8935546875,1015.5156860351562],"size":[210,88],"flags":{},"order":94,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Check extend centered"],"color":"#432","bgcolor":"#653"},{"id":1110,"type":"LoadImage","pos":[14762.81640625,1415.9593505859375],"size":[315,314],"flags":{},"order":95,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1476]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1468,1477,1478,1479]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1114,"type":"MaskToImage","pos":[16066.2939453125,1064.7933349609375],"size":[184.6236328125,26],"flags":{},"order":434,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1482}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1481]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1115,"type":"PreviewImage","pos":[15800.8828125,785.7247924804688],"size":[210,246],"flags":{},"order":435,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1483}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1117,"type":"MaskToImage","pos":[16028.947265625,713.314453125],"size":[184.6236328125,26],"flags":{},"order":436,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1485}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1484]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1116,"type":"PreviewImage","pos":[16018.947265625,783.314453125],"size":[210,246],"flags":{},"order":681,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1484}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1112,"type":"PreviewImage","pos":[15811.9580078125,1136.6173095703125],"size":[210,246],"flags":{},"order":433,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1480}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1113,"type":"PreviewImage","pos":[16056.2939453125,1134.7933349609375],"size":[210,246],"flags":{},"order":680,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1481}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":35,"type":"PreviewImage","pos":[-12970,-5110],"size":[210,246],"flags":{},"order":212,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":222}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":37,"type":"InpaintCropImproved","pos":[-13520,-5090],"size":[522.4000244140625,1110],"flags":{},"order":100,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":53},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":54},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":60},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":null},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[222]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[848]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.2000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":320,"type":"LoadImage","pos":[-12580,4420],"size":[315,314],"flags":{},"order":96,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[474]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[475]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["clipspace/clipspace-mask-991989.900000006.png [input]","image"]},{"id":322,"type":"InpaintCropImproved","pos":[-12160,4300],"size":[522.4000244140625,1110],"flags":{},"order":207,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":474},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":475},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":476},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","slot_index":0,"links":[]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":null},{"name":"DEBUG_extend_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask","type":"MASK","slot_index":12,"links":[]},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","slot_index":13,"links":[]},{"name":"DEBUG_context_expand","type":"MASK","slot_index":14,"links":[]},{"name":"DEBUG_context_expand_location","type":"IMAGE","slot_index":15,"links":[]},{"name":"DEBUG_context_with_context_mask","type":"MASK","slot_index":16,"links":[722]},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","slot_index":17,"links":[472]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":null},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":null},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":null},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,false,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,false,512,512,"32","gpu (much faster)"]},{"id":1109,"type":"PreviewImage","pos":[15863.232421875,1728.523193359375],"size":[210,246],"flags":{},"order":761,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1475}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1108,"type":"InpaintStitchImproved","pos":[15867.4287109375,1571.1998291015625],"size":[240,78],"flags":{},"order":679,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1473},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1474},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1475]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1121,"type":"PreviewImage","pos":[16215.853515625,1686.820556640625],"size":[210,246],"flags":{},"order":437,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1491}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1122,"type":"PreviewImage","pos":[14950.05078125,3809.6123046875],"size":[210,246],"flags":{},"order":441,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1496}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1123,"type":"MaskToImage","pos":[14960.05078125,3739.6123046875],"size":[184.6236328125,26],"flags":{},"order":208,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1497}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1496]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1124,"type":"ImageInvert","pos":[15850.05078125,3209.6123046875],"size":[210,26],"flags":{},"order":442,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1498}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1507]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1126,"type":"LoadImage","pos":[14780.05078125,3179.6123046875],"size":[315,314],"flags":{},"order":97,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1510]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1497,1511,1512]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1127,"type":"MaskToImage","pos":[16083.5283203125,2828.4462890625],"size":[184.6236328125,26],"flags":{},"order":444,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1499}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1504]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1128,"type":"PreviewImage","pos":[15818.1171875,2549.377685546875],"size":[210,246],"flags":{},"order":445,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1500}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1129,"type":"MaskToImage","pos":[16046.181640625,2476.967529296875],"size":[184.6236328125,26],"flags":{},"order":446,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1501}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1502]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1130,"type":"PreviewImage","pos":[16036.181640625,2546.967529296875],"size":[210,246],"flags":{},"order":685,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1502}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1131,"type":"PreviewImage","pos":[15829.1923828125,2900.270263671875],"size":[210,246],"flags":{},"order":443,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1503}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1132,"type":"PreviewImage","pos":[16073.5283203125,2898.4462890625],"size":[210,246],"flags":{},"order":684,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1504}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1133,"type":"PreviewImage","pos":[15880.466796875,3492.17626953125],"size":[210,246],"flags":{},"order":762,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1505}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1134,"type":"InpaintStitchImproved","pos":[15884.6630859375,3334.852783203125],"size":[240,78],"flags":{},"order":683,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1506},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1507},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1505]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1135,"type":"PreviewImage","pos":[16328.642578125,3082.38623046875],"size":[210,246],"flags":{},"order":448,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1508}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1136,"type":"PreviewImage","pos":[16233.087890625,3450.4736328125],"size":[210,246],"flags":{},"order":447,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1509}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1118,"type":"PreviewImage","pos":[16311.408203125,1318.7332763671875],"size":[210,246],"flags":{},"order":438,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1495}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1137,"type":"InpaintCropImproved","pos":[15240.05078125,3049.6123046875],"size":[522.4000244140625,1110],"flags":{},"order":209,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1510},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1511},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1512},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1506]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1498,1503]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1499]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1500]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1501]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1509]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1508]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1106,"type":"InpaintCropImproved","pos":[15222.81640625,1285.9593505859375],"size":[522.4000244140625,1110],"flags":{},"order":206,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1476},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1478},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1479},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1473]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1472,1480]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1482]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1483]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1485]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1491]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1495]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1138,"type":"PreviewImage","pos":[16717.052734375,2483.63330078125],"size":[210,246],"flags":{},"order":449,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1513}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1139,"type":"MaskToImage","pos":[16727.052734375,2413.63330078125],"size":[184.6236328125,26],"flags":{},"order":210,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1514}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1513]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1140,"type":"ImageInvert","pos":[17617.052734375,1883.63330078125],"size":[210,26],"flags":{},"order":450,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1515}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1524]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"ImageInvert","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1141,"type":"Note","pos":[16506.12890625,1453.189697265625],"size":[210,88],"flags":{},"order":98,"mode":0,"inputs":[],"outputs":[],"properties":{"ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["Check extend centered"],"color":"#432","bgcolor":"#653"},{"id":1142,"type":"LoadImage","pos":[16547.052734375,1853.63330078125],"size":[315,314],"flags":{},"order":99,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1527]},{"localized_name":"MASK","name":"MASK","type":"MASK","slot_index":1,"links":[1514,1528,1529]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"LoadImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["example.png","image"]},{"id":1143,"type":"MaskToImage","pos":[17850.529296875,1502.46728515625],"size":[184.6236328125,26],"flags":{},"order":452,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1516}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1521]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1144,"type":"PreviewImage","pos":[17585.119140625,1223.3988037109375],"size":[210,246],"flags":{},"order":453,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1517}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1145,"type":"MaskToImage","pos":[17813.18359375,1150.9884033203125],"size":[184.6236328125,26],"flags":{},"order":454,"mode":0,"inputs":[{"localized_name":"mask","name":"mask","type":"MASK","link":1518}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1519]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"MaskToImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1146,"type":"PreviewImage","pos":[17803.18359375,1220.9884033203125],"size":[210,246],"flags":{},"order":688,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1519}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1148,"type":"PreviewImage","pos":[17840.529296875,1572.46728515625],"size":[210,246],"flags":{},"order":687,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1521}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1149,"type":"PreviewImage","pos":[17647.46875,2166.197265625],"size":[210,246],"flags":{},"order":763,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1522}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1150,"type":"InpaintStitchImproved","pos":[17651.6640625,2008.873779296875],"size":[240,78],"flags":{},"order":686,"mode":0,"inputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","link":1523},{"localized_name":"inpainted_image","name":"inpainted_image","type":"IMAGE","link":1524},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","slot_index":0,"links":[1522]}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintStitchImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["gpu (much faster)"]},{"id":1151,"type":"PreviewImage","pos":[18095.64453125,1756.4072265625],"size":[210,246],"flags":{},"order":456,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1525}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1152,"type":"PreviewImage","pos":[18000.08984375,2124.49462890625],"size":[210,246],"flags":{},"order":455,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1526}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":1153,"type":"InpaintCropImproved","pos":[17007.052734375,1723.63330078125],"size":[522.4000244140625,1110],"flags":{},"order":211,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":1527},{"localized_name":"mask","name":"mask","shape":7,"type":"MASK","link":1528},{"localized_name":"optional_context_mask","name":"optional_context_mask","shape":7,"type":"MASK","link":1529},{"localized_name":"downscale_algorithm","name":"downscale_algorithm","type":"COMBO","widget":{"name":"downscale_algorithm"},"link":null},{"localized_name":"upscale_algorithm","name":"upscale_algorithm","type":"COMBO","widget":{"name":"upscale_algorithm"},"link":null},{"localized_name":"preresize","name":"preresize","type":"BOOLEAN","widget":{"name":"preresize"},"link":null},{"localized_name":"preresize_mode","name":"preresize_mode","type":"COMBO","widget":{"name":"preresize_mode"},"link":null},{"localized_name":"preresize_min_width","name":"preresize_min_width","type":"INT","widget":{"name":"preresize_min_width"},"link":null},{"localized_name":"preresize_min_height","name":"preresize_min_height","type":"INT","widget":{"name":"preresize_min_height"},"link":null},{"localized_name":"preresize_max_width","name":"preresize_max_width","type":"INT","widget":{"name":"preresize_max_width"},"link":null},{"localized_name":"preresize_max_height","name":"preresize_max_height","type":"INT","widget":{"name":"preresize_max_height"},"link":null},{"localized_name":"mask_fill_holes","name":"mask_fill_holes","type":"BOOLEAN","widget":{"name":"mask_fill_holes"},"link":null},{"localized_name":"mask_expand_pixels","name":"mask_expand_pixels","type":"INT","widget":{"name":"mask_expand_pixels"},"link":null},{"localized_name":"mask_invert","name":"mask_invert","type":"BOOLEAN","widget":{"name":"mask_invert"},"link":null},{"localized_name":"mask_blend_pixels","name":"mask_blend_pixels","type":"INT","widget":{"name":"mask_blend_pixels"},"link":null},{"localized_name":"mask_hipass_filter","name":"mask_hipass_filter","type":"FLOAT","widget":{"name":"mask_hipass_filter"},"link":null},{"localized_name":"extend_for_outpainting","name":"extend_for_outpainting","type":"BOOLEAN","widget":{"name":"extend_for_outpainting"},"link":null},{"localized_name":"extend_up_factor","name":"extend_up_factor","type":"FLOAT","widget":{"name":"extend_up_factor"},"link":null},{"localized_name":"extend_down_factor","name":"extend_down_factor","type":"FLOAT","widget":{"name":"extend_down_factor"},"link":null},{"localized_name":"extend_left_factor","name":"extend_left_factor","type":"FLOAT","widget":{"name":"extend_left_factor"},"link":null},{"localized_name":"extend_right_factor","name":"extend_right_factor","type":"FLOAT","widget":{"name":"extend_right_factor"},"link":null},{"localized_name":"context_from_mask_extend_factor","name":"context_from_mask_extend_factor","type":"FLOAT","widget":{"name":"context_from_mask_extend_factor"},"link":null},{"localized_name":"output_resize_to_target_size","name":"output_resize_to_target_size","type":"BOOLEAN","widget":{"name":"output_resize_to_target_size"},"link":null},{"localized_name":"output_target_width","name":"output_target_width","type":"INT","widget":{"name":"output_target_width"},"link":null},{"localized_name":"output_target_height","name":"output_target_height","type":"INT","widget":{"name":"output_target_height"},"link":null},{"localized_name":"output_padding","name":"output_padding","type":"COMBO","widget":{"name":"output_padding"},"link":null},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"stitcher","name":"stitcher","type":"STITCHER","links":[1523]},{"localized_name":"cropped_image","name":"cropped_image","type":"IMAGE","slot_index":1,"links":[1515,1520]},{"localized_name":"cropped_mask","name":"cropped_mask","type":"MASK","slot_index":2,"links":[1516]},{"name":"DEBUG_preresize_image","type":"IMAGE","slot_index":3,"links":[]},{"name":"DEBUG_preresize_mask","type":"MASK","slot_index":4,"links":[]},{"name":"DEBUG_fillholes_mask","type":"MASK","links":null},{"name":"DEBUG_expand_mask","type":"MASK","links":null},{"name":"DEBUG_invert_mask","type":"MASK","links":null},{"name":"DEBUG_blur_mask","type":"MASK","links":null},{"name":"DEBUG_hipassfilter_mask","type":"MASK","links":null},{"name":"DEBUG_extend_image","type":"IMAGE","links":[1517]},{"name":"DEBUG_extend_mask","type":"MASK","links":[1518]},{"name":"DEBUG_context_from_mask","type":"MASK","links":null},{"name":"DEBUG_context_from_mask_location","type":"IMAGE","links":null},{"name":"DEBUG_context_expand","type":"MASK","links":null},{"name":"DEBUG_context_expand_location","type":"IMAGE","links":null},{"name":"DEBUG_context_with_context_mask","type":"MASK","links":null},{"name":"DEBUG_context_with_context_mask_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target","type":"MASK","links":null},{"name":"DEBUG_context_to_target_location","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_image","type":"IMAGE","links":[]},{"name":"DEBUG_context_to_target_mask","type":"MASK","links":null},{"name":"DEBUG_canvas_image","type":"IMAGE","links":[1526]},{"name":"DEBUG_orig_in_canvas_location","type":"IMAGE","links":[]},{"name":"DEBUG_cropped_in_canvas_location","type":"IMAGE","links":[1525]},{"name":"DEBUG_cropped_mask_blend","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-inpaint-cropandstitch","ver":"2.0.0","Node name for S&R":"InpaintCropImproved","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":["bilinear","bicubic",false,"ensure minimum resolution",1024,1024,16384,16384,false,false,0,false,0,true,1.0000000000000002,1.5000000000000002,1.0000000000000002,1.0000000000000002,1.0000000000000002,true,512,512,"32","gpu (much faster)"]},{"id":1147,"type":"PreviewImage","pos":[17596.193359375,1574.291259765625],"size":[210,246],"flags":{},"order":451,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":1520}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.26","Node name for S&R":"PreviewImage","ue_properties":{"widget_ue_connectable":{},"version":"7.4.1","input_ue_unconnectable":{}}},"widgets_values":[]}],"links":[[28,10,0,15,0,"IMAGE"],[29,10,1,15,1,"MASK"],[33,21,1,20,1,"MASK"],[53,38,0,37,0,"IMAGE"],[54,38,1,37,1,"MASK"],[57,41,1,40,1,"MASK"],[60,38,1,37,2,"MASK"],[61,41,1,40,2,"MASK"],[70,56,0,52,0,"IMAGE"],[83,56,1,52,2,"MASK"],[84,57,1,54,2,"MASK"],[104,70,1,72,1,"MASK"],[105,70,1,72,2,"MASK"],[122,85,0,86,0,"IMAGE"],[123,85,1,86,1,"MASK"],[124,85,1,86,2,"MASK"],[125,89,1,87,0,"IMAGE"],[127,90,0,89,0,"IMAGE"],[128,90,1,89,1,"MASK"],[129,90,1,89,2,"MASK"],[130,94,1,91,0,"IMAGE"],[142,105,0,107,0,"IMAGE"],[143,105,1,107,1,"MASK"],[144,105,1,107,2,"MASK"],[188,139,0,141,0,"IMAGE"],[189,139,1,141,1,"MASK"],[190,139,1,141,2,"MASK"],[191,105,1,121,1,"MASK"],[192,105,1,126,1,"MASK"],[193,105,1,131,1,"MASK"],[194,105,1,136,1,"MASK"],[195,105,0,121,0,"IMAGE"],[196,105,0,126,0,"IMAGE"],[197,105,0,131,0,"IMAGE"],[198,105,0,136,0,"IMAGE"],[215,72,3,68,0,"IMAGE"],[216,78,3,76,0,"IMAGE"],[217,30,3,32,0,"IMAGE"],[218,60,3,48,0,"IMAGE"],[219,54,3,53,0,"IMAGE"],[220,40,3,39,0,"IMAGE"],[221,52,3,50,0,"IMAGE"],[222,37,3,35,0,"IMAGE"],[223,15,3,8,0,"IMAGE"],[225,20,3,18,0,"IMAGE"],[227,23,3,22,0,"IMAGE"],[229,86,3,83,0,"IMAGE"],[231,154,3,143,0,"IMAGE"],[233,153,3,145,0,"IMAGE"],[235,152,3,148,0,"IMAGE"],[244,156,0,153,0,"IMAGE"],[245,156,1,153,1,"MASK"],[246,157,0,152,0,"IMAGE"],[247,157,1,152,1,"MASK"],[248,155,0,154,0,"IMAGE"],[249,155,1,154,1,"MASK"],[251,158,0,94,0,"IMAGE"],[252,158,1,94,1,"MASK"],[260,159,0,163,0,"IMAGE"],[261,159,1,163,1,"MASK"],[262,159,1,163,2,"MASK"],[266,165,0,167,0,"IMAGE"],[267,165,1,167,1,"MASK"],[268,165,1,167,2,"MASK"],[272,171,0,173,0,"IMAGE"],[273,171,1,173,1,"MASK"],[274,171,1,173,2,"MASK"],[284,183,0,184,0,"IMAGE"],[285,183,1,184,1,"MASK"],[286,183,1,184,2,"MASK"],[287,178,0,185,0,"IMAGE"],[288,178,1,185,1,"MASK"],[289,178,1,185,2,"MASK"],[290,180,0,186,0,"IMAGE"],[291,180,1,186,1,"MASK"],[292,180,1,186,2,"MASK"],[298,189,0,190,0,"IMAGE"],[299,189,1,190,1,"MASK"],[300,189,1,190,2,"MASK"],[309,197,0,202,0,"IMAGE"],[310,197,1,202,1,"MASK"],[311,197,1,202,2,"MASK"],[318,207,0,208,0,"IMAGE"],[319,207,1,208,1,"MASK"],[320,207,1,208,2,"MASK"],[323,211,0,212,0,"IMAGE"],[324,211,1,212,1,"MASK"],[325,211,1,212,2,"MASK"],[347,215,0,222,0,"IMAGE"],[348,215,1,222,1,"MASK"],[349,215,0,223,0,"IMAGE"],[350,215,1,223,1,"MASK"],[351,215,0,224,0,"IMAGE"],[352,215,1,224,1,"MASK"],[353,215,0,225,0,"IMAGE"],[354,215,1,225,1,"MASK"],[355,215,1,225,2,"MASK"],[356,215,0,226,0,"IMAGE"],[357,215,1,226,1,"MASK"],[359,225,10,227,0,"IMAGE"],[361,226,10,228,0,"IMAGE"],[362,224,10,229,0,"IMAGE"],[364,222,10,230,0,"IMAGE"],[366,223,10,231,0,"IMAGE"],[368,245,10,232,0,"IMAGE"],[370,237,10,235,0,"IMAGE"],[372,234,0,237,0,"IMAGE"],[373,234,1,237,1,"MASK"],[374,234,1,237,2,"MASK"],[376,247,10,239,0,"IMAGE"],[378,248,10,241,0,"IMAGE"],[380,246,10,243,0,"IMAGE"],[382,234,0,245,0,"IMAGE"],[383,234,1,245,1,"MASK"],[384,234,0,246,0,"IMAGE"],[385,234,1,246,1,"MASK"],[386,234,0,247,0,"IMAGE"],[387,234,1,247,1,"MASK"],[388,234,0,248,0,"IMAGE"],[389,234,1,248,1,"MASK"],[392,251,0,252,0,"IMAGE"],[393,251,1,252,1,"MASK"],[403,255,0,261,0,"IMAGE"],[404,255,1,261,1,"MASK"],[406,262,0,265,0,"IMAGE"],[407,262,1,265,1,"MASK"],[409,266,0,268,0,"IMAGE"],[410,266,1,268,1,"MASK"],[414,252,13,271,0,"IMAGE"],[416,261,13,272,0,"IMAGE"],[418,268,15,273,0,"IMAGE"],[420,265,15,274,0,"IMAGE"],[427,275,0,283,0,"IMAGE"],[428,275,1,283,1,"MASK"],[429,284,1,283,2,"MASK"],[432,288,0,287,0,"IMAGE"],[433,288,1,287,1,"MASK"],[434,289,1,287,2,"MASK"],[435,287,17,286,0,"IMAGE"],[437,283,17,282,0,"IMAGE"],[443,293,0,299,0,"IMAGE"],[444,293,1,299,1,"MASK"],[445,294,1,299,2,"MASK"],[446,297,0,300,0,"IMAGE"],[447,297,1,300,1,"MASK"],[448,298,1,300,2,"MASK"],[450,299,19,291,0,"IMAGE"],[453,300,19,296,0,"IMAGE"],[457,308,17,305,0,"IMAGE"],[458,306,0,308,0,"IMAGE"],[459,306,1,308,1,"MASK"],[465,307,1,308,2,"MASK"],[467,315,17,313,0,"IMAGE"],[468,314,0,315,0,"IMAGE"],[469,314,1,315,1,"MASK"],[470,316,1,315,2,"MASK"],[472,322,17,318,0,"IMAGE"],[474,320,0,322,0,"IMAGE"],[475,320,1,322,1,"MASK"],[476,319,1,322,2,"MASK"],[481,324,0,329,0,"IMAGE"],[482,324,1,329,1,"MASK"],[484,329,10,325,0,"IMAGE"],[488,329,10,333,0,"IMAGE"],[489,329,11,333,1,"MASK"],[491,333,19,331,0,"IMAGE"],[494,340,10,336,0,"IMAGE"],[496,342,19,339,0,"IMAGE"],[497,337,0,340,0,"IMAGE"],[498,337,1,340,1,"MASK"],[500,340,10,342,0,"IMAGE"],[501,340,11,342,1,"MASK"],[513,373,19,351,0,"IMAGE"],[514,358,10,354,0,"IMAGE"],[517,355,0,358,0,"IMAGE"],[518,355,1,358,1,"MASK"],[522,367,10,362,0,"IMAGE"],[524,382,19,365,0,"IMAGE"],[526,363,0,367,0,"IMAGE"],[527,363,1,367,1,"MASK"],[528,379,19,368,0,"IMAGE"],[529,350,0,369,0,"IMAGE"],[530,350,1,369,1,"MASK"],[531,353,1,369,2,"MASK"],[532,369,19,370,0,"IMAGE"],[535,349,0,373,0,"IMAGE"],[536,349,1,373,1,"MASK"],[537,352,1,373,2,"MASK"],[543,358,10,379,0,"IMAGE"],[544,358,11,379,1,"MASK"],[547,367,10,382,0,"IMAGE"],[548,367,11,382,1,"MASK"],[549,299,1,384,0,"IMAGE"],[551,300,1,386,0,"IMAGE"],[553,333,1,389,0,"IMAGE"],[555,342,1,391,0,"IMAGE"],[557,373,1,393,0,"IMAGE"],[559,369,1,395,0,"IMAGE"],[561,379,1,397,0,"IMAGE"],[563,382,1,399,0,"IMAGE"],[565,299,22,400,0,"IMAGE"],[566,299,23,401,0,"IMAGE"],[567,299,24,402,0,"IMAGE"],[568,300,22,404,0,"IMAGE"],[569,300,23,405,0,"IMAGE"],[570,300,24,403,0,"IMAGE"],[571,333,22,407,0,"IMAGE"],[572,333,23,408,0,"IMAGE"],[573,333,24,406,0,"IMAGE"],[574,342,22,410,0,"IMAGE"],[575,342,23,411,0,"IMAGE"],[576,342,24,409,0,"IMAGE"],[577,373,22,413,0,"IMAGE"],[578,373,23,414,0,"IMAGE"],[579,373,24,412,0,"IMAGE"],[580,369,22,416,0,"IMAGE"],[581,369,23,417,0,"IMAGE"],[582,369,24,415,0,"IMAGE"],[583,379,22,419,0,"IMAGE"],[584,379,23,420,0,"IMAGE"],[585,379,24,418,0,"IMAGE"],[586,382,22,422,0,"IMAGE"],[587,382,23,423,0,"IMAGE"],[588,382,24,421,0,"IMAGE"],[591,432,10,427,0,"IMAGE"],[593,439,19,430,0,"IMAGE"],[595,428,0,432,0,"IMAGE"],[596,428,1,432,1,"MASK"],[599,439,1,435,0,"IMAGE"],[600,439,24,436,0,"IMAGE"],[601,439,22,437,0,"IMAGE"],[602,439,23,438,0,"IMAGE"],[603,432,10,439,0,"IMAGE"],[604,432,11,439,1,"MASK"],[618,456,10,453,0,"IMAGE"],[620,454,0,456,0,"IMAGE"],[621,454,1,456,1,"MASK"],[623,461,1,458,0,"IMAGE"],[625,461,22,460,0,"IMAGE"],[626,456,10,461,0,"IMAGE"],[627,456,11,461,1,"MASK"],[628,461,23,462,0,"IMAGE"],[629,461,24,463,0,"IMAGE"],[630,461,19,464,0,"IMAGE"],[631,468,10,466,0,"IMAGE"],[633,475,0,468,0,"IMAGE"],[634,475,1,468,1,"MASK"],[642,468,10,477,0,"IMAGE"],[643,468,11,477,1,"MASK"],[644,477,0,478,0,"STITCHER"],[647,478,0,470,0,"IMAGE"],[648,468,10,479,0,"IMAGE"],[649,477,1,480,0,"IMAGE"],[650,480,0,478,1,"IMAGE"],[652,486,0,483,0,"STITCHER"],[653,487,0,483,1,"IMAGE"],[654,485,10,484,0,"IMAGE"],[655,481,0,485,0,"IMAGE"],[656,481,1,485,1,"MASK"],[657,485,10,486,0,"IMAGE"],[658,485,11,486,1,"MASK"],[659,486,1,487,0,"IMAGE"],[660,485,10,488,0,"IMAGE"],[661,483,0,489,0,"IMAGE"],[662,492,0,491,0,"IMAGE"],[663,486,2,492,0,"MASK"],[664,486,1,493,0,"IMAGE"],[665,495,0,494,0,"IMAGE"],[666,485,11,495,0,"MASK"],[667,497,0,496,0,"IMAGE"],[668,468,11,497,0,"MASK"],[669,499,0,498,0,"IMAGE"],[670,373,2,499,0,"MASK"],[671,501,0,500,0,"IMAGE"],[672,373,21,501,0,"MASK"],[673,503,0,502,0,"IMAGE"],[674,369,21,503,0,"MASK"],[675,505,0,504,0,"IMAGE"],[676,369,2,505,0,"MASK"],[677,507,0,506,0,"IMAGE"],[678,379,21,507,0,"MASK"],[679,509,0,508,0,"IMAGE"],[680,379,2,509,0,"MASK"],[681,511,0,510,0,"IMAGE"],[682,358,11,511,0,"MASK"],[683,513,0,512,0,"IMAGE"],[684,382,21,513,0,"MASK"],[685,515,0,514,0,"IMAGE"],[686,382,2,515,0,"MASK"],[687,517,0,516,0,"IMAGE"],[688,367,11,517,0,"MASK"],[689,519,0,518,0,"IMAGE"],[690,439,21,519,0,"MASK"],[691,521,0,520,0,"IMAGE"],[692,439,2,521,0,"MASK"],[693,523,0,522,0,"IMAGE"],[694,461,21,523,0,"MASK"],[695,525,0,524,0,"IMAGE"],[696,461,2,525,0,"MASK"],[697,527,0,526,0,"IMAGE"],[698,456,11,527,0,"MASK"],[699,529,0,528,0,"IMAGE"],[700,432,11,529,0,"MASK"],[701,531,0,530,0,"IMAGE"],[702,299,2,531,0,"MASK"],[703,533,0,532,0,"IMAGE"],[704,299,21,533,0,"MASK"],[705,535,0,534,0,"IMAGE"],[706,300,21,535,0,"MASK"],[707,537,0,536,0,"IMAGE"],[708,300,2,537,0,"MASK"],[709,539,0,538,0,"IMAGE"],[710,329,11,539,0,"MASK"],[711,541,0,540,0,"IMAGE"],[712,333,21,541,0,"MASK"],[713,543,0,542,0,"IMAGE"],[714,333,2,543,0,"MASK"],[715,545,0,544,0,"IMAGE"],[716,342,21,545,0,"MASK"],[717,547,0,546,0,"IMAGE"],[718,342,2,547,0,"MASK"],[719,549,0,548,0,"IMAGE"],[720,340,11,549,0,"MASK"],[721,551,0,550,0,"IMAGE"],[722,322,16,551,0,"MASK"],[723,553,0,552,0,"IMAGE"],[724,315,16,553,0,"MASK"],[725,555,0,554,0,"IMAGE"],[726,308,16,555,0,"MASK"],[727,557,0,556,0,"IMAGE"],[728,287,16,557,0,"MASK"],[729,559,0,558,0,"IMAGE"],[730,283,16,559,0,"MASK"],[731,561,0,560,0,"IMAGE"],[732,265,14,561,0,"MASK"],[733,563,0,562,0,"IMAGE"],[734,268,14,563,0,"MASK"],[735,565,0,564,0,"IMAGE"],[736,261,12,565,0,"MASK"],[737,567,0,566,0,"IMAGE"],[738,252,12,567,0,"MASK"],[739,569,0,568,0,"IMAGE"],[740,237,11,569,0,"MASK"],[741,571,0,570,0,"IMAGE"],[742,247,11,571,0,"MASK"],[743,573,0,572,0,"IMAGE"],[744,248,11,573,0,"MASK"],[745,575,0,574,0,"IMAGE"],[746,246,11,575,0,"MASK"],[747,577,0,576,0,"IMAGE"],[748,245,11,577,0,"MASK"],[749,579,0,578,0,"IMAGE"],[750,223,11,579,0,"MASK"],[751,581,0,580,0,"IMAGE"],[752,222,11,581,0,"MASK"],[753,583,0,582,0,"IMAGE"],[754,224,11,583,0,"MASK"],[755,585,0,584,0,"IMAGE"],[756,226,11,585,0,"MASK"],[757,587,0,586,0,"IMAGE"],[758,225,11,587,0,"MASK"],[759,589,0,588,0,"IMAGE"],[760,234,1,589,0,"MASK"],[761,591,0,590,0,"IMAGE"],[762,215,1,591,0,"MASK"],[763,593,0,592,0,"IMAGE"],[764,107,9,593,0,"MASK"],[765,595,0,594,0,"IMAGE"],[766,121,9,595,0,"MASK"],[767,597,0,596,0,"IMAGE"],[768,126,9,597,0,"MASK"],[769,599,0,598,0,"IMAGE"],[770,131,9,599,0,"MASK"],[771,601,0,600,0,"IMAGE"],[772,136,9,601,0,"MASK"],[773,603,0,602,0,"IMAGE"],[774,105,1,603,0,"MASK"],[775,605,0,604,0,"IMAGE"],[776,202,8,605,0,"MASK"],[777,607,0,606,0,"IMAGE"],[778,197,1,607,0,"MASK"],[779,609,0,608,0,"IMAGE"],[780,611,0,610,0,"IMAGE"],[781,208,9,609,0,"MASK"],[782,207,1,611,0,"MASK"],[783,613,0,612,0,"IMAGE"],[784,615,0,614,0,"IMAGE"],[785,211,1,615,0,"MASK"],[786,212,9,613,0,"MASK"],[787,617,0,616,0,"IMAGE"],[788,163,7,617,0,"MASK"],[789,619,0,618,0,"IMAGE"],[790,167,7,619,0,"MASK"],[791,621,0,620,0,"IMAGE"],[792,173,7,621,0,"MASK"],[793,623,0,622,0,"IMAGE"],[794,190,8,623,0,"MASK"],[795,625,0,624,0,"IMAGE"],[796,189,1,625,0,"MASK"],[797,627,0,626,0,"IMAGE"],[798,171,1,627,0,"MASK"],[799,629,0,628,0,"IMAGE"],[800,165,1,629,0,"MASK"],[801,631,0,630,0,"IMAGE"],[802,159,1,631,0,"MASK"],[803,633,0,632,0,"IMAGE"],[804,186,6,633,0,"MASK"],[805,635,0,634,0,"IMAGE"],[806,185,6,635,0,"MASK"],[807,637,0,636,0,"IMAGE"],[808,184,6,637,0,"MASK"],[809,639,0,638,0,"IMAGE"],[810,183,1,639,0,"MASK"],[811,641,0,640,0,"IMAGE"],[812,178,1,641,0,"MASK"],[813,643,0,642,0,"IMAGE"],[814,180,1,643,0,"MASK"],[815,645,0,644,0,"IMAGE"],[816,141,5,645,0,"MASK"],[817,647,0,646,0,"IMAGE"],[818,139,1,647,0,"MASK"],[819,649,0,648,0,"IMAGE"],[820,86,4,649,0,"MASK"],[821,651,0,650,0,"IMAGE"],[822,89,4,651,0,"MASK"],[823,653,0,652,0,"IMAGE"],[824,94,4,653,0,"MASK"],[825,655,0,654,0,"IMAGE"],[826,70,1,655,0,"MASK"],[827,657,0,656,0,"IMAGE"],[828,72,4,657,0,"MASK"],[829,659,0,658,0,"IMAGE"],[831,661,0,660,0,"IMAGE"],[832,78,4,661,0,"MASK"],[833,663,0,662,0,"IMAGE"],[835,665,0,664,0,"IMAGE"],[836,30,4,665,0,"MASK"],[837,667,0,666,0,"IMAGE"],[839,669,0,668,0,"IMAGE"],[840,60,4,669,0,"MASK"],[841,671,0,670,0,"IMAGE"],[842,54,4,671,0,"MASK"],[843,673,0,672,0,"IMAGE"],[844,152,4,673,0,"MASK"],[845,675,0,674,0,"IMAGE"],[846,52,4,675,0,"MASK"],[847,677,0,676,0,"IMAGE"],[848,37,4,677,0,"MASK"],[849,679,0,678,0,"IMAGE"],[850,153,4,679,0,"MASK"],[851,681,0,680,0,"IMAGE"],[852,40,4,681,0,"MASK"],[853,683,0,682,0,"IMAGE"],[854,20,4,683,0,"MASK"],[855,685,0,684,0,"IMAGE"],[856,154,4,685,0,"MASK"],[857,687,0,686,0,"IMAGE"],[858,15,4,687,0,"MASK"],[859,689,0,688,0,"IMAGE"],[860,23,4,689,0,"MASK"],[861,691,0,690,0,"IMAGE"],[862,255,1,691,0,"MASK"],[863,693,0,692,0,"IMAGE"],[865,696,10,694,0,"IMAGE"],[867,698,0,696,0,"IMAGE"],[868,698,1,696,1,"MASK"],[870,696,10,699,0,"IMAGE"],[871,696,11,699,1,"MASK"],[879,708,0,707,0,"IMAGE"],[880,696,11,708,0,"MASK"],[881,710,0,709,1,"IMAGE"],[882,709,0,712,0,"IMAGE"],[883,714,0,713,0,"IMAGE"],[884,699,0,709,0,"STITCHER"],[885,699,1,710,0,"IMAGE"],[886,699,1,715,0,"IMAGE"],[887,699,2,714,0,"MASK"],[888,696,10,711,0,"IMAGE"],[889,720,3,716,0,"IMAGE"],[893,722,0,721,0,"IMAGE"],[894,720,4,722,0,"MASK"],[897,718,0,720,0,"IMAGE"],[909,718,1,729,0,"MASK"],[910,718,1,729,1,"MASK"],[911,718,1,729,2,"MASK"],[912,718,1,729,3,"MASK"],[913,729,0,720,1,"MASK"],[914,729,0,720,2,"MASK"],[915,58,1,730,0,"MASK"],[916,58,1,730,1,"MASK"],[917,58,1,730,2,"MASK"],[918,58,1,730,3,"MASK"],[919,730,0,60,1,"MASK"],[920,730,0,60,2,"MASK"],[922,31,1,731,0,"MASK"],[923,31,1,731,1,"MASK"],[924,31,1,731,2,"MASK"],[925,31,1,731,3,"MASK"],[926,731,0,30,1,"MASK"],[927,731,0,30,2,"MASK"],[929,79,1,732,0,"MASK"],[930,79,1,732,1,"MASK"],[931,79,1,732,2,"MASK"],[932,79,1,732,3,"MASK"],[933,732,0,78,1,"MASK"],[934,732,0,78,2,"MASK"],[936,732,0,659,0,"MASK"],[937,731,0,663,0,"MASK"],[938,730,0,667,0,"MASK"],[939,24,1,733,0,"MASK"],[940,24,1,733,1,"MASK"],[941,24,1,733,2,"MASK"],[944,24,1,733,3,"MASK"],[945,24,1,733,3,"MASK"],[946,733,0,23,1,"MASK"],[947,24,1,693,0,"MASK"],[949,70,0,735,0,"IMAGE"],[950,70,0,735,1,"IMAGE"],[951,70,0,735,2,"IMAGE"],[952,70,0,735,3,"IMAGE"],[953,735,0,72,0,"IMAGE"],[954,24,0,736,0,"IMAGE"],[955,736,0,23,0,"IMAGE"],[956,24,0,736,1,"IMAGE"],[957,24,0,736,2,"IMAGE"],[958,24,0,736,3,"IMAGE"],[959,21,0,737,0,"IMAGE"],[961,737,0,20,0,"IMAGE"],[962,21,0,737,1,"IMAGE"],[963,21,0,737,2,"IMAGE"],[964,21,0,737,3,"IMAGE"],[966,41,0,738,3,"IMAGE"],[967,41,0,738,2,"IMAGE"],[968,41,0,738,1,"IMAGE"],[969,41,0,738,0,"IMAGE"],[970,738,0,40,0,"IMAGE"],[971,57,0,739,0,"IMAGE"],[972,57,0,739,1,"IMAGE"],[973,57,0,739,2,"IMAGE"],[974,57,0,739,3,"IMAGE"],[975,739,0,54,0,"IMAGE"],[976,58,0,740,0,"IMAGE"],[977,740,0,60,0,"IMAGE"],[978,58,0,740,1,"IMAGE"],[979,58,0,740,2,"IMAGE"],[980,58,0,740,3,"IMAGE"],[981,79,0,741,0,"IMAGE"],[982,79,0,741,1,"IMAGE"],[983,79,0,741,2,"IMAGE"],[984,79,0,741,3,"IMAGE"],[985,741,0,78,0,"IMAGE"],[986,31,0,742,0,"IMAGE"],[987,31,0,742,1,"IMAGE"],[988,31,0,742,2,"IMAGE"],[989,31,0,742,3,"IMAGE"],[990,742,0,30,0,"IMAGE"],[991,746,0,743,0,"IMAGE"],[992,747,0,743,1,"MASK"],[994,743,4,744,0,"MASK"],[995,743,3,745,0,"IMAGE"],[996,746,1,747,0,"MASK"],[997,746,1,747,1,"MASK"],[998,746,1,747,2,"MASK"],[999,746,1,747,3,"MASK"],[1000,744,0,748,0,"IMAGE"],[1003,746,1,749,0,"MASK"],[1005,746,1,743,2,"MASK"],[1006,486,1,750,0,"IMAGE"],[1007,487,0,750,1,"IMAGE"],[1008,486,2,750,2,"MASK"],[1009,750,0,751,1,"IMAGE"],[1010,486,0,751,0,"STITCHER"],[1011,751,0,752,0,"IMAGE"],[1060,795,0,785,0,"IMAGE"],[1061,793,2,787,0,"MASK"],[1062,793,0,788,0,"STITCHER"],[1063,790,0,788,1,"IMAGE"],[1064,787,0,789,0,"IMAGE"],[1065,793,1,790,0,"IMAGE"],[1066,793,1,791,0,"IMAGE"],[1067,793,1,792,0,"IMAGE"],[1068,790,0,792,1,"IMAGE"],[1069,793,2,792,2,"MASK"],[1070,788,0,794,0,"IMAGE"],[1071,793,0,795,0,"STITCHER"],[1072,792,0,795,1,"IMAGE"],[1073,806,0,796,0,"IMAGE"],[1074,804,2,798,0,"MASK"],[1075,804,0,799,0,"STITCHER"],[1076,801,0,799,1,"IMAGE"],[1077,798,0,800,0,"IMAGE"],[1078,804,1,801,0,"IMAGE"],[1079,804,1,802,0,"IMAGE"],[1080,804,1,803,0,"IMAGE"],[1081,801,0,803,1,"IMAGE"],[1082,804,2,803,2,"MASK"],[1083,799,0,805,0,"IMAGE"],[1084,804,0,806,0,"STITCHER"],[1085,803,0,806,1,"IMAGE"],[1086,817,0,807,0,"IMAGE"],[1087,815,2,809,0,"MASK"],[1088,815,0,810,0,"STITCHER"],[1089,812,0,810,1,"IMAGE"],[1090,809,0,811,0,"IMAGE"],[1091,815,1,812,0,"IMAGE"],[1092,815,1,813,0,"IMAGE"],[1093,815,1,814,0,"IMAGE"],[1094,812,0,814,1,"IMAGE"],[1095,815,2,814,2,"MASK"],[1096,810,0,816,0,"IMAGE"],[1097,815,0,817,0,"STITCHER"],[1098,814,0,817,1,"IMAGE"],[1099,485,10,793,0,"IMAGE"],[1100,485,11,793,1,"MASK"],[1101,485,10,804,0,"IMAGE"],[1102,485,10,815,0,"IMAGE"],[1104,485,11,804,1,"MASK"],[1105,485,11,815,1,"MASK"],[1107,826,2,819,0,"MASK"],[1108,826,0,820,0,"STITCHER"],[1109,822,0,820,1,"IMAGE"],[1110,819,0,821,0,"IMAGE"],[1111,826,1,822,0,"IMAGE"],[1112,826,1,823,0,"IMAGE"],[1113,826,1,824,0,"IMAGE"],[1114,822,0,824,1,"IMAGE"],[1115,826,2,824,2,"MASK"],[1116,826,0,825,0,"STITCHER"],[1117,824,0,825,1,"IMAGE"],[1118,485,10,826,0,"IMAGE"],[1119,485,11,826,1,"MASK"],[1120,820,0,828,0,"IMAGE"],[1121,825,0,827,0,"IMAGE"],[1122,835,2,829,0,"MASK"],[1123,835,0,830,0,"STITCHER"],[1124,832,0,830,1,"IMAGE"],[1125,829,0,831,0,"IMAGE"],[1126,835,1,832,0,"IMAGE"],[1127,835,1,833,0,"IMAGE"],[1128,835,1,834,0,"IMAGE"],[1129,832,0,834,1,"IMAGE"],[1130,835,2,834,2,"MASK"],[1131,830,0,836,0,"IMAGE"],[1132,835,0,837,0,"STITCHER"],[1133,834,0,837,1,"IMAGE"],[1134,837,0,838,0,"IMAGE"],[1135,485,10,835,0,"IMAGE"],[1137,485,11,835,1,"MASK"],[1138,846,10,845,0,"IMAGE"],[1141,848,0,847,0,"IMAGE"],[1142,846,11,848,0,"MASK"],[1143,855,1,849,0,"IMAGE"],[1144,854,0,850,0,"IMAGE"],[1145,852,0,851,0,"IMAGE"],[1146,855,2,852,0,"MASK"],[1147,855,1,853,0,"IMAGE"],[1148,855,0,854,0,"STITCHER"],[1149,849,0,854,1,"IMAGE"],[1150,846,10,855,0,"IMAGE"],[1151,846,11,855,1,"MASK"],[1152,846,10,856,0,"IMAGE"],[1153,858,0,846,0,"IMAGE"],[1154,858,1,846,1,"MASK"],[1155,859,0,860,0,"IMAGE"],[1156,486,25,859,0,"MASK"],[1157,861,0,862,0,"IMAGE"],[1158,486,25,861,0,"MASK"],[1159,864,0,863,0,"IMAGE"],[1160,793,25,864,0,"MASK"],[1161,866,0,865,0,"IMAGE"],[1162,804,25,866,0,"MASK"],[1163,868,0,867,0,"IMAGE"],[1164,870,0,869,0,"IMAGE"],[1165,815,25,868,0,"MASK"],[1166,826,25,870,0,"MASK"],[1168,879,0,872,0,"IMAGE"],[1169,877,0,872,1,"MASK"],[1170,877,0,872,2,"MASK"],[1171,874,0,873,0,"IMAGE"],[1172,877,0,874,0,"MASK"],[1183,880,0,879,0,"IMAGE"],[1184,880,0,879,0,"IMAGE"],[1185,880,0,879,1,"IMAGE"],[1186,880,1,877,0,"MASK"],[1187,880,1,877,1,"MASK"],[1188,880,1,877,0,"MASK"],[1189,880,0,879,1,"IMAGE"],[1190,880,0,879,2,"IMAGE"],[1191,880,1,877,1,"MASK"],[1192,880,1,877,2,"MASK"],[1194,887,0,881,1,"IMAGE"],[1198,872,1,887,0,"IMAGE"],[1199,872,0,881,0,"STITCHER"],[1200,881,0,882,0,"IMAGE"],[1202,896,0,888,0,"IMAGE"],[1203,890,0,889,0,"IMAGE"],[1204,891,0,890,0,"MASK"],[1205,893,1,891,0,"MASK"],[1206,893,1,891,1,"MASK"],[1207,893,1,891,2,"MASK"],[1208,893,0,892,0,"IMAGE"],[1209,893,0,892,1,"IMAGE"],[1210,893,0,892,2,"IMAGE"],[1211,892,0,894,0,"IMAGE"],[1212,891,0,894,1,"MASK"],[1213,891,0,894,2,"MASK"],[1214,894,1,895,0,"IMAGE"],[1215,894,0,896,0,"STITCHER"],[1216,895,0,896,1,"IMAGE"],[1219,899,0,900,1,"IMAGE"],[1220,900,0,901,0,"IMAGE"],[1221,897,1,899,0,"IMAGE"],[1222,897,0,900,0,"STITCHER"],[1223,905,0,904,0,"IMAGE"],[1224,906,0,905,0,"STITCHER"],[1225,907,0,905,1,"IMAGE"],[1228,906,1,907,0,"IMAGE"],[1235,915,0,914,0,"IMAGE"],[1236,897,4,915,0,"MASK"],[1237,917,0,916,0,"IMAGE"],[1238,897,6,917,0,"MASK"],[1239,919,0,918,0,"IMAGE"],[1240,921,0,920,0,"IMAGE"],[1247,906,4,919,0,"MASK"],[1248,906,5,921,0,"MASK"],[1251,929,0,928,0,"IMAGE"],[1252,906,25,929,0,"MASK"],[1253,931,0,930,0,"IMAGE"],[1254,897,25,931,0,"MASK"],[1256,907,0,933,0,"IMAGE"],[1257,906,1,934,0,"IMAGE"],[1259,897,1,936,0,"IMAGE"],[1260,899,0,937,0,"IMAGE"],[1261,939,0,938,0,"IMAGE"],[1262,950,0,939,0,"STITCHER"],[1263,946,0,939,1,"IMAGE"],[1264,943,0,941,0,"IMAGE"],[1265,944,0,942,0,"IMAGE"],[1266,950,4,943,0,"MASK"],[1267,950,5,944,0,"MASK"],[1268,947,0,945,0,"IMAGE"],[1269,950,1,946,0,"IMAGE"],[1270,950,25,947,0,"MASK"],[1271,950,1,948,0,"IMAGE"],[1272,946,0,949,0,"IMAGE"],[1282,964,0,897,0,"IMAGE"],[1283,964,1,897,1,"MASK"],[1284,964,0,906,0,"IMAGE"],[1285,964,1,906,1,"MASK"],[1288,964,0,950,0,"IMAGE"],[1289,964,1,950,1,"MASK"],[1292,974,0,965,0,"STITCHER"],[1293,971,0,965,1,"IMAGE"],[1294,968,0,966,0,"IMAGE"],[1295,969,0,967,0,"IMAGE"],[1296,974,4,968,0,"MASK"],[1297,974,5,969,0,"MASK"],[1298,972,0,970,0,"IMAGE"],[1299,974,1,971,0,"IMAGE"],[1300,974,25,972,0,"MASK"],[1301,971,0,973,0,"IMAGE"],[1302,965,0,975,0,"IMAGE"],[1303,974,1,976,0,"IMAGE"],[1304,964,0,974,0,"IMAGE"],[1305,964,1,974,1,"MASK"],[1306,964,0,977,0,"IMAGE"],[1307,988,0,978,0,"STITCHER"],[1308,979,0,978,1,"IMAGE"],[1309,988,1,979,0,"IMAGE"],[1310,981,0,980,0,"IMAGE"],[1311,988,4,981,0,"MASK"],[1312,983,0,982,0,"IMAGE"],[1313,988,6,983,0,"MASK"],[1314,988,25,984,0,"MASK"],[1315,988,1,985,0,"IMAGE"],[1316,979,0,986,0,"IMAGE"],[1317,984,0,987,0,"IMAGE"],[1318,991,0,988,0,"IMAGE"],[1319,991,1,988,1,"MASK"],[1320,978,0,989,0,"IMAGE"],[1321,991,0,990,0,"IMAGE"],[1322,996,10,995,0,"IMAGE"],[1323,1007,0,996,0,"IMAGE"],[1324,1007,1,996,1,"MASK"],[1325,998,0,997,0,"IMAGE"],[1326,996,11,998,0,"MASK"],[1327,1005,1,999,0,"IMAGE"],[1328,1004,0,1000,0,"IMAGE"],[1329,1002,0,1001,0,"IMAGE"],[1330,1005,2,1002,0,"MASK"],[1331,1005,1,1003,0,"IMAGE"],[1332,1005,0,1004,0,"STITCHER"],[1333,999,0,1004,1,"IMAGE"],[1334,996,10,1005,0,"IMAGE"],[1335,996,11,1005,1,"MASK"],[1336,996,10,1006,0,"IMAGE"],[1347,1005,24,1008,0,"IMAGE"],[1348,1020,10,1009,0,"IMAGE"],[1349,1011,0,1010,0,"IMAGE"],[1350,1020,11,1011,0,"MASK"],[1351,1022,1,1012,0,"IMAGE"],[1352,1017,0,1013,0,"IMAGE"],[1353,1015,0,1014,0,"IMAGE"],[1354,1022,2,1015,0,"MASK"],[1355,1022,1,1016,0,"IMAGE"],[1356,1022,0,1017,0,"STITCHER"],[1357,1012,0,1017,1,"IMAGE"],[1358,1020,10,1018,0,"IMAGE"],[1359,1019,0,1020,0,"IMAGE"],[1360,1019,1,1020,1,"MASK"],[1361,1022,24,1021,0,"IMAGE"],[1362,1020,10,1022,0,"IMAGE"],[1363,1020,11,1022,1,"MASK"],[1364,1034,10,1024,0,"IMAGE"],[1365,1026,0,1025,0,"IMAGE"],[1366,1034,11,1026,0,"MASK"],[1367,1036,1,1027,0,"IMAGE"],[1368,1032,0,1028,0,"IMAGE"],[1369,1030,0,1029,0,"IMAGE"],[1370,1036,2,1030,0,"MASK"],[1371,1036,1,1031,0,"IMAGE"],[1372,1036,0,1032,0,"STITCHER"],[1373,1027,0,1032,1,"IMAGE"],[1374,1034,10,1033,0,"IMAGE"],[1375,1023,0,1034,0,"IMAGE"],[1376,1023,1,1034,1,"MASK"],[1377,1036,24,1035,0,"IMAGE"],[1378,1034,10,1036,0,"IMAGE"],[1379,1034,11,1036,1,"MASK"],[1380,1048,10,1038,0,"IMAGE"],[1381,1040,0,1039,0,"IMAGE"],[1382,1048,11,1040,0,"MASK"],[1383,1050,1,1041,0,"IMAGE"],[1384,1046,0,1042,0,"IMAGE"],[1385,1044,0,1043,0,"IMAGE"],[1386,1050,2,1044,0,"MASK"],[1387,1050,1,1045,0,"IMAGE"],[1388,1050,0,1046,0,"STITCHER"],[1389,1041,0,1046,1,"IMAGE"],[1390,1048,10,1047,0,"IMAGE"],[1391,1037,0,1048,0,"IMAGE"],[1392,1037,1,1048,1,"MASK"],[1393,1050,24,1049,0,"IMAGE"],[1394,1048,10,1050,0,"IMAGE"],[1395,1048,11,1050,1,"MASK"],[1396,1036,22,1051,0,"IMAGE"],[1397,1036,23,1052,0,"IMAGE"],[1398,1036,19,1053,0,"IMAGE"],[1414,1070,10,1069,0,"IMAGE"],[1417,1072,0,1071,0,"IMAGE"],[1418,1070,11,1072,0,"MASK"],[1419,1070,10,1074,0,"IMAGE"],[1421,1077,0,1076,0,"IMAGE"],[1422,1074,1,1075,0,"IMAGE"],[1423,1074,2,1077,0,"MASK"],[1424,1074,0,1078,0,"STITCHER"],[1426,1078,0,1079,0,"IMAGE"],[1429,1070,11,1074,1,"MASK"],[1431,1074,22,1080,0,"IMAGE"],[1432,1089,10,1081,0,"IMAGE"],[1433,1083,0,1082,0,"IMAGE"],[1434,1089,11,1083,0,"MASK"],[1435,1085,0,1084,0,"IMAGE"],[1436,1092,2,1085,0,"MASK"],[1437,1092,0,1086,0,"STITCHER"],[1439,1086,0,1087,0,"IMAGE"],[1442,1092,1,1090,0,"IMAGE"],[1443,1092,22,1091,0,"IMAGE"],[1444,1089,10,1092,0,"IMAGE"],[1445,1089,11,1092,1,"MASK"],[1448,1092,1,1093,0,"IMAGE"],[1449,1093,0,1086,1,"IMAGE"],[1450,1074,1,1094,0,"IMAGE"],[1451,1094,0,1078,1,"IMAGE"],[1452,1095,0,1070,0,"IMAGE"],[1453,1095,1,1070,1,"MASK"],[1454,1096,0,1089,0,"IMAGE"],[1455,1096,1,1089,1,"MASK"],[1456,1092,1,1097,1,"IMAGE"],[1457,1097,0,1098,0,"IMAGE"],[1458,1092,0,1097,0,"STITCHER"],[1459,897,0,1099,0,"STITCHER"],[1460,897,1,1099,1,"IMAGE"],[1461,1099,0,1100,0,"IMAGE"],[1462,1074,0,1101,0,"STITCHER"],[1463,1074,1,1101,1,"IMAGE"],[1464,1101,0,1102,0,"IMAGE"],[1465,1104,0,1103,0,"IMAGE"],[1468,1110,1,1105,0,"MASK"],[1472,1106,1,1107,0,"IMAGE"],[1473,1106,0,1108,0,"STITCHER"],[1474,1107,0,1108,1,"IMAGE"],[1475,1108,0,1109,0,"IMAGE"],[1476,1110,0,1106,0,"IMAGE"],[1477,1110,1,1104,0,"MASK"],[1478,1110,1,1106,1,"MASK"],[1479,1110,1,1106,2,"MASK"],[1480,1106,1,1112,0,"IMAGE"],[1481,1114,0,1113,0,"IMAGE"],[1482,1106,2,1114,0,"MASK"],[1483,1106,10,1115,0,"IMAGE"],[1484,1117,0,1116,0,"IMAGE"],[1485,1106,11,1117,0,"MASK"],[1491,1106,22,1121,0,"IMAGE"],[1495,1106,24,1118,0,"IMAGE"],[1496,1123,0,1122,0,"IMAGE"],[1497,1126,1,1123,0,"MASK"],[1498,1137,1,1124,0,"IMAGE"],[1499,1137,2,1127,0,"MASK"],[1500,1137,10,1128,0,"IMAGE"],[1501,1137,11,1129,0,"MASK"],[1502,1129,0,1130,0,"IMAGE"],[1503,1137,1,1131,0,"IMAGE"],[1504,1127,0,1132,0,"IMAGE"],[1505,1134,0,1133,0,"IMAGE"],[1506,1137,0,1134,0,"STITCHER"],[1507,1124,0,1134,1,"IMAGE"],[1508,1137,24,1135,0,"IMAGE"],[1509,1137,22,1136,0,"IMAGE"],[1510,1126,0,1137,0,"IMAGE"],[1511,1126,1,1137,1,"MASK"],[1512,1126,1,1137,2,"MASK"],[1513,1139,0,1138,0,"IMAGE"],[1514,1142,1,1139,0,"MASK"],[1515,1153,1,1140,0,"IMAGE"],[1516,1153,2,1143,0,"MASK"],[1517,1153,10,1144,0,"IMAGE"],[1518,1153,11,1145,0,"MASK"],[1519,1145,0,1146,0,"IMAGE"],[1520,1153,1,1147,0,"IMAGE"],[1521,1143,0,1148,0,"IMAGE"],[1522,1150,0,1149,0,"IMAGE"],[1523,1153,0,1150,0,"STITCHER"],[1524,1140,0,1150,1,"IMAGE"],[1525,1153,24,1151,0,"IMAGE"],[1526,1153,22,1152,0,"IMAGE"],[1527,1142,0,1153,0,"IMAGE"],[1528,1142,1,1153,1,"MASK"],[1529,1142,1,1153,2,"MASK"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.16105100000000006,"offset":[-534.1631096222325,2261.2803196282093]},"ue_links":[],"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} \ No newline at end of file diff --git a/testsinpaintcropandstitch.json b/testsinpaintcropandstitch.json deleted file mode 100644 index 6763d6a..0000000 --- a/testsinpaintcropandstitch.json +++ /dev/null @@ -1,54428 +0,0 @@ -{ - "id": "b0a93d1a-b030-4e82-8b0a-8d5789363be7", - "revision": 0, - "last_node_id": 1153, - "last_link_id": 1529, - "nodes": [ - { - "id": 8, - "type": "PreviewImage", - "pos": [ - -14550, - -5140 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 216, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 223 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 18, - "type": "PreviewImage", - "pos": [ - -14520, - -3450 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 564, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 225 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 22, - "type": "PreviewImage", - "pos": [ - -14550, - -2390 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 562, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 227 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 32, - "type": "PreviewImage", - "pos": [ - -12970, - -2360 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 576, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 217 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 38, - "type": "LoadImage", - "pos": [ - -13970, - -4980 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 53 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 54, - 60 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 48, - "type": "PreviewImage", - "pos": [ - -11390, - -2350 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 570, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 218 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 50, - "type": "PreviewImage", - "pos": [ - -11390, - -5100 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 214, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 221 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 53, - "type": "PreviewImage", - "pos": [ - -11360, - -3410 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 568, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 219 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 56, - "type": "LoadImage", - "pos": [ - -12390, - -4970 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 70 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 83 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 68, - "type": "PreviewImage", - "pos": [ - -14600, - -1220 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 560, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 215 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 76, - "type": "PreviewImage", - "pos": [ - -13160, - -1250 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 573, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 216 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 39, - "type": "PreviewImage", - "pos": [ - -12940, - -3420 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 566, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 220 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 10, - "type": "LoadImage", - "pos": [ - -15550, - -5010 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 28 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 29 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 87, - "type": "PreviewImage", - "pos": [ - -8200, - -4520 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 218, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 125 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 90, - "type": "LoadImage", - "pos": [ - -9200, - -4390 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 127 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 128, - 129 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 91, - "type": "PreviewImage", - "pos": [ - -8250, - -3750 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 234, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 130 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 85, - "type": "LoadImage", - "pos": [ - -9220, - -5170 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 122 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 123, - 124 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 105, - "type": "LoadImage", - "pos": [ - -1600, - -5170 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 142, - 195, - 196, - 197, - 198 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 143, - 144, - 191, - 192, - 193, - 194, - 774 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 143, - "type": "PreviewImage", - "pos": [ - -14570, - -4280 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 232, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 231 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 145, - "type": "PreviewImage", - "pos": [ - -12990, - -4250 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 228, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 233 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 148, - "type": "PreviewImage", - "pos": [ - -11410, - -4240 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 230, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 235 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 156, - "type": "LoadImage", - "pos": [ - -13950, - -4130 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 244 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 245 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 157, - "type": "LoadImage", - "pos": [ - -12380, - -4100 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 246 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 247 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 155, - "type": "LoadImage", - "pos": [ - -15520, - -4170 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 248 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 249 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 158, - "type": "LoadImage", - "pos": [ - -9260, - -3610 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 251 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 252 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 139, - "type": "LoadImage", - "pos": [ - -7710, - -5210 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 188 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 189, - 190, - 818 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 165, - "type": "LoadImage", - "pos": [ - -4710, - -4390 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 266 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 267, - 268, - 800 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 159, - "type": "LoadImage", - "pos": [ - -4800, - -5200 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 260 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 261, - 262, - 802 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 171, - "type": "LoadImage", - "pos": [ - -4720, - -3550 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 272 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 273, - 274, - 798 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 178, - "type": "LoadImage", - "pos": [ - -6280, - -4400 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 287 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 288, - 289, - 812 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 180, - "type": "LoadImage", - "pos": [ - -6370, - -5210 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 290 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 291, - 292, - 814 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 183, - "type": "LoadImage", - "pos": [ - -6290, - -3560 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 284 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 285, - 286, - 810 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 160, - "type": "Note", - "pos": [ - -4650, - -5440 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "invert" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 197, - "type": "LoadImage", - "pos": [ - -3110, - -5180 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 309 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 310, - 311, - 778 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 200, - "type": "Note", - "pos": [ - -2960, - -5420 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "blur for blend" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 190, - "type": "InpaintCropImproved", - "pos": [ - -4250, - -2830 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 167, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 298 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 299 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 300 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [ - 794 - ] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - true, - 100, - true, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 89, - "type": "InpaintCropImproved", - "pos": [ - -8750, - -4500 - ], - "size": [ - 522.4000244140625, - 894 - ], - "flags": {}, - "order": 103, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 127 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 128 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 129 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 125 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 822 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - true, - "ensure maximum resolution", - 16000, - 16000, - 128, - 128, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 94, - "type": "InpaintCropImproved", - "pos": [ - -8800, - -3730 - ], - "size": [ - 522.4000244140625, - 942 - ], - "flags": {}, - "order": 114, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 251 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 252 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 130 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 824 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - true, - "ensure minimum and maximum resolution", - 128, - 128, - 2048, - 2048, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 52, - "type": "InpaintCropImproved", - "pos": [ - -11940, - -5080 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 101, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 70 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": null - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 83 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 221 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 846 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 152, - "type": "InpaintCropImproved", - "pos": [ - -11960, - -4220 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 112, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 246 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 247 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 235 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 844 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 54, - "type": "InpaintCropImproved", - "pos": [ - -11910, - -3390 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 354, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 975 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": null - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 84 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 219 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 842 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 60, - "type": "InpaintCropImproved", - "pos": [ - -11940, - -2330 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 355, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 977 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 919 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 920 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 218 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 840 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 30, - "type": "InpaintCropImproved", - "pos": [ - -13520, - -2340 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 359, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 990 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 926 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 927 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 217 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 836 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 40, - "type": "InpaintCropImproved", - "pos": [ - -13490, - -3400 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 353, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 970 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 57 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 61 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 220 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 852 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 153, - "type": "InpaintCropImproved", - "pos": [ - -13540, - -4230 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 111, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 244 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 245 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 233 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 850 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 15, - "type": "InpaintCropImproved", - "pos": [ - -15100, - -5120 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 102, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 28 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 29 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 223 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 858 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 154, - "type": "InpaintCropImproved", - "pos": [ - -15120, - -4260 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 113, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 248 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 249 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 231 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 856 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 23, - "type": "InpaintCropImproved", - "pos": [ - -15100, - -2370 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 350, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 955 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 946 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 227 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 860 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 72, - "type": "InpaintCropImproved", - "pos": [ - -15150, - -1200 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 348, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 953 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 104 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 105 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 215 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 828 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 78, - "type": "InpaintCropImproved", - "pos": [ - -13710, - -1230 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 357, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 985 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 933 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 934 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 216 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 832 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 211, - "type": "LoadImage", - "pos": [ - -3080, - -3510 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 323 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 324, - 325, - 785 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 207, - "type": "LoadImage", - "pos": [ - -3080, - -4370 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 21, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 318 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 319, - 320, - 782 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 86, - "type": "InpaintCropImproved", - "pos": [ - -8770, - -5280 - ], - "size": [ - 522.4000244140625, - 894 - ], - "flags": {}, - "order": 104, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 122 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 123 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 124 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 229 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 820 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - true, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 131, - "type": "InpaintCropImproved", - "pos": [ - -940, - -2600 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 108, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 197 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 193 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 770 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.5000000000000001, - false, - 0, - false, - 0.5000000000000001, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 136, - "type": "InpaintCropImproved", - "pos": [ - -970, - -1740 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 109, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 198 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 194 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 772 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 1, - false, - 0, - 0, - 1, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 126, - "type": "InpaintCropImproved", - "pos": [ - -970, - -3510 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 107, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 196 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 192 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 768 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.30000000000000004, - false, - 0, - false, - 0.30000000000000004, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 107, - "type": "InpaintCropImproved", - "pos": [ - -1010, - -5260 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 105, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 142 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 143 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 144 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 764 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 121, - "type": "InpaintCropImproved", - "pos": [ - -970, - -4410 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 106, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 195 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 191 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 766 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.10000000000000002, - false, - 0, - false, - 0.15000000000000002, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 186, - "type": "InpaintCropImproved", - "pos": [ - -5780, - -5300 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 125, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 290 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 291 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 292 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [ - 804 - ] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 10, - false, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 185, - "type": "InpaintCropImproved", - "pos": [ - -5830, - -4510 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 123, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 287 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 288 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 289 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [ - 806 - ] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 200, - false, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 184, - "type": "InpaintCropImproved", - "pos": [ - -5840, - -3670 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 127, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 284 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 285 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 286 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [ - 808 - ] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 500, - false, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 163, - "type": "InpaintCropImproved", - "pos": [ - -4210, - -5290 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 119, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 260 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 261 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 262 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [ - 788 - ] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - true, - 0, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 173, - "type": "InpaintCropImproved", - "pos": [ - -4270, - -3660 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 121, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 272 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 273 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 274 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [ - 792 - ] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - true, - true, - 0, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 167, - "type": "InpaintCropImproved", - "pos": [ - -4260, - -4500 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 117, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 266 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 267 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 268 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [ - 790 - ] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - true, - 0, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 208, - "type": "InpaintCropImproved", - "pos": [ - -2490, - -4460 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 133, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 318 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 319 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 320 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 781 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - false, - 32, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 202, - "type": "InpaintCropImproved", - "pos": [ - -2520, - -5270 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 129, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 309 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 310 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 311 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [ - 776 - ] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - false, - 16, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 212, - "type": "InpaintCropImproved", - "pos": [ - -2490, - -3600 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 131, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 323 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 324 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 325 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "slot_index": 8, - "links": [] - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [ - 786 - ] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - false, - 64, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - true, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 106, - "type": "Note", - "pos": [ - -1450, - -5410 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Hipass filtered" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 215, - "type": "LoadImage", - "pos": [ - -10, - -5240 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 23, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 347, - 349, - 351, - 353, - 356 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 348, - 350, - 352, - 354, - 355, - 357, - 762 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 83, - "type": "PreviewImage", - "pos": [ - -8220, - -5300 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 220, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 229 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 227, - "type": "PreviewImage", - "pos": [ - 1140, - -5310 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 262, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 359 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 225, - "type": "InpaintCropImproved", - "pos": [ - 580, - -5330 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 138, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 353 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 354 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 355 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 359 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 758 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 228, - "type": "PreviewImage", - "pos": [ - 1170, - -4510 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 264, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 361 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 229, - "type": "PreviewImage", - "pos": [ - 1160, - -3600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 260, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 362 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 231, - "type": "PreviewImage", - "pos": [ - 1160, - -1840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 258, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 366 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 223, - "type": "InpaintCropImproved", - "pos": [ - 620, - -1810 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 136, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 349 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 350 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 366 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 750 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 1, - false, - 0, - 0, - 0, - true, - 2.0000000000000004, - 2.0000000000000004, - 2.0000000000000004, - 2.0000000000000004, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 222, - "type": "InpaintCropImproved", - "pos": [ - 650, - -2670 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 135, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 347 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 348 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 364 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 752 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.5000000000000001, - false, - 0, - false, - 0, - true, - 2.0000000000000004, - 1.0000000000000002, - 2.0000000000000004, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 224, - "type": "InpaintCropImproved", - "pos": [ - 620, - -3580 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 137, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 351 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 352 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 362 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 754 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.30000000000000004, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 2.0000000000000004, - 2.0000000000000004, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 232, - "type": "PreviewImage", - "pos": [ - 2660, - -1890 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 269, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 368 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 239, - "type": "PreviewImage", - "pos": [ - 2670, - -4560 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 273, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 376 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 241, - "type": "PreviewImage", - "pos": [ - 2660, - -3650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 275, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 378 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 243, - "type": "PreviewImage", - "pos": [ - 2680, - -2770 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 271, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 380 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 234, - "type": "LoadImage", - "pos": [ - 1490, - -5290 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 24, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 372, - 382, - 384, - 386, - 388 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 373, - 374, - 383, - 385, - 387, - 389, - 760 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 237, - "type": "InpaintCropImproved", - "pos": [ - 2080, - -5380 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 141, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 372 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 373 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 374 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 370 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 740 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 0.7000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 247, - "type": "InpaintCropImproved", - "pos": [ - 2120, - -4530 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 144, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 386 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 387 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [ - 376 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 742 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.10000000000000002, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.7000000000000002, - 0.7000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 248, - "type": "InpaintCropImproved", - "pos": [ - 2120, - -3630 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 145, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 388 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 389 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 378 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 744 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.30000000000000004, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 2.0000000000000004, - 0.10000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 245, - "type": "InpaintCropImproved", - "pos": [ - 2120, - -1860 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 142, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 382 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 383 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 368 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 748 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 1, - false, - 0, - 0, - 0, - true, - 3.0000000000000004, - 0.33000000000000007, - 1.0000000000000002, - 1.5000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 176, - "type": "Note", - "pos": [ - -6220, - -5450 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 25, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "expand mask" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 251, - "type": "LoadImage", - "pos": [ - -15460, - 610 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 26, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 392 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 393 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 255, - "type": "LoadImage", - "pos": [ - -15430, - 1310 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 27, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 403 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 404, - 862 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-1670481.1000000015.png [input]", - "image", - "" - ] - }, - { - "id": 262, - "type": "LoadImage", - "pos": [ - -14030, - 600 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 406 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 407 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 263, - "type": "Note", - "pos": [ - -14030, - 240 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 29, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Context extend factor" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 266, - "type": "LoadImage", - "pos": [ - -14020, - 1380 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 30, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 409 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 410 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 235, - "type": "PreviewImage", - "pos": [ - 2640, - -5360 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 267, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 370 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 252, - "type": "InpaintCropImproved", - "pos": [ - -15040, - 490 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 147, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 392 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 393 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [ - 738 - ] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [ - 414 - ] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 271, - "type": "PreviewImage", - "pos": [ - -14490, - 900 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 279, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 414 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 272, - "type": "PreviewImage", - "pos": [ - -14370, - 1660 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 281, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 416 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 261, - "type": "InpaintCropImproved", - "pos": [ - -14950, - 1310 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 148, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 403 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 404 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [ - 736 - ] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [ - 416 - ] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.10000000000000002, - false, - 0, - false, - 0, - true, - 3.0000000000000004, - 1.5000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 273, - "type": "PreviewImage", - "pos": [ - -13040, - 1650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 286, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 418 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 268, - "type": "InpaintCropImproved", - "pos": [ - -13600, - 1260 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 151, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 409 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 410 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [ - 734 - ] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [ - 418 - ] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 2.0000000000000004, - false, - 512, - 512, - "32" - ] - }, - { - "id": 274, - "type": "PreviewImage", - "pos": [ - -13070, - 880 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 284, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 420 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 265, - "type": "InpaintCropImproved", - "pos": [ - -13610, - 480 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 150, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 406 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 407 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [ - 732 - ] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [ - 420 - ] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 81, - "type": "Note", - "pos": [ - -15420, - -5350 - ], - "size": [ - 490, - 150 - ], - "flags": {}, - "order": 31, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Initialization / asserts / fixing mask and optional_context_mask" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 282, - "type": "PreviewImage", - "pos": [ - -11670, - 930 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 288, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 437 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 275, - "type": "LoadImage", - "pos": [ - -12630, - 650 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 32, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 427 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 428 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 284, - "type": "LoadImage", - "pos": [ - -12610, - 1030 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 33, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 429 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3492848.299999997.png [input]", - "image", - "" - ] - }, - { - "id": 286, - "type": "PreviewImage", - "pos": [ - -11650, - 1840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 290, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 435 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 288, - "type": "LoadImage", - "pos": [ - -12610, - 1560 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 34, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 432 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 433 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 289, - "type": "LoadImage", - "pos": [ - -12590, - 1940 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 35, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 434 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3535755.200000003.png [input]", - "image", - "" - ] - }, - { - "id": 283, - "type": "InpaintCropImproved", - "pos": [ - -12210, - 530 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 152, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 427 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 428 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 429 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [ - 730 - ] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [ - 437 - ] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 287, - "type": "InpaintCropImproved", - "pos": [ - -12190, - 1440 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 153, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 432 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 433 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 434 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [ - 728 - ] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [ - 435 - ] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 2.0000000000000004, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 293, - "type": "LoadImage", - "pos": [ - -8210, - 550 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 36, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 443 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 444 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 297, - "type": "LoadImage", - "pos": [ - -8190, - 1460 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 37, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 446 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 447 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 294, - "type": "LoadImage", - "pos": [ - -8190, - 930 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 38, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 445 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3492848.299999997.png [input]", - "image", - "" - ] - }, - { - "id": 298, - "type": "LoadImage", - "pos": [ - -8170, - 1840 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 39, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 448 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-225116.5.png [input]", - "image", - "" - ] - }, - { - "id": 305, - "type": "PreviewImage", - "pos": [ - -11630, - 2810 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 306, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 457 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 306, - "type": "LoadImage", - "pos": [ - -12590, - 2530 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 40, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 458 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 459 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 308, - "type": "InpaintCropImproved", - "pos": [ - -12170, - 2410 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 156, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 458 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 459 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 465 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [ - 726 - ] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [ - 457 - ] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 307, - "type": "LoadImage", - "pos": [ - -12570, - 2910 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 41, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 465 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-248882.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 313, - "type": "PreviewImage", - "pos": [ - -11630, - 3800 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 308, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 467 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 316, - "type": "LoadImage", - "pos": [ - -12570, - 3900 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 42, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 470 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-248882.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 314, - "type": "LoadImage", - "pos": [ - -12590, - 3520 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 43, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 468 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 469 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 315, - "type": "InpaintCropImproved", - "pos": [ - -12170, - 3400 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 157, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 468 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 469 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 470 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [ - 724 - ] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [ - 467 - ] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 318, - "type": "PreviewImage", - "pos": [ - -11620, - 4700 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 440, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 472 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 319, - "type": "LoadImage", - "pos": [ - -12560, - 4800 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 44, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 476 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-248882.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 325, - "type": "PreviewImage", - "pos": [ - -7160, - 2670 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 309, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 484 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 324, - "type": "LoadImage", - "pos": [ - -8150, - 2490 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 45, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 481 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 482 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 329, - "type": "InpaintCropImproved", - "pos": [ - -7730, - 2370 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 158, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 481 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 482 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 484, - 488 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 489, - 710 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 336, - "type": "PreviewImage", - "pos": [ - -7180, - 3700 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 312, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 494 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 337, - "type": "LoadImage", - "pos": [ - -8170, - 3520 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 46, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 497 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 498 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 340, - "type": "InpaintCropImproved", - "pos": [ - -7750, - 3400 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 159, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 497 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 498 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 494, - 500 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 501, - 720 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 277, - "type": "Note", - "pos": [ - -12630, - 290 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 47, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Context add context mask" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 142, - "type": "Note", - "pos": [ - -7680, - -5450 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 48, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Fill holes" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 350, - "type": "LoadImage", - "pos": [ - -4950, - 1440 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 49, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 529 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 530 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 352, - "type": "LoadImage", - "pos": [ - -4950, - 910 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 50, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 537 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3492848.299999997.png [input]", - "image", - "" - ] - }, - { - "id": 353, - "type": "LoadImage", - "pos": [ - -4930, - 1820 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 51, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 531 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-225116.5.png [input]", - "image", - "" - ] - }, - { - "id": 354, - "type": "PreviewImage", - "pos": [ - -3920, - 2650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 322, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 514 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 355, - "type": "LoadImage", - "pos": [ - -4910, - 2470 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 52, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 517 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 518 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 358, - "type": "InpaintCropImproved", - "pos": [ - -4490, - 2350 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 161, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 517 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 518 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 514, - 543 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 544, - 682 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 362, - "type": "PreviewImage", - "pos": [ - -3940, - 3680 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 325, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 522 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 363, - "type": "LoadImage", - "pos": [ - -4930, - 3500 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 53, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 526 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 527 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-219964.40000000596.png [input]", - "image", - "" - ] - }, - { - "id": 365, - "type": "PreviewImage", - "pos": [ - -3080, - 3530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 531, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 524 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 367, - "type": "InpaintCropImproved", - "pos": [ - -4510, - 3380 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 162, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 526 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 527 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 522, - 547 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 548, - 688 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 370, - "type": "PreviewImage", - "pos": [ - -3960, - 1490 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 317, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 532 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 393, - "type": "PreviewImage", - "pos": [ - -3470, - 550 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 328, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 557 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 395, - "type": "PreviewImage", - "pos": [ - -3470, - 1400 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 315, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 559 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 397, - "type": "PreviewImage", - "pos": [ - -2540, - 2510 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 521, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 561 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 399, - "type": "PreviewImage", - "pos": [ - -2570, - 3500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 529, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 563 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 349, - "type": "LoadImage", - "pos": [ - -4970, - 530 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 54, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 535 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 536 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 299, - "type": "InpaintCropImproved", - "pos": [ - -7790, - 430 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 154, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 443 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 444 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 445 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 549 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 702 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 450 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 704 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": [ - 565 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 566 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 567 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 300, - "type": "InpaintCropImproved", - "pos": [ - -7770, - 1340 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 155, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 446 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 447 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 448 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 551 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 708 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 453 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 706 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 568 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [ - 569 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 570 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "512" - ] - }, - { - "id": 369, - "type": "InpaintCropImproved", - "pos": [ - -4530, - 1320 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 160, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 529 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 530 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 531 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 559 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 676 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 532 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 674 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": [ - 580 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [ - 581 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": [ - 582 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 419, - "type": "PreviewImage", - "pos": [ - -2800, - 2500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 525, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 583 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 423, - "type": "PreviewImage", - "pos": [ - -2830, - 3830 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 534, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 587 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 342, - "type": "InpaintCropImproved", - "pos": [ - -6900, - 3370 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 313, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 500 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 501 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 555 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 718 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 496 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 716 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 574 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 575 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 576 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "512" - ] - }, - { - "id": 333, - "type": "InpaintCropImproved", - "pos": [ - -6880, - 2340 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 310, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 488 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 489 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 553 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 714 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 491 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 712 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 571 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 572 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 573 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "512" - ] - }, - { - "id": 382, - "type": "InpaintCropImproved", - "pos": [ - -3660, - 3350 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 326, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 547 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 548 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 563 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 686 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 524 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 684 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 586 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 587 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 588 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 427, - "type": "PreviewImage", - "pos": [ - -3950, - 4730 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 335, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 591 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 430, - "type": "PreviewImage", - "pos": [ - -3100, - 4530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 541, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 593 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 432, - "type": "InpaintCropImproved", - "pos": [ - -4520, - 4430 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 164, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 595 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 596 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 591, - 603 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 604, - 700 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 437, - "type": "PreviewImage", - "pos": [ - -2850, - 4530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 543, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 601 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 428, - "type": "LoadImage", - "pos": [ - -4940, - 4550 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 55, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 595 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 596 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3225001.799999997.png [input]", - "image", - "" - ] - }, - { - "id": 400, - "type": "PreviewImage", - "pos": [ - -6980, - 610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 295, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 565 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 401, - "type": "PreviewImage", - "pos": [ - -6980, - 920 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 296, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 566 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 404, - "type": "PreviewImage", - "pos": [ - -6930, - 1460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 302, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 568 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 296, - "type": "PreviewImage", - "pos": [ - -7210, - 1470 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 300, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 453 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 331, - "type": "PreviewImage", - "pos": [ - -6310, - 2490 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 505, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 491 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 407, - "type": "PreviewImage", - "pos": [ - -6060, - 2500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 507, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 571 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 339, - "type": "PreviewImage", - "pos": [ - -6310, - 3500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 513, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 496 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 410, - "type": "PreviewImage", - "pos": [ - -6070, - 3500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 515, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 574 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 411, - "type": "PreviewImage", - "pos": [ - -6080, - 3810 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 516, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 575 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 391, - "type": "PreviewImage", - "pos": [ - -5840, - 3470 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 511, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 555 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 384, - "type": "PreviewImage", - "pos": [ - -6720, - 610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 291, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 549 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 402, - "type": "PreviewImage", - "pos": [ - -6470, - 770 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 297, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 567 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 386, - "type": "PreviewImage", - "pos": [ - -6680, - 1440 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 298, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 551 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 405, - "type": "PreviewImage", - "pos": [ - -6920, - 1770 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 303, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 569 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 403, - "type": "PreviewImage", - "pos": [ - -6400, - 1610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 304, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 570 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 408, - "type": "PreviewImage", - "pos": [ - -6060, - 2800 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 508, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 572 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 406, - "type": "PreviewImage", - "pos": [ - -5510, - 2720 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 509, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 573 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 389, - "type": "PreviewImage", - "pos": [ - -5790, - 2490 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 503, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 553 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 409, - "type": "PreviewImage", - "pos": [ - -5560, - 3650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 517, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 576 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 351, - "type": "PreviewImage", - "pos": [ - -4000, - 520 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 330, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 513 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 413, - "type": "PreviewImage", - "pos": [ - -3730, - 530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 332, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 577 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 414, - "type": "PreviewImage", - "pos": [ - -3720, - 840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 333, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 578 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 412, - "type": "PreviewImage", - "pos": [ - -3200, - 710 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 334, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 579 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 416, - "type": "PreviewImage", - "pos": [ - -3720, - 1480 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 319, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 580 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 417, - "type": "PreviewImage", - "pos": [ - -3710, - 1790 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 320, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 581 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 415, - "type": "PreviewImage", - "pos": [ - -3180, - 1590 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 321, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 582 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 420, - "type": "PreviewImage", - "pos": [ - -2800, - 2810 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 526, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 584 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 418, - "type": "PreviewImage", - "pos": [ - -2270, - 2670 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 527, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 585 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 368, - "type": "PreviewImage", - "pos": [ - -3060, - 2500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 523, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 528 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 422, - "type": "PreviewImage", - "pos": [ - -2830, - 3520 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 533, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 586 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 421, - "type": "PreviewImage", - "pos": [ - -2330, - 3680 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 535, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 588 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 373, - "type": "InpaintCropImproved", - "pos": [ - -4550, - 390 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 163, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 535 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 536 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 537 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 557 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 670 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 513 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 672 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 577 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 578 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 579 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "8" - ] - }, - { - "id": 439, - "type": "InpaintCropImproved", - "pos": [ - -3670, - 4400 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 336, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 603 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 604 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 599 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 692 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 593 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 690 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 601 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 602 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 600 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 453, - "type": "PreviewImage", - "pos": [ - -4790, - 3300 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 338, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 618 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 456, - "type": "InpaintCropImproved", - "pos": [ - -4530, - 5570 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 165, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 620 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 621 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 618, - 626 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 627, - 698 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 458, - "type": "PreviewImage", - "pos": [ - -3410, - 3160 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 547, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 623 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 460, - "type": "PreviewImage", - "pos": [ - -3670, - 3150 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 551, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 625 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 462, - "type": "PreviewImage", - "pos": [ - -3670, - 3460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 552, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 628 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 463, - "type": "PreviewImage", - "pos": [ - -3140, - 3320 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 553, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 629 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 454, - "type": "LoadImage", - "pos": [ - -5780, - 3120 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 56, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 620 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 621 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3255269.599999994.png [input]", - "image", - "" - ] - }, - { - "id": 464, - "type": "PreviewImage", - "pos": [ - -3930, - 3150 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 549, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 630 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 461, - "type": "InpaintCropImproved", - "pos": [ - -3680, - 5540 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 339, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 626 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 627 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 623 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 696 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 630 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 694 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 625 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 628 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 629 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 141, - "type": "InpaintCropImproved", - "pos": [ - -7260, - -5320 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 115, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 188 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 189 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 190 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [ - 816 - ] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 291, - "type": "PreviewImage", - "pos": [ - -7230, - 610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 293, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 450 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 436, - "type": "PreviewImage", - "pos": [ - -2310, - 4680 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 545, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 600 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 435, - "type": "PreviewImage", - "pos": [ - -2580, - 4550 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 539, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 599 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 438, - "type": "PreviewImage", - "pos": [ - -2850, - 4840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 544, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 602 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 475, - "type": "LoadImage", - "pos": [ - 240, - 1250 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 57, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 633 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 634 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-5472479.200000003.png [input]", - "image", - "" - ] - }, - { - "id": 478, - "type": "InpaintStitchImproved", - "pos": [ - 2350, - 1030 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 701, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 644 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 650 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 647 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 466, - "type": "PreviewImage", - "pos": [ - 1230, - 1430 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 341, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 631 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 468, - "type": "InpaintCropImproved", - "pos": [ - 660, - 1130 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 166, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 633 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 634 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 631, - 642, - 648 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 643, - 668 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 477, - "type": "InpaintCropImproved", - "pos": [ - 1510, - 1100 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 343, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 642 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 643 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 644 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 649 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 480, - "type": "ImageInvert", - "pos": [ - 2100, - 1370 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 555, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 649 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 650 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 479, - "type": "PreviewImage", - "pos": [ - 2490, - 1130 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 342, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 648 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 470, - "type": "PreviewImage", - "pos": [ - 2510, - 1450 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 764, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 647 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 383, - "type": "Note", - "pos": [ - -5000, - 170 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 58, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "padding target" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 494, - "type": "PreviewImage", - "pos": [ - 3990, - 1740 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 594, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 665 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 495, - "type": "MaskToImage", - "pos": [ - 3940, - 1670 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 373, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 666 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 665 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 496, - "type": "PreviewImage", - "pos": [ - 1270, - 1830 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 556, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 667 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 497, - "type": "MaskToImage", - "pos": [ - 1220, - 1760 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 344, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 668 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 667 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 498, - "type": "PreviewImage", - "pos": [ - -3440, - 940 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 537, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 669 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 499, - "type": "MaskToImage", - "pos": [ - -3430, - 870 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 329, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 670 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 669 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 500, - "type": "PreviewImage", - "pos": [ - -3980, - 930 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 538, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 671 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 501, - "type": "MaskToImage", - "pos": [ - -3970, - 850 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 331, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 672 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 671 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 502, - "type": "PreviewImage", - "pos": [ - -3950, - 1870 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 520, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 673 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 503, - "type": "MaskToImage", - "pos": [ - -3940, - 1800 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 318, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 674 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 673 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 504, - "type": "PreviewImage", - "pos": [ - -3460, - 1790 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 519, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 675 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 505, - "type": "MaskToImage", - "pos": [ - -3450, - 1720 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 316, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 676 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 675 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 506, - "type": "PreviewImage", - "pos": [ - -3070, - 2880 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 694, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 677 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 507, - "type": "MaskToImage", - "pos": [ - -3060, - 2810 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 524, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 678 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 677 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 508, - "type": "PreviewImage", - "pos": [ - -2540, - 2900 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 693, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 679 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 509, - "type": "MaskToImage", - "pos": [ - -2530, - 2830 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 522, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 680 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 679 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 510, - "type": "PreviewImage", - "pos": [ - -3910, - 3020 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 528, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 681 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 511, - "type": "MaskToImage", - "pos": [ - -3900, - 2950 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 324, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 682 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 681 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 379, - "type": "InpaintCropImproved", - "pos": [ - -3640, - 2320 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 323, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 543 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 544 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 561 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 680 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 528 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [ - 678 - ] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 583 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [ - 584 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 585 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 512, - "type": "PreviewImage", - "pos": [ - -3100, - 3910 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 696, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 683 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 513, - "type": "MaskToImage", - "pos": [ - -3090, - 3840 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 532, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 684 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 683 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 514, - "type": "PreviewImage", - "pos": [ - -2580, - 3890 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 695, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 685 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 515, - "type": "MaskToImage", - "pos": [ - -2570, - 3820 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 530, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 686 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 685 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 516, - "type": "PreviewImage", - "pos": [ - -3940, - 4080 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 536, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 687 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 517, - "type": "MaskToImage", - "pos": [ - -3930, - 4010 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 327, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 688 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 687 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 518, - "type": "PreviewImage", - "pos": [ - -3110, - 4910 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 698, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 689 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 519, - "type": "MaskToImage", - "pos": [ - -3100, - 4840 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 542, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 690 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 689 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 520, - "type": "PreviewImage", - "pos": [ - -2580, - 4940 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 697, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 691 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 521, - "type": "MaskToImage", - "pos": [ - -2570, - 4870 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 540, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 692 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 691 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 522, - "type": "PreviewImage", - "pos": [ - -3950, - 3540 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 700, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 693 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 523, - "type": "MaskToImage", - "pos": [ - -3940, - 3470 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 550, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 694 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 693 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 524, - "type": "PreviewImage", - "pos": [ - -3400, - 3550 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 699, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 695 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 525, - "type": "MaskToImage", - "pos": [ - -3390, - 3480 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 548, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 696 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 695 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 526, - "type": "PreviewImage", - "pos": [ - -4800, - 3680 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 554, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 697 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 527, - "type": "MaskToImage", - "pos": [ - -4790, - 3610 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 340, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 698 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 697 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 528, - "type": "PreviewImage", - "pos": [ - -3960, - 5120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 546, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 699 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 529, - "type": "MaskToImage", - "pos": [ - -3950, - 5050 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 337, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 700 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 699 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 530, - "type": "PreviewImage", - "pos": [ - -6720, - 1000 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 497, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 701 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 531, - "type": "MaskToImage", - "pos": [ - -6710, - 930 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 292, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 702 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 701 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 532, - "type": "PreviewImage", - "pos": [ - -7230, - 1000 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 498, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 703 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 533, - "type": "MaskToImage", - "pos": [ - -7220, - 930 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 294, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 704 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 703 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 534, - "type": "PreviewImage", - "pos": [ - -7200, - 1850 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 500, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 705 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 535, - "type": "MaskToImage", - "pos": [ - -7190, - 1780 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 301, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 706 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 705 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 536, - "type": "PreviewImage", - "pos": [ - -6670, - 1840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 499, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 707 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 537, - "type": "MaskToImage", - "pos": [ - -6660, - 1770 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 299, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 708 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 707 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 538, - "type": "PreviewImage", - "pos": [ - -7160, - 3070 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 510, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 709 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 539, - "type": "MaskToImage", - "pos": [ - -7150, - 3000 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 311, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 710 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 709 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 540, - "type": "PreviewImage", - "pos": [ - -6320, - 2890 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 690, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 711 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 541, - "type": "MaskToImage", - "pos": [ - -6310, - 2820 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 506, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 712 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 711 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 542, - "type": "PreviewImage", - "pos": [ - -5780, - 2880 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 689, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 713 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 543, - "type": "MaskToImage", - "pos": [ - -5770, - 2810 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 504, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 714 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 713 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 544, - "type": "PreviewImage", - "pos": [ - -6340, - 3900 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 692, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 715 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 545, - "type": "MaskToImage", - "pos": [ - -6330, - 3830 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 514, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 716 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 715 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 546, - "type": "PreviewImage", - "pos": [ - -5830, - 3870 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 691, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 717 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 547, - "type": "MaskToImage", - "pos": [ - -5820, - 3800 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 512, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 718 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 717 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 548, - "type": "PreviewImage", - "pos": [ - -7190, - 4090 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 518, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 719 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 549, - "type": "MaskToImage", - "pos": [ - -7180, - 4020 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 314, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 720 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 719 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 550, - "type": "PreviewImage", - "pos": [ - -11590, - 4370 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 682, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 721 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 551, - "type": "MaskToImage", - "pos": [ - -11580, - 4300 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 439, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 722 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 721 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 552, - "type": "PreviewImage", - "pos": [ - -11610, - 3490 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 502, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 723 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 553, - "type": "MaskToImage", - "pos": [ - -11600, - 3420 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 307, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 724 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 723 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 554, - "type": "PreviewImage", - "pos": [ - -11620, - 2520 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 501, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 725 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 555, - "type": "MaskToImage", - "pos": [ - -11610, - 2450 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 305, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 726 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 725 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 556, - "type": "PreviewImage", - "pos": [ - -11640, - 1550 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 496, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 727 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 557, - "type": "MaskToImage", - "pos": [ - -11630, - 1480 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 289, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 728 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 727 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 558, - "type": "PreviewImage", - "pos": [ - -11660, - 630 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 495, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 729 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 559, - "type": "MaskToImage", - "pos": [ - -11650, - 560 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 287, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 730 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 729 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 560, - "type": "PreviewImage", - "pos": [ - -13060, - 580 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 493, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 731 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 561, - "type": "MaskToImage", - "pos": [ - -13050, - 510 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 283, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 732 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 731 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 562, - "type": "PreviewImage", - "pos": [ - -13040, - 1350 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 494, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 733 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 563, - "type": "MaskToImage", - "pos": [ - -13030, - 1280 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 285, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 734 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 733 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 564, - "type": "PreviewImage", - "pos": [ - -14370, - 1360 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 492, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 735 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 565, - "type": "MaskToImage", - "pos": [ - -14360, - 1290 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 280, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 736 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 735 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 566, - "type": "PreviewImage", - "pos": [ - -14480, - 600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 491, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 737 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 567, - "type": "MaskToImage", - "pos": [ - -14470, - 530 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 278, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 738 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 737 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 568, - "type": "PreviewImage", - "pos": [ - 2640, - -4950 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 486, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 739 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 569, - "type": "MaskToImage", - "pos": [ - 2650, - -5020 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 268, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 740 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 739 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 570, - "type": "PreviewImage", - "pos": [ - 2680, - -4170 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 489, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 741 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 571, - "type": "MaskToImage", - "pos": [ - 2690, - -4240 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 274, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 742 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 741 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 572, - "type": "PreviewImage", - "pos": [ - 2690, - -3260 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 490, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 743 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 573, - "type": "MaskToImage", - "pos": [ - 2700, - -3330 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 276, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 744 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 743 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 246, - "type": "InpaintCropImproved", - "pos": [ - 2110, - -2710 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 143, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 384 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 385 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 380 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 746 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.5000000000000001, - false, - 0, - false, - 0, - true, - 0.6500000000000001, - 0.8000000000000002, - 0.6000000000000001, - 0.5000000000000001, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 574, - "type": "PreviewImage", - "pos": [ - 2690, - -2370 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 488, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 745 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 575, - "type": "MaskToImage", - "pos": [ - 2700, - -2440 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 272, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 746 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 745 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 576, - "type": "PreviewImage", - "pos": [ - 2670, - -1490 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 487, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 747 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 577, - "type": "MaskToImage", - "pos": [ - 2680, - -1560 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 270, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 748 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 747 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 578, - "type": "PreviewImage", - "pos": [ - 1170, - -1440 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 482, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 749 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 579, - "type": "MaskToImage", - "pos": [ - 1180, - -1510 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 259, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 750 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 749 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 580, - "type": "PreviewImage", - "pos": [ - 1210, - -2320 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 481, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 751 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 581, - "type": "MaskToImage", - "pos": [ - 1220, - -2390 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 257, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 752 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 751 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 582, - "type": "PreviewImage", - "pos": [ - 1190, - -3210 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 483, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 753 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 583, - "type": "MaskToImage", - "pos": [ - 1200, - -3280 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 261, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 754 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 753 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 584, - "type": "PreviewImage", - "pos": [ - 1170, - -4110 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 485, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 755 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 585, - "type": "MaskToImage", - "pos": [ - 1180, - -4180 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 265, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 756 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 755 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 586, - "type": "PreviewImage", - "pos": [ - 1150, - -4920 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 484, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 757 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 587, - "type": "MaskToImage", - "pos": [ - 1160, - -4990 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 263, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 758 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 757 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 588, - "type": "PreviewImage", - "pos": [ - 1580, - -4820 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 277, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 759 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 589, - "type": "MaskToImage", - "pos": [ - 1590, - -4890 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 146, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 760 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 759 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 590, - "type": "PreviewImage", - "pos": [ - 50, - -4770 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 266, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 761 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 591, - "type": "MaskToImage", - "pos": [ - 60, - -4840 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 140, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 762 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 761 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 592, - "type": "PreviewImage", - "pos": [ - -450, - -5150 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 462, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 763 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 593, - "type": "MaskToImage", - "pos": [ - -440, - -5220 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 222, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 764 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 763 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 594, - "type": "PreviewImage", - "pos": [ - -390, - -4240 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 463, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 765 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 595, - "type": "MaskToImage", - "pos": [ - -380, - -4310 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 223, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 766 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 765 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 596, - "type": "PreviewImage", - "pos": [ - -380, - -3380 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 464, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 767 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 597, - "type": "MaskToImage", - "pos": [ - -370, - -3450 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 224, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 768 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 767 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 598, - "type": "PreviewImage", - "pos": [ - -310, - -2460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 465, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 769 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 599, - "type": "MaskToImage", - "pos": [ - -300, - -2530 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 225, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 770 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 769 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 600, - "type": "PreviewImage", - "pos": [ - -390, - -1570 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 466, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 771 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 601, - "type": "MaskToImage", - "pos": [ - -380, - -1640 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 226, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 772 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 771 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 602, - "type": "PreviewImage", - "pos": [ - -1550, - -4670 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 227, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 773 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 603, - "type": "MaskToImage", - "pos": [ - -1540, - -4740 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 110, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 774 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 773 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 604, - "type": "PreviewImage", - "pos": [ - -1960, - -5200 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 478, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 775 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 605, - "type": "MaskToImage", - "pos": [ - -1950, - -5270 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 250, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 776 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 775 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 606, - "type": "PreviewImage", - "pos": [ - -1940, - -4830 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 251, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 777 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 607, - "type": "MaskToImage", - "pos": [ - -1930, - -4900 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 130, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 778 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 777 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 608, - "type": "PreviewImage", - "pos": [ - -1910, - -4350 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 480, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 779 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 609, - "type": "MaskToImage", - "pos": [ - -1900, - -4420 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 254, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 781 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 779 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 610, - "type": "PreviewImage", - "pos": [ - -1890, - -3940 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 255, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 780 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 611, - "type": "MaskToImage", - "pos": [ - -1880, - -4010 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 134, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 782 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 780 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 612, - "type": "PreviewImage", - "pos": [ - -1880, - -3540 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 479, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 783 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 613, - "type": "MaskToImage", - "pos": [ - -1870, - -3610 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 252, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 786 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 783 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 614, - "type": "PreviewImage", - "pos": [ - -1870, - -3120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 253, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 784 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 615, - "type": "MaskToImage", - "pos": [ - -1860, - -3190 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 132, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 785 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 784 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 616, - "type": "PreviewImage", - "pos": [ - -3610, - -5180 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 473, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 787 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 617, - "type": "MaskToImage", - "pos": [ - -3600, - -5250 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 240, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 788 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 787 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 618, - "type": "PreviewImage", - "pos": [ - -3670, - -4290 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 472, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 789 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 619, - "type": "MaskToImage", - "pos": [ - -3660, - -4360 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 238, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 790 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 789 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 620, - "type": "PreviewImage", - "pos": [ - -3680, - -3470 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 474, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 791 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 621, - "type": "MaskToImage", - "pos": [ - -3670, - -3540 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 242, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 792 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 791 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 622, - "type": "PreviewImage", - "pos": [ - -3680, - -2630 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 557, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 793 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 623, - "type": "MaskToImage", - "pos": [ - -3670, - -2700 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 345, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 794 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 793 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 624, - "type": "PreviewImage", - "pos": [ - -4620, - -2290 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 346, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 795 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 625, - "type": "MaskToImage", - "pos": [ - -4610, - -2360 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 168, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 796 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 795 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 189, - "type": "LoadImage", - "pos": [ - -4700, - -2720 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 59, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 298 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 299, - 300, - 796 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-2116156.8999999985.png [input]", - "image", - "" - ] - }, - { - "id": 626, - "type": "PreviewImage", - "pos": [ - -4660, - -3100 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 243, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 797 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 627, - "type": "MaskToImage", - "pos": [ - -4650, - -3170 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 122, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 798 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 797 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 628, - "type": "PreviewImage", - "pos": [ - -4630, - -3940 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 239, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 799 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 629, - "type": "MaskToImage", - "pos": [ - -4620, - -4010 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 118, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 800 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 799 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 630, - "type": "PreviewImage", - "pos": [ - -4740, - -4740 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 241, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 801 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 631, - "type": "MaskToImage", - "pos": [ - -4730, - -4810 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 120, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 802 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 801 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 632, - "type": "PreviewImage", - "pos": [ - -5220, - -5100 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 476, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 803 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 633, - "type": "MaskToImage", - "pos": [ - -5210, - -5170 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 246, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 804 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 803 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 634, - "type": "PreviewImage", - "pos": [ - -5260, - -4300 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 475, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 805 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 635, - "type": "MaskToImage", - "pos": [ - -5250, - -4370 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 244, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 806 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 805 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 636, - "type": "PreviewImage", - "pos": [ - -5240, - -3470 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 477, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 807 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 637, - "type": "MaskToImage", - "pos": [ - -5230, - -3540 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 248, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 808 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 807 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 638, - "type": "PreviewImage", - "pos": [ - -6200, - -3130 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 249, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 809 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 639, - "type": "MaskToImage", - "pos": [ - -6190, - -3200 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 128, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 810 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 809 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 640, - "type": "PreviewImage", - "pos": [ - -6210, - -3950 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 245, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 811 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 641, - "type": "MaskToImage", - "pos": [ - -6200, - -4020 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 124, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 812 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 811 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 642, - "type": "PreviewImage", - "pos": [ - -6300, - -4730 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 247, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 813 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 643, - "type": "MaskToImage", - "pos": [ - -6290, - -4800 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 126, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 814 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 813 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 644, - "type": "PreviewImage", - "pos": [ - -6690, - -5150 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 471, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 815 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 645, - "type": "MaskToImage", - "pos": [ - -6680, - -5220 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 236, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 816 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 815 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 646, - "type": "PreviewImage", - "pos": [ - -7610, - -4780 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 237, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 817 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 647, - "type": "MaskToImage", - "pos": [ - -7600, - -4850 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 116, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 818 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 817 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 648, - "type": "PreviewImage", - "pos": [ - -8190, - -4890 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 461, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 819 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 649, - "type": "MaskToImage", - "pos": [ - -8180, - -4960 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 221, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 820 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 819 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 650, - "type": "PreviewImage", - "pos": [ - -8180, - -4130 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 460, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 821 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 651, - "type": "MaskToImage", - "pos": [ - -8170, - -4200 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 219, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 822 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 821 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 652, - "type": "PreviewImage", - "pos": [ - -8220, - -3340 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 470, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 823 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 653, - "type": "MaskToImage", - "pos": [ - -8210, - -3410 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 235, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 824 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 823 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 654, - "type": "PreviewImage", - "pos": [ - -15490, - -610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 349, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 825 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 655, - "type": "MaskToImage", - "pos": [ - -15480, - -680 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 171, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 826 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 825 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 656, - "type": "PreviewImage", - "pos": [ - -14570, - -780 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 703, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 827 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 657, - "type": "MaskToImage", - "pos": [ - -14560, - -850 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 561, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 828 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 827 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 658, - "type": "PreviewImage", - "pos": [ - -14000, - -470 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 575, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 829 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 659, - "type": "MaskToImage", - "pos": [ - -13990, - -540 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 358, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 936 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 829 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 660, - "type": "PreviewImage", - "pos": [ - -13130, - -820 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 709, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 831 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 661, - "type": "MaskToImage", - "pos": [ - -13120, - -890 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 574, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 832 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 831 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 662, - "type": "PreviewImage", - "pos": [ - -13760, - -1570 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 578, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 833 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 663, - "type": "MaskToImage", - "pos": [ - -13750, - -1640 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 360, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 937 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 833 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 664, - "type": "PreviewImage", - "pos": [ - -12930, - -1930 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 710, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 835 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 665, - "type": "MaskToImage", - "pos": [ - -12920, - -2000 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 577, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 836 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 835 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 666, - "type": "PreviewImage", - "pos": [ - -12230, - -1540 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 572, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 837 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 667, - "type": "MaskToImage", - "pos": [ - -12220, - -1610 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 356, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 938 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 837 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 668, - "type": "PreviewImage", - "pos": [ - -11370, - -1920 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 708, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 839 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 669, - "type": "MaskToImage", - "pos": [ - -11360, - -1990 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 571, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 840 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 839 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 670, - "type": "PreviewImage", - "pos": [ - -11330, - -2980 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 707, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 841 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 671, - "type": "MaskToImage", - "pos": [ - -11320, - -3050 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 569, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 842 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 841 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 672, - "type": "PreviewImage", - "pos": [ - -11380, - -3800 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 468, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 843 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 673, - "type": "MaskToImage", - "pos": [ - -11370, - -3870 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 231, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 844 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 843 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 674, - "type": "PreviewImage", - "pos": [ - -11370, - -4690 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 458, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 845 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 675, - "type": "MaskToImage", - "pos": [ - -11360, - -4760 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 215, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 846 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 845 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 676, - "type": "PreviewImage", - "pos": [ - -12950, - -4690 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 457, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 847 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 677, - "type": "MaskToImage", - "pos": [ - -12940, - -4760 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 213, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 848 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 847 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 678, - "type": "PreviewImage", - "pos": [ - -12970, - -3810 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 467, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 849 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 679, - "type": "MaskToImage", - "pos": [ - -12960, - -3880 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 229, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 850 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 849 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 680, - "type": "PreviewImage", - "pos": [ - -12900, - -3020 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 706, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 851 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 681, - "type": "MaskToImage", - "pos": [ - -12890, - -3090 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 567, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 852 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 851 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 682, - "type": "PreviewImage", - "pos": [ - -14480, - -3020 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 705, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 853 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 683, - "type": "MaskToImage", - "pos": [ - -14470, - -3090 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 565, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 854 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 853 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 684, - "type": "PreviewImage", - "pos": [ - -14530, - -3850 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 469, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 855 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 685, - "type": "MaskToImage", - "pos": [ - -14520, - -3920 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 233, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 856 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 855 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 686, - "type": "PreviewImage", - "pos": [ - -14500, - -4710 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 459, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 857 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 687, - "type": "MaskToImage", - "pos": [ - -14490, - -4780 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 217, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 858 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 857 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 688, - "type": "PreviewImage", - "pos": [ - -14500, - -1970 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 704, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 859 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 689, - "type": "MaskToImage", - "pos": [ - -14490, - -2040 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 563, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 860 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 859 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 690, - "type": "PreviewImage", - "pos": [ - -15420, - 1760 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 282, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 861 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 691, - "type": "MaskToImage", - "pos": [ - -15410, - 1690 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 149, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 862 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 861 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 692, - "type": "PreviewImage", - "pos": [ - -15350, - -1620 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 351, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 863 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 693, - "type": "MaskToImage", - "pos": [ - -15340, - -1690 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 174, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 947 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 863 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 96, - "type": "Note", - "pos": [ - -9210, - -5430 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 60, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Preresize" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 253, - "type": "Note", - "pos": [ - -15460, - 250 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 61, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Context from mask" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 292, - "type": "Note", - "pos": [ - -8210, - 190 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 62, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "padding no target" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 694, - "type": "PreviewImage", - "pos": [ - 1180, - 2530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 362, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 865 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 696, - "type": "InpaintCropImproved", - "pos": [ - 610, - 2230 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 185, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 867 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 868 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 865, - 870, - 888 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 871, - 880 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 707, - "type": "PreviewImage", - "pos": [ - 1170, - 2920 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 584, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 879 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 708, - "type": "MaskToImage", - "pos": [ - 1180, - 2850 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 365, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 880 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 879 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 710, - "type": "ImageInvert", - "pos": [ - 2090, - 2520 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 581, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 885 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 881 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 712, - "type": "PreviewImage", - "pos": [ - 2500, - 2600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 765, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 882 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 713, - "type": "PreviewImage", - "pos": [ - 2180, - 2980 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 713, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 883 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 714, - "type": "MaskToImage", - "pos": [ - 2130, - 2910 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 583, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 887 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 883 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 715, - "type": "PreviewImage", - "pos": [ - 2170, - 2600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 582, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 886 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 709, - "type": "InpaintStitchImproved", - "pos": [ - 2340, - 2180 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 712, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 884 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 881 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 882 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 699, - "type": "InpaintCropImproved", - "pos": [ - 1460, - 2200 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 364, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 870 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 871 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 884 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 885, - 886 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 887 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 711, - "type": "PreviewImage", - "pos": [ - 2490, - 2300 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 363, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 888 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 214, - "type": "Note", - "pos": [ - -10, - -5450 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 63, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Extend" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 213, - "type": "Note", - "pos": [ - 1020, - 530 - ], - "size": [ - 980, - 310 - ], - "flags": { - "pinned": true - }, - "order": 64, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "This is the suite of unit and integration tests for the Crop and Stitch nodes.\n\nIn order to run these tests:\n- Copy the content of testimgs/ to ComfyUI input/.\n- Enable DEBUG_MODE in inpaint_cropandstitch.py\n- Reload this workflow and run.\n\nYou can find the end-to-end tests (using both crop and stitch) below this note.\n\nAbove and left (zoom out) there are a bunch of tests for the most complex logic within the crop node." - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 720, - "type": "InpaintCropImproved", - "pos": [ - -11910, - -1140 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 347, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 897 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 913 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 914 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 889 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 894 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 722, - "type": "MaskToImage", - "pos": [ - -11320, - -800 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 559, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 894 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 893 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 716, - "type": "PreviewImage", - "pos": [ - -11360, - -1160 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 558, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 889 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 718, - "type": "LoadImage", - "pos": [ - -12360, - -1030 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 65, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 897 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 909, - 910, - 911, - 912 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 732, - "type": "ImpactMakeMaskBatch", - "pos": [ - -14020, - -710 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 181, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 929 - }, - { - "name": "mask2", - "type": "MASK", - "link": 930 - }, - { - "name": "mask3", - "type": "MASK", - "link": 931 - }, - { - "name": "mask4", - "type": "MASK", - "link": 932 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 933, - 934, - 936 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 731, - "type": "ImpactMakeMaskBatch", - "pos": [ - -13790, - -1800 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 183, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 922 - }, - { - "name": "mask2", - "type": "MASK", - "link": 923 - }, - { - "name": "mask3", - "type": "MASK", - "link": 924 - }, - { - "name": "mask4", - "type": "MASK", - "link": 925 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 926, - 927, - 937 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 730, - "type": "ImpactMakeMaskBatch", - "pos": [ - -12240, - -1810 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 179, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 915 - }, - { - "name": "mask2", - "type": "MASK", - "link": 916 - }, - { - "name": "mask3", - "type": "MASK", - "link": 917 - }, - { - "name": "mask4", - "type": "MASK", - "link": 918 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 919, - 920, - 938 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 729, - "type": "ImpactMakeMaskBatch", - "pos": [ - -12260, - -560 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 169, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 909 - }, - { - "name": "mask2", - "type": "MASK", - "link": 910 - }, - { - "name": "mask3", - "type": "MASK", - "link": 911 - }, - { - "name": "mask4", - "type": "MASK", - "link": 912 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 913, - 914 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 733, - "type": "ImpactMakeMaskBatch", - "pos": [ - -15370, - -1870 - ], - "size": [ - 210, - 126 - ], - "flags": {}, - "order": 173, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 939 - }, - { - "name": "mask2", - "type": "MASK", - "link": 940 - }, - { - "name": "mask3", - "type": "MASK", - "link": 941 - }, - { - "name": "mask4", - "type": "MASK", - "link": 945 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 946 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 70, - "type": "LoadImage", - "pos": [ - -15600, - -1090 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 66, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 949, - 950, - 951, - 952 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 104, - 105, - 826 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 735, - "type": "ImpactMakeImageBatch", - "pos": [ - -15460, - -1260 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 170, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 949 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 950 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 951 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 952 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 953 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 24, - "type": "LoadImage", - "pos": [ - -15550, - -2260 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 67, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 954, - 956, - 957, - 958 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 939, - 940, - 941, - 944, - 945, - 947 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 736, - "type": "ImpactMakeImageBatch", - "pos": [ - -15480, - -2430 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 172, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 954 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 956 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 957 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 958 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 955 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 20, - "type": "InpaintCropImproved", - "pos": [ - -15070, - -3430 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 352, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 961 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 33 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 225 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 854 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 21, - "type": "LoadImage", - "pos": [ - -15520, - -3320 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 68, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 959, - 962, - 963, - 964 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 33 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 737, - "type": "ImpactMakeImageBatch", - "pos": [ - -15410, - -3470 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 175, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 959 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 962 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 963 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 964 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 961 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 41, - "type": "LoadImage", - "pos": [ - -13940, - -3290 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 69, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 966, - 967, - 968, - 969 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 57, - 61 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 738, - "type": "ImpactMakeImageBatch", - "pos": [ - -13780, - -3550 - ], - "size": [ - 210, - 126 - ], - "flags": {}, - "order": 176, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 969 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 968 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 967 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 966 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 970 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 57, - "type": "LoadImage", - "pos": [ - -12360, - -3280 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 70, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 971, - 972, - 973, - 974 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 84 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 739, - "type": "ImpactMakeImageBatch", - "pos": [ - -12270, - -3480 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 177, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 971 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 972 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 973 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 974 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 975 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 58, - "type": "LoadImage", - "pos": [ - -12390, - -2220 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 71, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 976, - 978, - 979, - 980 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 915, - 916, - 917, - 918 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 740, - "type": "ImpactMakeImageBatch", - "pos": [ - -12260, - -2420 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 178, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 976 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 978 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 979 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 980 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 977 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 79, - "type": "LoadImage", - "pos": [ - -14160, - -1120 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 72, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 981, - 982, - 983, - 984 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 929, - 930, - 931, - 932 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 741, - "type": "ImpactMakeImageBatch", - "pos": [ - -14050, - -1300 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 180, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 981 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 982 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 983 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 984 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 985 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 31, - "type": "LoadImage", - "pos": [ - -13970, - -2230 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 73, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 986, - 987, - 988, - 989 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 922, - 923, - 924, - 925 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-213955.39999999944.png [input]", - "image", - "" - ] - }, - { - "id": 742, - "type": "ImpactMakeImageBatch", - "pos": [ - -13850, - -2410 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 182, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 986 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 987 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 988 - }, - { - "name": "image4", - "type": "IMAGE", - "link": 989 - }, - { - "name": "image5", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 990 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 721, - "type": "PreviewImage", - "pos": [ - -11330, - -730 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 702, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 893 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 743, - "type": "InpaintCropImproved", - "pos": [ - -10378.255859375, - -1075.4649658203125 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 361, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 991 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 992 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1005 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 995 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 994 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 744, - "type": "MaskToImage", - "pos": [ - -9788.255859375, - -735.4649658203125 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 580, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 994 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1000 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 745, - "type": "PreviewImage", - "pos": [ - -9828.255859375, - -1095.4649658203125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 579, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 995 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 748, - "type": "PreviewImage", - "pos": [ - -9798.255859375, - -665.4649658203125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 711, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1000 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 747, - "type": "ImpactMakeMaskBatch", - "pos": [ - -10728.255859375, - -495.4649353027344 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 184, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 996 - }, - { - "name": "mask2", - "type": "MASK", - "link": 997 - }, - { - "name": "mask3", - "type": "MASK", - "link": 998 - }, - { - "name": "mask4", - "type": "MASK", - "link": 999 - }, - { - "name": "mask5", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 992 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 746, - "type": "LoadImage", - "pos": [ - -10828.255859375, - -965.4649658203125 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 74, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 991 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 996, - 997, - 998, - 999, - 1003, - 1005 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 483, - "type": "InpaintStitchImproved", - "pos": [ - 5080, - 940 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 716, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 652 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 653 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 661 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 491, - "type": "PreviewImage", - "pos": [ - 4860, - 1450 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 718, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 662 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 493, - "type": "PreviewImage", - "pos": [ - 4840, - 960 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 590, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 664 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 750, - "type": "ImageCompositeMasked", - "pos": [ - 5120, - 1540 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 717, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1006 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1007 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1008 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1009 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 698, - "type": "LoadImage", - "pos": [ - 190, - 2350 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 75, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 867 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 868 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-3225001.799999997.png [input]", - "image", - "" - ] - }, - { - "id": 751, - "type": "InpaintStitchImproved", - "pos": [ - 5100, - 1440 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 768, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1010 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1009 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1011 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 752, - "type": "PreviewImage", - "pos": [ - 5910, - 850 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 787, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1011 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 785, - "type": "PreviewImage", - "pos": [ - 5910, - 1210 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 788, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1060 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 787, - "type": "MaskToImage", - "pos": [ - 4820, - 2330 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 597, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1061 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1064 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 788, - "type": "InpaintStitchImproved", - "pos": [ - 5090, - 1890 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 721, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1062 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1063 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1070 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 789, - "type": "PreviewImage", - "pos": [ - 4870, - 2400 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 723, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1064 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 790, - "type": "ImageInvert", - "pos": [ - 4840, - 2230 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 595, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1065 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1063, - 1068 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 791, - "type": "PreviewImage", - "pos": [ - 4850, - 1910 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 596, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1066 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 792, - "type": "ImageCompositeMasked", - "pos": [ - 5130, - 2490 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 722, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1067 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1068 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1069 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1072 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 795, - "type": "InpaintStitchImproved", - "pos": [ - 5110, - 2390 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 770, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1071 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1072 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1060 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 798, - "type": "MaskToImage", - "pos": [ - 4830, - 3250 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 601, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1074 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1077 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 799, - "type": "InpaintStitchImproved", - "pos": [ - 5100, - 2810 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 725, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1075 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1076 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1083 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 800, - "type": "PreviewImage", - "pos": [ - 4880, - 3320 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 727, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1077 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 801, - "type": "ImageInvert", - "pos": [ - 4850, - 3150 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 599, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1078 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1076, - 1081 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 802, - "type": "PreviewImage", - "pos": [ - 4860, - 2830 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 600, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1079 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 803, - "type": "ImageCompositeMasked", - "pos": [ - 5140, - 3410 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 726, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1080 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1081 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1082 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1085 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 806, - "type": "InpaintStitchImproved", - "pos": [ - 5120, - 3310 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 772, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1084 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1085 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1073 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 809, - "type": "MaskToImage", - "pos": [ - 4830, - 4180 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 605, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1087 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1090 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 811, - "type": "PreviewImage", - "pos": [ - 4880, - 4250 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 731, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1090 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 812, - "type": "ImageInvert", - "pos": [ - 4850, - 4080 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 603, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1091 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1089, - 1094 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 813, - "type": "PreviewImage", - "pos": [ - 4860, - 3760 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 604, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1092 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 814, - "type": "ImageCompositeMasked", - "pos": [ - 5140, - 4340 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 730, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1093 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1094 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1095 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1098 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 817, - "type": "InpaintStitchImproved", - "pos": [ - 5120, - 4240 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 774, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1097 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1098 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1086 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 484, - "type": "PreviewImage", - "pos": [ - 3960, - 1340 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 370, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 654 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 488, - "type": "PreviewImage", - "pos": [ - 3950, - 1020 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 371, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 660 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 816, - "type": "PreviewImage", - "pos": [ - 5660, - 2120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 773, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1096 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 805, - "type": "PreviewImage", - "pos": [ - 5660, - 1650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 771, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1083 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 794, - "type": "PreviewImage", - "pos": [ - 5670, - 1210 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 769, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1070 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 820, - "type": "InpaintStitchImproved", - "pos": [ - 5130, - 4660 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 733, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1108 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1109 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1120 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 822, - "type": "ImageInvert", - "pos": [ - 4880, - 5000 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 607, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1111 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1109, - 1114 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 823, - "type": "PreviewImage", - "pos": [ - 4890, - 4680 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 608, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1112 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 824, - "type": "ImageCompositeMasked", - "pos": [ - 5170, - 5260 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 734, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1113 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1114 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1115 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1117 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 825, - "type": "InpaintStitchImproved", - "pos": [ - 5150, - 5160 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 776, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1116 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1117 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1121 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 810, - "type": "InpaintStitchImproved", - "pos": [ - 5100, - 3740 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 729, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1088 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1089 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1096 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 829, - "type": "MaskToImage", - "pos": [ - 4870, - 6070 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 613, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1122 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1125 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 830, - "type": "InpaintStitchImproved", - "pos": [ - 5140, - 5630 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 737, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1123 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1124 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1131 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 831, - "type": "PreviewImage", - "pos": [ - 4920, - 6140 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 739, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1125 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 832, - "type": "ImageInvert", - "pos": [ - 4890, - 5970 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 611, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1126 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1124, - 1129 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 833, - "type": "PreviewImage", - "pos": [ - 4900, - 5650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 612, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1127 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 834, - "type": "ImageCompositeMasked", - "pos": [ - 5180, - 6230 - ], - "size": [ - 315, - 146 - ], - "flags": {}, - "order": 738, - "mode": 0, - "inputs": [ - { - "name": "destination", - "type": "IMAGE", - "link": 1128 - }, - { - "name": "source", - "type": "IMAGE", - "link": 1129 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1130 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1133 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageCompositeMasked" - }, - "widgets_values": [ - 0, - 0, - false - ] - }, - { - "id": 837, - "type": "InpaintStitchImproved", - "pos": [ - 5160, - 6130 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 778, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1132 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1133 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1134 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 485, - "type": "InpaintCropImproved", - "pos": [ - 3390, - 1040 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 187, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 655 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 656 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 654, - 657, - 660, - 1099, - 1101, - 1102, - 1118, - 1135 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 658, - 666, - 1100, - 1104, - 1105, - 1119, - 1137 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 835, - "type": "InpaintCropImproved", - "pos": [ - 4300, - 5700 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 378, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1135 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1137 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1123, - 1132 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1126, - 1127, - 1128 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1122, - 1130 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 64, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 490, - "type": "Note", - "pos": [ - 240, - 910 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 76, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "stitch" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 845, - "type": "PreviewImage", - "pos": [ - 1223.3046875, - 3689.203857421875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 366, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1138 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 846, - "type": "InpaintCropImproved", - "pos": [ - 653.3047485351562, - 3389.203857421875 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 186, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1153 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1154 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1138, - 1150, - 1152 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1142, - 1151 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 847, - "type": "PreviewImage", - "pos": [ - 1213.3046875, - 4079.203857421875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 585, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1141 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 848, - "type": "MaskToImage", - "pos": [ - 1223.3046875, - 4009.203857421875 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 368, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1142 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1141 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 849, - "type": "ImageInvert", - "pos": [ - 2133.3046875, - 3679.203857421875 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 586, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1143 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1149 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 850, - "type": "PreviewImage", - "pos": [ - 2543.3046875, - 3759.203857421875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 766, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1144 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 851, - "type": "PreviewImage", - "pos": [ - 2223.3046875, - 4139.20361328125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 715, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1145 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 852, - "type": "MaskToImage", - "pos": [ - 2173.3046875, - 4069.203857421875 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 588, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1146 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1145 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 853, - "type": "PreviewImage", - "pos": [ - 2213.3046875, - 3759.203857421875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 587, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1147 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 854, - "type": "InpaintStitchImproved", - "pos": [ - 2383.3046875, - 3339.203857421875 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 714, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1148 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1149 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1144 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 855, - "type": "InpaintCropImproved", - "pos": [ - 1503.3046875, - 3359.203857421875 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 369, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1150 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1151 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1148 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1143, - 1147 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1146 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 856, - "type": "PreviewImage", - "pos": [ - 2533.3046875, - 3459.203857421875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 367, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1152 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 858, - "type": "LoadImage", - "pos": [ - 210, - 3510 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 77, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1153 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1154 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-5485412.599999994.png [input]", - "image", - "" - ] - }, - { - "id": 828, - "type": "PreviewImage", - "pos": [ - 5670, - 2580 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 775, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1120 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 859, - "type": "MaskToImage", - "pos": [ - 6140, - 770 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 592, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1156 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1155 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 860, - "type": "PreviewImage", - "pos": [ - 6150, - 840 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 719, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1155 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 862, - "type": "PreviewImage", - "pos": [ - 6160, - 1260 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 720, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1157 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 489, - "type": "PreviewImage", - "pos": [ - 5670, - 850 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 767, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 661 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 796, - "type": "PreviewImage", - "pos": [ - 5900, - 1650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 789, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1073 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 807, - "type": "PreviewImage", - "pos": [ - 5900, - 2120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 790, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1086 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 827, - "type": "PreviewImage", - "pos": [ - 5910, - 2580 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 791, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1121 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 838, - "type": "PreviewImage", - "pos": [ - 5920, - 3040 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 792, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1134 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 486, - "type": "InpaintCropImproved", - "pos": [ - 4240, - 1010 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 372, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 657 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 658 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 652, - 1010 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 659, - 664, - 1006 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 663, - 1008 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1156, - 1158 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 0, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 863, - "type": "PreviewImage", - "pos": [ - 6169.62841796875, - 1649.466552734375 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 724, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1159 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 793, - "type": "InpaintCropImproved", - "pos": [ - 4250, - 1960 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 374, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1099 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1100 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1062, - 1071 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1065, - 1066, - 1067 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1061, - 1069 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1160 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 1, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 865, - "type": "PreviewImage", - "pos": [ - 6169.9599609375, - 2092.87158203125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 728, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1161 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 804, - "type": "InpaintCropImproved", - "pos": [ - 4260, - 2880 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 375, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1101 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1104 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1075, - 1084 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1078, - 1079, - 1080 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1074, - 1082 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1162 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 8, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 867, - "type": "PreviewImage", - "pos": [ - 6180, - 2610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 732, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1163 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 869, - "type": "PreviewImage", - "pos": [ - 6180, - 3070 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 736, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1164 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 815, - "type": "InpaintCropImproved", - "pos": [ - 4260, - 3810 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 376, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1102 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1105 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1088, - 1097 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1091, - 1092, - 1093 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1087, - 1095 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1165 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 16, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 492, - "type": "MaskToImage", - "pos": [ - 4810, - 1380 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 591, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 663 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 662 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 487, - "type": "ImageInvert", - "pos": [ - 4830, - 1280 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 589, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 659 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 653, - 1007 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 821, - "type": "PreviewImage", - "pos": [ - 4910, - 5170 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 735, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1110 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 819, - "type": "MaskToImage", - "pos": [ - 4860, - 5100 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 609, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1107 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1110 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 861, - "type": "MaskToImage", - "pos": [ - 6150, - 1190 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 593, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1158 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1157 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 864, - "type": "MaskToImage", - "pos": [ - 6159.62841796875, - 1579.466552734375 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 598, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1160 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1159 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 866, - "type": "MaskToImage", - "pos": [ - 6159.9599609375, - 2022.87158203125 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 602, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1162 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1161 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 868, - "type": "MaskToImage", - "pos": [ - 6170, - 2540 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 606, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1165 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1163 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 870, - "type": "MaskToImage", - "pos": [ - 6170, - 3000 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 610, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1166 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1164 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 836, - "type": "PreviewImage", - "pos": [ - 5680, - 3040 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 777, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1131 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 826, - "type": "InpaintCropImproved", - "pos": [ - 4290, - 4730 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 377, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1118 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1119 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1108, - 1116 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1111, - 1112, - 1113 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1107, - 1115 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1166 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - 32, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 873, - "type": "PreviewImage", - "pos": [ - 6960, - 1780 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 678, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1171 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 874, - "type": "MaskToImage", - "pos": [ - 6970, - 1710 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 430, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1172 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1171 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 877, - "type": "ImpactMakeMaskBatch", - "pos": [ - 6940, - 1540 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 204, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 1188 - }, - { - "name": "mask2", - "type": "MASK", - "link": 1191 - }, - { - "name": "mask3", - "type": "MASK", - "link": 1192 - }, - { - "name": "mask4", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 1169, - 1170, - 1172 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 879, - "type": "ImpactMakeImageBatch", - "pos": [ - 6910, - 950 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 203, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 1184 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 1189 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 1190 - }, - { - "name": "image4", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1168 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 481, - "type": "LoadImage", - "pos": [ - 2970, - 1160 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 78, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 655 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 656 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-5485412.599999994.png [input]", - "image", - "" - ] - }, - { - "id": 872, - "type": "InpaintCropImproved", - "pos": [ - 7250, - 1020 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 429, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1168 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1169 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1170 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1199 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1198 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 887, - "type": "ImageInvert", - "pos": [ - 7860, - 1180 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 677, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1198 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1194 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 881, - "type": "InpaintStitchImproved", - "pos": [ - 7830, - 1270 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 760, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1199 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1194 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1200 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 882, - "type": "PreviewImage", - "pos": [ - 7860, - 1400 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 786, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1200 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 888, - "type": "PreviewImage", - "pos": [ - 7950, - 2590 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 783, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1202 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 889, - "type": "PreviewImage", - "pos": [ - 7050, - 2970 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 663, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1203 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 890, - "type": "MaskToImage", - "pos": [ - 7060, - 2900 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 421, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1204 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1203 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 891, - "type": "ImpactMakeMaskBatch", - "pos": [ - 7030, - 2730 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 200, - "mode": 0, - "inputs": [ - { - "name": "mask1", - "type": "MASK", - "link": 1205 - }, - { - "name": "mask2", - "type": "MASK", - "link": 1206 - }, - { - "name": "mask3", - "type": "MASK", - "link": 1207 - }, - { - "name": "mask4", - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "MASK", - "type": "MASK", - "slot_index": 0, - "links": [ - 1204, - 1212, - 1213 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeMaskBatch" - }, - "widgets_values": [] - }, - { - "id": 892, - "type": "ImpactMakeImageBatch", - "pos": [ - 7000, - 2140 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 199, - "mode": 0, - "inputs": [ - { - "name": "image1", - "type": "IMAGE", - "link": 1208 - }, - { - "name": "image2", - "type": "IMAGE", - "link": 1209 - }, - { - "name": "image3", - "type": "IMAGE", - "link": 1210 - }, - { - "name": "image4", - "type": "IMAGE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1211 - ] - } - ], - "properties": { - "cnr_id": "comfyui-impact-pack", - "ver": "782c6f439eda79d88f22908bc83f57db77d44097", - "Node name for S&R": "ImpactMakeImageBatch" - }, - "widgets_values": [] - }, - { - "id": 895, - "type": "ImageInvert", - "pos": [ - 7950, - 2370 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 664, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1214 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1216 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 896, - "type": "InpaintStitchImproved", - "pos": [ - 7920, - 2460 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 753, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1215 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1216 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1202 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 894, - "type": "InpaintCropImproved", - "pos": [ - 7340, - 2210 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 422, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1211 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1212 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1213 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1215 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1214 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 899, - "type": "ImageInvert", - "pos": [ - 9570, - 1160 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 379, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1221 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1219, - 1260 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 904, - "type": "PreviewImage", - "pos": [ - 9590, - 2340 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 741, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1223 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 905, - "type": "InpaintStitchImproved", - "pos": [ - 9560, - 2210 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 620, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1224 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1225 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1223 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 914, - "type": "PreviewImage", - "pos": [ - 9890, - 1230 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 617, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1235 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 915, - "type": "MaskToImage", - "pos": [ - 9880, - 1160 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 382, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1236 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1235 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 916, - "type": "PreviewImage", - "pos": [ - 10180, - 1230 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 618, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1237 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 917, - "type": "MaskToImage", - "pos": [ - 10170, - 1160 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 383, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1238 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1237 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 918, - "type": "PreviewImage", - "pos": [ - 9940, - 2220 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 622, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1239 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 919, - "type": "MaskToImage", - "pos": [ - 9930, - 2150 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 387, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1247 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1239 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 920, - "type": "PreviewImage", - "pos": [ - 10230, - 2220 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 623, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1240 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 921, - "type": "MaskToImage", - "pos": [ - 10220, - 2150 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 388, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1248 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1240 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 929, - "type": "MaskToImage", - "pos": [ - 10020, - 2530 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 389, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1252 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1251 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 931, - "type": "MaskToImage", - "pos": [ - 10070, - 1560 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 384, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1254 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1253 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 907, - "type": "ImageInvert", - "pos": [ - 9590, - 2120 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 385, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1228 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1225, - 1256 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 928, - "type": "PreviewImage", - "pos": [ - 10030, - 2600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 624, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1251 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 936, - "type": "PreviewImage", - "pos": [ - 9510, - 1690 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 380, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1259 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 937, - "type": "PreviewImage", - "pos": [ - 9780, - 1670 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 615, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1260 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 939, - "type": "InpaintStitchImproved", - "pos": [ - 9590, - 4150 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 625, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1262 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1263 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1261 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 941, - "type": "PreviewImage", - "pos": [ - 9950, - 4080 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 627, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1264 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 942, - "type": "PreviewImage", - "pos": [ - 10240, - 4080 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 628, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1265 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 943, - "type": "MaskToImage", - "pos": [ - 9940, - 4010 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 392, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1266 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1264 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 944, - "type": "MaskToImage", - "pos": [ - 10230, - 4010 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 393, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1267 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1265 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 945, - "type": "PreviewImage", - "pos": [ - 10050, - 4460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 629, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1268 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 947, - "type": "MaskToImage", - "pos": [ - 10040, - 4390 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 394, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1270 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1268 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 950, - "type": "InpaintCropImproved", - "pos": [ - 9000, - 4040 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 191, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1288 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1289 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1262 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1269, - 1271 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "links": [ - 1266 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": [ - 1267 - ] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1270 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 0, - 0.10000000000000002, - false, - 1, - 1, - 1, - 1, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 948, - "type": "PreviewImage", - "pos": [ - 9570, - 4610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 391, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1271 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 897, - "type": "InpaintCropImproved", - "pos": [ - 8950, - 1140 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 189, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1282 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1283 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1222, - 1459 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1221, - 1259, - 1460 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 1236 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [ - 1238 - ] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": [ - 1254 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 32, - 0.1, - false, - 1, - 1, - 1, - 1, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 901, - "type": "PreviewImage", - "pos": [ - 9570, - 1380 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 740, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1220 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 965, - "type": "InpaintStitchImproved", - "pos": [ - 9570, - 3150 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 630, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1292 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1293 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1302 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 966, - "type": "PreviewImage", - "pos": [ - 9930, - 3080 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 632, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1294 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 967, - "type": "PreviewImage", - "pos": [ - 10220, - 3080 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 633, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1295 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 968, - "type": "MaskToImage", - "pos": [ - 9920, - 3010 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 397, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1296 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1294 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 969, - "type": "MaskToImage", - "pos": [ - 10210, - 3010 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 398, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1297 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1295 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 970, - "type": "PreviewImage", - "pos": [ - 10030, - 3460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 634, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1298 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 971, - "type": "ImageInvert", - "pos": [ - 9600, - 3060 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 395, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1299 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1293, - 1301 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 972, - "type": "MaskToImage", - "pos": [ - 10020, - 3390 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 399, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1300 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1298 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 973, - "type": "PreviewImage", - "pos": [ - 9780, - 3610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 631, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1301 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 975, - "type": "PreviewImage", - "pos": [ - 9600, - 3280 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 743, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1302 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 976, - "type": "PreviewImage", - "pos": [ - 9550, - 3610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 396, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1303 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 977, - "type": "PreviewImage", - "pos": [ - 8590, - 1650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 188, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1306 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 980, - "type": "PreviewImage", - "pos": [ - 12550, - 1190 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 637, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1310 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 981, - "type": "MaskToImage", - "pos": [ - 12540, - 1120 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 402, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1311 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1310 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 982, - "type": "PreviewImage", - "pos": [ - 12840, - 1190 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 638, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1312 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 983, - "type": "MaskToImage", - "pos": [ - 12830, - 1120 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 403, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1313 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1312 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 984, - "type": "MaskToImage", - "pos": [ - 12730, - 1520 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 404, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1314 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1317 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 985, - "type": "PreviewImage", - "pos": [ - 12170, - 1650 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 401, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1315 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 986, - "type": "PreviewImage", - "pos": [ - 12450, - 1630 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 636, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1316 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 987, - "type": "PreviewImage", - "pos": [ - 12740, - 1590 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 639, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1317 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 990, - "type": "PreviewImage", - "pos": [ - 11250, - 1610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 193, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1321 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 988, - "type": "InpaintCropImproved", - "pos": [ - 11610, - 1100 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 194, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1318 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1319 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1307 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1309, - 1315 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 1311 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [ - 1313 - ] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": [ - 1314 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 32, - 0.1, - false, - 1, - 1, - 1, - 1, - 1.2, - true, - 1024, - 1024, - "32" - ] - }, - { - "id": 979, - "type": "ImageInvert", - "pos": [ - 12230, - 1120 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 400, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1309 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1308, - 1316 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 978, - "type": "InpaintStitchImproved", - "pos": [ - 12200, - 1210 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 635, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1307 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1308 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1320 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 989, - "type": "PreviewImage", - "pos": [ - 12230, - 1340 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 744, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1320 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 844, - "type": "Note", - "pos": [ - 3025.133056640625, - 915.4596557617188 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 79, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "blend" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 992, - "type": "Note", - "pos": [ - 6810, - 800 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 80, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "batches" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 993, - "type": "Note", - "pos": [ - 8310.1806640625, - 855.4518432617188 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 81, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "default config" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 964, - "type": "LoadImage", - "pos": [ - 8270, - 1170 - ], - "size": [ - 370, - 314 - ], - "flags": {}, - "order": 82, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1282, - 1284, - 1288, - 1304, - 1306 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1283, - 1285, - 1289, - 1305 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-105444.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 991, - "type": "LoadImage", - "pos": [ - 10930, - 1130 - ], - "size": [ - 370, - 314 - ], - "flags": {}, - "order": 83, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1318, - 1321 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1319 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-84438.39999999106.png [input]", - "image", - "" - ] - }, - { - "id": 995, - "type": "PreviewImage", - "pos": [ - 1190, - 6050 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 405, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1322 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 997, - "type": "PreviewImage", - "pos": [ - 1180, - 6440 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 640, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1325 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 998, - "type": "MaskToImage", - "pos": [ - 1190, - 6370 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 407, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1326 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1325 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 999, - "type": "ImageInvert", - "pos": [ - 2100, - 6040 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 641, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1327 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1333 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1000, - "type": "PreviewImage", - "pos": [ - 2510, - 6120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 779, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1328 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1001, - "type": "PreviewImage", - "pos": [ - 2190, - 6500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 746, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1329 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1002, - "type": "MaskToImage", - "pos": [ - 2140, - 6430 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 643, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1330 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1329 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1003, - "type": "PreviewImage", - "pos": [ - 2180, - 6120 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 642, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1331 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1004, - "type": "InpaintStitchImproved", - "pos": [ - 2350, - 5700 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 745, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1332 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1333 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1328 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1006, - "type": "PreviewImage", - "pos": [ - 2500, - 5820 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 406, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1336 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1007, - "type": "LoadImage", - "pos": [ - 200, - 5870 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 84, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1323 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1324 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-69973.90000000596.png [input]", - "image", - "" - ] - }, - { - "id": 996, - "type": "InpaintCropImproved", - "pos": [ - 620, - 5750 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 195, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1323 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1324 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1322, - 1334, - 1336 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1326, - 1335 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.9000000000000001, - 0.9000000000000001, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1008, - "type": "PreviewImage", - "pos": [ - 2110, - 5460 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 644, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1347 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1005, - "type": "InpaintCropImproved", - "pos": [ - 1470, - 5720 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 408, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1334 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1335 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1332 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1327, - 1331 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1330 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 1347 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1009, - "type": "PreviewImage", - "pos": [ - 1290, - 7540 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 409, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1348 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1010, - "type": "PreviewImage", - "pos": [ - 1280, - 7930 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 645, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1349 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1011, - "type": "MaskToImage", - "pos": [ - 1290, - 7860 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 411, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1350 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1349 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1012, - "type": "ImageInvert", - "pos": [ - 2200, - 7530 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 646, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1351 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1357 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1013, - "type": "PreviewImage", - "pos": [ - 2610, - 7610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 780, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1352 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1014, - "type": "PreviewImage", - "pos": [ - 2290, - 7990 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 748, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1353 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1015, - "type": "MaskToImage", - "pos": [ - 2240, - 7920 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 648, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1354 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1353 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1016, - "type": "PreviewImage", - "pos": [ - 2280, - 7610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 647, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1355 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1017, - "type": "InpaintStitchImproved", - "pos": [ - 2450, - 7190 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 747, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1356 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1357 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1352 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1018, - "type": "PreviewImage", - "pos": [ - 2600, - 7310 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 410, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1358 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1020, - "type": "InpaintCropImproved", - "pos": [ - 720, - 7240 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 196, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1359 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1360 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1348, - 1358, - 1362 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1350, - 1363 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.9000000000000001, - 0.9000000000000001, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1021, - "type": "PreviewImage", - "pos": [ - 2210, - 6950 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 649, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1361 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1022, - "type": "InpaintCropImproved", - "pos": [ - 1570, - 7210 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 412, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1362 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1363 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1356 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1351, - 1355 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1354 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 1361 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1019, - "type": "LoadImage", - "pos": [ - 300, - 7360 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 85, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1359 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1360 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-562340.6999999881.png [input]", - "image", - "" - ] - }, - { - "id": 1024, - "type": "PreviewImage", - "pos": [ - 1300, - 9090 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 413, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1364 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1025, - "type": "PreviewImage", - "pos": [ - 1290, - 9480 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 650, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1365 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1026, - "type": "MaskToImage", - "pos": [ - 1300, - 9410 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 415, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1366 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1365 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1027, - "type": "ImageInvert", - "pos": [ - 2210, - 9080 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 651, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1367 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1373 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1028, - "type": "PreviewImage", - "pos": [ - 2620, - 9160 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 781, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1368 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1029, - "type": "PreviewImage", - "pos": [ - 2300, - 9540 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 750, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1369 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1030, - "type": "MaskToImage", - "pos": [ - 2250, - 9470 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 653, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1370 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1369 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1031, - "type": "PreviewImage", - "pos": [ - 2290, - 9160 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 652, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1371 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1032, - "type": "InpaintStitchImproved", - "pos": [ - 2460, - 8740 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 749, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1372 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1373 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1368 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1033, - "type": "PreviewImage", - "pos": [ - 2610, - 8860 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 414, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1374 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1035, - "type": "PreviewImage", - "pos": [ - 2220, - 8500 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 657, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1377 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1023, - "type": "LoadImage", - "pos": [ - 310, - 8910 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 86, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1375 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1376 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-576288.900000006.png [input]", - "image", - "" - ] - }, - { - "id": 1038, - "type": "PreviewImage", - "pos": [ - 1330, - 10530 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 417, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1380 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1039, - "type": "PreviewImage", - "pos": [ - 1320, - 10920 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 658, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1381 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1040, - "type": "MaskToImage", - "pos": [ - 1330, - 10850 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 419, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1382 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1381 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1041, - "type": "ImageInvert", - "pos": [ - 2240, - 10520 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 659, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1383 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1389 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1042, - "type": "PreviewImage", - "pos": [ - 2650, - 10600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 782, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1384 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1043, - "type": "PreviewImage", - "pos": [ - 2330, - 10980 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 752, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1385 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1044, - "type": "MaskToImage", - "pos": [ - 2280, - 10910 - ], - "size": [ - 264.5999755859375, - 26 - ], - "flags": {}, - "order": 661, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1386 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1385 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1045, - "type": "PreviewImage", - "pos": [ - 2320, - 10600 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 660, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1387 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1046, - "type": "InpaintStitchImproved", - "pos": [ - 2490, - 10180 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 751, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1388 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1389 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1384 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1047, - "type": "PreviewImage", - "pos": [ - 2640, - 10300 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 418, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1390 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1049, - "type": "PreviewImage", - "pos": [ - 2250, - 9940 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 662, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1393 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1050, - "type": "InpaintCropImproved", - "pos": [ - 1610, - 10200 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 420, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1394 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1395 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1388 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1383, - 1387 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1386 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 1393 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1037, - "type": "LoadImage", - "pos": [ - 340, - 10350 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 87, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1391 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1392 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-588013.599999994.png [input]", - "image", - "" - ] - }, - { - "id": 1048, - "type": "InpaintCropImproved", - "pos": [ - 760, - 10230 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 198, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1391 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1392 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1380, - 1390, - 1394 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1382, - 1395 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 0.9000000000000001, - 0.9000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1034, - "type": "InpaintCropImproved", - "pos": [ - 730, - 8790 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 197, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1375 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1376 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1364, - 1374, - 1378 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1366, - 1379 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 0.9000000000000001, - 0.9000000000000001, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1052, - "type": "PreviewImage", - "pos": [ - 1880, - 8410 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 656, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1397 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1051, - "type": "PreviewImage", - "pos": [ - 1590, - 8410 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 655, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1396 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1036, - "type": "InpaintCropImproved", - "pos": [ - 1580, - 8760 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 416, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1378 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1379 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [ - 1372 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1367, - 1371 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1370 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [ - 1398 - ] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "slot_index": 20, - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "slot_index": 21, - "links": [] - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 1396 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "slot_index": 23, - "links": [ - 1397 - ] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "slot_index": 24, - "links": [ - 1377 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - 0, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.5000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1053, - "type": "PreviewImage", - "pos": [ - 1320, - 8400 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 654, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1398 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 933, - "type": "PreviewImage", - "pos": [ - 9750, - 2660 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 621, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1256 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 934, - "type": "PreviewImage", - "pos": [ - 9520, - 2660 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 386, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1257 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 906, - "type": "InpaintCropImproved", - "pos": [ - 8970, - 2100 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 190, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1284 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1285 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1224 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "links": [ - 1228, - 1257 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 1247 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [ - 1248 - ] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "slot_index": 7, - "links": [] - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1252 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 16, - 0.1, - false, - 1, - 1, - 1, - 1, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 949, - "type": "PreviewImage", - "pos": [ - 9800, - 4610 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 626, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1272 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 938, - "type": "PreviewImage", - "pos": [ - 9620, - 4270 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 742, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1261 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 974, - "type": "InpaintCropImproved", - "pos": [ - 8980, - 3040 - ], - "size": [ - 522.4000244140625, - 870 - ], - "flags": {}, - "order": 192, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1304 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1305 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1292 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1299, - 1303 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "links": [ - 1296 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": [ - 1297 - ] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "slot_index": 25, - "links": [ - 1300 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 8, - 0.10000000000000002, - false, - 1, - 1, - 1, - 1, - 1.2, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1067, - "type": "Note", - "pos": [ - 11032.34375, - 2191.9013671875 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 88, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "extend with aspect ratio" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1069, - "type": "PreviewImage", - "pos": [ - 12020, - 2760 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 423, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1414 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1071, - "type": "PreviewImage", - "pos": [ - 12010, - 3150 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 665, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1417 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1072, - "type": "MaskToImage", - "pos": [ - 12020, - 3080 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 424, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1418 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1417 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1077, - "type": "MaskToImage", - "pos": [ - 12990, - 2870 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 669, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1423 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1421 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1070, - "type": "InpaintCropImproved", - "pos": [ - 11450, - 2460 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 201, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1452 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1453 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1414, - 1419 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1418, - 1429 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.0000000000000002, - 0.5000000000000001, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1075, - "type": "PreviewImage", - "pos": [ - 12990, - 2550 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 666, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1422 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1080, - "type": "PreviewImage", - "pos": [ - 13025.9404296875, - 2251.31494140625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 670, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1431 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 230, - "type": "PreviewImage", - "pos": [ - 1180, - -2720 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 256, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 364 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 226, - "type": "InpaintCropImproved", - "pos": [ - 620, - -4480 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 139, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 356 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 357 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "slot_index": 5, - "links": [] - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "slot_index": 9, - "links": [] - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [ - 361 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 756 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - 0.10000000000000002, - false, - 0, - false, - 0, - true, - 3.0000000000000004, - 1.5000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2, - false, - 512, - 512, - "32" - ] - }, - { - "id": 1081, - "type": "PreviewImage", - "pos": [ - 12013.361328125, - 4135.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 426, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1432 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1082, - "type": "PreviewImage", - "pos": [ - 12003.361328125, - 4525.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 671, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1433 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1083, - "type": "MaskToImage", - "pos": [ - 12013.361328125, - 4455.1748046875 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 427, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1434 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1433 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1084, - "type": "PreviewImage", - "pos": [ - 12973.361328125, - 4315.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 759, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1435 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1085, - "type": "MaskToImage", - "pos": [ - 12983.361328125, - 4245.1748046875 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 675, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1436 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1435 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - }, - "widgets_values": [] - }, - { - "id": 1090, - "type": "PreviewImage", - "pos": [ - 12983.361328125, - 3925.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 672, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1442 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1091, - "type": "PreviewImage", - "pos": [ - 13023.361328125, - 3625.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 676, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1443 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1089, - "type": "InpaintCropImproved", - "pos": [ - 11443.361328125, - 3835.1748046875 - ], - "size": [ - 522.4000244140625, - 918 - ], - "flags": {}, - "order": 202, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1454 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1455 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [ - 1432, - 1444 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "slot_index": 11, - "links": [ - 1434, - 1445 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "slot_index": 18, - "links": [] - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "slot_index": 19, - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 0.20000000000000004, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "0" - ] - }, - { - "id": 1076, - "type": "PreviewImage", - "pos": [ - 12970, - 2950 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 756, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1421 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 946, - "type": "ImageInvert", - "pos": [ - 9620, - 4060 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 390, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1269 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1263, - 1272 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1093, - "type": "ImageInvert", - "pos": [ - 13260, - 3910 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 673, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1448 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1449 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 893, - "type": "LoadImage", - "pos": [ - 6880, - 2340 - ], - "size": [ - 370, - 314 - ], - "flags": {}, - "order": 89, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1208, - 1209, - 1210 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1205, - 1206, - 1207 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-105444.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 1095, - "type": "LoadImage", - "pos": [ - 10970, - 2650 - ], - "size": [ - 370, - 314 - ], - "flags": {}, - "order": 90, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1452 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1453 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-105444.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 1096, - "type": "LoadImage", - "pos": [ - 10980, - 3770 - ], - "size": [ - 370, - 314 - ], - "flags": {}, - "order": 91, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1454 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1455 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-105444.59999999404.png [input]", - "image", - "" - ] - }, - { - "id": 1086, - "type": "InpaintStitchImproved", - "pos": [ - 13333.361328125, - 4005.1748046875 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 757, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1437 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1449 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 1439 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1087, - "type": "PreviewImage", - "pos": [ - 13773.361328125, - 3955.1748046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 785, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1439 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1098, - "type": "PreviewImage", - "pos": [ - 13763.341796875, - 4271.88623046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 758, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1457 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1097, - "type": "InpaintStitchImproved", - "pos": [ - 13343.0615234375, - 4146.96875 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 674, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1458 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1456 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 1457 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 900, - "type": "InpaintStitchImproved", - "pos": [ - 9540, - 1250 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 614, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1222 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1219 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1220 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 930, - "type": "PreviewImage", - "pos": [ - 10080, - 1630 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 619, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1253 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1100, - "type": "PreviewImage", - "pos": [ - 10433.5751953125, - 1538.987060546875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 616, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1461 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1099, - "type": "InpaintStitchImproved", - "pos": [ - 9831.8974609375, - 1475.47705078125 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 381, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1459 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1460 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1461 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1092, - "type": "InpaintCropImproved", - "pos": [ - 12353.361328125, - 3825.1748046875 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 428, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1444 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1445 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1437, - 1458 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1442, - 1447, - 1448, - 1456 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": [ - 1436 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 1443 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": [] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 32, - 0.1, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1094, - "type": "ImageInvert", - "pos": [ - 13350, - 2500 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 667, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1450 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1451 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - }, - "widgets_values": [] - }, - { - "id": 1078, - "type": "InpaintStitchImproved", - "pos": [ - 13340, - 2630 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 754, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1424 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1451 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 1426 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1079, - "type": "PreviewImage", - "pos": [ - 13780, - 2580 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 784, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1426 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1102, - "type": "PreviewImage", - "pos": [ - 13782.3271484375, - 2882.192138671875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 755, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1464 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1101, - "type": "InpaintStitchImproved", - "pos": [ - 13377.4228515625, - 2737.561767578125 - ], - "size": [ - 352.79998779296875, - 46 - ], - "flags": {}, - "order": 668, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1462 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1463 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 1464 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "f17d5aa7ec5579dd315b8a8b65cd0fabed70e34b", - "Node name for S&R": "InpaintStitchImproved" - }, - "widgets_values": [] - }, - { - "id": 1074, - "type": "InpaintCropImproved", - "pos": [ - 12360, - 2450 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 425, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1419 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1429 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": null - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1424, - 1462 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1422, - 1446, - 1450, - 1463 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "links": [ - 1423 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "slot_index": 6, - "links": [] - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "slot_index": 10, - "links": [] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "slot_index": 22, - "links": [ - 1431 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": [] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - true, - 0, - false, - 32, - 0.1, - true, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 880, - "type": "LoadImage", - "pos": [ - 6790, - 1150 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 92, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1183, - 1184, - 1185, - 1189, - 1190 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1186, - 1187, - 1188, - 1191, - 1192 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 1103, - "type": "PreviewImage", - "pos": [ - 14932.81640625, - 2045.9593505859375 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 431, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1465 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1104, - "type": "MaskToImage", - "pos": [ - 14942.81640625, - 1975.9593505859375 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 205, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1477 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1465 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1107, - "type": "ImageInvert", - "pos": [ - 15832.81640625, - 1445.9593505859375 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 432, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1472 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1474 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - } - }, - { - "id": 994, - "type": "Note", - "pos": [ - 10950.45703125, - 882.1204223632812 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 93, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "tiny mask" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1111, - "type": "Note", - "pos": [ - 14721.8935546875, - 1015.5156860351562 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 94, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Check extend centered" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1110, - "type": "LoadImage", - "pos": [ - 14762.81640625, - 1415.9593505859375 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 95, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1476 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1468, - 1477, - 1478, - 1479 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 1114, - "type": "MaskToImage", - "pos": [ - 16066.2939453125, - 1064.7933349609375 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 434, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1482 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1481 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1115, - "type": "PreviewImage", - "pos": [ - 15800.8828125, - 785.7247924804688 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 435, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1483 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1117, - "type": "MaskToImage", - "pos": [ - 16028.947265625, - 713.314453125 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 436, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1485 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1484 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1116, - "type": "PreviewImage", - "pos": [ - 16018.947265625, - 783.314453125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 681, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1484 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1112, - "type": "PreviewImage", - "pos": [ - 15811.9580078125, - 1136.6173095703125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 433, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1480 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1113, - "type": "PreviewImage", - "pos": [ - 16056.2939453125, - 1134.7933349609375 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 680, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1481 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 35, - "type": "PreviewImage", - "pos": [ - -12970, - -5110 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 212, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 222 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 37, - "type": "InpaintCropImproved", - "pos": [ - -13520, - -5090 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 100, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 53 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 54 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 60 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": null - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [ - 222 - ] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [ - 848 - ] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.2000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 320, - "type": "LoadImage", - "pos": [ - -12580, - 4420 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 96, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 474 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 475 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "clipspace/clipspace-mask-991989.900000006.png [input]", - "image", - "" - ] - }, - { - "id": 322, - "type": "InpaintCropImproved", - "pos": [ - -12160, - 4300 - ], - "size": [ - 522.4000244140625, - 822 - ], - "flags": {}, - "order": 207, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 474 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 475 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 476 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "slot_index": 0, - "links": [] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "slot_index": 12, - "links": [] - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "slot_index": 13, - "links": [] - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "slot_index": 14, - "links": [] - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "slot_index": 15, - "links": [] - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "slot_index": 16, - "links": [ - 722 - ] - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "slot_index": 17, - "links": [ - 472 - ] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - false, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - false, - 512, - 512, - "32" - ] - }, - { - "id": 1109, - "type": "PreviewImage", - "pos": [ - 15863.232421875, - 1728.523193359375 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 761, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1475 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1108, - "type": "InpaintStitchImproved", - "pos": [ - 15867.4287109375, - 1571.1998291015625 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 679, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1473 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1474 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1475 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - } - }, - { - "id": 1121, - "type": "PreviewImage", - "pos": [ - 16215.853515625, - 1686.820556640625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 437, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1491 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1122, - "type": "PreviewImage", - "pos": [ - 14950.05078125, - 3809.6123046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 441, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1496 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1123, - "type": "MaskToImage", - "pos": [ - 14960.05078125, - 3739.6123046875 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 208, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1497 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1496 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1124, - "type": "ImageInvert", - "pos": [ - 15850.05078125, - 3209.6123046875 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 442, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1498 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1507 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - } - }, - { - "id": 1126, - "type": "LoadImage", - "pos": [ - 14780.05078125, - 3179.6123046875 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 97, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1510 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1497, - 1511, - 1512 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 1127, - "type": "MaskToImage", - "pos": [ - 16083.5283203125, - 2828.4462890625 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 444, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1499 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1504 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1128, - "type": "PreviewImage", - "pos": [ - 15818.1171875, - 2549.377685546875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 445, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1500 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1129, - "type": "MaskToImage", - "pos": [ - 16046.181640625, - 2476.967529296875 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 446, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1501 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1502 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1130, - "type": "PreviewImage", - "pos": [ - 16036.181640625, - 2546.967529296875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 685, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1502 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1131, - "type": "PreviewImage", - "pos": [ - 15829.1923828125, - 2900.270263671875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 443, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1503 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1132, - "type": "PreviewImage", - "pos": [ - 16073.5283203125, - 2898.4462890625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 684, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1504 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1133, - "type": "PreviewImage", - "pos": [ - 15880.466796875, - 3492.17626953125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 762, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1505 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1134, - "type": "InpaintStitchImproved", - "pos": [ - 15884.6630859375, - 3334.852783203125 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 683, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1506 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1507 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1505 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - } - }, - { - "id": 1135, - "type": "PreviewImage", - "pos": [ - 16328.642578125, - 3082.38623046875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 448, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1508 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1136, - "type": "PreviewImage", - "pos": [ - 16233.087890625, - 3450.4736328125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 447, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1509 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1118, - "type": "PreviewImage", - "pos": [ - 16311.408203125, - 1318.7332763671875 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 438, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1495 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1137, - "type": "InpaintCropImproved", - "pos": [ - 15240.05078125, - 3049.6123046875 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 209, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1510 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1511 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1512 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1506 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1498, - 1503 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1499 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [ - 1500 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [ - 1501 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": [ - 1509 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": [ - 1508 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.5000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1106, - "type": "InpaintCropImproved", - "pos": [ - 15222.81640625, - 1285.9593505859375 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 206, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1476 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1478 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1479 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1473 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1472, - 1480 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1482 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [ - 1483 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [ - 1485 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": [ - 1491 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": [ - 1495 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.5000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1138, - "type": "PreviewImage", - "pos": [ - 16717.052734375, - 2483.63330078125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 449, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1513 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1139, - "type": "MaskToImage", - "pos": [ - 16727.052734375, - 2413.63330078125 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 210, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1514 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1513 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1140, - "type": "ImageInvert", - "pos": [ - 17617.052734375, - 1883.63330078125 - ], - "size": [ - 210, - 26 - ], - "flags": {}, - "order": 450, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1515 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1524 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "ImageInvert" - } - }, - { - "id": 1141, - "type": "Note", - "pos": [ - 16506.12890625, - 1453.189697265625 - ], - "size": [ - 210, - 88 - ], - "flags": {}, - "order": 98, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Check extend centered" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1142, - "type": "LoadImage", - "pos": [ - 16547.052734375, - 1853.63330078125 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 99, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1527 - ] - }, - { - "name": "MASK", - "type": "MASK", - "slot_index": 1, - "links": [ - 1514, - 1528, - 1529 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "example.png", - "image", - "" - ] - }, - { - "id": 1143, - "type": "MaskToImage", - "pos": [ - 17850.529296875, - 1502.46728515625 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 452, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1516 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1521 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1144, - "type": "PreviewImage", - "pos": [ - 17585.119140625, - 1223.3988037109375 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 453, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1517 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1145, - "type": "MaskToImage", - "pos": [ - 17813.18359375, - 1150.9884033203125 - ], - "size": [ - 180, - 26 - ], - "flags": {}, - "order": 454, - "mode": 0, - "inputs": [ - { - "name": "mask", - "type": "MASK", - "link": 1518 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1519 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "MaskToImage" - } - }, - { - "id": 1146, - "type": "PreviewImage", - "pos": [ - 17803.18359375, - 1220.9884033203125 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 688, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1519 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1148, - "type": "PreviewImage", - "pos": [ - 17840.529296875, - 1572.46728515625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 687, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1521 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1149, - "type": "PreviewImage", - "pos": [ - 17647.46875, - 2166.197265625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 763, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1522 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1150, - "type": "InpaintStitchImproved", - "pos": [ - 17651.6640625, - 2008.873779296875 - ], - "size": [ - 240, - 46 - ], - "flags": {}, - "order": 686, - "mode": 0, - "inputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "link": 1523 - }, - { - "name": "inpainted_image", - "type": "IMAGE", - "link": 1524 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 1522 - ] - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintStitchImproved" - } - }, - { - "id": 1151, - "type": "PreviewImage", - "pos": [ - 18095.64453125, - 1756.4072265625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 456, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1525 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1152, - "type": "PreviewImage", - "pos": [ - 18000.08984375, - 2124.49462890625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 455, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1526 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 1153, - "type": "InpaintCropImproved", - "pos": [ - 17007.052734375, - 1723.63330078125 - ], - "size": [ - 522.4000244140625, - 966 - ], - "flags": {}, - "order": 211, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 1527 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": 1528 - }, - { - "name": "optional_context_mask", - "shape": 7, - "type": "MASK", - "link": 1529 - } - ], - "outputs": [ - { - "name": "stitcher", - "type": "STITCHER", - "links": [ - 1523 - ] - }, - { - "name": "cropped_image", - "type": "IMAGE", - "slot_index": 1, - "links": [ - 1515, - 1520 - ] - }, - { - "name": "cropped_mask", - "type": "MASK", - "slot_index": 2, - "links": [ - 1516 - ] - }, - { - "name": "DEBUG_preresize_image", - "type": "IMAGE", - "slot_index": 3, - "links": [] - }, - { - "name": "DEBUG_preresize_mask", - "type": "MASK", - "slot_index": 4, - "links": [] - }, - { - "name": "DEBUG_fillholes_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_expand_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_invert_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_blur_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_hipassfilter_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_extend_image", - "type": "IMAGE", - "links": [ - 1517 - ] - }, - { - "name": "DEBUG_extend_mask", - "type": "MASK", - "links": [ - 1518 - ] - }, - { - "name": "DEBUG_context_from_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_from_mask_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_expand", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_expand_location", - "type": "IMAGE", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_with_context_mask_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_context_to_target_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_image", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_context_to_target_mask", - "type": "MASK", - "links": null - }, - { - "name": "DEBUG_canvas_image", - "type": "IMAGE", - "links": [ - 1526 - ] - }, - { - "name": "DEBUG_orig_in_canvas_location", - "type": "IMAGE", - "links": [] - }, - { - "name": "DEBUG_cropped_in_canvas_location", - "type": "IMAGE", - "links": [ - 1525 - ] - }, - { - "name": "DEBUG_cropped_mask_blend", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-inpaint-cropandstitch", - "ver": "2.0.0", - "Node name for S&R": "InpaintCropImproved" - }, - "widgets_values": [ - "bilinear", - "bicubic", - false, - "ensure minimum resolution", - 1024, - 1024, - 16384, - 16384, - false, - false, - 0, - false, - 0, - true, - 1.0000000000000002, - 1.5000000000000002, - 1.0000000000000002, - 1.0000000000000002, - 1.0000000000000002, - true, - 512, - 512, - "32" - ] - }, - { - "id": 1147, - "type": "PreviewImage", - "pos": [ - 17596.193359375, - 1574.291259765625 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 451, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1520 - } - ], - "outputs": [], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [ - "" - ] - } - ], - "links": [ - [ - 28, - 10, - 0, - 15, - 0, - "IMAGE" - ], - [ - 29, - 10, - 1, - 15, - 1, - "MASK" - ], - [ - 33, - 21, - 1, - 20, - 1, - "MASK" - ], - [ - 53, - 38, - 0, - 37, - 0, - "IMAGE" - ], - [ - 54, - 38, - 1, - 37, - 1, - "MASK" - ], - [ - 57, - 41, - 1, - 40, - 1, - "MASK" - ], - [ - 60, - 38, - 1, - 37, - 2, - "MASK" - ], - [ - 61, - 41, - 1, - 40, - 2, - "MASK" - ], - [ - 70, - 56, - 0, - 52, - 0, - "IMAGE" - ], - [ - 83, - 56, - 1, - 52, - 2, - "MASK" - ], - [ - 84, - 57, - 1, - 54, - 2, - "MASK" - ], - [ - 104, - 70, - 1, - 72, - 1, - "MASK" - ], - [ - 105, - 70, - 1, - 72, - 2, - "MASK" - ], - [ - 122, - 85, - 0, - 86, - 0, - "IMAGE" - ], - [ - 123, - 85, - 1, - 86, - 1, - "MASK" - ], - [ - 124, - 85, - 1, - 86, - 2, - "MASK" - ], - [ - 125, - 89, - 1, - 87, - 0, - "IMAGE" - ], - [ - 127, - 90, - 0, - 89, - 0, - "IMAGE" - ], - [ - 128, - 90, - 1, - 89, - 1, - "MASK" - ], - [ - 129, - 90, - 1, - 89, - 2, - "MASK" - ], - [ - 130, - 94, - 1, - 91, - 0, - "IMAGE" - ], - [ - 142, - 105, - 0, - 107, - 0, - "IMAGE" - ], - [ - 143, - 105, - 1, - 107, - 1, - "MASK" - ], - [ - 144, - 105, - 1, - 107, - 2, - "MASK" - ], - [ - 188, - 139, - 0, - 141, - 0, - "IMAGE" - ], - [ - 189, - 139, - 1, - 141, - 1, - "MASK" - ], - [ - 190, - 139, - 1, - 141, - 2, - "MASK" - ], - [ - 191, - 105, - 1, - 121, - 1, - "MASK" - ], - [ - 192, - 105, - 1, - 126, - 1, - "MASK" - ], - [ - 193, - 105, - 1, - 131, - 1, - "MASK" - ], - [ - 194, - 105, - 1, - 136, - 1, - "MASK" - ], - [ - 195, - 105, - 0, - 121, - 0, - "IMAGE" - ], - [ - 196, - 105, - 0, - 126, - 0, - "IMAGE" - ], - [ - 197, - 105, - 0, - 131, - 0, - "IMAGE" - ], - [ - 198, - 105, - 0, - 136, - 0, - "IMAGE" - ], - [ - 215, - 72, - 3, - 68, - 0, - "IMAGE" - ], - [ - 216, - 78, - 3, - 76, - 0, - "IMAGE" - ], - [ - 217, - 30, - 3, - 32, - 0, - "IMAGE" - ], - [ - 218, - 60, - 3, - 48, - 0, - "IMAGE" - ], - [ - 219, - 54, - 3, - 53, - 0, - "IMAGE" - ], - [ - 220, - 40, - 3, - 39, - 0, - "IMAGE" - ], - [ - 221, - 52, - 3, - 50, - 0, - "IMAGE" - ], - [ - 222, - 37, - 3, - 35, - 0, - "IMAGE" - ], - [ - 223, - 15, - 3, - 8, - 0, - "IMAGE" - ], - [ - 225, - 20, - 3, - 18, - 0, - "IMAGE" - ], - [ - 227, - 23, - 3, - 22, - 0, - "IMAGE" - ], - [ - 229, - 86, - 3, - 83, - 0, - "IMAGE" - ], - [ - 231, - 154, - 3, - 143, - 0, - "IMAGE" - ], - [ - 233, - 153, - 3, - 145, - 0, - "IMAGE" - ], - [ - 235, - 152, - 3, - 148, - 0, - "IMAGE" - ], - [ - 244, - 156, - 0, - 153, - 0, - "IMAGE" - ], - [ - 245, - 156, - 1, - 153, - 1, - "MASK" - ], - [ - 246, - 157, - 0, - 152, - 0, - "IMAGE" - ], - [ - 247, - 157, - 1, - 152, - 1, - "MASK" - ], - [ - 248, - 155, - 0, - 154, - 0, - "IMAGE" - ], - [ - 249, - 155, - 1, - 154, - 1, - "MASK" - ], - [ - 251, - 158, - 0, - 94, - 0, - "IMAGE" - ], - [ - 252, - 158, - 1, - 94, - 1, - "MASK" - ], - [ - 260, - 159, - 0, - 163, - 0, - "IMAGE" - ], - [ - 261, - 159, - 1, - 163, - 1, - "MASK" - ], - [ - 262, - 159, - 1, - 163, - 2, - "MASK" - ], - [ - 266, - 165, - 0, - 167, - 0, - "IMAGE" - ], - [ - 267, - 165, - 1, - 167, - 1, - "MASK" - ], - [ - 268, - 165, - 1, - 167, - 2, - "MASK" - ], - [ - 272, - 171, - 0, - 173, - 0, - "IMAGE" - ], - [ - 273, - 171, - 1, - 173, - 1, - "MASK" - ], - [ - 274, - 171, - 1, - 173, - 2, - "MASK" - ], - [ - 284, - 183, - 0, - 184, - 0, - "IMAGE" - ], - [ - 285, - 183, - 1, - 184, - 1, - "MASK" - ], - [ - 286, - 183, - 1, - 184, - 2, - "MASK" - ], - [ - 287, - 178, - 0, - 185, - 0, - "IMAGE" - ], - [ - 288, - 178, - 1, - 185, - 1, - "MASK" - ], - [ - 289, - 178, - 1, - 185, - 2, - "MASK" - ], - [ - 290, - 180, - 0, - 186, - 0, - "IMAGE" - ], - [ - 291, - 180, - 1, - 186, - 1, - "MASK" - ], - [ - 292, - 180, - 1, - 186, - 2, - "MASK" - ], - [ - 298, - 189, - 0, - 190, - 0, - "IMAGE" - ], - [ - 299, - 189, - 1, - 190, - 1, - "MASK" - ], - [ - 300, - 189, - 1, - 190, - 2, - "MASK" - ], - [ - 309, - 197, - 0, - 202, - 0, - "IMAGE" - ], - [ - 310, - 197, - 1, - 202, - 1, - "MASK" - ], - [ - 311, - 197, - 1, - 202, - 2, - "MASK" - ], - [ - 318, - 207, - 0, - 208, - 0, - "IMAGE" - ], - [ - 319, - 207, - 1, - 208, - 1, - "MASK" - ], - [ - 320, - 207, - 1, - 208, - 2, - "MASK" - ], - [ - 323, - 211, - 0, - 212, - 0, - "IMAGE" - ], - [ - 324, - 211, - 1, - 212, - 1, - "MASK" - ], - [ - 325, - 211, - 1, - 212, - 2, - "MASK" - ], - [ - 347, - 215, - 0, - 222, - 0, - "IMAGE" - ], - [ - 348, - 215, - 1, - 222, - 1, - "MASK" - ], - [ - 349, - 215, - 0, - 223, - 0, - "IMAGE" - ], - [ - 350, - 215, - 1, - 223, - 1, - "MASK" - ], - [ - 351, - 215, - 0, - 224, - 0, - "IMAGE" - ], - [ - 352, - 215, - 1, - 224, - 1, - "MASK" - ], - [ - 353, - 215, - 0, - 225, - 0, - "IMAGE" - ], - [ - 354, - 215, - 1, - 225, - 1, - "MASK" - ], - [ - 355, - 215, - 1, - 225, - 2, - "MASK" - ], - [ - 356, - 215, - 0, - 226, - 0, - "IMAGE" - ], - [ - 357, - 215, - 1, - 226, - 1, - "MASK" - ], - [ - 359, - 225, - 10, - 227, - 0, - "IMAGE" - ], - [ - 361, - 226, - 10, - 228, - 0, - "IMAGE" - ], - [ - 362, - 224, - 10, - 229, - 0, - "IMAGE" - ], - [ - 364, - 222, - 10, - 230, - 0, - "IMAGE" - ], - [ - 366, - 223, - 10, - 231, - 0, - "IMAGE" - ], - [ - 368, - 245, - 10, - 232, - 0, - "IMAGE" - ], - [ - 370, - 237, - 10, - 235, - 0, - "IMAGE" - ], - [ - 372, - 234, - 0, - 237, - 0, - "IMAGE" - ], - [ - 373, - 234, - 1, - 237, - 1, - "MASK" - ], - [ - 374, - 234, - 1, - 237, - 2, - "MASK" - ], - [ - 376, - 247, - 10, - 239, - 0, - "IMAGE" - ], - [ - 378, - 248, - 10, - 241, - 0, - "IMAGE" - ], - [ - 380, - 246, - 10, - 243, - 0, - "IMAGE" - ], - [ - 382, - 234, - 0, - 245, - 0, - "IMAGE" - ], - [ - 383, - 234, - 1, - 245, - 1, - "MASK" - ], - [ - 384, - 234, - 0, - 246, - 0, - "IMAGE" - ], - [ - 385, - 234, - 1, - 246, - 1, - "MASK" - ], - [ - 386, - 234, - 0, - 247, - 0, - "IMAGE" - ], - [ - 387, - 234, - 1, - 247, - 1, - "MASK" - ], - [ - 388, - 234, - 0, - 248, - 0, - "IMAGE" - ], - [ - 389, - 234, - 1, - 248, - 1, - "MASK" - ], - [ - 392, - 251, - 0, - 252, - 0, - "IMAGE" - ], - [ - 393, - 251, - 1, - 252, - 1, - "MASK" - ], - [ - 403, - 255, - 0, - 261, - 0, - "IMAGE" - ], - [ - 404, - 255, - 1, - 261, - 1, - "MASK" - ], - [ - 406, - 262, - 0, - 265, - 0, - "IMAGE" - ], - [ - 407, - 262, - 1, - 265, - 1, - "MASK" - ], - [ - 409, - 266, - 0, - 268, - 0, - "IMAGE" - ], - [ - 410, - 266, - 1, - 268, - 1, - "MASK" - ], - [ - 414, - 252, - 13, - 271, - 0, - "IMAGE" - ], - [ - 416, - 261, - 13, - 272, - 0, - "IMAGE" - ], - [ - 418, - 268, - 15, - 273, - 0, - "IMAGE" - ], - [ - 420, - 265, - 15, - 274, - 0, - "IMAGE" - ], - [ - 427, - 275, - 0, - 283, - 0, - "IMAGE" - ], - [ - 428, - 275, - 1, - 283, - 1, - "MASK" - ], - [ - 429, - 284, - 1, - 283, - 2, - "MASK" - ], - [ - 432, - 288, - 0, - 287, - 0, - "IMAGE" - ], - [ - 433, - 288, - 1, - 287, - 1, - "MASK" - ], - [ - 434, - 289, - 1, - 287, - 2, - "MASK" - ], - [ - 435, - 287, - 17, - 286, - 0, - "IMAGE" - ], - [ - 437, - 283, - 17, - 282, - 0, - "IMAGE" - ], - [ - 443, - 293, - 0, - 299, - 0, - "IMAGE" - ], - [ - 444, - 293, - 1, - 299, - 1, - "MASK" - ], - [ - 445, - 294, - 1, - 299, - 2, - "MASK" - ], - [ - 446, - 297, - 0, - 300, - 0, - "IMAGE" - ], - [ - 447, - 297, - 1, - 300, - 1, - "MASK" - ], - [ - 448, - 298, - 1, - 300, - 2, - "MASK" - ], - [ - 450, - 299, - 19, - 291, - 0, - "IMAGE" - ], - [ - 453, - 300, - 19, - 296, - 0, - "IMAGE" - ], - [ - 457, - 308, - 17, - 305, - 0, - "IMAGE" - ], - [ - 458, - 306, - 0, - 308, - 0, - "IMAGE" - ], - [ - 459, - 306, - 1, - 308, - 1, - "MASK" - ], - [ - 465, - 307, - 1, - 308, - 2, - "MASK" - ], - [ - 467, - 315, - 17, - 313, - 0, - "IMAGE" - ], - [ - 468, - 314, - 0, - 315, - 0, - "IMAGE" - ], - [ - 469, - 314, - 1, - 315, - 1, - "MASK" - ], - [ - 470, - 316, - 1, - 315, - 2, - "MASK" - ], - [ - 472, - 322, - 17, - 318, - 0, - "IMAGE" - ], - [ - 474, - 320, - 0, - 322, - 0, - "IMAGE" - ], - [ - 475, - 320, - 1, - 322, - 1, - "MASK" - ], - [ - 476, - 319, - 1, - 322, - 2, - "MASK" - ], - [ - 481, - 324, - 0, - 329, - 0, - "IMAGE" - ], - [ - 482, - 324, - 1, - 329, - 1, - "MASK" - ], - [ - 484, - 329, - 10, - 325, - 0, - "IMAGE" - ], - [ - 488, - 329, - 10, - 333, - 0, - "IMAGE" - ], - [ - 489, - 329, - 11, - 333, - 1, - "MASK" - ], - [ - 491, - 333, - 19, - 331, - 0, - "IMAGE" - ], - [ - 494, - 340, - 10, - 336, - 0, - "IMAGE" - ], - [ - 496, - 342, - 19, - 339, - 0, - "IMAGE" - ], - [ - 497, - 337, - 0, - 340, - 0, - "IMAGE" - ], - [ - 498, - 337, - 1, - 340, - 1, - "MASK" - ], - [ - 500, - 340, - 10, - 342, - 0, - "IMAGE" - ], - [ - 501, - 340, - 11, - 342, - 1, - "MASK" - ], - [ - 513, - 373, - 19, - 351, - 0, - "IMAGE" - ], - [ - 514, - 358, - 10, - 354, - 0, - "IMAGE" - ], - [ - 517, - 355, - 0, - 358, - 0, - "IMAGE" - ], - [ - 518, - 355, - 1, - 358, - 1, - "MASK" - ], - [ - 522, - 367, - 10, - 362, - 0, - "IMAGE" - ], - [ - 524, - 382, - 19, - 365, - 0, - "IMAGE" - ], - [ - 526, - 363, - 0, - 367, - 0, - "IMAGE" - ], - [ - 527, - 363, - 1, - 367, - 1, - "MASK" - ], - [ - 528, - 379, - 19, - 368, - 0, - "IMAGE" - ], - [ - 529, - 350, - 0, - 369, - 0, - "IMAGE" - ], - [ - 530, - 350, - 1, - 369, - 1, - "MASK" - ], - [ - 531, - 353, - 1, - 369, - 2, - "MASK" - ], - [ - 532, - 369, - 19, - 370, - 0, - "IMAGE" - ], - [ - 535, - 349, - 0, - 373, - 0, - "IMAGE" - ], - [ - 536, - 349, - 1, - 373, - 1, - "MASK" - ], - [ - 537, - 352, - 1, - 373, - 2, - "MASK" - ], - [ - 543, - 358, - 10, - 379, - 0, - "IMAGE" - ], - [ - 544, - 358, - 11, - 379, - 1, - "MASK" - ], - [ - 547, - 367, - 10, - 382, - 0, - "IMAGE" - ], - [ - 548, - 367, - 11, - 382, - 1, - "MASK" - ], - [ - 549, - 299, - 1, - 384, - 0, - "IMAGE" - ], - [ - 551, - 300, - 1, - 386, - 0, - "IMAGE" - ], - [ - 553, - 333, - 1, - 389, - 0, - "IMAGE" - ], - [ - 555, - 342, - 1, - 391, - 0, - "IMAGE" - ], - [ - 557, - 373, - 1, - 393, - 0, - "IMAGE" - ], - [ - 559, - 369, - 1, - 395, - 0, - "IMAGE" - ], - [ - 561, - 379, - 1, - 397, - 0, - "IMAGE" - ], - [ - 563, - 382, - 1, - 399, - 0, - "IMAGE" - ], - [ - 565, - 299, - 22, - 400, - 0, - "IMAGE" - ], - [ - 566, - 299, - 23, - 401, - 0, - "IMAGE" - ], - [ - 567, - 299, - 24, - 402, - 0, - "IMAGE" - ], - [ - 568, - 300, - 22, - 404, - 0, - "IMAGE" - ], - [ - 569, - 300, - 23, - 405, - 0, - "IMAGE" - ], - [ - 570, - 300, - 24, - 403, - 0, - "IMAGE" - ], - [ - 571, - 333, - 22, - 407, - 0, - "IMAGE" - ], - [ - 572, - 333, - 23, - 408, - 0, - "IMAGE" - ], - [ - 573, - 333, - 24, - 406, - 0, - "IMAGE" - ], - [ - 574, - 342, - 22, - 410, - 0, - "IMAGE" - ], - [ - 575, - 342, - 23, - 411, - 0, - "IMAGE" - ], - [ - 576, - 342, - 24, - 409, - 0, - "IMAGE" - ], - [ - 577, - 373, - 22, - 413, - 0, - "IMAGE" - ], - [ - 578, - 373, - 23, - 414, - 0, - "IMAGE" - ], - [ - 579, - 373, - 24, - 412, - 0, - "IMAGE" - ], - [ - 580, - 369, - 22, - 416, - 0, - "IMAGE" - ], - [ - 581, - 369, - 23, - 417, - 0, - "IMAGE" - ], - [ - 582, - 369, - 24, - 415, - 0, - "IMAGE" - ], - [ - 583, - 379, - 22, - 419, - 0, - "IMAGE" - ], - [ - 584, - 379, - 23, - 420, - 0, - "IMAGE" - ], - [ - 585, - 379, - 24, - 418, - 0, - "IMAGE" - ], - [ - 586, - 382, - 22, - 422, - 0, - "IMAGE" - ], - [ - 587, - 382, - 23, - 423, - 0, - "IMAGE" - ], - [ - 588, - 382, - 24, - 421, - 0, - "IMAGE" - ], - [ - 591, - 432, - 10, - 427, - 0, - "IMAGE" - ], - [ - 593, - 439, - 19, - 430, - 0, - "IMAGE" - ], - [ - 595, - 428, - 0, - 432, - 0, - "IMAGE" - ], - [ - 596, - 428, - 1, - 432, - 1, - "MASK" - ], - [ - 599, - 439, - 1, - 435, - 0, - "IMAGE" - ], - [ - 600, - 439, - 24, - 436, - 0, - "IMAGE" - ], - [ - 601, - 439, - 22, - 437, - 0, - "IMAGE" - ], - [ - 602, - 439, - 23, - 438, - 0, - "IMAGE" - ], - [ - 603, - 432, - 10, - 439, - 0, - "IMAGE" - ], - [ - 604, - 432, - 11, - 439, - 1, - "MASK" - ], - [ - 618, - 456, - 10, - 453, - 0, - "IMAGE" - ], - [ - 620, - 454, - 0, - 456, - 0, - "IMAGE" - ], - [ - 621, - 454, - 1, - 456, - 1, - "MASK" - ], - [ - 623, - 461, - 1, - 458, - 0, - "IMAGE" - ], - [ - 625, - 461, - 22, - 460, - 0, - "IMAGE" - ], - [ - 626, - 456, - 10, - 461, - 0, - "IMAGE" - ], - [ - 627, - 456, - 11, - 461, - 1, - "MASK" - ], - [ - 628, - 461, - 23, - 462, - 0, - "IMAGE" - ], - [ - 629, - 461, - 24, - 463, - 0, - "IMAGE" - ], - [ - 630, - 461, - 19, - 464, - 0, - "IMAGE" - ], - [ - 631, - 468, - 10, - 466, - 0, - "IMAGE" - ], - [ - 633, - 475, - 0, - 468, - 0, - "IMAGE" - ], - [ - 634, - 475, - 1, - 468, - 1, - "MASK" - ], - [ - 642, - 468, - 10, - 477, - 0, - "IMAGE" - ], - [ - 643, - 468, - 11, - 477, - 1, - "MASK" - ], - [ - 644, - 477, - 0, - 478, - 0, - "STITCHER" - ], - [ - 647, - 478, - 0, - 470, - 0, - "IMAGE" - ], - [ - 648, - 468, - 10, - 479, - 0, - "IMAGE" - ], - [ - 649, - 477, - 1, - 480, - 0, - "IMAGE" - ], - [ - 650, - 480, - 0, - 478, - 1, - "IMAGE" - ], - [ - 652, - 486, - 0, - 483, - 0, - "STITCHER" - ], - [ - 653, - 487, - 0, - 483, - 1, - "IMAGE" - ], - [ - 654, - 485, - 10, - 484, - 0, - "IMAGE" - ], - [ - 655, - 481, - 0, - 485, - 0, - "IMAGE" - ], - [ - 656, - 481, - 1, - 485, - 1, - "MASK" - ], - [ - 657, - 485, - 10, - 486, - 0, - "IMAGE" - ], - [ - 658, - 485, - 11, - 486, - 1, - "MASK" - ], - [ - 659, - 486, - 1, - 487, - 0, - "IMAGE" - ], - [ - 660, - 485, - 10, - 488, - 0, - "IMAGE" - ], - [ - 661, - 483, - 0, - 489, - 0, - "IMAGE" - ], - [ - 662, - 492, - 0, - 491, - 0, - "IMAGE" - ], - [ - 663, - 486, - 2, - 492, - 0, - "MASK" - ], - [ - 664, - 486, - 1, - 493, - 0, - "IMAGE" - ], - [ - 665, - 495, - 0, - 494, - 0, - "IMAGE" - ], - [ - 666, - 485, - 11, - 495, - 0, - "MASK" - ], - [ - 667, - 497, - 0, - 496, - 0, - "IMAGE" - ], - [ - 668, - 468, - 11, - 497, - 0, - "MASK" - ], - [ - 669, - 499, - 0, - 498, - 0, - "IMAGE" - ], - [ - 670, - 373, - 2, - 499, - 0, - "MASK" - ], - [ - 671, - 501, - 0, - 500, - 0, - "IMAGE" - ], - [ - 672, - 373, - 21, - 501, - 0, - "MASK" - ], - [ - 673, - 503, - 0, - 502, - 0, - "IMAGE" - ], - [ - 674, - 369, - 21, - 503, - 0, - "MASK" - ], - [ - 675, - 505, - 0, - 504, - 0, - "IMAGE" - ], - [ - 676, - 369, - 2, - 505, - 0, - "MASK" - ], - [ - 677, - 507, - 0, - 506, - 0, - "IMAGE" - ], - [ - 678, - 379, - 21, - 507, - 0, - "MASK" - ], - [ - 679, - 509, - 0, - 508, - 0, - "IMAGE" - ], - [ - 680, - 379, - 2, - 509, - 0, - "MASK" - ], - [ - 681, - 511, - 0, - 510, - 0, - "IMAGE" - ], - [ - 682, - 358, - 11, - 511, - 0, - "MASK" - ], - [ - 683, - 513, - 0, - 512, - 0, - "IMAGE" - ], - [ - 684, - 382, - 21, - 513, - 0, - "MASK" - ], - [ - 685, - 515, - 0, - 514, - 0, - "IMAGE" - ], - [ - 686, - 382, - 2, - 515, - 0, - "MASK" - ], - [ - 687, - 517, - 0, - 516, - 0, - "IMAGE" - ], - [ - 688, - 367, - 11, - 517, - 0, - "MASK" - ], - [ - 689, - 519, - 0, - 518, - 0, - "IMAGE" - ], - [ - 690, - 439, - 21, - 519, - 0, - "MASK" - ], - [ - 691, - 521, - 0, - 520, - 0, - "IMAGE" - ], - [ - 692, - 439, - 2, - 521, - 0, - "MASK" - ], - [ - 693, - 523, - 0, - 522, - 0, - "IMAGE" - ], - [ - 694, - 461, - 21, - 523, - 0, - "MASK" - ], - [ - 695, - 525, - 0, - 524, - 0, - "IMAGE" - ], - [ - 696, - 461, - 2, - 525, - 0, - "MASK" - ], - [ - 697, - 527, - 0, - 526, - 0, - "IMAGE" - ], - [ - 698, - 456, - 11, - 527, - 0, - "MASK" - ], - [ - 699, - 529, - 0, - 528, - 0, - "IMAGE" - ], - [ - 700, - 432, - 11, - 529, - 0, - "MASK" - ], - [ - 701, - 531, - 0, - 530, - 0, - "IMAGE" - ], - [ - 702, - 299, - 2, - 531, - 0, - "MASK" - ], - [ - 703, - 533, - 0, - 532, - 0, - "IMAGE" - ], - [ - 704, - 299, - 21, - 533, - 0, - "MASK" - ], - [ - 705, - 535, - 0, - 534, - 0, - "IMAGE" - ], - [ - 706, - 300, - 21, - 535, - 0, - "MASK" - ], - [ - 707, - 537, - 0, - 536, - 0, - "IMAGE" - ], - [ - 708, - 300, - 2, - 537, - 0, - "MASK" - ], - [ - 709, - 539, - 0, - 538, - 0, - "IMAGE" - ], - [ - 710, - 329, - 11, - 539, - 0, - "MASK" - ], - [ - 711, - 541, - 0, - 540, - 0, - "IMAGE" - ], - [ - 712, - 333, - 21, - 541, - 0, - "MASK" - ], - [ - 713, - 543, - 0, - 542, - 0, - "IMAGE" - ], - [ - 714, - 333, - 2, - 543, - 0, - "MASK" - ], - [ - 715, - 545, - 0, - 544, - 0, - "IMAGE" - ], - [ - 716, - 342, - 21, - 545, - 0, - "MASK" - ], - [ - 717, - 547, - 0, - 546, - 0, - "IMAGE" - ], - [ - 718, - 342, - 2, - 547, - 0, - "MASK" - ], - [ - 719, - 549, - 0, - 548, - 0, - "IMAGE" - ], - [ - 720, - 340, - 11, - 549, - 0, - "MASK" - ], - [ - 721, - 551, - 0, - 550, - 0, - "IMAGE" - ], - [ - 722, - 322, - 16, - 551, - 0, - "MASK" - ], - [ - 723, - 553, - 0, - 552, - 0, - "IMAGE" - ], - [ - 724, - 315, - 16, - 553, - 0, - "MASK" - ], - [ - 725, - 555, - 0, - 554, - 0, - "IMAGE" - ], - [ - 726, - 308, - 16, - 555, - 0, - "MASK" - ], - [ - 727, - 557, - 0, - 556, - 0, - "IMAGE" - ], - [ - 728, - 287, - 16, - 557, - 0, - "MASK" - ], - [ - 729, - 559, - 0, - 558, - 0, - "IMAGE" - ], - [ - 730, - 283, - 16, - 559, - 0, - "MASK" - ], - [ - 731, - 561, - 0, - 560, - 0, - "IMAGE" - ], - [ - 732, - 265, - 14, - 561, - 0, - "MASK" - ], - [ - 733, - 563, - 0, - 562, - 0, - "IMAGE" - ], - [ - 734, - 268, - 14, - 563, - 0, - "MASK" - ], - [ - 735, - 565, - 0, - 564, - 0, - "IMAGE" - ], - [ - 736, - 261, - 12, - 565, - 0, - "MASK" - ], - [ - 737, - 567, - 0, - 566, - 0, - "IMAGE" - ], - [ - 738, - 252, - 12, - 567, - 0, - "MASK" - ], - [ - 739, - 569, - 0, - 568, - 0, - "IMAGE" - ], - [ - 740, - 237, - 11, - 569, - 0, - "MASK" - ], - [ - 741, - 571, - 0, - 570, - 0, - "IMAGE" - ], - [ - 742, - 247, - 11, - 571, - 0, - "MASK" - ], - [ - 743, - 573, - 0, - 572, - 0, - "IMAGE" - ], - [ - 744, - 248, - 11, - 573, - 0, - "MASK" - ], - [ - 745, - 575, - 0, - 574, - 0, - "IMAGE" - ], - [ - 746, - 246, - 11, - 575, - 0, - "MASK" - ], - [ - 747, - 577, - 0, - 576, - 0, - "IMAGE" - ], - [ - 748, - 245, - 11, - 577, - 0, - "MASK" - ], - [ - 749, - 579, - 0, - 578, - 0, - "IMAGE" - ], - [ - 750, - 223, - 11, - 579, - 0, - "MASK" - ], - [ - 751, - 581, - 0, - 580, - 0, - "IMAGE" - ], - [ - 752, - 222, - 11, - 581, - 0, - "MASK" - ], - [ - 753, - 583, - 0, - 582, - 0, - "IMAGE" - ], - [ - 754, - 224, - 11, - 583, - 0, - "MASK" - ], - [ - 755, - 585, - 0, - 584, - 0, - "IMAGE" - ], - [ - 756, - 226, - 11, - 585, - 0, - "MASK" - ], - [ - 757, - 587, - 0, - 586, - 0, - "IMAGE" - ], - [ - 758, - 225, - 11, - 587, - 0, - "MASK" - ], - [ - 759, - 589, - 0, - 588, - 0, - "IMAGE" - ], - [ - 760, - 234, - 1, - 589, - 0, - "MASK" - ], - [ - 761, - 591, - 0, - 590, - 0, - "IMAGE" - ], - [ - 762, - 215, - 1, - 591, - 0, - "MASK" - ], - [ - 763, - 593, - 0, - 592, - 0, - "IMAGE" - ], - [ - 764, - 107, - 9, - 593, - 0, - "MASK" - ], - [ - 765, - 595, - 0, - 594, - 0, - "IMAGE" - ], - [ - 766, - 121, - 9, - 595, - 0, - "MASK" - ], - [ - 767, - 597, - 0, - 596, - 0, - "IMAGE" - ], - [ - 768, - 126, - 9, - 597, - 0, - "MASK" - ], - [ - 769, - 599, - 0, - 598, - 0, - "IMAGE" - ], - [ - 770, - 131, - 9, - 599, - 0, - "MASK" - ], - [ - 771, - 601, - 0, - 600, - 0, - "IMAGE" - ], - [ - 772, - 136, - 9, - 601, - 0, - "MASK" - ], - [ - 773, - 603, - 0, - 602, - 0, - "IMAGE" - ], - [ - 774, - 105, - 1, - 603, - 0, - "MASK" - ], - [ - 775, - 605, - 0, - 604, - 0, - "IMAGE" - ], - [ - 776, - 202, - 8, - 605, - 0, - "MASK" - ], - [ - 777, - 607, - 0, - 606, - 0, - "IMAGE" - ], - [ - 778, - 197, - 1, - 607, - 0, - "MASK" - ], - [ - 779, - 609, - 0, - 608, - 0, - "IMAGE" - ], - [ - 780, - 611, - 0, - 610, - 0, - "IMAGE" - ], - [ - 781, - 208, - 9, - 609, - 0, - "MASK" - ], - [ - 782, - 207, - 1, - 611, - 0, - "MASK" - ], - [ - 783, - 613, - 0, - 612, - 0, - "IMAGE" - ], - [ - 784, - 615, - 0, - 614, - 0, - "IMAGE" - ], - [ - 785, - 211, - 1, - 615, - 0, - "MASK" - ], - [ - 786, - 212, - 9, - 613, - 0, - "MASK" - ], - [ - 787, - 617, - 0, - 616, - 0, - "IMAGE" - ], - [ - 788, - 163, - 7, - 617, - 0, - "MASK" - ], - [ - 789, - 619, - 0, - 618, - 0, - "IMAGE" - ], - [ - 790, - 167, - 7, - 619, - 0, - "MASK" - ], - [ - 791, - 621, - 0, - 620, - 0, - "IMAGE" - ], - [ - 792, - 173, - 7, - 621, - 0, - "MASK" - ], - [ - 793, - 623, - 0, - 622, - 0, - "IMAGE" - ], - [ - 794, - 190, - 8, - 623, - 0, - "MASK" - ], - [ - 795, - 625, - 0, - 624, - 0, - "IMAGE" - ], - [ - 796, - 189, - 1, - 625, - 0, - "MASK" - ], - [ - 797, - 627, - 0, - 626, - 0, - "IMAGE" - ], - [ - 798, - 171, - 1, - 627, - 0, - "MASK" - ], - [ - 799, - 629, - 0, - 628, - 0, - "IMAGE" - ], - [ - 800, - 165, - 1, - 629, - 0, - "MASK" - ], - [ - 801, - 631, - 0, - 630, - 0, - "IMAGE" - ], - [ - 802, - 159, - 1, - 631, - 0, - "MASK" - ], - [ - 803, - 633, - 0, - 632, - 0, - "IMAGE" - ], - [ - 804, - 186, - 6, - 633, - 0, - "MASK" - ], - [ - 805, - 635, - 0, - 634, - 0, - "IMAGE" - ], - [ - 806, - 185, - 6, - 635, - 0, - "MASK" - ], - [ - 807, - 637, - 0, - 636, - 0, - "IMAGE" - ], - [ - 808, - 184, - 6, - 637, - 0, - "MASK" - ], - [ - 809, - 639, - 0, - 638, - 0, - "IMAGE" - ], - [ - 810, - 183, - 1, - 639, - 0, - "MASK" - ], - [ - 811, - 641, - 0, - 640, - 0, - "IMAGE" - ], - [ - 812, - 178, - 1, - 641, - 0, - "MASK" - ], - [ - 813, - 643, - 0, - 642, - 0, - "IMAGE" - ], - [ - 814, - 180, - 1, - 643, - 0, - "MASK" - ], - [ - 815, - 645, - 0, - 644, - 0, - "IMAGE" - ], - [ - 816, - 141, - 5, - 645, - 0, - "MASK" - ], - [ - 817, - 647, - 0, - 646, - 0, - "IMAGE" - ], - [ - 818, - 139, - 1, - 647, - 0, - "MASK" - ], - [ - 819, - 649, - 0, - 648, - 0, - "IMAGE" - ], - [ - 820, - 86, - 4, - 649, - 0, - "MASK" - ], - [ - 821, - 651, - 0, - 650, - 0, - "IMAGE" - ], - [ - 822, - 89, - 4, - 651, - 0, - "MASK" - ], - [ - 823, - 653, - 0, - 652, - 0, - "IMAGE" - ], - [ - 824, - 94, - 4, - 653, - 0, - "MASK" - ], - [ - 825, - 655, - 0, - 654, - 0, - "IMAGE" - ], - [ - 826, - 70, - 1, - 655, - 0, - "MASK" - ], - [ - 827, - 657, - 0, - 656, - 0, - "IMAGE" - ], - [ - 828, - 72, - 4, - 657, - 0, - "MASK" - ], - [ - 829, - 659, - 0, - 658, - 0, - "IMAGE" - ], - [ - 831, - 661, - 0, - 660, - 0, - "IMAGE" - ], - [ - 832, - 78, - 4, - 661, - 0, - "MASK" - ], - [ - 833, - 663, - 0, - 662, - 0, - "IMAGE" - ], - [ - 835, - 665, - 0, - 664, - 0, - "IMAGE" - ], - [ - 836, - 30, - 4, - 665, - 0, - "MASK" - ], - [ - 837, - 667, - 0, - 666, - 0, - "IMAGE" - ], - [ - 839, - 669, - 0, - 668, - 0, - "IMAGE" - ], - [ - 840, - 60, - 4, - 669, - 0, - "MASK" - ], - [ - 841, - 671, - 0, - 670, - 0, - "IMAGE" - ], - [ - 842, - 54, - 4, - 671, - 0, - "MASK" - ], - [ - 843, - 673, - 0, - 672, - 0, - "IMAGE" - ], - [ - 844, - 152, - 4, - 673, - 0, - "MASK" - ], - [ - 845, - 675, - 0, - 674, - 0, - "IMAGE" - ], - [ - 846, - 52, - 4, - 675, - 0, - "MASK" - ], - [ - 847, - 677, - 0, - 676, - 0, - "IMAGE" - ], - [ - 848, - 37, - 4, - 677, - 0, - "MASK" - ], - [ - 849, - 679, - 0, - 678, - 0, - "IMAGE" - ], - [ - 850, - 153, - 4, - 679, - 0, - "MASK" - ], - [ - 851, - 681, - 0, - 680, - 0, - "IMAGE" - ], - [ - 852, - 40, - 4, - 681, - 0, - "MASK" - ], - [ - 853, - 683, - 0, - 682, - 0, - "IMAGE" - ], - [ - 854, - 20, - 4, - 683, - 0, - "MASK" - ], - [ - 855, - 685, - 0, - 684, - 0, - "IMAGE" - ], - [ - 856, - 154, - 4, - 685, - 0, - "MASK" - ], - [ - 857, - 687, - 0, - 686, - 0, - "IMAGE" - ], - [ - 858, - 15, - 4, - 687, - 0, - "MASK" - ], - [ - 859, - 689, - 0, - 688, - 0, - "IMAGE" - ], - [ - 860, - 23, - 4, - 689, - 0, - "MASK" - ], - [ - 861, - 691, - 0, - 690, - 0, - "IMAGE" - ], - [ - 862, - 255, - 1, - 691, - 0, - "MASK" - ], - [ - 863, - 693, - 0, - 692, - 0, - "IMAGE" - ], - [ - 865, - 696, - 10, - 694, - 0, - "IMAGE" - ], - [ - 867, - 698, - 0, - 696, - 0, - "IMAGE" - ], - [ - 868, - 698, - 1, - 696, - 1, - "MASK" - ], - [ - 870, - 696, - 10, - 699, - 0, - "IMAGE" - ], - [ - 871, - 696, - 11, - 699, - 1, - "MASK" - ], - [ - 879, - 708, - 0, - 707, - 0, - "IMAGE" - ], - [ - 880, - 696, - 11, - 708, - 0, - "MASK" - ], - [ - 881, - 710, - 0, - 709, - 1, - "IMAGE" - ], - [ - 882, - 709, - 0, - 712, - 0, - "IMAGE" - ], - [ - 883, - 714, - 0, - 713, - 0, - "IMAGE" - ], - [ - 884, - 699, - 0, - 709, - 0, - "STITCHER" - ], - [ - 885, - 699, - 1, - 710, - 0, - "IMAGE" - ], - [ - 886, - 699, - 1, - 715, - 0, - "IMAGE" - ], - [ - 887, - 699, - 2, - 714, - 0, - "MASK" - ], - [ - 888, - 696, - 10, - 711, - 0, - "IMAGE" - ], - [ - 889, - 720, - 3, - 716, - 0, - "IMAGE" - ], - [ - 893, - 722, - 0, - 721, - 0, - "IMAGE" - ], - [ - 894, - 720, - 4, - 722, - 0, - "MASK" - ], - [ - 897, - 718, - 0, - 720, - 0, - "IMAGE" - ], - [ - 909, - 718, - 1, - 729, - 0, - "MASK" - ], - [ - 910, - 718, - 1, - 729, - 1, - "MASK" - ], - [ - 911, - 718, - 1, - 729, - 2, - "MASK" - ], - [ - 912, - 718, - 1, - 729, - 3, - "MASK" - ], - [ - 913, - 729, - 0, - 720, - 1, - "MASK" - ], - [ - 914, - 729, - 0, - 720, - 2, - "MASK" - ], - [ - 915, - 58, - 1, - 730, - 0, - "MASK" - ], - [ - 916, - 58, - 1, - 730, - 1, - "MASK" - ], - [ - 917, - 58, - 1, - 730, - 2, - "MASK" - ], - [ - 918, - 58, - 1, - 730, - 3, - "MASK" - ], - [ - 919, - 730, - 0, - 60, - 1, - "MASK" - ], - [ - 920, - 730, - 0, - 60, - 2, - "MASK" - ], - [ - 922, - 31, - 1, - 731, - 0, - "MASK" - ], - [ - 923, - 31, - 1, - 731, - 1, - "MASK" - ], - [ - 924, - 31, - 1, - 731, - 2, - "MASK" - ], - [ - 925, - 31, - 1, - 731, - 3, - "MASK" - ], - [ - 926, - 731, - 0, - 30, - 1, - "MASK" - ], - [ - 927, - 731, - 0, - 30, - 2, - "MASK" - ], - [ - 929, - 79, - 1, - 732, - 0, - "MASK" - ], - [ - 930, - 79, - 1, - 732, - 1, - "MASK" - ], - [ - 931, - 79, - 1, - 732, - 2, - "MASK" - ], - [ - 932, - 79, - 1, - 732, - 3, - "MASK" - ], - [ - 933, - 732, - 0, - 78, - 1, - "MASK" - ], - [ - 934, - 732, - 0, - 78, - 2, - "MASK" - ], - [ - 936, - 732, - 0, - 659, - 0, - "MASK" - ], - [ - 937, - 731, - 0, - 663, - 0, - "MASK" - ], - [ - 938, - 730, - 0, - 667, - 0, - "MASK" - ], - [ - 939, - 24, - 1, - 733, - 0, - "MASK" - ], - [ - 940, - 24, - 1, - 733, - 1, - "MASK" - ], - [ - 941, - 24, - 1, - 733, - 2, - "MASK" - ], - [ - 944, - 24, - 1, - 733, - 3, - "MASK" - ], - [ - 945, - 24, - 1, - 733, - 3, - "MASK" - ], - [ - 946, - 733, - 0, - 23, - 1, - "MASK" - ], - [ - 947, - 24, - 1, - 693, - 0, - "MASK" - ], - [ - 949, - 70, - 0, - 735, - 0, - "IMAGE" - ], - [ - 950, - 70, - 0, - 735, - 1, - "IMAGE" - ], - [ - 951, - 70, - 0, - 735, - 2, - "IMAGE" - ], - [ - 952, - 70, - 0, - 735, - 3, - "IMAGE" - ], - [ - 953, - 735, - 0, - 72, - 0, - "IMAGE" - ], - [ - 954, - 24, - 0, - 736, - 0, - "IMAGE" - ], - [ - 955, - 736, - 0, - 23, - 0, - "IMAGE" - ], - [ - 956, - 24, - 0, - 736, - 1, - "IMAGE" - ], - [ - 957, - 24, - 0, - 736, - 2, - "IMAGE" - ], - [ - 958, - 24, - 0, - 736, - 3, - "IMAGE" - ], - [ - 959, - 21, - 0, - 737, - 0, - "IMAGE" - ], - [ - 961, - 737, - 0, - 20, - 0, - "IMAGE" - ], - [ - 962, - 21, - 0, - 737, - 1, - "IMAGE" - ], - [ - 963, - 21, - 0, - 737, - 2, - "IMAGE" - ], - [ - 964, - 21, - 0, - 737, - 3, - "IMAGE" - ], - [ - 966, - 41, - 0, - 738, - 3, - "IMAGE" - ], - [ - 967, - 41, - 0, - 738, - 2, - "IMAGE" - ], - [ - 968, - 41, - 0, - 738, - 1, - "IMAGE" - ], - [ - 969, - 41, - 0, - 738, - 0, - "IMAGE" - ], - [ - 970, - 738, - 0, - 40, - 0, - "IMAGE" - ], - [ - 971, - 57, - 0, - 739, - 0, - "IMAGE" - ], - [ - 972, - 57, - 0, - 739, - 1, - "IMAGE" - ], - [ - 973, - 57, - 0, - 739, - 2, - "IMAGE" - ], - [ - 974, - 57, - 0, - 739, - 3, - "IMAGE" - ], - [ - 975, - 739, - 0, - 54, - 0, - "IMAGE" - ], - [ - 976, - 58, - 0, - 740, - 0, - "IMAGE" - ], - [ - 977, - 740, - 0, - 60, - 0, - "IMAGE" - ], - [ - 978, - 58, - 0, - 740, - 1, - "IMAGE" - ], - [ - 979, - 58, - 0, - 740, - 2, - "IMAGE" - ], - [ - 980, - 58, - 0, - 740, - 3, - "IMAGE" - ], - [ - 981, - 79, - 0, - 741, - 0, - "IMAGE" - ], - [ - 982, - 79, - 0, - 741, - 1, - "IMAGE" - ], - [ - 983, - 79, - 0, - 741, - 2, - "IMAGE" - ], - [ - 984, - 79, - 0, - 741, - 3, - "IMAGE" - ], - [ - 985, - 741, - 0, - 78, - 0, - "IMAGE" - ], - [ - 986, - 31, - 0, - 742, - 0, - "IMAGE" - ], - [ - 987, - 31, - 0, - 742, - 1, - "IMAGE" - ], - [ - 988, - 31, - 0, - 742, - 2, - "IMAGE" - ], - [ - 989, - 31, - 0, - 742, - 3, - "IMAGE" - ], - [ - 990, - 742, - 0, - 30, - 0, - "IMAGE" - ], - [ - 991, - 746, - 0, - 743, - 0, - "IMAGE" - ], - [ - 992, - 747, - 0, - 743, - 1, - "MASK" - ], - [ - 994, - 743, - 4, - 744, - 0, - "MASK" - ], - [ - 995, - 743, - 3, - 745, - 0, - "IMAGE" - ], - [ - 996, - 746, - 1, - 747, - 0, - "MASK" - ], - [ - 997, - 746, - 1, - 747, - 1, - "MASK" - ], - [ - 998, - 746, - 1, - 747, - 2, - "MASK" - ], - [ - 999, - 746, - 1, - 747, - 3, - "MASK" - ], - [ - 1000, - 744, - 0, - 748, - 0, - "IMAGE" - ], - [ - 1003, - 746, - 1, - 749, - 0, - "MASK" - ], - [ - 1005, - 746, - 1, - 743, - 2, - "MASK" - ], - [ - 1006, - 486, - 1, - 750, - 0, - "IMAGE" - ], - [ - 1007, - 487, - 0, - 750, - 1, - "IMAGE" - ], - [ - 1008, - 486, - 2, - 750, - 2, - "MASK" - ], - [ - 1009, - 750, - 0, - 751, - 1, - "IMAGE" - ], - [ - 1010, - 486, - 0, - 751, - 0, - "STITCHER" - ], - [ - 1011, - 751, - 0, - 752, - 0, - "IMAGE" - ], - [ - 1060, - 795, - 0, - 785, - 0, - "IMAGE" - ], - [ - 1061, - 793, - 2, - 787, - 0, - "MASK" - ], - [ - 1062, - 793, - 0, - 788, - 0, - "STITCHER" - ], - [ - 1063, - 790, - 0, - 788, - 1, - "IMAGE" - ], - [ - 1064, - 787, - 0, - 789, - 0, - "IMAGE" - ], - [ - 1065, - 793, - 1, - 790, - 0, - "IMAGE" - ], - [ - 1066, - 793, - 1, - 791, - 0, - "IMAGE" - ], - [ - 1067, - 793, - 1, - 792, - 0, - "IMAGE" - ], - [ - 1068, - 790, - 0, - 792, - 1, - "IMAGE" - ], - [ - 1069, - 793, - 2, - 792, - 2, - "MASK" - ], - [ - 1070, - 788, - 0, - 794, - 0, - "IMAGE" - ], - [ - 1071, - 793, - 0, - 795, - 0, - "STITCHER" - ], - [ - 1072, - 792, - 0, - 795, - 1, - "IMAGE" - ], - [ - 1073, - 806, - 0, - 796, - 0, - "IMAGE" - ], - [ - 1074, - 804, - 2, - 798, - 0, - "MASK" - ], - [ - 1075, - 804, - 0, - 799, - 0, - "STITCHER" - ], - [ - 1076, - 801, - 0, - 799, - 1, - "IMAGE" - ], - [ - 1077, - 798, - 0, - 800, - 0, - "IMAGE" - ], - [ - 1078, - 804, - 1, - 801, - 0, - "IMAGE" - ], - [ - 1079, - 804, - 1, - 802, - 0, - "IMAGE" - ], - [ - 1080, - 804, - 1, - 803, - 0, - "IMAGE" - ], - [ - 1081, - 801, - 0, - 803, - 1, - "IMAGE" - ], - [ - 1082, - 804, - 2, - 803, - 2, - "MASK" - ], - [ - 1083, - 799, - 0, - 805, - 0, - "IMAGE" - ], - [ - 1084, - 804, - 0, - 806, - 0, - "STITCHER" - ], - [ - 1085, - 803, - 0, - 806, - 1, - "IMAGE" - ], - [ - 1086, - 817, - 0, - 807, - 0, - "IMAGE" - ], - [ - 1087, - 815, - 2, - 809, - 0, - "MASK" - ], - [ - 1088, - 815, - 0, - 810, - 0, - "STITCHER" - ], - [ - 1089, - 812, - 0, - 810, - 1, - "IMAGE" - ], - [ - 1090, - 809, - 0, - 811, - 0, - "IMAGE" - ], - [ - 1091, - 815, - 1, - 812, - 0, - "IMAGE" - ], - [ - 1092, - 815, - 1, - 813, - 0, - "IMAGE" - ], - [ - 1093, - 815, - 1, - 814, - 0, - "IMAGE" - ], - [ - 1094, - 812, - 0, - 814, - 1, - "IMAGE" - ], - [ - 1095, - 815, - 2, - 814, - 2, - "MASK" - ], - [ - 1096, - 810, - 0, - 816, - 0, - "IMAGE" - ], - [ - 1097, - 815, - 0, - 817, - 0, - "STITCHER" - ], - [ - 1098, - 814, - 0, - 817, - 1, - "IMAGE" - ], - [ - 1099, - 485, - 10, - 793, - 0, - "IMAGE" - ], - [ - 1100, - 485, - 11, - 793, - 1, - "MASK" - ], - [ - 1101, - 485, - 10, - 804, - 0, - "IMAGE" - ], - [ - 1102, - 485, - 10, - 815, - 0, - "IMAGE" - ], - [ - 1104, - 485, - 11, - 804, - 1, - "MASK" - ], - [ - 1105, - 485, - 11, - 815, - 1, - "MASK" - ], - [ - 1107, - 826, - 2, - 819, - 0, - "MASK" - ], - [ - 1108, - 826, - 0, - 820, - 0, - "STITCHER" - ], - [ - 1109, - 822, - 0, - 820, - 1, - "IMAGE" - ], - [ - 1110, - 819, - 0, - 821, - 0, - "IMAGE" - ], - [ - 1111, - 826, - 1, - 822, - 0, - "IMAGE" - ], - [ - 1112, - 826, - 1, - 823, - 0, - "IMAGE" - ], - [ - 1113, - 826, - 1, - 824, - 0, - "IMAGE" - ], - [ - 1114, - 822, - 0, - 824, - 1, - "IMAGE" - ], - [ - 1115, - 826, - 2, - 824, - 2, - "MASK" - ], - [ - 1116, - 826, - 0, - 825, - 0, - "STITCHER" - ], - [ - 1117, - 824, - 0, - 825, - 1, - "IMAGE" - ], - [ - 1118, - 485, - 10, - 826, - 0, - "IMAGE" - ], - [ - 1119, - 485, - 11, - 826, - 1, - "MASK" - ], - [ - 1120, - 820, - 0, - 828, - 0, - "IMAGE" - ], - [ - 1121, - 825, - 0, - 827, - 0, - "IMAGE" - ], - [ - 1122, - 835, - 2, - 829, - 0, - "MASK" - ], - [ - 1123, - 835, - 0, - 830, - 0, - "STITCHER" - ], - [ - 1124, - 832, - 0, - 830, - 1, - "IMAGE" - ], - [ - 1125, - 829, - 0, - 831, - 0, - "IMAGE" - ], - [ - 1126, - 835, - 1, - 832, - 0, - "IMAGE" - ], - [ - 1127, - 835, - 1, - 833, - 0, - "IMAGE" - ], - [ - 1128, - 835, - 1, - 834, - 0, - "IMAGE" - ], - [ - 1129, - 832, - 0, - 834, - 1, - "IMAGE" - ], - [ - 1130, - 835, - 2, - 834, - 2, - "MASK" - ], - [ - 1131, - 830, - 0, - 836, - 0, - "IMAGE" - ], - [ - 1132, - 835, - 0, - 837, - 0, - "STITCHER" - ], - [ - 1133, - 834, - 0, - 837, - 1, - "IMAGE" - ], - [ - 1134, - 837, - 0, - 838, - 0, - "IMAGE" - ], - [ - 1135, - 485, - 10, - 835, - 0, - "IMAGE" - ], - [ - 1137, - 485, - 11, - 835, - 1, - "MASK" - ], - [ - 1138, - 846, - 10, - 845, - 0, - "IMAGE" - ], - [ - 1141, - 848, - 0, - 847, - 0, - "IMAGE" - ], - [ - 1142, - 846, - 11, - 848, - 0, - "MASK" - ], - [ - 1143, - 855, - 1, - 849, - 0, - "IMAGE" - ], - [ - 1144, - 854, - 0, - 850, - 0, - "IMAGE" - ], - [ - 1145, - 852, - 0, - 851, - 0, - "IMAGE" - ], - [ - 1146, - 855, - 2, - 852, - 0, - "MASK" - ], - [ - 1147, - 855, - 1, - 853, - 0, - "IMAGE" - ], - [ - 1148, - 855, - 0, - 854, - 0, - "STITCHER" - ], - [ - 1149, - 849, - 0, - 854, - 1, - "IMAGE" - ], - [ - 1150, - 846, - 10, - 855, - 0, - "IMAGE" - ], - [ - 1151, - 846, - 11, - 855, - 1, - "MASK" - ], - [ - 1152, - 846, - 10, - 856, - 0, - "IMAGE" - ], - [ - 1153, - 858, - 0, - 846, - 0, - "IMAGE" - ], - [ - 1154, - 858, - 1, - 846, - 1, - "MASK" - ], - [ - 1155, - 859, - 0, - 860, - 0, - "IMAGE" - ], - [ - 1156, - 486, - 25, - 859, - 0, - "MASK" - ], - [ - 1157, - 861, - 0, - 862, - 0, - "IMAGE" - ], - [ - 1158, - 486, - 25, - 861, - 0, - "MASK" - ], - [ - 1159, - 864, - 0, - 863, - 0, - "IMAGE" - ], - [ - 1160, - 793, - 25, - 864, - 0, - "MASK" - ], - [ - 1161, - 866, - 0, - 865, - 0, - "IMAGE" - ], - [ - 1162, - 804, - 25, - 866, - 0, - "MASK" - ], - [ - 1163, - 868, - 0, - 867, - 0, - "IMAGE" - ], - [ - 1164, - 870, - 0, - 869, - 0, - "IMAGE" - ], - [ - 1165, - 815, - 25, - 868, - 0, - "MASK" - ], - [ - 1166, - 826, - 25, - 870, - 0, - "MASK" - ], - [ - 1168, - 879, - 0, - 872, - 0, - "IMAGE" - ], - [ - 1169, - 877, - 0, - 872, - 1, - "MASK" - ], - [ - 1170, - 877, - 0, - 872, - 2, - "MASK" - ], - [ - 1171, - 874, - 0, - 873, - 0, - "IMAGE" - ], - [ - 1172, - 877, - 0, - 874, - 0, - "MASK" - ], - [ - 1183, - 880, - 0, - 879, - 0, - "IMAGE" - ], - [ - 1184, - 880, - 0, - 879, - 0, - "IMAGE" - ], - [ - 1185, - 880, - 0, - 879, - 1, - "IMAGE" - ], - [ - 1186, - 880, - 1, - 877, - 0, - "MASK" - ], - [ - 1187, - 880, - 1, - 877, - 1, - "MASK" - ], - [ - 1188, - 880, - 1, - 877, - 0, - "MASK" - ], - [ - 1189, - 880, - 0, - 879, - 1, - "IMAGE" - ], - [ - 1190, - 880, - 0, - 879, - 2, - "IMAGE" - ], - [ - 1191, - 880, - 1, - 877, - 1, - "MASK" - ], - [ - 1192, - 880, - 1, - 877, - 2, - "MASK" - ], - [ - 1194, - 887, - 0, - 881, - 1, - "IMAGE" - ], - [ - 1198, - 872, - 1, - 887, - 0, - "IMAGE" - ], - [ - 1199, - 872, - 0, - 881, - 0, - "STITCHER" - ], - [ - 1200, - 881, - 0, - 882, - 0, - "IMAGE" - ], - [ - 1202, - 896, - 0, - 888, - 0, - "IMAGE" - ], - [ - 1203, - 890, - 0, - 889, - 0, - "IMAGE" - ], - [ - 1204, - 891, - 0, - 890, - 0, - "MASK" - ], - [ - 1205, - 893, - 1, - 891, - 0, - "MASK" - ], - [ - 1206, - 893, - 1, - 891, - 1, - "MASK" - ], - [ - 1207, - 893, - 1, - 891, - 2, - "MASK" - ], - [ - 1208, - 893, - 0, - 892, - 0, - "IMAGE" - ], - [ - 1209, - 893, - 0, - 892, - 1, - "IMAGE" - ], - [ - 1210, - 893, - 0, - 892, - 2, - "IMAGE" - ], - [ - 1211, - 892, - 0, - 894, - 0, - "IMAGE" - ], - [ - 1212, - 891, - 0, - 894, - 1, - "MASK" - ], - [ - 1213, - 891, - 0, - 894, - 2, - "MASK" - ], - [ - 1214, - 894, - 1, - 895, - 0, - "IMAGE" - ], - [ - 1215, - 894, - 0, - 896, - 0, - "STITCHER" - ], - [ - 1216, - 895, - 0, - 896, - 1, - "IMAGE" - ], - [ - 1219, - 899, - 0, - 900, - 1, - "IMAGE" - ], - [ - 1220, - 900, - 0, - 901, - 0, - "IMAGE" - ], - [ - 1221, - 897, - 1, - 899, - 0, - "IMAGE" - ], - [ - 1222, - 897, - 0, - 900, - 0, - "STITCHER" - ], - [ - 1223, - 905, - 0, - 904, - 0, - "IMAGE" - ], - [ - 1224, - 906, - 0, - 905, - 0, - "STITCHER" - ], - [ - 1225, - 907, - 0, - 905, - 1, - "IMAGE" - ], - [ - 1228, - 906, - 1, - 907, - 0, - "IMAGE" - ], - [ - 1235, - 915, - 0, - 914, - 0, - "IMAGE" - ], - [ - 1236, - 897, - 4, - 915, - 0, - "MASK" - ], - [ - 1237, - 917, - 0, - 916, - 0, - "IMAGE" - ], - [ - 1238, - 897, - 6, - 917, - 0, - "MASK" - ], - [ - 1239, - 919, - 0, - 918, - 0, - "IMAGE" - ], - [ - 1240, - 921, - 0, - 920, - 0, - "IMAGE" - ], - [ - 1247, - 906, - 4, - 919, - 0, - "MASK" - ], - [ - 1248, - 906, - 5, - 921, - 0, - "MASK" - ], - [ - 1251, - 929, - 0, - 928, - 0, - "IMAGE" - ], - [ - 1252, - 906, - 25, - 929, - 0, - "MASK" - ], - [ - 1253, - 931, - 0, - 930, - 0, - "IMAGE" - ], - [ - 1254, - 897, - 25, - 931, - 0, - "MASK" - ], - [ - 1256, - 907, - 0, - 933, - 0, - "IMAGE" - ], - [ - 1257, - 906, - 1, - 934, - 0, - "IMAGE" - ], - [ - 1259, - 897, - 1, - 936, - 0, - "IMAGE" - ], - [ - 1260, - 899, - 0, - 937, - 0, - "IMAGE" - ], - [ - 1261, - 939, - 0, - 938, - 0, - "IMAGE" - ], - [ - 1262, - 950, - 0, - 939, - 0, - "STITCHER" - ], - [ - 1263, - 946, - 0, - 939, - 1, - "IMAGE" - ], - [ - 1264, - 943, - 0, - 941, - 0, - "IMAGE" - ], - [ - 1265, - 944, - 0, - 942, - 0, - "IMAGE" - ], - [ - 1266, - 950, - 4, - 943, - 0, - "MASK" - ], - [ - 1267, - 950, - 5, - 944, - 0, - "MASK" - ], - [ - 1268, - 947, - 0, - 945, - 0, - "IMAGE" - ], - [ - 1269, - 950, - 1, - 946, - 0, - "IMAGE" - ], - [ - 1270, - 950, - 25, - 947, - 0, - "MASK" - ], - [ - 1271, - 950, - 1, - 948, - 0, - "IMAGE" - ], - [ - 1272, - 946, - 0, - 949, - 0, - "IMAGE" - ], - [ - 1282, - 964, - 0, - 897, - 0, - "IMAGE" - ], - [ - 1283, - 964, - 1, - 897, - 1, - "MASK" - ], - [ - 1284, - 964, - 0, - 906, - 0, - "IMAGE" - ], - [ - 1285, - 964, - 1, - 906, - 1, - "MASK" - ], - [ - 1288, - 964, - 0, - 950, - 0, - "IMAGE" - ], - [ - 1289, - 964, - 1, - 950, - 1, - "MASK" - ], - [ - 1292, - 974, - 0, - 965, - 0, - "STITCHER" - ], - [ - 1293, - 971, - 0, - 965, - 1, - "IMAGE" - ], - [ - 1294, - 968, - 0, - 966, - 0, - "IMAGE" - ], - [ - 1295, - 969, - 0, - 967, - 0, - "IMAGE" - ], - [ - 1296, - 974, - 4, - 968, - 0, - "MASK" - ], - [ - 1297, - 974, - 5, - 969, - 0, - "MASK" - ], - [ - 1298, - 972, - 0, - 970, - 0, - "IMAGE" - ], - [ - 1299, - 974, - 1, - 971, - 0, - "IMAGE" - ], - [ - 1300, - 974, - 25, - 972, - 0, - "MASK" - ], - [ - 1301, - 971, - 0, - 973, - 0, - "IMAGE" - ], - [ - 1302, - 965, - 0, - 975, - 0, - "IMAGE" - ], - [ - 1303, - 974, - 1, - 976, - 0, - "IMAGE" - ], - [ - 1304, - 964, - 0, - 974, - 0, - "IMAGE" - ], - [ - 1305, - 964, - 1, - 974, - 1, - "MASK" - ], - [ - 1306, - 964, - 0, - 977, - 0, - "IMAGE" - ], - [ - 1307, - 988, - 0, - 978, - 0, - "STITCHER" - ], - [ - 1308, - 979, - 0, - 978, - 1, - "IMAGE" - ], - [ - 1309, - 988, - 1, - 979, - 0, - "IMAGE" - ], - [ - 1310, - 981, - 0, - 980, - 0, - "IMAGE" - ], - [ - 1311, - 988, - 4, - 981, - 0, - "MASK" - ], - [ - 1312, - 983, - 0, - 982, - 0, - "IMAGE" - ], - [ - 1313, - 988, - 6, - 983, - 0, - "MASK" - ], - [ - 1314, - 988, - 25, - 984, - 0, - "MASK" - ], - [ - 1315, - 988, - 1, - 985, - 0, - "IMAGE" - ], - [ - 1316, - 979, - 0, - 986, - 0, - "IMAGE" - ], - [ - 1317, - 984, - 0, - 987, - 0, - "IMAGE" - ], - [ - 1318, - 991, - 0, - 988, - 0, - "IMAGE" - ], - [ - 1319, - 991, - 1, - 988, - 1, - "MASK" - ], - [ - 1320, - 978, - 0, - 989, - 0, - "IMAGE" - ], - [ - 1321, - 991, - 0, - 990, - 0, - "IMAGE" - ], - [ - 1322, - 996, - 10, - 995, - 0, - "IMAGE" - ], - [ - 1323, - 1007, - 0, - 996, - 0, - "IMAGE" - ], - [ - 1324, - 1007, - 1, - 996, - 1, - "MASK" - ], - [ - 1325, - 998, - 0, - 997, - 0, - "IMAGE" - ], - [ - 1326, - 996, - 11, - 998, - 0, - "MASK" - ], - [ - 1327, - 1005, - 1, - 999, - 0, - "IMAGE" - ], - [ - 1328, - 1004, - 0, - 1000, - 0, - "IMAGE" - ], - [ - 1329, - 1002, - 0, - 1001, - 0, - "IMAGE" - ], - [ - 1330, - 1005, - 2, - 1002, - 0, - "MASK" - ], - [ - 1331, - 1005, - 1, - 1003, - 0, - "IMAGE" - ], - [ - 1332, - 1005, - 0, - 1004, - 0, - "STITCHER" - ], - [ - 1333, - 999, - 0, - 1004, - 1, - "IMAGE" - ], - [ - 1334, - 996, - 10, - 1005, - 0, - "IMAGE" - ], - [ - 1335, - 996, - 11, - 1005, - 1, - "MASK" - ], - [ - 1336, - 996, - 10, - 1006, - 0, - "IMAGE" - ], - [ - 1347, - 1005, - 24, - 1008, - 0, - "IMAGE" - ], - [ - 1348, - 1020, - 10, - 1009, - 0, - "IMAGE" - ], - [ - 1349, - 1011, - 0, - 1010, - 0, - "IMAGE" - ], - [ - 1350, - 1020, - 11, - 1011, - 0, - "MASK" - ], - [ - 1351, - 1022, - 1, - 1012, - 0, - "IMAGE" - ], - [ - 1352, - 1017, - 0, - 1013, - 0, - "IMAGE" - ], - [ - 1353, - 1015, - 0, - 1014, - 0, - "IMAGE" - ], - [ - 1354, - 1022, - 2, - 1015, - 0, - "MASK" - ], - [ - 1355, - 1022, - 1, - 1016, - 0, - "IMAGE" - ], - [ - 1356, - 1022, - 0, - 1017, - 0, - "STITCHER" - ], - [ - 1357, - 1012, - 0, - 1017, - 1, - "IMAGE" - ], - [ - 1358, - 1020, - 10, - 1018, - 0, - "IMAGE" - ], - [ - 1359, - 1019, - 0, - 1020, - 0, - "IMAGE" - ], - [ - 1360, - 1019, - 1, - 1020, - 1, - "MASK" - ], - [ - 1361, - 1022, - 24, - 1021, - 0, - "IMAGE" - ], - [ - 1362, - 1020, - 10, - 1022, - 0, - "IMAGE" - ], - [ - 1363, - 1020, - 11, - 1022, - 1, - "MASK" - ], - [ - 1364, - 1034, - 10, - 1024, - 0, - "IMAGE" - ], - [ - 1365, - 1026, - 0, - 1025, - 0, - "IMAGE" - ], - [ - 1366, - 1034, - 11, - 1026, - 0, - "MASK" - ], - [ - 1367, - 1036, - 1, - 1027, - 0, - "IMAGE" - ], - [ - 1368, - 1032, - 0, - 1028, - 0, - "IMAGE" - ], - [ - 1369, - 1030, - 0, - 1029, - 0, - "IMAGE" - ], - [ - 1370, - 1036, - 2, - 1030, - 0, - "MASK" - ], - [ - 1371, - 1036, - 1, - 1031, - 0, - "IMAGE" - ], - [ - 1372, - 1036, - 0, - 1032, - 0, - "STITCHER" - ], - [ - 1373, - 1027, - 0, - 1032, - 1, - "IMAGE" - ], - [ - 1374, - 1034, - 10, - 1033, - 0, - "IMAGE" - ], - [ - 1375, - 1023, - 0, - 1034, - 0, - "IMAGE" - ], - [ - 1376, - 1023, - 1, - 1034, - 1, - "MASK" - ], - [ - 1377, - 1036, - 24, - 1035, - 0, - "IMAGE" - ], - [ - 1378, - 1034, - 10, - 1036, - 0, - "IMAGE" - ], - [ - 1379, - 1034, - 11, - 1036, - 1, - "MASK" - ], - [ - 1380, - 1048, - 10, - 1038, - 0, - "IMAGE" - ], - [ - 1381, - 1040, - 0, - 1039, - 0, - "IMAGE" - ], - [ - 1382, - 1048, - 11, - 1040, - 0, - "MASK" - ], - [ - 1383, - 1050, - 1, - 1041, - 0, - "IMAGE" - ], - [ - 1384, - 1046, - 0, - 1042, - 0, - "IMAGE" - ], - [ - 1385, - 1044, - 0, - 1043, - 0, - "IMAGE" - ], - [ - 1386, - 1050, - 2, - 1044, - 0, - "MASK" - ], - [ - 1387, - 1050, - 1, - 1045, - 0, - "IMAGE" - ], - [ - 1388, - 1050, - 0, - 1046, - 0, - "STITCHER" - ], - [ - 1389, - 1041, - 0, - 1046, - 1, - "IMAGE" - ], - [ - 1390, - 1048, - 10, - 1047, - 0, - "IMAGE" - ], - [ - 1391, - 1037, - 0, - 1048, - 0, - "IMAGE" - ], - [ - 1392, - 1037, - 1, - 1048, - 1, - "MASK" - ], - [ - 1393, - 1050, - 24, - 1049, - 0, - "IMAGE" - ], - [ - 1394, - 1048, - 10, - 1050, - 0, - "IMAGE" - ], - [ - 1395, - 1048, - 11, - 1050, - 1, - "MASK" - ], - [ - 1396, - 1036, - 22, - 1051, - 0, - "IMAGE" - ], - [ - 1397, - 1036, - 23, - 1052, - 0, - "IMAGE" - ], - [ - 1398, - 1036, - 19, - 1053, - 0, - "IMAGE" - ], - [ - 1414, - 1070, - 10, - 1069, - 0, - "IMAGE" - ], - [ - 1417, - 1072, - 0, - 1071, - 0, - "IMAGE" - ], - [ - 1418, - 1070, - 11, - 1072, - 0, - "MASK" - ], - [ - 1419, - 1070, - 10, - 1074, - 0, - "IMAGE" - ], - [ - 1421, - 1077, - 0, - 1076, - 0, - "IMAGE" - ], - [ - 1422, - 1074, - 1, - 1075, - 0, - "IMAGE" - ], - [ - 1423, - 1074, - 2, - 1077, - 0, - "MASK" - ], - [ - 1424, - 1074, - 0, - 1078, - 0, - "STITCHER" - ], - [ - 1426, - 1078, - 0, - 1079, - 0, - "IMAGE" - ], - [ - 1429, - 1070, - 11, - 1074, - 1, - "MASK" - ], - [ - 1431, - 1074, - 22, - 1080, - 0, - "IMAGE" - ], - [ - 1432, - 1089, - 10, - 1081, - 0, - "IMAGE" - ], - [ - 1433, - 1083, - 0, - 1082, - 0, - "IMAGE" - ], - [ - 1434, - 1089, - 11, - 1083, - 0, - "MASK" - ], - [ - 1435, - 1085, - 0, - 1084, - 0, - "IMAGE" - ], - [ - 1436, - 1092, - 2, - 1085, - 0, - "MASK" - ], - [ - 1437, - 1092, - 0, - 1086, - 0, - "STITCHER" - ], - [ - 1439, - 1086, - 0, - 1087, - 0, - "IMAGE" - ], - [ - 1442, - 1092, - 1, - 1090, - 0, - "IMAGE" - ], - [ - 1443, - 1092, - 22, - 1091, - 0, - "IMAGE" - ], - [ - 1444, - 1089, - 10, - 1092, - 0, - "IMAGE" - ], - [ - 1445, - 1089, - 11, - 1092, - 1, - "MASK" - ], - [ - 1448, - 1092, - 1, - 1093, - 0, - "IMAGE" - ], - [ - 1449, - 1093, - 0, - 1086, - 1, - "IMAGE" - ], - [ - 1450, - 1074, - 1, - 1094, - 0, - "IMAGE" - ], - [ - 1451, - 1094, - 0, - 1078, - 1, - "IMAGE" - ], - [ - 1452, - 1095, - 0, - 1070, - 0, - "IMAGE" - ], - [ - 1453, - 1095, - 1, - 1070, - 1, - "MASK" - ], - [ - 1454, - 1096, - 0, - 1089, - 0, - "IMAGE" - ], - [ - 1455, - 1096, - 1, - 1089, - 1, - "MASK" - ], - [ - 1456, - 1092, - 1, - 1097, - 1, - "IMAGE" - ], - [ - 1457, - 1097, - 0, - 1098, - 0, - "IMAGE" - ], - [ - 1458, - 1092, - 0, - 1097, - 0, - "STITCHER" - ], - [ - 1459, - 897, - 0, - 1099, - 0, - "STITCHER" - ], - [ - 1460, - 897, - 1, - 1099, - 1, - "IMAGE" - ], - [ - 1461, - 1099, - 0, - 1100, - 0, - "IMAGE" - ], - [ - 1462, - 1074, - 0, - 1101, - 0, - "STITCHER" - ], - [ - 1463, - 1074, - 1, - 1101, - 1, - "IMAGE" - ], - [ - 1464, - 1101, - 0, - 1102, - 0, - "IMAGE" - ], - [ - 1465, - 1104, - 0, - 1103, - 0, - "IMAGE" - ], - [ - 1468, - 1110, - 1, - 1105, - 0, - "MASK" - ], - [ - 1472, - 1106, - 1, - 1107, - 0, - "IMAGE" - ], - [ - 1473, - 1106, - 0, - 1108, - 0, - "STITCHER" - ], - [ - 1474, - 1107, - 0, - 1108, - 1, - "IMAGE" - ], - [ - 1475, - 1108, - 0, - 1109, - 0, - "IMAGE" - ], - [ - 1476, - 1110, - 0, - 1106, - 0, - "IMAGE" - ], - [ - 1477, - 1110, - 1, - 1104, - 0, - "MASK" - ], - [ - 1478, - 1110, - 1, - 1106, - 1, - "MASK" - ], - [ - 1479, - 1110, - 1, - 1106, - 2, - "MASK" - ], - [ - 1480, - 1106, - 1, - 1112, - 0, - "IMAGE" - ], - [ - 1481, - 1114, - 0, - 1113, - 0, - "IMAGE" - ], - [ - 1482, - 1106, - 2, - 1114, - 0, - "MASK" - ], - [ - 1483, - 1106, - 10, - 1115, - 0, - "IMAGE" - ], - [ - 1484, - 1117, - 0, - 1116, - 0, - "IMAGE" - ], - [ - 1485, - 1106, - 11, - 1117, - 0, - "MASK" - ], - [ - 1491, - 1106, - 22, - 1121, - 0, - "IMAGE" - ], - [ - 1495, - 1106, - 24, - 1118, - 0, - "IMAGE" - ], - [ - 1496, - 1123, - 0, - 1122, - 0, - "IMAGE" - ], - [ - 1497, - 1126, - 1, - 1123, - 0, - "MASK" - ], - [ - 1498, - 1137, - 1, - 1124, - 0, - "IMAGE" - ], - [ - 1499, - 1137, - 2, - 1127, - 0, - "MASK" - ], - [ - 1500, - 1137, - 10, - 1128, - 0, - "IMAGE" - ], - [ - 1501, - 1137, - 11, - 1129, - 0, - "MASK" - ], - [ - 1502, - 1129, - 0, - 1130, - 0, - "IMAGE" - ], - [ - 1503, - 1137, - 1, - 1131, - 0, - "IMAGE" - ], - [ - 1504, - 1127, - 0, - 1132, - 0, - "IMAGE" - ], - [ - 1505, - 1134, - 0, - 1133, - 0, - "IMAGE" - ], - [ - 1506, - 1137, - 0, - 1134, - 0, - "STITCHER" - ], - [ - 1507, - 1124, - 0, - 1134, - 1, - "IMAGE" - ], - [ - 1508, - 1137, - 24, - 1135, - 0, - "IMAGE" - ], - [ - 1509, - 1137, - 22, - 1136, - 0, - "IMAGE" - ], - [ - 1510, - 1126, - 0, - 1137, - 0, - "IMAGE" - ], - [ - 1511, - 1126, - 1, - 1137, - 1, - "MASK" - ], - [ - 1512, - 1126, - 1, - 1137, - 2, - "MASK" - ], - [ - 1513, - 1139, - 0, - 1138, - 0, - "IMAGE" - ], - [ - 1514, - 1142, - 1, - 1139, - 0, - "MASK" - ], - [ - 1515, - 1153, - 1, - 1140, - 0, - "IMAGE" - ], - [ - 1516, - 1153, - 2, - 1143, - 0, - "MASK" - ], - [ - 1517, - 1153, - 10, - 1144, - 0, - "IMAGE" - ], - [ - 1518, - 1153, - 11, - 1145, - 0, - "MASK" - ], - [ - 1519, - 1145, - 0, - 1146, - 0, - "IMAGE" - ], - [ - 1520, - 1153, - 1, - 1147, - 0, - "IMAGE" - ], - [ - 1521, - 1143, - 0, - 1148, - 0, - "IMAGE" - ], - [ - 1522, - 1150, - 0, - 1149, - 0, - "IMAGE" - ], - [ - 1523, - 1153, - 0, - 1150, - 0, - "STITCHER" - ], - [ - 1524, - 1140, - 0, - 1150, - 1, - "IMAGE" - ], - [ - 1525, - 1153, - 24, - 1151, - 0, - "IMAGE" - ], - [ - 1526, - 1153, - 22, - 1152, - 0, - "IMAGE" - ], - [ - 1527, - 1142, - 0, - 1153, - 0, - "IMAGE" - ], - [ - 1528, - 1142, - 1, - 1153, - 1, - "MASK" - ], - [ - 1529, - 1142, - 1, - 1153, - 2, - "MASK" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.16105100000000006, - "offset": [ - -534.1631096222325, - 2261.2803196282093 - ] - }, - "ue_links": [], - "VHS_latentpreview": false, - "VHS_latentpreviewrate": 0, - "VHS_MetadataImage": true, - "VHS_KeepIntermediate": true - }, - "version": 0.4 -} \ No newline at end of file diff --git a/windlereye.jpg b/windlereye.jpg new file mode 100644 index 0000000000000000000000000000000000000000..df2730e6b224ac9d909d848b554db7d7f66c0473 GIT binary patch literal 56200 zcmeFXWmFzZvnV`hAOx2r1b26Ru;A`akRT84?j$6*dvJGm2$rD1A-E=Zg1gHdviE+^ zId`3N@49P!|Gu}^%ydn4RdscBbx(IqKg>S-1TbVIq$L0tFfqU|0KmfvP$BMaVG01! z(sTe4002(_EEqTd2814Od>Dj3xe*Az`Wv(O3N#euraZ+FtPK1oGffy5EfPl3oi*P7le%m!p;g(!({!3 zE{`%ER#2nNot^C=%*?hJPc{)N>Jr&f9J*|v+O~`}N&u`q(>b7dm~WjLCcLR7>g{+0l~ z36TA*s+*e|lN&peoue5uD=#lEGYcCt8yh1?!RX{+>ul)GXzN7&j|4HOld+?Py|aa# zEy<%qLnAvEX8|&>{=XEnv6q+sm*D@_1~xX2+Ww(-au#<5ng34~b5irLhcc@`o$Op3 zjiKVMP+Mp6f7nfo|HW(X;%NP+0Vc-GP;00SNah4uob_K-J@)3ms2>|_W?^IhhXb_i zzoV=evqD)oSQ*)jIXOWg zJWxhnBQ8@$V>V+W6R0r{2M;&*Km3Z07N8p$TK{K#9_5&Ta!gq`I5~{jjTuc@OhGwp zCWef>;5#ELFB>nE&Dg|{gN=)f#KagPVdrRL2=;@8jiDKo+0q_rMn>{zFNm;`v;Y|! z6U*PPO4f$XrXZ~VnVf~Ki~HYLH47W4s0jtbOQb5 zQPiK&^hbG!s3X+S+0IeT&dyqZ>|cZJuQGYir%eo<4aE$dp&;A8#-7?gV~_rED1!3A zwnF6XOe{=2{%@p@qv%i9Nm)37)q4CrB2=Lce?!(5B!B!7Vrcy6-2!AzhOST(vcHkW z=7zRrP;i`rzVa8D#edUvCZ=pG9PAvNj3!*%Jd7MByxfeuP!?83Qx0AeR&GvHE_N=^ zBT7=d03R?Gu>9|zP3%4_(KUjNVfb1{OJVB!6z z5C60N%#TyaUtPiczxUFgvi~&gfX)4b0_UG3sUnUJ;mJe3bRy)BKNER1mCK)4Kq85}_cL3s8NZ}b89!Q4#<&1_8i}IeSA#!$0-FflpXdFx+rl z2mq+s0DwIP08iiiWjCmX+3o*G^SAvT z764HI4)!rUKHK0s8Wp)W6FAp8+I* z3>?HrfIJx^tQ36KALoR9_m>!?r>~X3KE#x(8o$S36o&u!D=W;Q%ciN zMb~5tzy3pv1i-+9{fjBVJQ$hD@Y^KM9}B694k(5%eo9gN6n^qcY|iKSQmzwjmAsO# z>cg%aPyen127^u<0H#L-UJN;3neJhP`p0LJ#5R9E`97)utC1I-SCVf^kE=@~r_u3R zE@qDR;#%ukyV*%aK0$ZJ_;uD_QZV2}@{|BH8|sMD-p#o@RVAr+WHt9f`JZovrkxHZ zeG&a(D8`VY1d8rd;;`*Ap>KXN>wb;*%Hao_0Ur}$^NP*k-%Ay# zb$7p%_G#HVU%wdKOKvNhOrUh*)aJ-Se9pI_>fOGh!aASHp`#u3%Op58oS-1y3XW7oi=Sc z$oHr(Js%m|nqj|i+7S|}cz@6URh@q31@V##MM%%=#G!ygX%16Wko$zfB^&=C8fwP7h0-nFwTVcSC1t zt-ffzpSkU*{PqCkA72NZ+*dN(9WW*QiiwXEPB5^#YHN;gyxC`_lvdGn(#RXzz}DCP zJYz01EE1Y1rlx|#?szQ}rT^9A?v6*(F)R473zGXH&RDS)-XoelU+9QFx4aL(IypGp z72-3{Ijzi`_;l^VCpmaCzcqKeEL4b|B!`~Mmz1fk?-qY^wXZLKh+f?_Veou>W3*-S zta8go(DH`g1zkc}89rIsr*P}s^lb3J^jITScbZzs?l1nK z%|!lN6Jsx-kgJmBSOlpofZ#j7O>uCTW4}D=129|}rTXU7%yiTAuC-+^6Z=dL`}jxR zmOQ{%aO&Jh)r_iir=#EJ(6o(m_VMs@row6GD5|sN=BXR0cg5j(?c*mmPAO~A zrbjw5y3?j3Put(lcMix5#3EI_PL!E1w$chvN|5~(>Ei>(9{qc(Wc`o3IIPL^#2C?P z%bcb%J8!vp?_S*zYYMhpbloYwzO~zLH_#M-JInkyE;zc0Yx)Jg3|H-S42IgXy!NpZ zFZR@pXwz#owFGL;$)gU*-spOUJR0ix7F&o<^OEDX5AWOh7-h97F`T50GXtijFx~cy zG)i2ucYqVmQMr+HjSSi5#_;L`prCm%&(^)6<9TJ^(_sd=&;>++`IMeRHdV$&;K|-O>o^b!I+; zgFEx7la0Z>*IQw~ytPkH_RiJ>52A8BeRU~ib-r*RSDGE})wv!oHKj{GdWK{~SH(-eIT+9O%{^Yc*}qrmtu=jz6-t8} zAB#`OXYD2f)a5}_RZnxmXIwwBiNV5{urt8 z=GzriwDrp*io2?;uei9@-8#6HfAia0&dwG?MJDETmK1XQNL%X0`PRkYfzh>eq$1i` zZ*>klT(0BZ5|3x|Ozv>m!dSD*6h~v%FIR)4YdNALC*5{i1Bu(ypFTfgPZ}q0SLwC2 z*d1@)MCF?AtT&gb8-aaAbJS1(DT);l`<@T9rJil&&y@+Vq=oZm4K_KO4&7e+j2hac+K5g z`qwC~XHAfc4PXFbYerO~vJKF4hof7$e>|68__{NC`vCZ&Y~FW-`F0)YJOHIzop_~2 z!j9V?8A2r#A?F53b5(Xp%fqK123z`&et)9Eed50Iqv&{V^M_()lSi9dv)efLgxaz_ zA^!uQyO+{u+p~3Q@?y<56R&Tu!8mH{Bx&MynAX8UW~3{!y=wRd9M09R0p2wC1=Uw- zlq$N63;*lsT8E#6LX0zQ$t+Qhc1Nj8C6_t%7jJ?-{BpS2U0?1%gRA_o*<7J} zAf$iS_1oFo@w=Bt-JMzS<^2Kvxwns1rGNd$qUDWqNusOvWu3DG@N=NN79ppnlF&~{ z59^Qo+54dS_#lz`_pL(9am$Hf=~nM)rVz1Y;RC>UdgzNj=CO9(5#2DPLjfR{ghB_l z^m{?Y2#;?z?dDDvFX0LtAn&9b)_kjuJv};V`=k5bEDPoL@a?=ly|wL6{Y{_Y)Ow|2 zWw&yA(JolN!*eoPyLsU2ms`36iSkRP6iX%ZQVlAF?yXm9r-0vvyrbSv1OBE^S}kpv z#4t+7TLC`1(d*BCi?{7(>&wr7-QKbHpEcS-76tu$T2}53czpX#GT#KEA_}m7y9kLlL7*-uJ_mjgf7p=D-uSD1rl?PMo1`3=Bqw zLeVQ?zbB{dOnsGT9jAi6+@t#)GeHKoqf5OW_nCNi)Sdp8QZgYl6w%MxAzn`gcW2M~ z_GQnFZG{B*Okb01r+J>;>s=974vsZlI|-uKZYpLUSKoOPov-XHG;WrRK0Ck<6iBb^ zKZghj>N?Gx)TgfjBhPhr5@o_u1y@#f=36}Ir%nG%n!P6xCDNwNrADU6S~Y4(o7VUcT72c(_j;?naKur_ zAZTqO(khT{Gry>q%W3Xb;Ekpor6zk8fM!M==_%)^q=rOJQ%oz}pi=5v=KM?O)q(QD zu)H(6SI2&LQFSH>_h4|?H;RIyo^4Tn)xiAd z)RfPIzWPxWBEFq)3r~hm2)Cb5HjnF6n=d1*Cy#B@PtFjEPfhKmE8F{C zYhKf^~;?dj2Oj6}DMd)`teR?(}b?g}-0z%<7}tQWHgSc-{M+I1Ra#f54w;jGXG4 zNS`4{|0LM%%jY&QrxXpXt#t9YQY+@Miez2WpJ@L?DpJk zWdG`pJ7{?QnpnJVVWCeU-)uZg!{)Lh!Q=Pwl6T@b=g~-_PE~{H{k~qC-^Tgw^UMY4 zw76s@pTh}Py%dGNLfoK!?x7E=P)?;{Qi{vgk(p;jZFuvkpo?4@w#S4L0v6hM-^@<` z2)LL~g{pJ?(L?IggVjoAiMHmGI@|E@o>QgvHRr%y-$I%xkCp1lon4LmNm9!4CUpht zbqC|`qb2X>e(=A=ip>*A@}*Np?!q?Dtns(brCm33K3`SvQ!n7>DglTp`i)zs2Y7dv z)0xe^d>-wa4IUgma^!3XV)V2TH%U=8gOzFW3i%p;G*CEmcgU|Vqo9}-On10WJ5Jkw z6D509?>O%~#l3(#!}a;(s$$PLzjZ$(Pox_OOPEm_H+8Gh`07r3&*{db4Jxgt*SwX^ zds(qV4DO&_F8-)@u`xkbqlKkwI`hk%TKepm?h^X-^rz`2*BGv_ z-&`@gLjthyl#sPvhZqPSo?Zv(+F4;#tK(YA&;Yz^NuLCWxq6#B=j}GF__`Vd7PeBd zeLb%<0D|!yG91RvJ5$$spEf}Z%@j|l)f*m` zF5>AKjZ5vd6o!vRrU19E6;@-nUe}h#ZDp{XQzqNs-U0RbixcnTpFaHdZ*~qx5>Gt0 zK6L0@E!Eu**G6pU-+M`BdQvwgX&#*pU0w7GM!kZx2=S%&tlx*b8ldZvPT~}%o5u6E0xwN{cLWoyrY&nMEtK)$N8>6^8DCTQO9L1%Rp5ty zt9`V>B`4cZTthxVD+}0S@L+DtL{INg=M+_Cyey@&T&l~b{PmpjvaW-X_C)=-`E7$% z={TiTRE^Al3^{Y^J`quPdauOb{1zui7DlDN!gFSzQGN0q^1H0?bGJo@_WKblt!R-i zT68k?bk(n6vK@bI2>DZL`Xk<#?p#$jW$AHRf7+82( z449|zbntI5N=iyo%0Q3(C&7Y|2`MEE0DuSH14tN1N~B`X$XzK@Qt6vPMgMDp2f#xm zWFQ>|4wBZ>0XjTOl{Qmw-S=M;21o=0h(yB!RY0)vQ}{WJd~iqgUlUj#fI;$zs{(*j zivOg~BkoTEEBllFckzFt|L++(7+>K6D?$XD503}~4@QR`nf{8eU}8PNz$U@LBW1yT z&dSEgMMn8rSc#m1U4+9v8VtQ4fdLyB1lR{)TV5hpxoFao6F)+t^$h=H=B^^wevvz3 z&3+ktxG!@@W-UWLfcc-7zaJn0YL{}+%$;yi@T)KDXiYnRUscn!%zOee}Lg9PlgfDQxFBsKV9XBZU$fF2%1Nw&>-~S!8k~l8y+#?G*e{7A>3yM zOBS#keb5-6WNj1m3_L^Kel^KmWT&*8{bXA17czJPqp9~18P8p0tF)NiEb17zf!fPW zW5?Po>JYKXO=HWdQcG|0={1S|&i6G*ver_q%U0o|Pw+2m0!Xk!@RQEHMeocs`ulwM zJD-dSYs?i}jn69f{cf3$CD(WWE^pd{1{Kr|5`+VXs27s#5J~5b$lx9Lg5&ZKpqhd8 zOUpcdICaR)pIX169ea3*i1`+k>L*x82`YdrwZO02BuS!t>YsaLer>r&G6LU#{>>&L9v&|XeX z&$nK?TVP3|{ie0C%2Bs}0LXD(EV?K6gfkJVb%>;?*uL=y%Bs~JK@-p;>-_MfOu{}5 z%H%j{HBfq74iA6B#Wl909PL0d?NnaI5SYhFJecue(w4Oti3___FLxDPY^Rc3&N`9v zqABEh@T;G`yx<8!mvq1@+V={dngfQoj`1!_SrROIMrQ_8mB+>9Qat$iwVOz|YuTzT zD7yt|?}s}TZ|9hhl?s}a3%^!B6YPyWW;myEkR|KfVS737CO*kNGr){!U~&I=D2^~H zrf2Y%@mk_iy+MLWmmx{>b6fe;?h?!SbDz#Lq5=-4Vf5NDb57jElWl@tCn^T%5Y$$G zA-CYnvexGpP6g?Q3szTt=(#KFImscLCknO(JwIkH{cpw{O02kSt=yfm0;2j&_rdCTLJZ9KYC7f>>u*EGFVCXl*GwaEPEuYj&t135Bt( zvRpLO0@`g|7O*U96OFm82ior~2Np^r-_V=Lg^H$|^v@Syr=of!!wN{eOk`5-^Fhms zT3DstK}WdjetkAk6^jh_`bViU!2?j!^_lBNTB#|lj;0=E-twZPgPwp3dm(u}VxlvS zbk5Gli*pMPr@zDw<=dp(+eQ^|ETA8ohT7l`+i{dyL{*ZbLKS>|*ex-I?#oa?Vns2VxDBd;>X8HwR^-4<_2n9)J=_)Q{(i zDZ!YIZ<1^oyowzLWjChYPS*F(S+UHf+h$~t^J3d*l)qPjn0bjRnz%Mae1yF|z6L9v zdLnK8+2agbl@6k4U=`d^)^eupM>dhzITkkKi6yb}X{kRCe~RF|)a`xR&Bu7w+wO*E zA7}Gw-cZHraAnry71M2LUP-NFMeANh`Pz`TJnsrMq_ftlUe(E8tJis>HphhR4i|cP zvVVqHAhACcU(ZXRw`Q$HIh_U_@%tHsUddro@1-k#2mMjfez3|N%}H!JF>fOFa$(Zy zU^_{NVrg_nJ7osdfm$*ZDRyD1U^1Y#K2t3@xu|z-VRy<`gU6gY?aDj=n=EC0L19rp zs3&!wCvo2<0bhW!L!tK=e{J9!ojOqqBKuJ>yK1D4gsE{7YXX_>G*YrcE^Tj&4R%$J zfPcwu2{E-X^&Hr@%m_ZqT?U?RueLR%Px*2aYNuWfNY<&MXa73qysyo+PT6*4&d5m5 zlkkq-jt=b@kVJ()8QFV^>NeIwQ=qkmcBZt=6N^G&+O^^QcU;be4P<@UE$kKh=s{>09r%GD9K zoJO5~Lwx*AF;h$Fe7&s#wxz+rZ=aK!t*R5TOoyQ^$4y_0c-DG*8K zTXSfzG^lPv&L%i7PEb&;l#7|VT~Wd>g}Et2wP{t(5zw$!ty|nA9giXs%j7Or z*VF-bD6A-ojky!iC;9Tkf@vW;BEmMcj*ktk(uy%AZ&2@{7pg7eHN|7uN!8s3)A}ek zVPn1NAqy=DCbRd?7) zaU*uC_?yerXOV_bsdk0s?mL}pRif&_*;VEprhvQUDYZbxm#HsjL3>+hMW&9=sIyWy zMAE;I!wPyLnAz+-m|1+D=pT22d0!5@!P6+AI8hsTO(YqsSyij<+_cksl#IwGNiJ#H zgBJIVvw^1kMQtS|s)V2QRJ*cT&~q-_1qTx?jatf7cK?O?vBb$1#L)b6nG|y)lY4mPWlFkX;eRyJLdG7W$1-BA@bXlZGW}XXy>@T>m`~BoT(~9*n{g%Zq=44x0V=tX15nxU@{zV+e! ze8qLw%GgY8l)@c1xl6m5pG}!KDb>Os8TNC3RG5O5kXf*ZWsPIE1OA@x?atiOml|D69J>?A81o$Xo{!B$oEXDb)PqT? zn0O_T0w?0>B`(9+2-ZCsg6k_pyjM~ar)a2bhPC}!*ppYIF;F-`A;KgvYWO@ zUfmHpa;PM_^qCuRKQ=LXYhO7nHEy}ykf^RZ=UAHh(tB`b1pBw`%!uVZn<0#6sYBHoQbJR?(vtl=YM^GqPrCCMyu`-Hf#h7$a|(Z4bh ziiE<&k&w4YX`$4{jw2btMYnTBTsTG*rpTqU#jwz#wr&8CT7t zQT@D=#3};o#giL#W_)49TQ+3jKs~eA(_oPsz2M8s&2*`aNAxnKuMl$koGNYdtB(O< zvai~fvBOKL{gocf;VKJ0)!ieMvn1HCnb#lYD|Ap{D6HY%$z8uf6vhl@MW)kh^+RWS zPs1zapO2k^`9Uwh6Lue8im&gyWYZ#udcZ!uR(YSb>89ubV8b}nGG zWMC#(BF1pdUyZ0MZMc0#yX)UHfFs`R$?%fJYEx_Ds8F)1Dbu84dlp?=wvSe)u=2bq z;CiBXk|ywjUBQ?XYwcvrw){3fUkJ~ku9mpY63V+pht-moWbOXn8Z(ySKRGT&5cV_i zK;BKFO75%pn$lQ5XCo2i=t=ojY9{Opci-)`P?Wt}ND|#w^O3g4{sxEU8K$}Z42GYM z19iQ$fGezILH9mYxV!qc^1S(lMvbHkVRY%7mws(BDb;b1k{x0#Csttl9c{9%II2Iw zxA&-sc0pw0#maiY2j>(Cv|4z0b}1NA%y#@_{4Unpc>OzLEEb}MD#pB7#xDIrkhCwk#H}r- zz~#)zX;ZWy5Q^0Ag5=# z>|z#6a2=7-O!m)8r+P`JD*8fYsUmjQv2yt3_PFbK-i+I`4u26CjENSq?rc4>6RfIY zzooLAs(L59m0g*v_*ftCSKL|Q#S0Y|{jYUj^QgoMQZEydiF<7N5iHCl$$EQ@R0Y2x z(3$j);6{Xq(bH2jxlR}2i506XiYLT5$aH!d)!hc7_Ma??o@=lr>qUf>S6FYUEF4t5 zO6ANss&xi2WycdU31F9XE8bd=e2fqXi8dNFBU#C{3%Oj%_bQNxJ1141Q&4~M49`qY z8L_;>kK24XD@I|>aN00y(wtnSp2g>Kb^Sb^Q1ulHpY-VVH!LHRKj*d3XI*c~BMuY<9wDJt=k-{6(faRCQ^VR#gcFNPtdl1mdb5sZ+zE9tmcfLEIlEUnbE3 zo-fCNO#Hdw=(KC(16p6AB8`u9AArL_Fctv;kA=X3u?Pe>7({r)zhe=Ya9FJH7}%r; zBxEeYY_F9KamYoK91amx-dE$YzqOC~`YwCrPdow+21W?x0chh;&ik$`jyupiu3MB7 zO7qv1E1j1UdatZOgD+1N_Xu;O$W!82aKtM=5^YGthSDeCXdWj(AV0FF@6alLx%i2e zxF}>#a>m%&#v~COUc^EIYm2NPK}y?%qD3xf*^`h$wQWLGkO(y4LYJBWR;6*THy0sV z&W(7}%q$I;GxXRwG7Q4-yQcjC=v?z4w3CqP3;x+=@FBS8`yh|6;0RwVO~(mWVUR^;Jzt29}aP9IsyT;@DOS#hmUU5nhV2( z{pj<`*5&-E5(QL0stT|6EmUXiZ*&#%D9*GwOPjg3B@FT|$?B3%&K!*Igl_p&;Wc5x zs7DeWfb2U7#iFk*)bK3@hI7#$6lPn7;<3F_kqZ}X*JbcS=v+1<*Ms`6CjBTAZB;IC z;@flFdrNm$f5-WzvIA$a3K9noYpdsVs0d=NT-H!kKL8!~bN3`a>qS*AP37G; zMAG>r8fZDFB??_#UN+m=>Pe%?U*$HFUd`CvtM6+2N|0gQbh`TTb8O=kllahi=n zOWcB1)20b3>g8b0EQJMWV@7qdI3O=?y#LJE#k&s6dU{=(+j|8`&3YFV_~0Ea`w>19f^p4to-4*VzWm1iwd+6ESAxE$&gD5C+@f>7JkhSmT7W=aflA=4yV$sqgIj71!fAdMdjftGaq|JDcq@ zyCIcU*4H!zVH2&-zyy!ogfxBCx(s*8>q#PLBc@^^M?}|<6g%nETOGyuxvX)_cv~5F zMo-bU0XmfLXNps~TK!}KE}32XR?{T8uRIR+>SqLg$lr(3?)_TW7?~oPsf0}V!hI*n z%g63$RKf$($DhfC(04-3hVx-fy*xh=YTI!>-T#Pm~orSbhXZ2nB1^0Gay zyGcL%tj}z-cTYLS>stqNKc}J!`_wrxgGMqz@Jj6fR$U*@W#+TfJE^t9GDp?O(TwFu zw->ij!x6v5ZnAY>RFzeX2Qm|zN_ay35OrfdEGFSTr@a5@9_|NE$W0236U``o!!ts= z?uqxUD}y!MD6=>W{<2Ai?Gpd{?<`pcC8T_Z?R!ni<4OSAuo}EisE}Es^r)EI*9qC9JpWa(%827bSvJX8SqD z@uoM;InFRgvsFS?=J0#0k7#JjZ21K5wc0m@Z=y!c0)6lJ(T%%FCYo(cobAVz&)B&! zDSE;q?@57gNH?@9_#L7(8iObf+$_dvI=Pa&9-46S*wa=ZHZ5P+($G4g>_HwyDONZJIB~Mt0y;%vak2T=S|GFTh&cw5~{9$GTgDi>7?@pDrMS-qMrbCA=Ik?&F3*Xlp)Xqh(o8uxs%`LLC# zQWqSJn&x*>2F!*vy*KE7{SJ^XD`@{`Z;MKvc~9_P9bZogMx^eKci4Q@F4fUw6f9FloKu4z_72H3*$DY zHm!hOfRMkU=!wzdz+J)MdFqC-Y0e-+%^=g2_TRq)am~~HXUew=osD-;tP`xz_G)kFB&z&@!QDwf>rz-= zQPQPj7AWXsrs7Xv+1@2`58Q>lA_yY=7O|cf&z(QPnQLIIJ&DtzUAjJLRjZX}$uMcT z@&0<8NilVwnFA{Ku>(#oq*Lctf7??7vc!vHnr+MAfhDXY2bm>Q1IOF3$VRc{1krO7 zAd!EZqcek{Uu-X9A*0kHBoC=B3HZ2163~6i9As5m#_FUR=wF;alvnqdiIX&yw(9vj-3PGEodqs zTZH{5zLEB6egL z^lfKt|9LW&Pw(B5byIu?)dyJ)cFBzdc+2t#185MnjAwZAZhU#_ja}>w)xniUyoE%( zg*cA#;{~oDXPCB}niu!o_|iwViq4)s0KYuJ_2dJvr3kK8c`yO+NHi=0c*Da#`Sarp zJSPkXk44G~{y1Y1Mj%sWdu@p0K+Z0rM4@7T$nnY~JncjO$v_As^{d zzomu{J&-N=OysMPTJJAj#RboF%Sph8t%51c2ElZ{jqCT>@21JaGFvMRuVVir=A;V+R8gtSgAImrF)lpm6bO~F4E&CSk|>| zs8o9B^}*HDZW-VDTq+9Bq0P~&yo;P98x3gqg)3zGny*sT)OG8yL<5&mTaI2PaB|YP z{ds;34et;7@3|QV7aRBrUdxgJIvv}*X5Tc+dbT61nh`|auT z+%StoW_1#Q(DUPTOOaGgg#vBk5RJwJ8r3gsYNk_4YB_778_I?Kc`wRs^=!9{DBoys z{@xS=x8r-Z?;?+;@Dg|5zrIV?aC)IrPP<`Gd#_od+PNOHp`*I70CTCIaC-qRJn1Lq z3H7to%~LoJ>2AD3jaeL=_dhM#AZc(j`+H*UO8ttKGy?yYsD8rC`eJlTg- zjZfqHLdll8xDk7FYW5yetgBi5CBJ%h{0>8FnhWie7f0zLh9M8Y;5HxWB+q`sUPjIj zQrIA87q;(V#6#v&>J9n2gPo{=NTH2FOk#jS0K~RGS6yc*fk5|XC4ngRK`C1S_5;xK zdn!eNXMK3fFwkL?y*2R`Q**Eah8&9 zRV0jFrjctaVTp5qovZeq@3)teF8m(y0@YpOvHgm&4T^KdyXrP=B3WKGpMm#cZieKo|Df=e_9PcIxuZDlj_yOlI^VrE0i> z2?H-WjggU5$MJA}lVPV&Dv;qmdsoEP-*mk*No1lxEJJ=mRRzV!5 zUhC-8L3_UE__@|evQgbbD)B}$SNDX3Xs1EcHt~#Sq$G?&`ZZ$7rX2hWO4f9AlL+iL zuSz~|7q#Mba;y)P2HqsVG0fyIP-UMdb##&yE$Q%m(Z^j#*P*T5c(c$D2M0^qLe1t( zw?C06^#FW7?K5^Grhe4jc8T*Dr>)CtiGkcBd03MIucqhjNI1_9OK|*23SztVM49P+ zTH~Tp7nujm>yB@!GHOsi!8hxCMa52coc2}`nBS}$t@bQN^)J&NZin}4dhJGhdPIPD zr|z2|UxRIes&40`&W)LqPw+(aTr7QxX0iBE!7R4;40UWba$}9qdf$iBOt1busv=p~ zF&&&ghwcX!%QNnjAea?TMuHN-;=7j0Yo%X=>h}TS_dFUb*us>mWaNQ8a6LC<{qoVD zFkee*#`BRkZ3czQTzJ~pUCW&7vLB{w%?H~@cj!q_BxsxpN#Lr|B_Ke&5-jYlEk!bI zd4zt8)*Ug@ypR*3tHIwd=6C=3h934^ByRd)SkhEZ!3sv2()O$DIl}q)RP`nS!HB*> zf?r<#W)(2En>aoa3C6pHl=zz56hGnA)593W_74(5KZ*oA#c`ROLyMVGGWsR&VM)#L zvxwLceHz1_&!JeAFy?%FFYf#!%xkLPZP)&`uL5Q{IOOsbi&PU@Gfn$AK}k?w{e_1BVWQ_mm9eZN|c_#-;s)U4RE;-p5Y7-q+?qIS#F@(4)SP| z?XQ7yNZx1ko72P0Q(;nWpe?wGhTBKu8R8dy(N=f;>ZpHER5?*QfHS+~pAb9z+=>P_ z$!CFd7P9vl(Ra{fE%~*i{R`+qmHb{4aU=edOg0+x99N&Vk*xUogF!B*ypJRadS*Kf2?pViWWc^Q zalj{S@S>%ob|Hr9CD&ln7BujTF5|o+K9tg_d@qs!;N3`K0f3v#SmsRM)jiY!o5EA3Je(&ZSsN8 zg+s`z2cWxtD{9h4@ESwlxR~gvOQ9faxvS)!V2FP3#3!UnPl4*6R4GnB%ZR7+F1uYj zWxuJURz%AbdAgN!eo=@PR@%&iZL@fK_A5x|DPsTJPN_4Dk`y)eyI)~=5}f7CON$=d zYzA~zqpyym3vC#A@}I{a-(U}&^Izhyqa_u7dVGz6jlAZ3fCy9EnfA+@QwOxsIW&I5wJ6dr?>BQMv z(*B(B&N!*sGcZ;oM%h^vPmeJF)cW?w+4wr_$BW3N$#I`#01q5(*sV)x|6t<0?+N4Sy|)Q zoE%49M*HVI6A$nt?TW22mK&zb+7X967C-km3`yFeSa7lUG#r5GlZyPAN||GT2=ycU z{MB->8+8Z=6_iwDM@pTAV*&Y_hjgC2Y;k=#ULPu#JSu6kcRJl-i-a;t&3j?X`GalD z_+FJ*)3+Rn)@BIS(@S3POge^XpMvm}MZUlJ(!Dd0%o!5K9zdfqp+hxbyAzb>=$)!P z?e2RK=4glI)0erJDzymVzz0qfWz{Yh$1!1Zx{`nL!t>43h&l&*Q=^=@8sETC&tyfO0)4z z2iKxLgS;_#>^|$Dm%Opbs{%2Nb|k0sasst3UrC;$!Q;~4vR7lE!S+*Qvvq7XJ#M)00+t1C^V9feUZ&YxCmwqDYCg*2a5OrHmMJ1SmsO>0 z{D+HagZp)f=_AjUxG*ad5fzhs`joU~88IS1 zgrwo)szX-K(en%RFnZl3;*+!8O<-de?&BUQNjFhAag!J)yYX?4Z% zi%Wh0r50uf-%;@1K4Ev-T`6hMSUs`Vo9j~Sli>U}N!p5xOgkYQ6=$*u?ERu{%9tD? z?`4@tKTa%vZ*vK;OGH1N!NOMAsoGJMD}Q2$#L5^y`?EbvOcSom>BT@u;T~q?%GUuW zG_F@NX(|9G)szn_*@9IG<*Y+TI@IL6%jp;;QPxPC(OnaX^Qrc%&m?pxl|wn>tt^5T zgnL2AT0xPm_!TyDdAE*(dN$x*lGA3(Fa7Q|+9AH+k9f%6Wg|(iEZ1qZB8=D?9BUq`|P#PkMra7>eZ{ey3o~im+rdmtCo`$ zJX>2(i`w$N^%vr?s~V{`}xCeO(?45@RJ@IP74rq4+hzmhUZRI7(Ea?O&3zL2h&pH;G^ zP%Pon56!F>Q>1{=0v81*F`v}GASAVCp~{K(;T8gW9y1WZTAG8~Bx9GkTqU{AC{3DD zP0BhjMWpmJo(*B**4!Bq&FTeF14nNatSmyY&-QGY&Y6Xv?yO=*lylxoP8x2En z^%g}m^M)%lJuvI40EfH2&iIxL{0gb|@h*=8ZnKJM6yVjb7|B_vjF#U-$*d>Qdp0D# zs3L%fe2`seocu$OY=!dBa-cR7xB|ZRP&hSbuEOFvT=^WNtrU4ufL80dgc@_ErI}>K zRL^`RG6g-y06G!Y?O%}bIGJbZG$1MF>fC+sT&!awbPB`u7OY285P0SxlUbo0e1?5(Q@13;yu)?TWe7xsuZJ<1^YV4t>9+$yze+3yNefM`3w2|{K21jO+ z`ka;07*Qi-G&YTY3aic_0enj$(}mjQrqS-RdqU?IH ztJ;@gLyJhX{h~oR+_y5yNY&ee`_Z;T%{;D)$39ZE3dXkAycy>h3yk(VKTeNyu{WD*2?C^?B?sc;~()Ns5kIlD=w zMCsLeP^AWkdP{0E1wlzbvTkmXj1mY1-8`t!PfiN7#bq)tb$%#}g)%BFSs0!caj_+R z>XIA|4Cl}(wNw(d=ab>W76;cuMny8u$KHbe3R>4PtVG3nm>QG@(d`UXt@iw9@eCcY zrQxK@!>FmsO`*B9ieDm7MYy^y@@rFshr)m*9!2W6MbtPQMHsawg# z{Vp(6)wL$AMSTRWlq+l%Xn2?u=TJ}&SL|Y~w=GyDg`8(>PV;qtv7(%0C5q!d?4-hr zgE=JP7=-pF8zuPyaPQj^__5|FD;Qhd**(?A{%dce@nh|yCVX0LD&rm##oq_iy}nDl z+^)98C-a#?O~BGEQb@{zI%94-_Cl*IN{k%mIJZ(?c7l%8vMRHoCp|DExC)qI&=zU` zDs<~ru4w0KTb?MM{>bwBT^EY?FEx$-LUcwkTVpk-g;M9sGJW25qL8eY1Ro{8ud}AQ z*vN_rHRmSKcfScgvw{qLY}4Tvx&#PRImAJw$$yK!D%ihrtF*5;_W|Ck0^&?`%IaDr93bSpS}AHsu#)#|Xi|WEc!u1A$7qpPHCNxH!xgEip-R8usOe&uS-b)a zQU$&Y)6RnE7V~LR)M*$cmQ)4I9{-JByy3wjz#c}xIf~*cZ;Nzc>EYkZSCgzi+1}1y zFQ~gp9MO9mIGdtf!-<%ZhH0t4ML*hhTp}a#SVHpW4P5b~vdl@&aAjj;hLSO}vMo%R zEz{aQX16QSrgIlZjg;ID8`!+Vmf>{;6hah`WX>I(E+*At1=KS(pVkq zh~P!O15gbJl#6mpYNuMPe+-wS31Kl#-+Z_V@Ii#+A^8n0B@L)hRNxXp;M&a>4$|>T zy6zt7O~d~(#PU(CEcA3cK;3AYK3+0vwoy92thovmoNEN#FD<yTJk6*iAj<3>MY^IGEb2`xTqA-AAz6oXD?9YO=;SuuCN@BDd^<#yP?2tCQ=N; zIt@lhO?ibsF8ex%Ls;WQ3i`Y}apeBRuC}mRw3Ipo?xqYe$U(W^BVEA}f0HNzI`W}M zs^Si1|M5E5fbgDK`y@ZlY@R3K6=a4ArMJ-oO3rwLk!S}rfBFW2Sl)HnvOD@JkVx7tUA~01`A!#eB z!dg;kWh_&xZN|5!Su$NxZoX+pfh$9zG`&USZpp^`-I2ig7bN`aUnUrLW7uiS5{hKX zdcLrXDa?sA<(Oo+%wv5c<(I|1jQ!98D&6QMbpSF2UQvs&)&l&Ow$cC^Tl05r|{WQOv(K38s%N1eEIR(W`b^!>&w${^@3gH<#oIMAx(0Pk_&~ zSL;UGI}2~wX175sZpHds^kl`6UaS9d#t-GtXjct$a= z^Y`4p-3_o(!OhPdu5ElnOcQY|YviNB)Ae=iFlb+|w1B@f)-`xx)lB72n^viKQ(6(D zdm3CYG#Ym3BIG&12#ZY>1MHjxf;sr^1w|07gh ztv7nZQz#f670e-!t_JsM00O2zEBnw@*q`GXFvG;|EXT76ILG+-FaZAPc66^{Ls zYN=@D(d_zV_B;+%%=9-_OD|8hl^8Y0p|;GV_aX0Y4AJFGoaBVpng-54pM_Z`IK*T- z*kMWSYPzYkdb3=RB0JVxt6enLYQP)D^-Ok$^74GK3ReiOQrHDuu@gA>w-+c&ElM3Pg(!W{=L1g5BK*+OW@QS2dk z7k>dEF*`fH=1iMsU)Fy$x2cK|h@$A`0|n<+Ra#x}HfmN?MD-Ylg#~J+yfMb(DReGSi`NJ{W9oeCa-ZsfHC%G2PB7G^r%&)o9GC0$uvy$PQIn^g7$Dk@fX7 z{#>6&ynP(Q$w7akvW7lVvn&a}fL06uvPx=paA=kDqqO12%pYm%MQo{`Q4ck=9^5Q- z80F7h`J#;E;K)q=M6W+r1sh@zxYIWTPoXE~5e|h8UP6*9P$)-wH@R)U3A_it4=V7C!h>ym^6=HHcd z-`Kr1u4AL7_7g~H818Wl6*XZvZe2s#OmBu_6C41KYFaw8!PhM3>sZj3b5{1l0f2>r(Iu2%}DXAdI z>;B;}?laA-kVcb)NX>RzuKHfG9JE-UN`RkFF{4Y;oEV4(^`91@)wq{lRC6%Gvd1-< zD-sA*%wFuKhiEC^#}<(7BHa)yM^q+>{4t?tza>56Z}F~%Oe4Ru)b2;ZQ_Vs10B$J{ z?c`Z#QC!vh$O!_SuG#yDtS1o731CR0Juz8s zAxnc)0J&m=3MAWt)20F)f+(j|oO8fkxOna_HcvPLI>O?k0UewEf;2Oon^Fvfabm2% zJqL11yBEz?BZ5E8q{Tn9l>VE$b|VYC=uQ(XK&3|as&>(eVl05Rw2|JY{JC0)%>$0( zzaD;jLT@*w2H1OI1{NW-MsQ{c_)*E<>o_H|^6^vsPQ$Y?1i$BXNsL zrYq}x5o@tf7WJ1t&JXG%>mpOl#CZo-8_Z%6_3qZMrgcoxOz@TCilX)p&(-iXm9i#( z(Y#!V8Bo8d$prTg9HvtVLF&zyZpK@ktB*$wW{=E@lcF3q4?>1P&4P1x6K;=ESG;3i zb)`6HvjD#(*FY`R%kW|XVaj4%$+=gx;#*Nuq%|%%O(&K0OBX+v$ihOx@w$+ZX`ha( z<9(k8Y=HtRkRzN7Nq51voJWnGDCh_|1Mgxx`%4r0nWxJ+E2z+3&=HvzmmusMi=h-R z9OJoz{bsaxaZaoQlw`v^h$wOyuB%lsr~!ysSCE~#olrfr0Dwkc10K;~ISm0=PiRXQ z!st0mqxnM$bTx=>8B$(NT8gXDvaKqGNvsPXs5H+>imUWGh^mD8=K zs>@4&BFATm29Nv2t?rk`$m$G4Mv5G%Ag1T&Vsq(o?BEM^8ED7$`DAS%&Lb{WM$k&> zG}AlXM2AX)_~um9GM3oE+!_)m@qB_A2G$u{ff{>3rt9@boC_ghWRHm5td0miJ2{S-Ug;oO>OSv)3-s}B)ngR*NRV)k*J|G@oU2j19Q@iomrqepu zZSlc!#e|OGZU`2ZmM?7Xg2~D8@UGm!v^hhrik7IP^t)grZMt)GuvxtJOE^)|*Dq>w zi^B>91q3XUtYHRf?Xfgm#b3DIbk{r2uR2+}+($d4Pb9QeY~>iJIF+iiAsg2x+98JP zC37uAaXe(u2zFDlI$jl*WN0P2yl{FP#N4G-z&ft0CDx>UyV>Bs1C$}bNR;4NkG1XI zAZiuRVy3xU5w6&N!!IW-Du7Q(;`S;?xcEAr@wq(WA2r~}J`s4Zk`(3Hb30+JLHwpqsI?73aec=o`YC}cPY zHH2+j%XS%px{~U>>QA+*iYhh3-7*qffLV$n5EO0w%tf%?`Bax3K`M|@qWBeAS${!1 z;UAi9OSa{>3}MD*(AnlZGFvUyziT!h5-61_sWVW&iAEdoKCP*v^x4;Ai9yzd1)GZ3 zJDn$qGX!lx(?tEB7$k3Wvgt~<8Z5_MJ<}XrSdh(doLHLXciRKx629B@w z2uRGToMF(#j@*>Bp(IdY<_bD|p-mhr&m8%QQM*PsK54R4pfs+UMI#3{pz9L7=nwrz zTF-vlE_iB;ea{^r*gm(O>$B)NY;%~Q7NAn>10DGUPbDk!-H)b4d}^;D;`4fYHVF>2 zyDdurwmEZBlU&Y$gpGiCHy!3xoT@ZQybtr*S79~7-OO~@HiiJfotN}G$AKITP?OnG zBzX?Dz(&1DTzCp#idoyWdRvv4CTy9paU9;n)Uv~9s!6c}SSe(bS;G<^aN~|BQKu%y zna8*oJjSa0p5CQxe6PEiOF@wZIJVsSm5p~H>@qBqE;@MQHOaDPrf2Og<%z1;qA_A3 z)%nG7hCKF${!VjoQcOxd)+WSEouHK_w5-&KQRW;pa@edHpW2aUPe8db8dF@>hqaKt=Trb_rrLy9Ayw5T%s z`K2Je+Z#xfWTcvka+;NT6IiHFY@w937}dC;%#aT|`XCn+90&I3+~$68uW3tF4j5M! zEz3x-?m)kgIIFLb^#%HU*pLvEkQ3Tb%+O3m)v?0bAERXlvyWt&T~PW1e=kT}AYNJ3 zC-D`{X6W<;32cgDKw-I(qWQu;e{_id36id_7C>C7jPq%A=r=2!C-B@yjZi-0ecwSO zsEawWZelsda|#Kn@~=^>K`T1K`K6EvTR1)^*XJ`30WLx-Z`PY9;axMuO$(=9pO~x_ znBsIkPYPz&4epdKZfi)q2%W3c%WKCpulR!{Zs-c++~02ZGV1YiV*$RHo~OQ0&YcCE zO6H~fBgT34G^jJHkPR#4K}x|x73PIBGJ<#Th`Q#v!I(8iHNv{+i}X>~$6d?8R6Og} zL@|j%w7$-Sr;-50M46w7JoeJ5WJDaLSbCCYP78pcttqSgYe9v+#r!xW6a*fSqX-8M zcU1%n{7T`0y03*$DSg)IX4ZI@&DL3%Xig!01%lAN2`*u{`lI^Hz7Gk3;CRt{Z~S5O+aJBkzAM@r0zw_oRaf-7@Ym+GDY(KUQXlyLy#aWj?o-Pb#-faUp!~bwyN5`h2Dt}HoQnFn9SQ_6f9%A)L5#e3 zQTidIecqVd>?NN1Uv`Vc0fFprGVMYH`d|&*eAb=F z7nFW)p65r?CndTIj5aTXcK&G(D)OEDsQjROul%H_8riJ5{!ZuO&}n~`vHs0uUUPhA z+Yit)-o$&t#IEPZ?6aLv?W@y{?aYqnP%RxZ3;}%Bk=O!~HyZruD=z45pD?@Q>@hia z-Pl`U>y~@T7=z8fAcr3-DXau>D}!fNQE$ef^IhP%I-pKa!Nr>NqQe|!cxj_c<~2PC z9dmUJSyo%L*k=ll5Ef{92V$>Sn)7#^EQ)hfRozfnoiCnE6eQNB|_b!39 zP)AVN7G9fqmX#gl`D>X_lzpa8?`hg z#9o7Jus*)i%leR!AeZc1wi>QeZ$Uc?jqm(nA|f?Y!R!rj$C^IhRx>DkOWhCCt^jxx zPAGMHC$8NCpveY$oVg?Jm|e;Z_|d@|oEoeiE-Lv-1baeKud0y9Z(Ba0YnM>~s8ax+ zuvqGAT=2VP{TS&n8=>E3xcLkvGm{MxjtuiF&Idk2Y^OqlM8Op?D;S;3 zAHy({s)PglZm|;+6{}m=_o@B4=4xELLluzw`Ihx9H%xYcY5~5;`5=84ZAJmJpZzU} zpMOEP7)f2bzbBSyGJJDksi~3(LpHlIA-pw^jqQ!a698!LGdCskeh-kw#kIxvHFk07 zDK&glGy~eAjd$kXe z2=pY_+5Vn?zmYymQ&5Jksu?032mM>}&(K>yMlGSeJW#nv%dK+8&sA5@s95?;*x=?D zBA0vwp*Riq(Khao$PJ^f!zOeR7alR^5=cIi%KLx>LcL=5YBci($@iuC&_Th_WVc)g zM)!=}le~r9j|2CgjKLWBz56_zyz4)L&w`2RQHFtsz0(5`WLrTlkCl3B#U4HT7H?+l z!frwQm?&UN`ND^FSdnV_fVjwy-kMI*YQ=9p**2y&v`z;hkoahP-^U1{BYPt*a1wm z3#TdjwLP2(RXQqh&J+ceo5G-4BJ2j{}?ZgtRi-h~Qn1kJxYpez1dvhicI; zeEs_OQF3n%qLmSMakMWaD&eFh6P;j*eeAg!ojqfWufW*PT|MfZ9R94q^-E=MGi?={ zP;)ySPxnWF<#4-?j%ULtMWP1NW4(%cC7`aZ*Cz;*6CBK6p%nylmei6Fg0TL^Gn+6+ zBRdRkhsJnYyKg+T&Uf^3es9R~V*ybedrv{cV%{s)8+D~{S413{i^<(q+t+iFwTMw& zJT#6^Xht)PJ(S337|6Bv=3#TgF~F((9j{EVRfMZ7>{8V&GFx5BvNS;>8MXM6i9W|( zgIX71SRKmP^JBE8dpfwZ9_FPS+l+RHP_jo^*>!?X&;qlWx3>Tb=JpMteIA>iG1l!A z@0?1$eK*`>m^nzkWqIjwf{%8V1lGPpAt|p?!aI-9G#}p@*BiO@1?z6mQ||t^(I$eK zBGT($kYBDXjc6t&zz%}<{0ENs>=2kKQfLYHXG~pdDhH_K(6q*nsln!AX&RfV90WZ7 zW|a4Co87dDIs0GwOjZMfm`Z6`SrV@sqqjk*SWW{yTfER{jr_>7v@gZeNYZySRN_X5 zJMyu|F!ZFty87c8Ln)EyT&F=dYHbJtK$2v(s)7i0^Zp8b;PVo6`b87Dn>2#;D>JvZ z;>&ZB0)#)>ak9Tc!1DsO?{lqG-;~&{s z--G=og)>$yxF>aGw$G!C7@ekdXtn&!f!-;^AF}-KEaee)LxI;R|#n;Uc(le$jBe1E=sP382^&Q#BKFJuTLItFy@YyLvQi*(s&v*ugG zY`(V0AIqbY#dDKJMkaP?05!UA;gt#qO*D0L#$Mpp`WXnStk~|NC_U#A7L}6iq${QEqS5Voo_fwmi3APUI- zhRs<6cpO^FJI6YcPBhM6kW60%jPs2Z`Da5g_?}08DAN%qnXjU?JQEniQ1hP3N1olV z^Qb4xWs+#qHK6=HxH{Cla)vNV>dG0C<$H%Zjav@au<=K>NJ|jB`q%sA@kY(r;zMhZ za$Vna@Lv#KGuZ^s%>msxSa3&jM=VlT@oCk8N3lcvbNm^@=L?S?)_^IGET zUVukY;HGHJUl4JFJlUVlw)Ng$HZc>FntW6IWZmxc>5ihhr$lbW{W_gUC#pcf^8Rzu z7Jly3NhxqdjIOL$R4g4qPjbL=wnGFQjs+KRyq?o&eASOzP1+-WQ@CONp*=!tsfC#( zgA&~4onLP=l!Io;1JZ~XbH=vqg?TZ$sc;^jpIpXYW9eJ*7Cvq_1r~&4>NuukhOCi+lY48(YP48bSF3o@*XAlV|a3t3N;c~lJnJx zceGz7r+GRgM-WatNACqQpPH3#_E`9rU1cX*dQx34oy z6e4Kb2aO&amYLJlyKc~^Ll(<|obAd|)jKkG%PQBd<}Qp(>5tY6%m(|21d^Dp*Evc4 z@YNSNI@?^I6gQajP0pxQNd)~xU!MH>8RaD-FMCI$boNoQVthus?j84$khFnPs#CzP zTq6S~9UeY|oxdt4qM*plrqtwO=#IlFa3 zm(BjJ!wBvX;j~|fNg&L^SyRa{cGOAwn;VJTke!AL6Ay$cICXX_xSU#;wna;yie3m{ zx@%pM4m%|`^@eMR#s5hTzZ4PRu*cHExv0L%%tN_ed4xnKsATZyG|<$#l#E68+WR=Fk6W8kk(Cqi>Y*f zZ&XHG1bO$1aibI+WoE+QmxK84GJ`o=?4II%2D5b26#i>;;l}M7N#Ed&sVDAcbvv!c z(E@xuAE^;$Q32YVNg=y$@R}!VICAwDva@ax?N=~IRI0z$R~d_UlHsxW54V&%t}77G zGKya$~dwSHif5C&PBF?M$u zyd&}#-!kA~<9RlJ|Vf;{_b=9~ypr8m~sg7?)^cUjGQN+i7cKb&HNW)irR ziD+u$X)H*o<+c+9A?5QxPFcwodsNjTu4p z{rue*dPb{W9;xB|Be6)!Ns(-{D#_^OXX0=LG8n(og|DppHo09f2o;a)=HmlvkO~rc z#dsP2GJa_vak5YOd*52;XbC3Goba1Yv$`0)M%R@qI$W+%bPAJ|(0YGFQW`WZwc@S} z!Q+HOK#l>GFoSJi`&|Oq<*a|Nj$o&G)=#4xLQTsCFB#hgS>v-gdRsnwaK9p9qQXWi za2gO`a6G7GIk1@;chBWws-`RVh>&o-4q{+&RYTwAm`D?r>k|)1RTP>&WznD>m z)I8ORQh9@pLo=e6Y0<9K)1K74giH*%7mFNM-NCB27uGQjnqR2bi$??natIUWtkJ!p zclcu~5-Q+_gRcy4I8pX{3}T2=ur^aMEFokn!52&MF^SR|)dgMKSnXuPlN`b@eKnY_ z1_x%Ii81e5th%)+M2UzANEd0?2wzuHQ^K`e@@j;F1YfVqtr!Uac8cYvB<6?=TetQk zSA7f6h7d*N=T9k{&UgV~o`FBKPD7@~q!C zCi-5n^HHGN&Oa9q53f=9S&PA7X&77w3pIX0$4^<zYDDRrt8JKRuo}Hir2R;HRoPP=v-j_3U!(<3)VLU6=9klh z<3oi!FePv9AFEAN*pPXm?gObm)v^+4D2 zDPqijV#xf*$^j^8t?}I-v9lx#;~&|k*GEr0?|rZ+DkAcN&d(u-DDV@X_}FQBXO?_6N#{iG34W(%Xd4UoaL1(N@E4xsuSfl%E5>(TcskO%Z`>bRaib3L_gfYG&D=+ zD=4AVMk;$4{oavBsc4I9NE6`OwwXRqTd@bNT7<`2Ux?sKR~DVgc-`c638&5QQSL6V zyb!!+lbV;dijxq#iz_0uZFZa!>7-TM7$&5r`@(&i*$TxE^Rff5^61*awRwF-kDc1~ zqSH8=o@Wy37p1ETJ8Y6LFpiCB3#JgcT~EMbsq|NGL#+9yx-T%b9eZS_;thNHKhJ`` zEQ||P`^|K2BV?N+cOAf@02jDsDi5p&_Nsa6^g0XD?-3g9h=bDDVu-$eETdPe)xPS3 z^9>yB$z7f5p4)2#rq;qa!^$k3QWm+La;9-&X@+qV&w%Kxl~IrmyP)Ma%$IcZzHPdL zk#xD$2d6GD^TK6g+Isdb)0!+;)Z_r2{O$siNCuC{vlP3#5B%hH z7%*X4l+i&F+^LKgj=RmbF{C{i!tj7KlD2+EM+#qgh&*K0#P+&q`v zonUt$hip?D?x*&O2%folD+_uBKB^68}; zczPki69+XH{DyCX#ndmn6HLF^Gq+_9N;RM{WrRDBNg}=4jFal3NV7oY%pi0G;i%Y* zMK&g^8zn%352r0&BM&aC)TL88wDmngYQ8h*XumCAKo{TnQotUa5zE9$vuM}pEL;lA zpgax1DVw3!_4~o}=m}8ZA4A_4_>>4Fmz3#=#iA%B!d7H|=?cbU0%3>Vj-ICpW8mid zWioF{gGK&_M6Rp3Y@Xdrw@GBN$tJ?2ZePb!)Fn$A-OuLi!Tka?%u z<>88=Ld8!c@`$*hBR2H22*LbeuwR_*^LCR%6tZ$3-H@eg~nbbmRr0=4_sXOxD8(v1LlgNE&srqRaGcox`ru@$mVHYdBJ|1|Y$nj%v6Kve-n zQ&0RJ)C@ERc9Yb-aF@y`)-%nwR@6x9Zh$ZOf#UFho&6D$8MDJitygCg4pxb2FyxHG z1Ma~)Qb=g0f^%A0X;bvk@WLK0A}FBQJO`-`k8BWxJ-+vM*rUioVdcP}OGPbRL)IQw z+c2Sv0ng#76aU`!)1yjy$Eum81v9dwA#C9yBK$W4JZkv(tZ%@1M0U#G=bOq#+(>Hj zv9p7F<2b&6(p(uCf z_XS7dCW(&t@C76-nItEvD$^ymJ^${j4rl8ph4pnSQ6majx>7vbbtp@wCEv{qQh8ip ziqO4@JF`c!7~zBhxR`fw{-0Tv%9c+4z|iSUjSeuVP9)ptC(~H%s2R_c8FN>hj}mVt z<3;t^KxOC_@;Y3wnpW7sBeYZQYw1C7e9%4C$CYY8?Cg~3qFyXy_98cGRFicg;HeWD z@(3)jyMRdd?&kHj1*s1Qq!~eEotNI{*dyF5#alJjnXcOX@m+A>TQUtO6(STdpPX_! z&z7X3bOj|apxl4)DB^W#_X@kmf>=DECQ^>1(R%F9c`@;pIYB5vl^|?HtB;{&hozC$ zt1CUdYlfUbt};)}T*p$$4&Pr86K5C@oBHv?#kpj?FO>uF8qa59@bz7`r>9t>9EB_zR21)MQN9y2xpyt@ zXCN{&J7_}nBqoW=%7DYv)>;p>YnF~Je{Xm4zsOxET!_7L}(^U?4W&)EUrpF!hKx%BW3TV(G1|`T)602h#fIKH})ug-YqUl8&Y5 z_Q0oMX>EF`jN!AMx{KF*s3OMfDykt?K2+7*w=R|eM&_N9XQXt^Iw!T3@muS4go0Lp z8b49_!|7wpEim5<<}Ln$SWM{JAB`94Ys3$j9V!QdzeJ!!mbOgpu#zt(53JubT9?kH z*t@(c)~@q2?T2+QQuA;2kZr-RiZ6)i!I?OTApTEoU-1adq zJ=k}odc|m^t86N^h`q~9Q)L~@Zzq(tlyZ@Kk6-Z@GvfZEL{h*8d5t=lFX&{yYjcie z8mq+d?0Lml!&rOGJr-p1C6^=j%}1_6IQ^pnspE8;JRo?q(Es@FNGFOZKRlyNaq>d~{mFZ83fl}Y_`+qZz|6Iovq`7a2l-j_qMr%IW~Uyz3Xk~Ysgc_TPA`!cv%nnDSHHvRCY_pNU0{_*Rk%k=2w!U*q1=e zwsf(i`olU&R>CabtDEz^ZxV|XBdnY({#y#Uj5MafnK{~Rn$|jS0gfPJra2McxE3Qp zGF3}#=ptQiFO$;>?7RIE$l7A9XJ6tX(@bVu)9X=KmaQWJ#3A52ojEyWoR>Ws`qrb9xs(LGpIq}Hr z#|y>U{rHsJ0~ngr_qtDxi$iz+(Az&ag`-DJQONN=2LnyATUgk+)d_CNpqj2$lgu20sb6? zC%i^060~033F4O^AHS@ho<%ju5{wqK{g@$C`&ERes&u2p1t~ep%!KtE+RXS8q_DyM zw7=wQpxHJaI8f#Z5rd`^G{<+%6Gzd_Gdkx$PubAd?Kp`wg- zO5*gdk;OOcbxx3T{nmZ5fF(!|Ll1)xM>ES!^GBf25CP@PpH3HZi6j0BlgzN353xUJJaITETnxz-{3t8_`Qpignc<5HxrhLPV_ z9CPQ`Cy887LX#3jZ2}o35;Q2W#mM4cN3l=#crfOjIHqj7isq##WQUQ@6v;f=jS?i8 z*EWV<@SCmfPc455;sGf#tuYWMrRy8~e5A;#TR@ny^haQ~kOWdvWWNG7hKmuMfHULA z{HwkHa|+8OfRk-}$ul{GR62s&CZ*E<^XltHk}ScdDA525R`ilWlL)8$e~0=XKOFPc z2};D7A5wa(Rv7;$&i}kkv}s<4Xx^}Sx8m4n{~!PVSMUv+=7}!{;Q!_L|BB@Q>+v7& z9Ubad3kUi|dI$BzxcmjZ`8q&RNl?DfHx9&x0k=$F{3U&Jf_r!W8+`MRml@>?9-^$8{DFGxhDL2zpdns^vle1)i^ z2h><%F{w$7bMH^-1SumeR+Qv~;jqwO2jZiqAt525e?c(4MRQLl{K|5lK47^Ca`jIy z32r5XJ<*_ie#58$Up@!|Qw`T$Be)pz*Ilzqf$Ofxv!%VIfnN#~XM$UXQGUYMuO=Tc zb??gv;A0STHBDP0^!01UTyzWnMdM8i3q|gZ3HvuqbYO25t#dw)&t-&25VKwm z$%by8)t|dQM|$*qprI~a>GU8GZC^gZiZphI%Gv@0kpP>3bwt%rZV^lvk?69D8O5cP z@D@v}9!|)S(enI0;&8P|y$#HZS;`XB_=3$})D95Fq8xe*GtRaJr{f$y;Im*kXzWsi zP-pSYHH%GkqK(1Pa&CNljWv6&Wi0&=IhqO8;dDu&yr^v6Fy&OJY2pZwHt1$;bV(>ryD%Zm-wW%9RQCV5euT)rBLTnUi(mRyd1Y zU-vW6L#08A9Fx?w=_vaC`{=!H3e{)27K}$DF1YHi)gKvn>vI@ZhpRE2JK@MsxgBp>5)%WtOt`4o5eq9Mh6~e=O|^sWws4 z>V_z+jAaq4rgQ3U=H5lWwOY+={f@w@lKOCY%ankUFH~fE|9G3jL41UxLzwT))empj zw1w>JeKf}5?X%riSK}ptg_zn?G-sncmTyakj=X$idL}~;bR(ZTFf3mRZt3xJ%Chvf zb+#7t5XDlS?-QlFaA2_J99~lO)y`aMOt?IMS#*|sjy-uRRMb}0SViJ zlgiw^fBnYjY{!C2{AgJg@+yX9FVx5$A5)M{we$8Vtt zR!QjFZ{LvVfs$_ePRwZbW6Jq?bMzeHq~|Yt<;c`&$Jn`Ne~q)<8;mHmXl_@kMK?AX z8v~hvLA4R?8M4##{FE^)R_6KcHE9xp=yC1Tc2rF+m=oZOy`SIT<4FhbUP}y&)>xEC zEgl9sn5anvFg9EC5yFDKCf&Y6>Tk2=y%}!L%k%Z4sukJAanJC!~D zhJVqxDtFPiQNJE*+}vQUk4C||BKUlqVi9UXB#jK{2d6>OX6RuZ@ILPIkAFixc`CaO zVQq{`>(u_>#A^?9Ck2ffY$wTy)LWfaWhbc8K ze_n!H1iq=-yEWS*Qt^w#;~%$Tk4u7ZTvCDy3nfMHER@;qhNqO@R`Yrn!qlNYQXJ)( z!2bX^f6+s2Q3SXWD?4|vLR*dfKce+DSib(}Bcy6!^c)exdvx#K}-e=U3p=XY)kz1kY(DEgX8*S|O zSoi2jxn9Z1etV5_ZKAsp?j+~Ouwq^{H;kK7@TDXyz=Y^TM2`@Y62E@mp=U<^{{W_# z+sTSnwiCT@+Zp?EAhomEE`0kL{rwjnyp1gIVq<+>zkiW*b*J{!xBBTvxW*-G-y&4> zKY;uTqSEOJNcS360RA<^XDe{@G=km5l`Js#sGP|(qT0qXL`CW^Sze2OAn#&O~np9j%CJ5i%z zFrrr8dFjB@L`NajZG+DEy=i@h-@r1#H1ycfk?ujbJor+}=s7FkXceY^LYln^7N1X; zl#rVmt#n_}`(n*YMrD6~rEp`B?ql;Dt*?1}id@x?V=E{{6QRH0v1x`%bCJuY!dFGm zGBR*{-ZMJmvxC*$UrY)bjk2ffH`*8E)9n8M9X#N~FkL>sQBPYj8{wPTM3eQ;`X_Xy zDOqq>J+xj!X4BB>7}v%~F*F%E1v_74%iFJgMB}JLk8$adncksMP~2Qa_rR2?KRNgj zTiIMhWFd^|HaO9bI2)+hzu>VrHq+C&6DZk}87dlsnaXu{LT$cXetZ7_y+nf8Y4Mfs zV-)+Ge9EIKtn~NafjP{-ufHOXGVa$4-^_|Bf=i-UU5sjvGQAui&C%F;hUZ2-5HAXz zVmLEBLSaZEWs?uS{_*vHF{YemH-V*;BNeuliyzJEu>M1PwO?++nnqfzGh*A3(!f=# z6^JGzZ}<#j!JR2blq5OQo~v>pnJa{y`_5Tfqs_*>Bkm`uu5LK?vAztaca;@b>EHb) zQk;q9*QnsO#Tt)UOLVlR*qj>%L-y|KUFp*`LY$4<)VKW3IOmTrkfV#$&Vq?2^Pr9LQ_^=qe^Ovb~{QYkZX-L8?0NAt(w{V z6}D__RPo?mB#p)>6aDl3d3u&tq8R*d4obyX5c3AJdNw#P>IAnMvG3d>sSD6=WM;+4 zri8n!ODax?FApL+3qB2==JR2Y*lq?qkGZ?(#;f2>HZP4EER4i=d;XV~-?r|2=!7xt zQzWQCNMK;T1`5$q&BwIRnph-oQW2zJu&5Gy1kMT@t;V3tklyTC z8n_^~)|*CSgJzH}ty~V~eMo9$ZQSY_#gco_cx@E1yoQk11A*#7|V)TJ(s z{{Z$+|HJ?*5dZ@K0s#X81_A>C0RR910003IAu$jjK~Z6GFoBVwvGBpsK;iLFaR1r> z2mt~C0Y4D`0OORUDN0iR0F_Eol%+5Dw7g%5N7dr#V(2UiQk11BN>Y@(IOr6mFa8@u zHA8O(?=}?_rDfwqM1skoxx->>MWu#CDSMTbp*lLs*vco+FY=ecX+4$hI_^)C+kSvdy4X3k-Ar*sBeUXFY;Hw z?o045G^BsO$IHmu=l82W-_wYh2to-#qgf{jrNeHGGLn$6Q(&KQ4`XXYM{zL=9c>WQ zn<;&V-Xmh6SdhHFrSKlm>+%h7jddYOE5(oJM!X3&z05JRj4n}lnWW-(GBhRKjob=o zUCfx&H$Opd3Bsl~3wT24qeX(J2+v_9*d$8=TVW8~v^7~nPE!+_SdIAaXj&f-$u~*i zj^`w^>p!$Gs{a6`Gq$HckJek_EPR|Ft+v0RQ1UeMl<+CEWhOPT@kV1_AINP8{{WE{ z_L?9Gw*LSE=0xYy=t^{F-l01vE=b&d#-F}l(7d#zu70{K`QPOkJ2`RV`w{RtMOc}4Kfuy&O@2jP;kEb@gR=Yg7)Y;8pZss|HN(s6m#$b-qJSKM<}6ZI+fnEPM&F`#5K;9O!G(r>uB`k0EBaM)v&r?Tn$3Y}T#*W})LQE!c( zF~`H5x`_mmMZ?I8%6%t0zQyfrJL61FwoI?+@Azpo=Abku)D^ zEXL6626%OPlh#jN6z|fAGM{?bMeS=VhD|LM42POOG z)EWI#go?}YP_+@ zQ9H6$5d`-eLdO`%A#6mPpK=tt7c+)lDUe?U?Hh4{2yFCI9~*OvZy42Bouc(TUABGK z@;sBa{P)k5oLrF30F7qm~9${j=^xu3C! z4-t=3HubzrU!*q>pDz#HXhIL?JXx;tKGSzmrQl*kaZL`%Cf5;$%lf@Q-5Yoh?xfiSQwk$n;tcsXv$R zr`UTQAHA5WOl4z#zbyTXNujS8eg6P_4SVD7(zxFXqiLYE(3$0~Sv__VI6MR=c8Y{a zc?p;@ASQ;UUgnGaf*_lJfo6iih^E+lBtq}Yz@1fe+K3C_J)v;;s^y-wv$=nLhJQXk z226`}b1<&#*UzWwFm2CcI>Y+^07Jvya<5EesT{Q*nz~j=*SvtW(7S)S;d0zmbufeS z%K|r*i?r9^X4xjVgS^3wdp^b}*ROF2Haf;j!Vu(o7RwzeSs5Dq2ed9A$gStUIz5Aa z{sd)}R@cuWa)!x9;ko;RLJRNeCh3Ytkuh>I-?D!nQzcO$ud2DG+dVj+2YI2PJHpyO zGyL?>Fq9Cn2sCCaj-GcCiXQMVMh|3|W*TCuOlC7IL^O?v(H|{d8JZ1`fcAyU>Ftgu zkpO(3J$#+yS$Eq06)mR6dyX)LuJ`_lC7k^{eN7HYU&#>p{7e``hld&kj+c~+eoO$! zLq{7IWH$}(8XLJ4JjD}2rk$YIU6Ez#*gae>r?e+6a`{MnMpZ5No&Mj0NQ>~q)bG6P zC@(3LL?PE>&UW8?U*5wOH51f^Q3=9C>ey&EMaJDo+e0&Ar=v}>jZc|~I&BjZC|XH@ z^&L$!QMf&;XzFBMONW7RtczhH5W1e%Qgl3!NNLjWV*dc4eT31CHdL<*`k^-gJd`mz zzaJqpUwe4+%&l7At9u~V2?=@P5fGdtF=I{I3sV6YO#u0JGhO4FL1$Gx@j)sR;lNOmV zCAo7n*hL!#t(TH&hEWY4aciZc36Xpb=t~4Bvx0EXUQx8tbA%;Wf`d^q)R(dsn2~Fi zsR+gIMwMPI#gKsUb0z{Ux{OpU+?`Qkt@=N(xi?PcO zMg^WRC07jDIB5fg!s<%3!RR44CS-&tj7Um_ybwu`jfhNeg`?1E+z3Wzk;tH!COq(1 zT6Di|q%96(m@-((&v9`jZ9(n6Zv!cLaU`_=0NHX4Y51ML*!}8Kiqk2iGF!OvAq41z zDI(xpF0BF*8DvTl=!|HPW>}D19nnG+h&%-}dQ66_aNw6=q_#|pCZ!TdPehhdH7Pl4 zf_FVhhjEO1L!?N4FXU9)G)*sIjrxGyDOs&FA!8G?sY_?8sdO??Acfbcr(#Z7M@F1d z5~6k~62YPGN#J_RLQM`^Jb|D+l$YFW(=yM%uY}5)4YtQ$bLKx$d_`0>~eVi{$MxN8GRxstzqvX-FB1tNPXI)p?J zv)n>suOZyBivke3^l*X@f?QBVdx$n|Lti6)gJ6=2wSUzSp>sR5!IVg01)y>;l0)D6ApB@Z zb=&#>08rJ$tsXomQCum04v%7Rware%A)yID2=dYQ^c1)JCel}-zK8Gcr@oY&t%ySE zfW>(c!d9rMI}n9G16siln>tiFX>E>)w!95+D&L^Fwx~|&U5eZ>vKGB>&`w0k(s~C+ zmx8d1)N7_&6Xbgzw3|Z|n|WTt2-Ec-n`siS(RmuQczTnOu|94_k+9HW5h#$62sGP` z{zT#5`~)RqV!SWk-%bMIi)Mr_uEAKt!LeeC3TV4W5?#cpg*f_>DiU`c_1XK4CnO)8 zl~g#imR5U;s9}F2QAJbQ@3Y$uJO0`#x(WTW_k*%B{{Vp(XI*PPm>e(}Ro=fJzT*#r z?ja(kg1*@`@>u={%~q7W52=+;UA*4pD61AE*2f&Xf0G3D{LlL@D+){J{{T?6=GgDp z(71!ys}lmT%Q zeFn{^(9t1U+F2Gvhh)i$Pf;tn5V0tBT%ETgO#>>3Y|$z!noA;9mWG=lyDbSCL~@YI z5jkebnXAPFCn?XkoIHu>_5O+Q{yw5f9iXPNQI7;AqZVhZi#sq z#rl%R*GFwghayg>Mowor=JNQHhqJ#eQ&uEN6fhe2aPap1h8@%W{p>@3ubdM$n)yHC zp8o*R{{Th{pQA6b{13N3KhWQ0A#}bQGK5F53#k^Wsv3o^2Kdq&<79gyJMjg>eHL)p zP4VtNDlZI5g^4xF_-th2UJ$d=(V{_R@ZW(U3#(#D3ALiJw)e()-!q6paXK(yiHRa1 zBt$r1fu-1KZ>N6>^iGS>p`ofLamR5X2w(Vj;XaPT>Tls|hT_47$-=;dFZ{RuEGI@; z?ZV0EAq)QiMi7J{2tp8qCql^xNJ0>TLKpsQAqYYcg!piTAqYYchK2tCuLwdAgdqq* z5S-_TPyRFi!~iT10RaF40s;X81OfvA0RaI30TBQpF+ovbae^kCaxyY9 znM|frE&l-Nrd+@A(+R7B?8h}c<$7eb8pf~k$+&{tAnZ8!-+bM)F|Ye(?%1bzPh$bz z65-CP`N@>Po2C@My9I5}e>jJEXPgsev5U&E zDXpJ)E7K`qfErPV?E2xvCTpv3*mm`Uc5`rTFy_PZaV{GC=W?<}IPARQVcV=4bN9`= z%A5ZH>GwZF{PZVM8|M;j$5>=xfEDua`#1(=2v1;6KK1dB!1C-q5sPEN)3+M@&axL^ zoJ+WEN&K+3kET^nOpiAF18|4W@Znlsf{$9b9tME{viE^vvEFw{-;mcmw+JuLxOCjA z=3pK^wg4MhfQJ2(4?QPPv26kJ^4^Mk@<6FJ^nDmnIb*wZ%;Z$~=D|b|2dAFA%nuxT zyE6$6qvEE&TY-oeT#H2nEIu(vCZ4b!9OqNtoN7p6IC+>&HzQbay?^w(e?$D(pY_=n zybAib*JIIn%dDN%9N`#vKi)e(iJ#gr1rzjUkM(7Zek{}b;~)GiH%;j@+3xVuQ$nD^ zl{iGaOKPdTuL>K}1VH3N$Is&e*G^3wVfFoil=Av8m--kd{Y?JBn!nJ`H{#DX;9)Iu z^kUEbU*izzt<>d!y8D9pg7$4sbMTdW)1b^Xo ztoMico&BG(!NrFn`U77p`N@E!=+xiAdg#H9%yvo_Pn>wpK~3vy#_?p|&QbibN_fdx zxq}=^oM%*!TSF?4mD0g+%AIk464$^3r(8U7 zfp!o)Wz)AR7V(Tz#;wf-)54g#5!xI2WR2uO-WbKeZr<{ZUzwa{SNNzEVS=FJtO_Z+ z8L8pZCy?-p9+S&MS@cR9q?qsr%D0jo2?dV*u!{zA=v$n?cm4oa<27w3J)Jj1u5c8aQ>iPJhM6^P9MT zpM(DZn>C1E>y!jLK4<;@j->ItMgT7r?;j*Ep^n2+^ZO*6_XzYTT(+B9(H%`Cvorv) z>dsegQk4XHiKY4n19gDX`Uzi~?XdO48&Dvo?WnzHG{w3j1);v)rVpTH;HK8#T91aq zT9EffTo%WHc=F5T6=LR_eV~b&whpxO$jj-HfiBZJ;n?_KBN;c#^-fJwozim!!v=J4 z9@{Vtym?xQU}Bu$8eY1#$3S^WKm&sa9BdH*LMfZ%-T({+m+2W~2R=g|;+sM44T#nN zDUSpRg6krUvC&%`zPI%t?xad<(;QmR6N{yhtoM%`=XwFWVE`=OJ~xeR!fSZmGhAXW z^s_T`@M{i)6P$ntf21E12X{2Vq`%;4PsfFc9Eqg{kV*oWRus`)4AhQNg1}1UXoF$% zLwJ_U=+hoK9)QhKxtbLGU_qhi{n>o3zJJ}6?)-Ot`L+T(EXP3s=n06^p5RZmKWEds zp?iJSH^wm$&_a8m=DSyN!Ry3w4U{0*f#{bCHa83WN!E9V`M6rx{yE5(lljXL#<=+X z9yPD79AjieBTWmij-}h2{{YJ(4V-O*@b4QWTQ+^LBR*B}jCipt@S3O|HFHSx;tIyf zhi@Ln1ep>8&+vcdFwx6ow($h_4cUY$1FqnmLSW$>Q+$9*8O3J4rAykd{SaspegHfw zi6$aKHNYkKZSU)ixQq1iBZVt`gpr+2xVTGkbyc>;ru)_s-+4h_cRC$<^_=gDG7`uj z8eae_5)z|o5#3vjuCeD80BP+3yOV|9P1|jw=@Ll-1dat3GL-w+BdN283&NsfJfOix zST$pkFgnvl=(cs6N5BeN2#M!x1UM24-0_>>t_n2g&Mvt;Oa*kq2yquowQs@uW~6gL zb*xMg+?VRt?SS28xqkTkj4rp80KJHx>j61ul_n`ve3;QEs}+8{r$PRM&T43UKVnS-IJl&Qg8jw7s|nq~JG4xnmA`#R;HVBJ2ZLh?O0p5vOC| zT#i#nbe#bm4Mu_(*SFl945wV#HW{bB9Up}bb}xATA@7d0mYjYvELjosh$_6?FKtah zcq<#Jb(2(Je*gg_2Q)WzriEjqHYL2>2T0!+36rcERC()o;+%)pz{=0B&;g^}><>1l+ZD2+eX8q=`5tTJLW*r)A`0aIK=7u+sPcZ0jRa3v zMK&+>iMG;Go#xV~(v%ZGpv`%?B!w(`FokO*z(3TOPL_1#o3e%$^EVm_0NY}|Od?qW z7(%pAh1{yTQ4QF_&;uh>W(Y~jGULj&^qS|q6C33kDwQ}kuD380l05^JCeK&{;Rhxe z#Bw{iTS;mQXV)`92!Mc!;X*XfU`-c*4Xh*(Cc+9Yl#tz!jTJbBfen;w`62$ug2OVj6Xc7lbJUxnr{VhJS&Ci7_R%*vXo?JAEu#qzuL zkV5Q>+lI_Sa`?qSJZ&34)+k$3Yr*Gz2JKg6Y^g!0kA%XZ z-d$sq(}(%EK4bP^m;G~yI-32AeGyso$1J#203hi~d^}(tIKs)AQ+EZS&Z6RWZdYb6 zIbq^yAm^6#f4t+chc3b0@}sLUso;SYV6{_h6k)8`SkM(}pFR!_FvID#?8I$Qq**SE zX;_ItL&KSL8%jhHVCpKeIeF{znpz~N%JOI{9_9E%XPxt`-zPakDS4U3@<(C)zd6>f zP;?TiKN(AIcI)qzd9B-f&z>{iSUOXzyZGZ6CbJw#oL}n!(`H-ZUNWYQ;OywYmBS)y zz{G6`8wXs64se{{3+liP%v3zTV<_}_^NQt2f^2P?xVRu?0%UiA8#U(6t%{}^Q(`kphQ-HE3ckgrE+nY zrIv;>Mjg#*+qY0R1?a^D^YzH!f~u6a=c=lQ7~Z(ZDoM7$kGtME1tco0knfCol?oxq zop1Ckz)J;ywG_~$D>-plCY|8k;fEI-K&Yzrusc;hjCEA1s-6^y>{C0Mz?`3a`OU5j zH{Ksj<01|i+j$=GXp<6vbJiA{`N70@=M;VZ`4{`f9p;WTY#WT59AHmM!!VDLSG|qe zYB+I>G=6{9URNK!ZNU0JZ;V}>L2(C(ymMoL=Nd1rMJOAOG;Wr7at-|=2N;Z0AOQjb zG=6z;mk0o}XYYhe zU5H1-wT_bjX`KDBQQY5HimR4h3}8(gR05#<;3afgNx0hl7P9oM=`ySW0|$_5BEA6V z#QP;gH8|BxT{~P=LIp-)fdG~-Tz+#2%c0B(8*Za>Tt=;bpId!?b)0Dap=yP`Uh(*CxVlR8Hq8kwr9`NSD z!`D0*kxn<7vL5#~yU`Cgn8h9K?|DkP#dKc=KJ76}&^53r1WJkUVRZJ<@&5pLC|5my zyb8)5Ul^v_2lir@crbP}#$O7==s?Lh`5W zoMg*ZsvQdTg8M@c15sFm!~5aqvn_^4C-aJdG`={%M(Jbgu={@awQRfjd&o^zHb|Tr zvZ@F%5kuLQn=^)R{{TK-Eff87gw5i0>nxE^se(!E){pO%z`8df;~H|}t5v@6GS88P zQDF@=wIg+74z3U_m%0cxwj%B$;?|?^$9wSnJY{q{F9a|{^TLJ0bh04t4HT(Cb>2#P zz|gaX7PDJqaq-)rL25x2j_hNGciG@?fQ(F$c=Gp=b_>!3EN2h_(Ct_M->2YBitGcyo_r_w3C5+O5jM1b_DuAki!KB*ubEmFwpE!b2 zo->Cvu?IDvB;scye|)UZrx;?PAAD;*H?|qUIEFEdW4>~*P^kOk$cHvS!l(e+pku%} zooXiFM2CQ4X$|PWShR79!}~fvpSEm>hkjo<*?8~$V+2oNoSW?l3Yc9*fprul7o`)A z7}|xFM#7qhT5PD1j!;SjWfg4iQWoMNu;vg)LriMga5z1q+<* zcXfF%ba({+01mO`{A3iQ>X&U1*ON(H4Xq(a1tDnxRCgA3;E`An+~(&WtSV6}dfu`g zZ3L5kVm9twFlcCrDBcQ()O*5c`$oQBj4YR9^P7hQ6MTQ>{@KC@O%hPS=bE+F2_SZ0 z#oEehv#g(4w)2PikyPUu-Tt}BPviD7$DAduJL?^H`N$qg`NpK+XB;gd9xif%QEYnHqs%80<1TnUx9Hr)-(bm0x>B?QB5~EmUHqe ztl(!jtoN*ho#KVB(SDLPKf^fzSu%{$KU$kl~+eNB)=Yezx$Rm?e83E z(km0XtD^JCaOR9k7ZX}2tytZ))(FXQBSubbCGe7%c&s?kUy5R9F%W4E3kD0l#u3c! zI!e~A>^LIfQahGHt&Xu<8LdORIaxw%R(X)E+e4F_rg;rD3l%~EolgGcDOTgrx|Ksw zSu5<40@+0>-;oTRQ=|$>puxuzb*V#GWUElf5e~g!sf1G|j|L#_?R`%1`NQK1w3QnQ4C0la zFP!A#f;rB!nR6lGF;0CQ=749hsxx9VtDI7B3`-=4Wd>(|kV(jdV2p_BJe4tm7MduzRXTzd z6q#fO8!Zzx9XX-=KnfBKfuMkS;;hxxZsx9{_TH|5c&%F^?sk538r}-AQ$yXHK)G8i zru_s>(^4an(BrJ5<4-!@w}BmmXDFGpL5^z!stA{mn`CkACRDCTbQ4A&E5}(N2Kruv z6e6vM0K`s_ILXTU-zR1&el+v2=k0M4X?4e(P+J;H>CN@MRGWuiAPwNcQaqpVo`3!< z{?D#1siXEVw~QiPWU4RK_kqAJ)?h3ZbZZr1n++O|)#h`^t@Yzc}E;0o$Bwc9UN?N^4lLELc== zqEF4nK<#Uvn(b8xKMT` zcTnaMMb>N3qDsrjvT*S=%K&Jp-vVuwWXclMfCkX$(gC*9#iVLM5zs3&gBXi%sw#Ly zc0_~&B6%bUueN=0cf5ky6P^0~jJk&p+Y%$~{AKX{(iy)j_830^6R^LQasL2?fA)QF zZ}|PQ(+eYydHH?`;?q`HtUpkG0iq_x<1-c7uGcv2$udlg5yx97NeFmkY03h3c%jFt z_HqKrZK1T20|Sjo0F~7NPB1fid9;=&tAuKUTEz+xXDmnuYO0H6kt2=?s3ftp(_FD? zfS^I$TSgVUk2EYqB>m|&>V=aNkVpO_cE~p6)Z{QCWkGK z%o1h;#iY1w$i<-NRVzm~a0#kz4OG(+`7&h+w?U2inC2N+J)YHi23<%}ueICq;*i1$ z5qW|kHVPmd8{Etwn`P~8T(W9Np>)*<)3VZ!EO(+WAra07C5?cP66}bpxjt9hD*-^) zAXHRTCRQMo?S`e%R}{#fC~b&5G$oEX&rymJg*FoC^s>oNBpV0Lm_&T%VT|KVP4&j{ zhdEo$T|AzBIcerk4Gb|L6$t|$Oz}8B;3@CUD1H9`ysiGfYyfP#z^LzG*F5#QYc>ts zg=;u9H^c8AgPso=4tvI&h)wOHROzRaDFnx`aQVlhPzzcTYy(39x-p@1C{#wqz$(cC zl3_&#*1YeobOb zn>lfD=hk(pk?af`h{NkDJo+XMLhJD;U|;)@v11s`XN zSnQUmQi-T44V`4*uj_2Ic0|lmGGD&bW^%|UWa|yVE0b-}=LDM4hBQd7=oE!r0~pU( zE)d=UFVVzgpd!K=;KK-lYda1&ti#He-OIZ7Y%Lj2Z1nMjA}MbWl8ORl(MlPj zg%RD>DnfQ%I8ULh3|v3V4f@Vqz5f8b^89|-r?>*j4cVy(9Nmz2CmWi?*{o55r&Nw^ zN*!FBIdzbGJ6hcES;KLk$M_1fNs_ z;+3U2n_B=FA0gU^8A^>H#M?2k+N}1IaRGoTsbPtF&3c~X-GYyJcc~t z?#}a%Kkpl>kfLE)dockEqBBPLYsa@3@EO3ln<;(k^ca^;ip)XZUIJRQO)(5Po1M5QBYBA6R_Mrmq>l#3<@P$7ixV@>kMGuR`UJE^03cah>x zy(J$ezFDh+DP3A1Z_G0VKcDK5||L=79d zV_N4OqD?)4)4|4AdO4-2pu6RVSuzscsh0|mv2g$ zOLb}iv3W3*BqIVEid1e;ykyRCX3QYeN$|rCB5@<42*^FSxyPxwvJTx=!N#2`v;hsf zugz!M{_qh>KvWBSx<0zVkDfP+T^Dn#8AD1j`@3t%hK_3?DwnZBoR0t`pu`$ z<0`_A)OelZYez_k#7FCi+Be<@e{qpr8Ntt2FOi>n4GWa~ke+i^J(o9WjvuZ~EtB(| zzVO0u>K%g;f>hom>jnmdSEWRX$)R6LnMA%0mh3{NOqBq1popf1A7XeNj1tg@w<6GJ z6!T0%U}S)S0-$QA#U!QFPQZ-|(flJ-%V2Y@BNM7o7(^H?!GjAEXp*D84l&StB~tuN zZk2=HAjkp%)?agjl>=O`5q-@u@ZClW+7uG0f#CF5z8R`&iZIkHayxV4u3$SpgkZ@J zxHuS>0HYd^v%8UH3oh)|h(oL&wh%YE?&TB@bG%6DHT-|x9FP)G9QsEHRb!V12Vxq-_AohV@p^EW!ghR$gvRe*a z7$HokhU^_8D2VA#IILaRrrL>t5v`UvFi#bZav}sY)i=YFL4*NJoM7G9BO6~UnxY77 z19lafm5&x_8;C0LbV3T-h%q%>=Pcd6F~E#pHgk21(|q&Og->3+WRx~uZ>asS3As+W zpM2O$=yFgJyw#HH;|(KtdBnB!*XIWl!9e)L>&3-qkl)by=ZI4`w(vFe&w1 z2_Z_>D2WB~2X|3MDnKFvr?I4)sZUmNpb)b~^pg$@$e_?Jxte--c)ex#(saG)HvVzH zqE-TEBaIMJgcxFWAX^Jr<7)kI_4{CyW*Hh`rk_cZNKgnx_b0KFP+n*N58Dr1XAkq8 z+1Nert$E4|)Aq^(9nTgHk^Mw++29KRL<6F*&Lr>Qcu*CqJA|p>cn8HMK=+rte+~>C3=q&v( z(#UiD@0_Fb-ZH;w3b7Ek07emkH^#r5v34GNy=&w1o6UiM81r`fn5M+}KNyIr&azsD z%gy8a_`p&T*|Xfuq0B%w`pQH++1KOa6h*#7KR>oRtrw0<)>CD=>8ADSdz|rup)_IA zW~TLmPDcVdxnWL@V5{U{@TU$AG2=SN&JS4S4QU;~>sH@JAP5Gw-P5f-{`|~ngjHC& zG@-zv*>FqalE_3LuLgqp1+KRzNPyca!5aeux(6y!DGgK?Q1oO+iM@)h-;NHiQmLdZ z0(C{vt>82$&IwYMD7kZ5AX_hJ1O!dygvT8WWx|`LLE8jmC>pPx>#qv)&n_jKXygJ} zs6s6cyVKN3EpC)3hIE)fq~z}s$e>AE8Kv8VcLD1=E!iUbi-Tz^N5?MTBB&5?c3w#Eg-1`y-z2z zIRaH-%KkNwNEGC)DY;F{H;SsD(0j1&oQyy!R1@s_`{Ki?rpSDd)(m=zqa74#V`lE0 zM6k;rCP-B+T!lLEzk}lqDsA_yaPrnf3;;tAY)^~=d)p}@`3N1kJ0=~54to77Y{ooC zcOOrk;2Si9`cHSQI(Y<(R9hPK6Fb zbp^d1dMj5R2%?4%ba!WX!0r}vL;($j@mvi!S7G2yx-tQ=t_dzRw1|w{EQ#!HVGzKh zYVkA?NLN>J)=~i=;j*l6A8s0jV~E>2f{m_@kT~ATE7M`2ebrof_me@XGgu6?@iIGn znND9^6Zee~6nI6zI5L&x=EdC=_0^L*k5*%fAZRX{WI?wMN1MAYv*Cr84Mt z5FBG79CuE_J4ZuDY7zjWTBud3Y~WSXi>=@=8lpj|0XU`$Y@i_!3J}`MT=L?%P}`t& zK?no7!MAv@dj;_b+93%Hmu*!DNfG!1?AzVI3BIWt5Yon6l52UydB_7;AYJ(0EjW*O zB67zx6Q3QRuhI*3grx5e4s3HndU8x3wpKz+wX#Iz5%;mi+PX?$vZ9&`Y0b*Ya9-*` zfp^7Gy9Lv9$x$c}8v{x?u!(U3&qSy}C|i!y=|E*`jsl8k6c`IkL@>5(&Ea`Vy7>V` zQL!Ns;EMES1V|99SsG*!)UYI3jS=uHGiZ0!1eLM2m?IS`g;lEgeCM}5aQWU|F;^8O zbTnP;I_2UQE=E$O@DpA$OgH{*CSHHHHPNII7ro!cDB)jv@ta6V*x#qyCgvO0ri<&0 z09JE%@4VoBVZ({(;d!t#&FkX6Is{eoGK$o z)O4qWkIz?};H-4VHRI18k&Tzy00=?4En*?$-MFh$QH+uf0u)pPVf`A6S|!iU`!@vL z@KZt}d!95Z8EpwosBDl;LhJ-vVY%SawtzH{h*tvi<(PmWu_F!yIN>#@8wsK)Hn6&B zRH5i#HozW0<+E=y2YRpEU?Fp|F7Dh`EVKhaTmS+DI+Go}2B*#a-@XI2r~YR63<;tl zC?`8($dp9Icl=_xSNqmgAm^M!?>X~_eGxUza-&>4M=xRc!3~Go3O~~jl;4c2YOIha zkrevkk`oB$pL_dlK%@Fx^!|e|z9gT?&Hho`&A_qRZ9ym-POJ6i6b2smGh&kGR9Ym4H>`n|J~ZbsS&}2=jz?Q$y%eHX>QX_Kt?^ zJ%hwCq+ms+Bx;R{?HdM1zUc4*19V92!IULz@K6#|6p-s2gwoq2hKv@3R|u)u+DPWd zem*8TzA6n}n@b*#Sv1FHivie^byq@t@rOtWY zFs~m>5^laXkd;5{4Ki@y!cdes=Wn^=$C{{WTk(=zoJXOH>KX@v+hF(9J>kMzZXu&Rb77XdP4{{Ra2yhMs^Q`6@i1He`sWLuCK zm+?^s!@OB6D$xuKMfK~; z$$8@b{Bi&qbnQyp-?w`Tj7J$#BB`+2?-)YaGF0t@z=oFN>w=YvhN%Hw38D7v2qD9b zVwXx*72#VM#F?+0hN(!af!{^iwW*lU!ok?(>jKkzc9Iu;2l0h25bK`%zyc*4b4Q(g zVwtSfzI1EeBo@7Ic3i2kg_vH!BdoTI9DXr`ajzLv{qQ5kL#68?amSoWASW5C1UIur zHJVFR=J%VDelw|>xS7I`1jM;AVr2aR{R1bQFftx6Gmd{kL#9Y@2P=q_tDqvQmIuNUVEkyGSx}92S@T5ooQ*?9LsTe0UyGW+3{A3LL>2Qc`NT)M zz){%l>6Pat5mJCQ?5r{1cz7{U0wv@jus%GSFt>EiDsT^#bz{uzT z57B{qc ziFKF6a!WSF)i9rwpzF+0XnQMNIsU3(Sijz%EPxA(BQ}xWI$bDLs%H}fQaUbT)+w;KotQJ$gT>hToP9Uk0})B z8hZHNIrYio6Aom++?gPm<$&hI6iyMDb)QUfOd{tP&;hhS4XS``acfyJyA>94gM?Qg zo8kZh5W+q&@Z$X(oBHR2h8%yA55S4^@20@^;ZVt_Be4*71+ZGP1|uXkL&X8Jw0jsL z_f|mk0tETJWdmSGnLe-gc*0)A_#f9LNBV96*g;vT-VC}l+(Ww}X{F$!5-MKrn6VtR zavOltt@+v97l<}g)YTx0abQTd7aXl)q=W>LRggKv1r^o}5MW-?l0pfoK;DmYWppqk zz4kGeVj1Tny)`O`4AfQaIJ-~a@ufjErJk6|Ce1_$H0u>Mu1}Fdv+yTfv@~E{6%kjx zLeb0i$;nqIHC}}DNsgZN=pqHWQ12@TO9&A6$Q#;>UswF;GR-i}9d^je#W`RB00bcG z6ts^@oT$}Gs<>`0-Ekq({I&Czs7Z@uiAs}+!(Hg_4LkgpLQ{;i9&P$!MUd5+EuS1e zXAlt}DMvNrN7p8vQ})ghag_t#?V3yh&I{{-`l10IM=gN?=M+}&12Y4CKnf_3fu)ex zSERq3k>1b78tBPP^uS!48BZoC*W*54q+FO3>H#2Db{L|xh#?v&wPj$2!xRXIAtsLo zAWm_QgtbF3P0802nzwE(wrsTk6 zU{7#BC14p}IF3M#ZKf-_3Ms4(M#-3Pm>@wloR(CjhBSTk(nw~hOYKq-0H85W++hj` zMF5JGNVj-2I1ii@3RVoO<;sPb`N`iqNiOBX#nQRqRJjn_iH|`1CvkA1QPhg- zv!?>Gp;#9QzoE*l4)UuJc9_|8F3PLKR;G)&camgQcaSm_suX4>D5ULGLx@inPMj!F z!ia{AXwj_a!C*>s@dMIftn%fDu*6j~Ix@hi{{WX(&@GhNffmlZ0zw=L18ahShv`%n zVdV;on+_p5E$(P9bZr>2UA^JMaFH0QWh*TU86P*6Y?TmUPe0svs> zYdX)I;_DttIG1S;EwF)TiP~&|-Jh3cS zdTH0ad}4xy)ipWZTGK&wxtxXpJJXlsy(zEz$F*;RArT?F-gF1haqA9Lav=uV86zr+%7gc%0)h{^}QTW7W%%#P~ zsk5(g{@BI(s^Eomjh{G#UCe@@48F~8@ZbTT^@x)NQh@UK;{#jsi`rk#S48w+z3c%3 zf5k62%?M+XB53`vN86(SDxt&r_L<8`BU}K}U`hs{my`lal z*trB&MW%&r?w211K76ck$JV*_#5h$%h|Qdg^u6H;h_pP4HEut$wxyv^gLBkPFvFoCYJ z0zzwDe}CRECgZ;u42kRKB2YolwcZwOHuy1vf1dLAOtX8AXjIXFwV!NYdY}PS@viV$ zvwIgE0xqx@Q>%ctjs5Z<07pQg#hsPkIKWn}-?qOWpSTbxS_U8!PF20LFkHNBd&HI=)Q$p*V4q5Z~*X!-KF~Q~1s)&-Q%aO7ru- z`^AxUwEo;(tAAc|rGJ|Kb83Tmkbe35<1g;u3flQ>)Rpv{Q(9!vWPsx14HKg$!9$|| z0NfW~XsPwiYiqU--e&IyJ2lgjYmU$T$?$!ckmgCsADj_O`%m8-1in`%9Dd&m$_iaU zpmrwD{uRe2_{UiJ%dEb!<;`)8H;YWH-Z*__^6}Pn#sSuNAE4v^0KQ~08R*HpU{3OU zU{5$7^KqX)qn|>bAvr$Mn~ndT&|o=7n&?)wtd>>4!SOyy1r*{x5(0OF74${{TtW zS&!Q;b#n2O7d56l<#NC-Z+^cyFe6;@-g#li{{XG={yp4xo5Sd5tkV