ashleykleynhans/runpod-worker-a1111 img2img not working with a mask?
i'm using a modified version of ashleykleynhans/runpod-worker-a1111. the original version has the mask field commented out in the img2img schema file
i modified it so the field is uncommented, but i added changed
required
to True
this is shown in the endpoint logging:
Response: {'error': 'AttributeError', 'detail': '', 'body': '', 'errors': "'str' object has no attribute 'convert'"}
HTTP Status code: 500
(the runpod api returns status 520)
i am sure the request body (init_images, mask, etc) is valid, i have tested passing directly to the auto1111 api when hosted on my local machine and it works with no issues.
found similar issues online, with no solution
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9779
anybody know how to solve this?2 Replies
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9779#issuecomment-1646857573
Yeah, seems like there is no solution
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...
and this is closer to the stable diffusion problem