john-mnz / ComfyUI-Inspyrenet-Rembg

ComfyUI node for background removal, implementing InSPyreNet the best method up to date
MIT License
312 stars 18 forks source link

How to add background to cutout images #15

Open ss958 opened 2 months ago

ss958 commented 2 months ago

When using Inspyrenet, I need to perform other processing after deducting images. For example, it can be synthesized with a green background, but the nodes in Comfyui do not support it. It seems that this is due to the RGBA 4-channel image. If possible, please add a background color selector that can select to deduct and generate an opaque image with a fixed background color. Thank you.

CaptailTyler commented 3 weeks ago

When using Inspyrenet, I need to perform other processing after deducting images. For example, it can be synthesized with a green background, but the nodes in Comfyui do not support it. It seems that this is due to the RGBA 4-channel image. If possible, please add a background color selector that can select to deduct and generate an opaque image with a fixed background color. Thank you.

Someone has made the node to do just that. Its called "Inspyrenet Rembg Assistant", it can be installed via ComfyUI manager.