#SD Img2Img API does not work with Mask

6 messages · Page 1 of 1 (latest)

stark scarab
#

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?

#

Btw I know this is the issue SD webui, not the runpod-worker-a1111

mellow glade
#

Please log bugs for A1111 on the A1111 Github repo, this has nothing to do with either my worker, or RunPod.

stark scarab
#

@mellow glade 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 🙂

mellow glade
#

I don't use masks, add to the Github.