ComfyUI > Nodes > kaytool > 𝙆 BiRefNet Loader

ComfyUI Node: 𝙆 BiRefNet Loader

Class Name

Kay_BiRefNet_Loader

Category
KayTool/Remove BG
Author
kk8bit (Account age: 1010days)
Extension
kaytool
Latest Updated
2026-04-06
Github Stars
0.34K

How to Install kaytool

Install this extension via the ComfyUI Manager by searching for kaytool
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter kaytool 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

𝙆 BiRefNet Loader Description

Facilitates BiRefNet model loading for efficient background removal in images.

𝙆 BiRefNet Loader:

The Kay_BiRefNet_Loader node is designed to facilitate the loading and execution of the BiRefNet model, which is a specialized neural network aimed at background removal tasks. This node is part of the KayTool suite and is particularly useful for AI artists who need to isolate subjects from their backgrounds in images. By leveraging the BiRefNet model, this node provides a streamlined process for removing backgrounds, allowing for cleaner and more focused image compositions. The node supports different versions of the BiRefNet model, including high-resolution and portrait-specific variants, ensuring flexibility and adaptability to various artistic needs. Its integration into the ComfyUI environment makes it accessible and easy to use, even for those without a deep technical background, by abstracting the complexities of model loading and execution.

𝙆 BiRefNet Loader Input Parameters:

model

The model parameter specifies which version of the BiRefNet model to use. It offers three options: "BiRefNet", "BiRefNet_HR", and "BiRefNet-portrait". Each option corresponds to a different model variant, tailored for general use, high-resolution images, and portrait images, respectively. Selecting the appropriate model can significantly impact the quality of the background removal, as each is optimized for specific types of images. There are no minimum or maximum values, as this parameter is categorical, and the default value is typically set to "BiRefNet".

providers

The providers parameter determines the computational backend used for executing the model. It includes options such as "auto", "cpu", "cuda", and "mps". The "auto" option allows the node to automatically select the most suitable provider based on the available hardware, while "cpu" forces the use of the central processing unit, "cuda" utilizes NVIDIA GPUs, and "mps" is for Apple's Metal Performance Shaders. The choice of provider can affect the execution speed and efficiency, with GPU options generally providing faster processing times. There are no minimum or maximum values, as this parameter is also categorical, and the default is "auto".

𝙆 BiRefNet Loader Output Parameters:

REMOVE_BG

The REMOVE_BG output parameter represents the result of the background removal process. This output is a processed image where the background has been effectively removed, leaving only the subject of interest. The quality and accuracy of the background removal depend on the chosen model and the input image characteristics. This output is crucial for artists looking to create compositions with isolated subjects, as it provides a clean and ready-to-use image without the need for manual background editing.

𝙆 BiRefNet Loader Usage Tips:

  • To achieve the best results, choose the model variant that best matches your image type. For instance, use "BiRefNet-portrait" for images focusing on human faces or upper bodies.
  • If you have access to a compatible GPU, set the providers parameter to "cuda" to significantly speed up the processing time compared to using the CPU.

𝙆 BiRefNet Loader Common Errors and Solutions:

Model not found

  • Explanation: This error occurs when the specified model is not available in the expected directory.
  • Solution: Ensure that the model files are correctly placed in the models/BiRefNet directory and that the model name is correctly specified in the input parameters.

Unsupported provider

  • Explanation: This error arises when the selected provider is not supported by the current hardware configuration.
  • Solution: Verify your hardware capabilities and select a compatible provider. If unsure, use the "auto" option to let the node choose the best available provider.

𝙆 BiRefNet Loader Related Nodes

Go back to the extension to check out more related nodes.
kaytool
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.