Automatic 1111 SDK
  • Introduction
  • Auto 1111 SDK vs Huggingface Diffusers
  • Integrations
    • Downloading Real Esrgan Upscalers
    • Civit AI
  • Pipelines
    • Passing in custom arguments
    • Stable Diffusion XL
    • Text-to-Image
    • Image-to-Image
    • Inpainting
    • Outpainting
    • Upscaler Pipelines
    • Stable Diffusion Upscale
    • Setting a custom VAE
    • ControlNet
Powered by GitBook
On this page
  1. Integrations

Downloading Real Esrgan Upscalers

This page will tell you how you can download realesrgan models to use with our RealEsrgran pipeline

You can use any of the 6 compatible RealEsrgran models/weights with our RealEsrgran pipeline for upscaling images. Here are the model ids:

  • R-ESRGAN General 4xV3

  • R-ESRGAN General WDN 4xV3

  • R-ESRGAN AnimeVideo

  • R-ESRGAN 4x+ Anime 6B

  • R-ESRGAN 4x+

  • R-ESRGAN 2x+

To download the .pth weights files corresponding to each model id, you can use our downloader like such:

from auto1111sdk import download_realesrgan

download_realesrgan("<MODEL ID>", "<LOCAL PATH TO FILE HERE>")

For example:

download_realesrgan("R-ESRGAN 4x+", "upscaler.pth")

The local file you save it to must be a .pth file. After this, you can simply input this path ("upscaler.pth") into our upscaler pipelines and use it for inference.

PreviousAuto 1111 SDK vs Huggingface DiffusersNextCivit AI

Last updated 1 year ago