BrushNet
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
These are custom nodes for ComfyUI native implementation of BrushNet, PowerPaint and RAUNet models
Available Nodes
BrushNet
BrushNet Node Documentation
Overview
The BrushNet node is a part of the ComfyUI-BrushNet integration, which implements the BrushNet, PowerPaint, and RAUNet model architectures natively within the ComfyUI framework. The node allows users to perform advanced image inpainting tasks by utilizing the BrushNet model.
Functionality
What Does the BrushNet Node Do?
The BrushNet node performs image inpainting, which is the process of reconstructing lost or deteriorated parts of an image. It employs a dual-branch diffusion approach that allows for sophisticated image repair and reconstruction by working seamlessly with masks that define the area of inpainting. The underlying model is highly adaptable and integrates well with various diffusion-based architectures, making it an essential tool for image restoration and creative image editing.
Inputs
The BrushNet node requires the following inputs:
- Image Input: The input image that needs inpainting. It can be any image with missing or damaged areas.
- Positive Conditioning: Influences the generated output by specifying features or attributes that the model should emphasize.
- Negative Conditioning: Specifies elements that the model should minimize or avoid when generating the output.
- Start and End Steps: These parameters define the range of the inpainting process, indicating when the inpainting should start and stop.
- Scale: Adjusts the strength of the BrushNet's influence on the inpainting process.
Outputs
The primary output of the BrushNet node is:
- Inpainted Image: The reconstructed image where the missing or deteriorated areas have been filled in according to the specified conditions and scale.
Usage in ComfyUI Workflows
The BrushNet node can be integrated into ComfyUI workflows in various ways, such as:
- Image Restoration: Repair old or damaged photographs by reconstructing missing parts.
- Creative Editing: Modify or enhance portions of an image creatively.
- Content Masking: Use with masks to focus on specific areas of correction or transformation.
Below are some example workflows based on the BrushNet node:
- Basic Inpainting Workflow: Utilize simple input conditions to perform basic image repair on predefined masks.
- Advanced Conditioning with SDXL: Leverage the node's compatibility with SDXL for high-quality inpainting operations.
- Integration with Other Nodes: Combine with nodes like LoRA and IPAdapter for more complex and nuanced image processing tasks.
Special Features and Considerations
Special Features:
- Dual-Branch Diffusion Approach: Ensures high-quality image reconstruction through a sophisticated diffusion methodology.
- Seamless Integration: Works smoothly with other image processing nodes and technologies.
- Flexible Input Conditioning: Allows detailed manipulation of the inpainting outcome via positive and negative prompts.
Considerations:
- Model Dependencies: Ensure that all necessary models are correctly installed, as specified in the installation instructions.
- Resource Intensity: The node requires significant computational resources; users may need to adjust settings or invoke memory-saving options on devices with limited VRAM.
- Compatibility: Not all workflows or nodes within ComfyUI may work with BrushNet due to its unique handling of diffusion operations.
Users should explore and understand how the BrushNet node interacts in various workflows and adapt configurations to suit their specific inpainting needs.