ComfyUI  >  Nodes  >  ComfyUI_Fill-Nodes >  FL Inpaint Stitch

ComfyUI Node: FL Inpaint Stitch

Class Name

FL_Inpaint_Stitch

Category
🏵️Fill Nodes
Author
filliptm (Account age: 1737 days)
Extension
ComfyUI_Fill-Nodes
Latest Updated
6/23/2024
Github Stars
0.1K

How to Install ComfyUI_Fill-Nodes

Install this extension via the ComfyUI Manager by searching for  ComfyUI_Fill-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Fill-Nodes 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

FL Inpaint Stitch Description

Seamlessly integrate inpainted sections back into original image while preserving surrounding areas' integrity.

FL Inpaint Stitch:

FL_Inpaint_Stitch is a node designed to seamlessly integrate inpainted sections back into the original image without altering the unmasked areas. This node is particularly useful for AI artists who need to repair or modify specific parts of an image while preserving the integrity of the surrounding regions. By leveraging advanced stitching techniques, FL_Inpaint_Stitch ensures that the inpainted areas blend naturally with the original image, maintaining a cohesive and visually appealing result. This node is part of the ComfyUI-InpaintCropAndStitch suite, which provides a comprehensive set of tools for image inpainting and manipulation.

FL Inpaint Stitch Input Parameters:

stitch

The stitch parameter is a dictionary containing essential information about the original image and the inpainting process. It includes the original image, the cropped mask, and the coordinates (x, y) where the inpainted image should be placed. Additionally, it contains rescale factors (rescale_x and rescale_y) that indicate if the inpainted image needs to be resized before stitching. This parameter is crucial for ensuring that the inpainted section is accurately positioned and scaled to match the original image.

inpainted_image

The inpainted_image parameter is the image that has been processed and modified through inpainting. This image will be stitched back into the original image at the specified coordinates. The quality and resolution of the inpainted image directly impact the final result, making it important to use a high-quality inpainted image for the best outcomes.

FL Inpaint Stitch Output Parameters:

image

The image output parameter is the final stitched image, where the inpainted section has been seamlessly integrated into the original image. This output maintains the original image's integrity while incorporating the modifications made through inpainting. The result is a cohesive image that appears natural and unaltered in the unmasked areas.

FL Inpaint Stitch Usage Tips:

  • Ensure that the stitch parameter contains accurate coordinates and rescale factors to achieve precise positioning and scaling of the inpainted image.
  • Use high-resolution inpainted images to maintain the quality and visual appeal of the final stitched image.
  • Experiment with different inpainting techniques and settings to achieve the best results for your specific use case.

FL Inpaint Stitch Common Errors and Solutions:

"context_mask size must match image size"

  • Explanation: This error occurs when the optional context mask's dimensions do not match the dimensions of the original image.
  • Solution: Ensure that the context mask has the same width and height as the original image before passing it to the node.

"Invalid rescale factors"

  • Explanation: This error occurs when the rescale factors (rescale_x and rescale_y) are not within the acceptable range.
  • Solution: Verify that the rescale factors are correctly calculated and fall within the range of 0.999 to 1.001 for accurate scaling.

"Inpainted image dimensions mismatch"

  • Explanation: This error occurs when the dimensions of the inpainted image do not match the expected dimensions based on the stitch parameter.
  • Solution: Ensure that the inpainted image is correctly resized according to the rescale factors provided in the stitch parameter before stitching.

FL Inpaint Stitch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Fill-Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.