APISR | Anime Image/Video Upscaler
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
ComfyUI model file · Upscale model (ESRGAN family)
Real-ESRGAN x4plus Anime 6B · 4× anime upscaler for ComfyUI
This is RealESRGAN_x4plus_anime_6B, Real-ESRGAN’s official 4× upscaler for anime and illustration, under the filename Civitai gives it. Put it in ComfyUI/models/upscale_models and load it with the built-in Load Upscale Model node. No custom nodes needed.
GitHub saves the file as RealESRGAN_x4plus_anime_6B.pth. It is byte-for-byte the same file, so either name works in ComfyUI.
realesrganX4plusAnime_v1.pt
The short version
realesrganX4plusAnime_v1.pt is not a separate model. It is the RealESRGAN_x4plus_anime_6B checkpoint that Xintao Wang and the Real-ESRGAN team released on GitHub in August 2021, re-uploaded to Civitai, which renamed it on download. We hashed both files: same SHA256, same 17,938,799 bytes.
The model takes an image and returns one four times wider and taller. It is tuned for anime, manga and flat-color illustration: it keeps line art crisp and cleans up JPEG blocks and banding instead of inventing photo-style texture. That makes it a poor pick for real photos and a strong default for anime frames, character sheets and stylized renders.
It uses 6 RRDB blocks instead of the 23 in the general RealESRGAN_x4plus model, so it is about a quarter of the size (17.9 MB vs 67.0 MB) and needs far less compute per frame, which adds up on long video sequences.
Install
Official release. Recommended.
saves as RealESRGAN_x4plus_anime_6B.pth
Re-upload of the same weights. May ask you to sign in.
saves as realesrganX4plusAnime_v1.pt
ComfyUI/ └─ models/ ├─ … └─ upscale_models/ └─ realesrganX4plusAnime_v1.pt
$ cd ComfyUI/models/upscale_models$ wget -O realesrganX4plusAnime_v1.pt \$ https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth$ sha256sum realesrganX4plusAnime_v1.pt# f872d837d3c90ed2e05227bed711af5671a6fd1c9f7d7e91c911a61f155e99da
pt files are Python pickles and can run code when loaded, so check the SHA256 before you use a copy from anywhere other than the official source.
Use
Two built-in nodes. Load Upscale Model reads the file, and Upscale Image (using Model) applies it to any image or video frames you feed in.
model_namerealesrganX4plusAnime_v1.pt
UpscaleModelLoader
IMAGE
images●
Want 2× instead of 4×?
Add Upscale Image By with scale_by 0.5 after the model upscale.
Upscaling video
Connect the frames from your video loader. Every frame in the batch is upscaled.
Large images
ComfyUI tiles automatically and retries with smaller tiles if VRAM runs out.
Run it
We match workflows by the model files they load: this exact file first, then other versions of it, then workflows built for the same use, then other models from the same family.
8 workflows
These workflows load another anime model in the same folder, or they are anime workflows that already have a Load Upscale Model node. Select realesrganX4plusAnime_v1.pt there.
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
2x_APISR_RRDB_GAN_generator.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
4x-AnimeSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
RealESRGAN_x2.pth
Replace with realesrganX4plusAnime_v1.pt
Load Upscale Model
4x-UltraSharp.pth
Replace with realesrganX4plusAnime_v1.pt
Compare
| File | Relation | Size | Best for |
|---|---|---|---|
| realesrganX4plusAnime_v1.pt | This page · Civitai filename | 17.9 MB | Anime and illustration, 4× |
| RealESRGAN_x4plus_anime_6B.pth | Identical bytes · official GitHub filename | 17.9 MB | Same file. Keep whichever name your workflow expects |
| RealESRGAN_x4plus.pth | Same authors · general-purpose model | 67.0 MB | Real photos and mixed content |
| 4x-AnimeSharp.pth | Alternative · community anime model | 67.0 MB | Sharper edges on anime, heavier to run |
| 4x-UltraSharp.pth | Alternative · community general model | 67.0 MB | Detailed renders and photos, the common SDXL default |
Troubleshoot
Why: The workflow asks for this exact filename, but ComfyUI cannot find it in models/upscale_models. Usually the file is missing, sits in the wrong folder, or was saved under its GitHub name.
Fix: Move the file into ComfyUI/models/upscale_models/, rename it to match the workflow (or pick it again in the dropdown), then press R in ComfyUI to refresh the model lists.
Why: It is not a checkpoint. Upscale models are only listed by Load Upscale Model.
Fix: Add a Load Upscale Model node and connect it to Upscale Image (using Model).
Why: The download is incomplete, or you saved an HTML login page instead of the file (common with mirror sites).
Fix: Check that the file is exactly 17,938,799 bytes and that its SHA256 matches the value above. Re-download from GitHub if not.
Why: ComfyUI already tiles the image and retries with smaller tiles, but very large inputs or long video batches can still run out of memory.
Fix: Downscale the input before upscaling, process video in shorter batches, or run the workflow on a larger cloud GPU.
Rather skip the setup?
Run APISR in your browser on a cloud GPU. Nothing to download.
FAQ
f872d837d3c90ed2e05227bed711af5671a6fd1c9f7d7e91c911a61f155e99da and are 17,938,799 bytes. Civitai renamed the official GitHub release on download. Keep one copy and use whichever name your workflow references.ComfyUI/models/upscale_models/. Then press R in ComfyUI (or restart it) so the Load Upscale Model dropdown lists the file.weights_only=True, which means it contains tensors only.scale_by 0.5 after Upscale Image (using Model). This usually looks cleaner than a plain 2× resize.Sources: Real-ESRGAN on GitHub · Real-ESRGAN paper (arXiv 2107.10833) · OpenModelDB entry · Civitai model 147821
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.