Stable Diffusion Upscale
Stable Diffusion upscale is a script in the original Automatic 1111 Web UI that performs upscaling with an upscaler - like Esrgan or RealEsrgan - followed by an image to image to enhance details in the upscaled image. With Auto 1111 SDK, you can perform this in a few lines of code:
Initialize your pipelines. This requires initializing both a Stable Diffusion Pipeline and an upscaler pipeline. The upscaler pipeline can be any one of your choice (Esrgan or RealEsrgan)
Load the initial image
Run the SD Upscale
You're gonna want to use the exact same prompt/negative prompt you used to generate the original image. If you don't have that, then use a prompt like "high quality". For a more comprehensive tutorial on how to use SD upscale, read this article: https://stable-diffusion-art.com/ai-upscaler/.
Parameters
Currently, Auto 1111 SDK supports the following parameters (and the corresponding default values) for Stable Diffusion Upscale:
Last updated