djbielejeski / a-person-mask-generator

Extension for Automatic1111 and ComfyUI to automatically create masks for Background/Hair/Body/Face/Clothes in Img2Img
MIT License
247 stars 30 forks source link

Is there a way to extract the mask with an API call? #22

Open simohr opened 6 months ago

simohr commented 6 months ago

Not a bug, rather a question/feature request. Like the title says I have been trying to find a way to get the mask only via API call. Is there a way to do this?

monstari commented 5 months ago

Same, I'd like to use it as negative mask.

mattc95 commented 5 months ago

Yes, but you may need to write an api.py file and put it in the extension folder.