Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 751 Bytes

File metadata and controls

11 lines (7 loc) · 751 Bytes

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.

RGBA images, including Qwen Image 2.1 output, keep their alpha channel during model upscaling and hires fix. ESRGAN processes the RGB channels; the alpha channel is resized with bilinear interpolation and recombined with the upscaled image.

  • 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