Skip to content

Upscaling

Ben Rugg edited this page Apr 14, 2023 · 1 revision

Upscaling

Upscaling means taking a small image (like 512x512 pixels) and enlarging it, while preserving or creating detail.

AI Render can automatically upscale your Stable Diffusion renders using DreamStudio or Automatic1111. It's far faster and less expensive to have Stable Diffusion generate a small image (like 512x512 or 768x768) and then upscale it, than to generate a larger image in the first place.

Upscaling With DreamStudio

If you're using DreamStudio as your Stable Diffusion backend in AI Render, then upscaling will happen by default. You can turn it off by unchecking Upscale Automatically in the Upscale panel of AI Render.

You can scale up to a maximum image size of 2048x2048. (This is a total pixel limit, not a specific limit to width or height, so you could scale to 1024x4096, for example). Control this by setting the Upscale Factor, which is a multiplier to your scene's image size.

The choice of Upscaler Model affects what AI algorithm will be used to handle the upscaling process. At the time of writing this wiki, there is only one option in DreamStudio. More may be added later.

Upscaling with Automatic1111

If you're using Automatic1111 as your Stable Diffusion backend in AI Render, then upscaling will happen by default. You can turn it off by unchecking Upscale Automatically in the Upscale panel of AI Render.

You can scale up to a maximum image size of 4096x4096. Control this by setting the Upscale Factor, which is a multiplier to your scene's image size.

The choice of Upscaler Model affects what AI algorithm will be used to handle the upscaling process. Automatic1111 comes with several upscalers built in, and you can download others.

To install a custom upscaler, download a .pth file from a model list like this one, and put it in your Automatic1111 directory, under models/ESRGAN/. You will then need to restart Automatic1111 and then click Reload Upscaler Models in AI Render.

If you experience an error with upscaling, it's likely to be an error in Automatic1111. If you can't find help in their community, post a bug report in AI Render, and I will see if I can help.

Upscaling with Stable Horde

At the time of writing, Stable Horde does not offer the ability to upscale.

Clone this wiki locally