esrgan.md

January 19, 2026 · View on GitHub

Using ESRGAN to upscale results

You can use ESRGAN—such as the model RealESRGAN_x4plus_anime_6B.pth—to upscale the generated images and improve their overall resolution and clarity.

  • Specify the model path using the --upscale-model PATH parameter. example:
sd-cli -m ../models/v1-5-pruned-emaonly.safetensors -p "a lovely cat" --upscale-model ../models/RealESRGAN_x4plus_anime_6B.pth