
Upscales an Image with a Real-ESRGAN GAN generator (a photo or anime checkpoint chosen by model) and emits a super-resolved Image at outscale. Tuned for noisy or blurry input; tile_size bounds VRAM.
Restore and enlarge a compressed photo from disk.
Low-resolution restoration before OCR.
model fixes the backbone and native scale; the filename must be one of the known checkpoints or loading fails at startup before any inference.outscale is the final factor relative to the input — the network runs at its native scale and the result is resampled to outscale, so an x4 checkpoint with outscale 2 yields a 2x output.max_input_side caps the longest input side before inference to bound VRAM, and tile_size (with tile_pad) tiles large frames; both trade a little quality for memory headroom. half enables 16-bit inference on CUDA.min_width and min_height gate the skip jointly — upscaling is skipped only when every non-zero floor is met — while max_width and max_height clamp the output size.device is effectively required for live use; half lowers VRAM and speeds CUDA inference.model; it loads from the staged artifact at startup with no runtime download.Automated release