ComfyUI Node
🔥BiRefNet_onnx
A ComfyUI node in 🔥BiRefNet with 7 inputs and 2 outputs.
🔥BiRefNet_onnx
- image
- image
- mask
â—„devicecpuâ–º
â—„model_namebirefnet-generalâ–º
â—„cutout_funcputalphaâ–º
â—„alpha_matting_foreground_threshold240â–º
â—„alpha_matting_background_threshold10â–º
â—„alpha_matting_erode_size10â–º
Category🔥BiRefNet
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| device | COMBO | cpu | 2 options: cpu, cuda |
| model_name | COMBO | birefnet-general | 7 options: birefnet-general, birefnet-general-lite, birefnet-portrait, birefnet-cod, birefnet-dis, birefnet-hrsod, +1 |
| cutout_func | COMBO | putalpha | 3 options: putalpha, naive, alpha_matting |
| alpha_matting_foreground_threshold | INT | 240 | — |
| alpha_matting_background_threshold | INT | 10 | — |
| alpha_matting_erode_size | INT | 10 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |