> For the complete documentation index, see [llms.txt](https://flush-ai.gitbook.io/automatic-1111-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flush-ai.gitbook.io/automatic-1111-sdk/integrations/downloading-real-esrgan-upscalers.md).

# 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&#x20;
* 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.
