Acly / comfyui-inpaint-nodes

Nodes for better inpainting with ComfyUI: Fooocus inpaint model for SDXL, LaMa, MAT, and various other tools for pre-filling inpaint & outpaint areas.
GNU General Public License v3.0
490 stars 35 forks source link

Why doesn't this node work with a mask input that isnt from the Load image node? #61

Open xThIsIsBoToXx opened 3 weeks ago

xThIsIsBoToXx commented 3 weeks ago

As stated above, why doesn't it work with a mask I generated with RemBG for example? I attached my workflow below Screenshot 2024-06-25 132107 TestBG.json

Acly commented 3 weeks ago

It should work with masks from any source. Is it possible the mask isn't perfectly white (eg. 0.98 instead of 1.0)?

xThIsIsBoToXx commented 1 week ago

Seems like that fixed it by the way, still seems impossible to actually remove stuff. It always generates something in for me unfortunately. I have seen people adjusting their prompt for the background but it doesnt seem to work super well for me.