Open monopolly opened 1 year ago
This is related to the sd-webui-rembg extension. It doesn't seem to interact well with the API, always defaulting to remove background. Removing the extension fixes it but of course fixing it would be better.
Sry to bother you ! Could you please tell me what kind of type of "image" ? When I tried to upscale the picture by extra-single-image API but the terminal showed that : Traceback (most recent call last): File "d:\stable-diffusion-webui\forapi\extral-single-image.py", line 52, in for i in r['images']: KeyError: 'images'
The image type as the input str in img2img API is right type...
Is there an existing issue for this?
What happened?
I'm trying to enlarge the picture through the api. But regardless of the configuration api removes the backgroud of the picture.
Request
http://127.0.0.1:7860/sdapi/v1/extra-single-image
I tried adding Remove Background : "None" but no effect. What can you tell me about it?
Steps to reproduce the problem
What should have happened?
The picture should just enlarge. The background should remain untouched.
Commit where the problem happens
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
What platforms do you use to access the UI ?
MacOS
What browsers do you use to access the UI ?
Apple Safari
Command Line Arguments
List of extensions
No
Console logs
Additional information
No response