Upscale images and videos with a fast and easy to use cross-platform CLI built around proven open-source models.
upscale gives you a simple command surface for common enhancement workflows, whether you are restoring old footage, improving video content, or preparing visuals for higher-resolution displays.
- One CLI toolkit for both image and video upscaling
- Multiple engines for different content styles
- Hardware acceleration for Intel, AMD and Nvidia GPUs
- Advanced Anime4K shader combining to achieve the best results
- Fully offline and self-hosted
- Cross-platform
| Model | Best for | Typical use | Performance |
|---|---|---|---|
realesrgan |
General image enhancement | Photos, scans, digital art | Good1 |
realesrgan-video |
General video upscaling | Mixed live-action and animation | Good1 |
swinir |
High-detail image restoration | Quality-focused still images | Heavy1 |
anime4k-video |
Anime and line art animation | Sharp edges, clean stylized content | Best |
yay -S upscale-git
Download pre-made binaries for Windows, MacOS and Linux from releases.
Requirements:
- Go
- ffmpeg
- realesrgan-ncnn-vulkan
- Python 3.10+
Build:
go build -o upscale .Setup Python and SwinIR environment:
./install.sh
General command shape:
upscale <image|video> -i <input> -o <output> [options]upscale image -i input.jpg -o output.png -a realesrgan -m normal -s 4 -q 3upscale video -i input.mp4 -o output.mp4 -a anime4k-video -s 4 -q 4 -p '{"encoder": "av1"}'-a: Select engine/adapter-s: Upscale factor-q: Quality preset (1low,2medium,3high,4ultra)-m: Content style (normaloranime)-p: JSON for engine-specific tuning-r: Raw progress output (useful for wrappers and scripts)
Run help for all options:
upscale image -h
upscale video -h