High-Quality Upscaling Made Easy in Stable Diffusion

Updated
High-Quality Upscaling Made Easy in Stable Diffusion
When using the extras tab in A1111 for upscaling, the results are acceptable but far from ideal. The image quality falls short of greatness. However, fear not! We have a solution that will significantly enhance the quality.

1. Introduction

In today's digital world, image quality holds great importance for both personal and professional use. We encounter various types of images regularly, such as photos or digital art. However, not all images meet our expectations, and some may be blurry or low in resolution. This is where upscaling comes into play. By employing advanced algorithms and techniques, upscaling algorithms can analyze the existing image data and intelligently generate additional pixels to enhance the visual details. It proves particularly useful for small or low-quality images that we want to enlarge without compromising their quality.

2. Install Ultimate Upscale Extension

To achieve high-quality upscaling, we'll employ a powerful Automatic1111 extension called Ultimate Upscale. This extension divides your image into 512x512 tiles, applies the settings to each tile, and ultimately combines them to produce a vastly improved output. So lets install the Ultimate Upscale Extension.

  • Copy this link: https://github.com/Coyote-A/ultimate-upscale-for-automatic1111

  • Open Automatic1111 and navigate to the extensions tab.

  • Choose "Install from URL" and paste the web address provided above. Ultimage_guide-upscaling-images-stablediffusion-nextdiffusion.png

  • Click the "Install" button and wait a few seconds for the installation to complete.

  • After installation, go to the "Installed" section, click on "Check for updates" and then "Apply and restart UI."

After restarting the web UI, you can go to the img2img tab and scroll down to 'Script' expansion panel. If installed correctly you will see the Ultimate SD Upscale script.

script_ultimate_sd_upscale_extenstion_script_next_diffusion.png

Stable Diffusion in the Cloud⚡️Run Automatic1111 in your browser in under 90 seconds
20% bonus on first deposit

3. Install 4x Ultra Sharp Upscaler for Stable Diffusion

Next we will download the 4x Ultra Sharp Upscaler for the optimal results and the best quality of images.

  • In the Automatic1111 model database, scroll down to find the "4x-UltraSharp" link. Click on it, and it will take you to Mega Upload.
  • Right-click on the .pth file, select "Download standard download," and save it in the Automatic1111 folder (models > ESRGAN) on your computer. file_path_4x_ulta_sharp_upscaler.png

After you have done this, close down Automatic1111 and start it again. After succesfully installing the 4x Ultra Sharp Upscaler, you should see it: 4x_ulta_sharp_succesfully_installed.png

4. Ultra Sharp Upscaler Settings

To achieve the best results, we need to fine-tune a few settings in Automatic 1111.

  • Open Automatic 1111 and navigate to the "Image to Image" tab.
  • Scroll down to the "Script" section and select "Ultimate SD Upscale."
  • Here, you'll find additional options to customize your upscaling process.
  • Load an Image into the "Image to Image" tab.
  • When upscaling, make sure to use the same model you used for rendering the image initially.
  • Remove any specific image-related information from the positive prompt field (or leave it blank).
  • You can keep the negative prompt as it is (or leave it blank).
  • Consider adjusting the denoise strength between 0.2 and 0.4 for optimal results. Higher values can provide more details but may alter the image.
  • Turn Restore faces off.
  • Select "Ultimate SD Upscale" from the Script dropdown.
  • Set Target size type to “Scale from image size”.
  • Choose the 4x-UltraSharp Upscaler. Settings_Upscaling.PNG
  • Click on the "Generate" button, and the upscaling process will begin. Enjoy the remarkable improvement in image quality!
Stable Diffusion in the Cloud⚡️Run Automatic1111 in your browser in under 90 seconds

5. Conclusion

In conclusion, upscaling has become an essential process for improving image quality in the digital realm. The Ultimate Upscale extension in Stable Diffusion stands out as a powerful tool that employs intelligent algorithms to divide images into smaller tiles, apply enhancements, and seamlessly merge them into a vastly improved final result. By leveraging upscaling technologies like Ultimate Upscale, we can ensure that our images retain their visual fidelity, revealing the fine details and nuances that might otherwise be lost in low-resolution or pixelated images.

character creation tool card

AI Image Generation Tool

Create Your AI Images in Seconds!

News & Updates