stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Feature Request]: Automatically switch to/from inpainting model if present
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
For models that have a corresponding "-inpainting
" model, the "Inpaint" tab would automatically switch to that model to do its rendering. The model would then be automatically switched back to the normal, non-inpainting model if any other tasks (txt2img, img2img, etc.) are performed.
Additionally, the "-inpainting
" models (that have corresponding non-inpainting models) would be hidden from the model dropdown.
This behavior would be toggleable via Settings, since I'm sure some people would prefer to keep things the way they are.
Proposed workflow
- Choose a model that has a corresponding "
-inpainting
" model. - Use the "Inpaint" tab to generate an image. The WebUI automatically loads the "
-inpainting
" version of the model before generation. - Use another tab (e.g. "txt2img") to generate an image. The WebUI automatically loads the non-inpainting version of the model before generation.
Additional information
No response
This would be really convenient to have.