← 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

RAUNet

RAUNet Node Documentation

Overview

RAUNet is a custom node designed for ComfyUI, focusing on enhancing the image inpainting process. This node is part of the ComfyUI-BrushNet extension, which integrates several image processing models into the ComfyUI framework. RAUNet in particular aims to optimize image processing by managing how downsampling, upsampling, and cross-attention operations are applied during image manipulation workflows.

Purpose

The RAUNet node is applied in image processing tasks, specifically targeting the steps involved in downsampling/upsampling and cross-attention resizing during image inpainting processes. By controlling these processes, RAUNet helps to improve the quality and efficiency of image inpainting, which is vital for achieving high-quality results in various visual tasks.

Input Parameters

RAUNet allows the user to specify several parameters that control when certain operations are applied during the inpainting process:

  • du_start: Specifies the step at which the Downsample/Upsample resize operation begins. The default value is 0.

  • du_end: Specifies the step at which the Downsample/Upsample resize operation ends. The default value is 4.

  • xa_start: Indicates the step at which the CrossAttention resize operation starts. The default value is 4.

  • xa_end: Indicates the step at which the CrossAttention resize operation stops. The default value is 10.

These inputs allow users to fine-tune when the resizing processes are applicable during the operation cycle, thus granting more control over the image generation process.

Outputs

The RAUNet node contributes to the image generation process but does not directly produce visible outputs to the user. Instead, it modifies the internal processing of images, in conjunction with other nodes, to optimize inpainting results.

Usage in ComfyUI Workflows

In a typical ComfyUI workflow, the RAUNet node can be incorporated to enhance the performance of image inpainting tasks by applying strategic downsampling/upsampling and cross-attention operations at user-defined stages. Here is how RAUNet might be used:

  1. Strategic Resizing: By setting du_start and du_end, users can determine the phases of the workflow where resizing operations are most beneficial, perhaps to reduce computational load initially and progressively refine the image.

  2. CrossAttention Calibration: Parameters xa_start and xa_end allow for precise control over the attention mechanisms employed in the workflow, ensuring that cross-attention is applied at critical stages for enhanced image coherence.

  3. Integration with Other Nodes: RAUNet is designed to be compatible with other nodes in the ComfyUI-BrushNet setup. This cohesiveness enables users to construct complex workflows with consistent, high-quality outputs.

Special Features and Considerations

  • Compatibility: While RAUNet is optimized for use with the ComfyUI-BrushNet integration, users should be mindful of compatibility with other custom nodes due to the varying methods of processing they may involve.

  • Dynamic Control: The flexibility in setting operational steps gives users dynamic control over the inpainting process, allowing for experimentation with different inpainting strategies and refinement methods for desired results.

  • Documentation and Resources: For in-depth understanding and examples, users are encouraged to refer to the specific documentation provided on the RAUNet GitHub page, which can provide additional insights into achieving optimal results with RAUNet.

With these capabilities, RAUNet serves as a powerful tool for users looking to enhance their image inpainting workflows within the ComfyUI environment, allowing for refined control over the image generation process.