Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-CustomNodePacks > Inpaint Stitch Pro — legacy (C2C)

ComfyUI Node: Inpaint Stitch Pro — legacy (C2C)

Class Name

InpaintStitchProMEC

Category
C2C/Inpaint
Author
Code2Collapse (Account age: 1184days)
Extension
ComfyUI-CustomNodePacks
Latest Updated
2026-07-29
Github Stars
0.05K

How to Install ComfyUI-CustomNodePacks

Install this extension via the ComfyUI Manager by searching for ComfyUI-CustomNodePacks
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CustomNodePacks in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Inpaint Stitch Pro — legacy (C2C) Description

Seamlessly integrates inpainted content with original context for high-quality compositing using advanced techniques.

Inpaint Stitch Pro — legacy (C2C):

InpaintStitchProMEC is a sophisticated node designed to seamlessly integrate inpainted content back into its original context, ensuring a smooth and natural transition between the inpainted area and its surroundings. This node is particularly beneficial for AI artists who require high-quality compositing of inpainted images, as it employs advanced techniques such as edge-aware blending and frequency-domain blending to achieve superior results. The node is capable of handling both single-position and per-frame offsets, making it versatile for various applications, including video processing. By utilizing a combination of Sobel-guided boundary snapping and Laplacian pyramid blending, InpaintStitchProMEC ensures that the inpainted content is not only visually consistent but also maintains the integrity of the original image's details and textures. This node is an essential tool for artists looking to enhance their inpainting workflows with professional-grade compositing capabilities.

Inpaint Stitch Pro — legacy (C2C) Input Parameters:

stitcher

The stitcher parameter is a dictionary that contains the necessary data for compositing the inpainted image back into the original context. It is crucial for defining how the inpainted content should be integrated, including details like offsets and blending modes. This parameter must be connected to the output of the InpaintCropProMEC node to ensure compatibility and proper functionality.

inpainted_image

The inpainted_image parameter represents the image that has been processed and inpainted. This input is essential as it is the content that will be composited back into the original image using the specified blending techniques.

blend_mode_override

The blend_mode_override parameter allows you to specify a different blending mode than the one originally set during the cropping phase. This can be useful if you need to adjust the blending technique to better suit the specific characteristics of the inpainted content or the surrounding area. Options typically include modes like "from_crop" or other predefined blending strategies.

color_match

The color_match parameter is a boolean option that, when enabled, ensures that the colors of the inpainted content are adjusted to match the surrounding area. This is particularly useful for maintaining visual consistency and avoiding noticeable color discrepancies between the inpainted region and the original image.

stitch_temporal_sigma

The stitch_temporal_sigma parameter controls the level of temporal smoothing applied during the stitching process. This is especially relevant for video applications, where consistent blending across frames is necessary to avoid flickering or abrupt transitions. The value is typically a floating-point number, with higher values indicating more smoothing.

stitch_dilate_px

The stitch_dilate_px parameter specifies the number of pixels by which the inpainted area should be dilated before blending. This can help ensure that the edges of the inpainted content are adequately covered and blended with the surrounding area, reducing the risk of visible seams.

roto_quality_override

The roto_quality_override parameter allows you to force the use of a specific roto-quality setting, overriding the one set during the cropping phase. This can be useful if you need to ensure a particular level of detail or quality in the compositing process, regardless of the original settings.

Inpaint Stitch Pro — legacy (C2C) Output Parameters:

IMAGE

The IMAGE output is the final composited image, where the inpainted content has been seamlessly integrated into the original context. This output is the primary result of the node's processing and is intended for further use or final output in your project.

MASK

The MASK output provides the blend mask used during the compositing process. This mask can be useful for understanding how the blending was applied and for making further adjustments if necessary.

STRING

The STRING output contains detailed information about the processing that was performed, including settings and parameters used during the compositing. This can be valuable for debugging or for documenting the specific configuration used in a particular project.

Inpaint Stitch Pro — legacy (C2C) Usage Tips:

  • Ensure that the stitcher input is correctly connected to the output of the InpaintCropProMEC node to avoid compatibility issues.
  • Experiment with different blend_mode_override settings to achieve the best visual results for your specific project.
  • Use the color_match option to maintain color consistency between the inpainted content and the surrounding area, especially in projects where color accuracy is critical.
  • Adjust the stitch_temporal_sigma and stitch_dilate_px parameters to optimize the blending for video applications, ensuring smooth transitions across frames.

Inpaint Stitch Pro — legacy (C2C) Common Errors and Solutions:

" Inpaint Stitch Pro — legacy (C2C): 'stitcher' input is missing or invalid"

  • Explanation: This error occurs when the stitcher input is not properly connected or is not a valid dictionary.
  • Solution: Ensure that the stitcher input is connected to the output of the InpaintCropProMEC node and that it contains the necessary data for compositing.

"Device not supported for blending"

  • Explanation: This error may arise if the specified device mode is not compatible with the current hardware setup.
  • Solution: Check the device mode setting in the stitcher input and ensure it matches the capabilities of your hardware, such as switching from GPU to CPU if necessary.

Inpaint Stitch Pro — legacy (C2C) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CustomNodePacks
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Inpaint Stitch Pro — legacy (C2C)