# Downloading Real Esrgan Upscalers

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flush-ai.gitbook.io/automatic-1111-sdk/integrations/downloading-real-esrgan-upscalers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
