Genie
RRunPod
•Created by Genie on 2/13/2024 in #⚡|serverless
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?3 replies