← See All Custom Node Packs

BrushNet

944
By nullquant
Updated about 1 year ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

These are custom nodes for ComfyUI native implementation of BrushNet, PowerPaint and RAUNet models

BlendInpaint

BlendInpaint Node Documentation

Overview

The BlendInpaint node is a custom node designed for use with ComfyUI as part of the ComfyUI-BrushNet package. This node is tailored for blending an inpainted image with the original image to achieve seamless and coherent results, addressing common issues that may arise during the inpainting process.

Functionality

The BlendInpaint node serves a critical role in the image inpainting workflow by combining the original image with its inpainted version. This blending process helps mitigate artifacts and discrepancies that may occur due to inpainting, such as blurred or broken text or image elements, ensuring the final output is smooth and visually appealing.

Inputs

The BlendInpaint node accepts the following inputs:

  • Inpainted Image: The image that has undergone the inpainting process and may contain areas that need blending with the original image.
  • Original Image: The image before any inpainting alterations are made.

Optional settings or parameters, if any, might be specified to control the blending intensity or region, although such specifics are not detailed in the base documentation provided.

Outputs

The node produces the following output:

  • Blended Image: The result of merging the inpainted image with the original image. The output aims to preserve the integrity and coherence of the original content while incorporating the necessary modifications made by the inpainting process.

Usage in ComfyUI Workflows

The BlendInpaint node is used within ComfyUI workflows where image inpainting is required, particularly when the initial inpainting results in visual artifacts or unwanted distortions. It typically follows the inpainting step and precedes any additional post-processing that may be applied to enhance the image further.

In practice, this node is beneficial in situations where:

  • Text or fine details in the image are distorted after inpainting and require blending to restore clarity.
  • The transition edges between the inpainted and original regions are too harsh or noticeable, necessitating smoothing for a seamless appearance.
  • The overall image coherence is compromised, and the user seeks to improve the final visual quality.

Special Features and Considerations

  • Blending Optimization: The node is specifically designed to handle blending tasks efficiently, addressing common issues such as edge artifacts and inconsistent textures inherent in inpainting processes.

  • Compatibility: The node is part of the broader ComfyUI-BrushNet ecosystem and can be used in conjunction with other nodes like BrushNet and PowerPaint for advanced inpainting workflows. However, care should be taken in choosing compatible nodes to avoid conflicts, as some nodes may not work seamlessly with BrushNet due to its structural intricacies.

  • Limitations: The node, like the broader BrushNet, may exhibit limitations in handling unusual shapes or textures within the mask. Additionally, the effectiveness of the BlendInpaint node is heavily influenced by the quality of the images and the chosen base model.

The BlendInpaint node thus serves as an essential component for users seeking high-quality, professional-grade inpainting results within the ComfyUI framework, providing enhanced control over the final image output.