R
RunPod•4mo ago
StanRezen

SD Img2Img API does not work with Mask

Hey, guys I am using ashleykleynhans/runpod-worker-a1111. I've tried passing images, PIL objects, links to images, Base64 - error is the same for all - AttributeError "str" has no ".convert"... I was wondering if there is any workaround to pass mask to the img2img API?
6 Replies
StanRezen
StanRezen•4mo ago
Btw I know this is the issue SD webui, not the runpod-worker-a1111
ashleyk
ashleyk•4mo ago
Please log bugs for A1111 on the A1111 Github repo, this has nothing to do with either my worker, or RunPod.
ashleyk
ashleyk•4mo ago
GitHub
[Bug]: API Error: /sdapi/v1/img2img returns error as 'str' object ...
Is there an existing issue for this? I have searched the existing issues and checked the recent builds/commits What happened? I followed the steps to run img2img through swagger AP, but face this i...
StanRezen
StanRezen•4mo ago
@ashleyk gotcha, logged. It turns out, that if host SD locally and make API request - everything works fine, but when host API SD somewhere, then this error occurs. Ashley, I was wondering maybe you know any workarounds to make it work? anything.... In any case, thank you for support and great worker 🙂
ashleyk
ashleyk•4mo ago
I don't use masks, add to the Github.
StanRezen
StanRezen•4mo ago
okay