see this bug https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/10884 solved by removing auto-sd-paint-extension.