Upscale Studio is a Windows desktop application for batch image upscaling. It provides a PySide6 GUI and uses the upstream nunif/waifu2x PyTorch backend for the actual ML processing.
- Batch queue for images and folders with drag and drop.
- Preview panel with selected image details.
- Output settings for scale, denoise level, model style, and image format.
- CPU and CUDA device selection.
- Tile size, batch size, and TTA controls.
- Dark and light themes.
- English, Russian, and Ukrainian UI.
- Portable PyInstaller build with bundled resources and backend folders.
- Generated Windows application icon from
resources/icons/UpscaleStudio.png.
- Windows 10 or Windows 11, 64-bit.
- Python 3.10, 3.11, or 3.12. Python 3.12 is recommended.
- Git for Windows.
- Internet connection for first setup.
- CPU mode works without an NVIDIA GPU.
- CUDA mode requires a supported NVIDIA GPU, driver, and PyTorch CUDA wheels.
git clone <repo-url>
cd UpscaleStudio
scripts\build_all_windows.batThe finished application will be created at:
dist\UpscaleStudio\UpscaleStudio.exe
For CUDA setup:
scripts\build_all_windows.bat -CudaIf Python is not installed and winget is available:
scripts\build_all_windows.bat -InstallPythonRun setup once before development or manual builds:
scripts\setup_windows.batSetup creates the GUI virtual environment, prepares the backend virtual environment, clones or updates vendor/nunif, installs dependencies, downloads waifu2x models unless -SkipModels is passed, and verifies that waifu2x.cli can be imported.
Useful setup options:
scripts\setup_windows.bat -Cuda
scripts\setup_windows.bat -SkipModels
scripts\setup_windows.bat -InstallPython
scripts\setup_windows.bat -PythonCommand C:\Path\To\python.exescripts\run_dev.bator directly:
.venv\Scripts\python.exe -m appscripts\build_windows.batThe build script regenerates the app icon, runs PyInstaller, bundles resources, copies the backend when it exists, and verifies that dist/UpscaleStudio/UpscaleStudio.exe was created.
Windows .ico files use 256x256 as the practical maximum icon entry size. The project also generates a separate 512x512 PNG for high-resolution use.
Remove generated files:
scripts\clean.batRemove generated files plus local virtual environments and the downloaded backend:
scripts\clean.bat -AllThe default clean command removes build, dist, release, output, tmp, .cache, Python bytecode, and local logs. It keeps source files, resources, scripts, and vendor/nunif.
Run setup with CUDA support:
scripts\setup_windows.bat -CudaThen choose CUDA in the app Device field. CPU mode passes --gpu -1 to waifu2x. CUDA mode passes --gpu 0.
If CUDA does not work, confirm that the NVIDIA driver is installed and check PyTorch:
.venv-backend\Scripts\python.exe -c "import torch; print(torch.cuda.is_available())"Upscale Studio intentionally keeps nunif/waifu2x as a backend instead of porting the ML code to C++. This preserves compatibility with upstream models and command-line behavior.
Backend lookup order:
WAIFU2X_BACKEND_PYTHONandWAIFU2X_NUNIF_DIRenvironment variables..venv-backendandvendor/nunifduring development.backend/venvandbackend/nunifinside the portable build folder.
Update the backend:
git -C vendor\nunif pull --ff-only
scripts\setup_windows.bat
scripts\build_windows.batUpstream backend:
https://github.com/nagadomi/nunif/tree/master/waifu2x
app/ PySide6 application code
app/backend/ nunif/waifu2x process integration
app/gui/ GUI, themes, and translations
assets/screenshots/ GitHub README screenshots
resources/icons/ App icons and generated ICO/PNG assets
scripts/ Setup, build, run, clean, and icon scripts
vendor/nunif/ Local backend checkout created by setup
build/ Generated PyInstaller work files
dist/ Generated portable application
output/ User output images
Generated folders are ignored by Git and should not be committed.
Python is not found:
scripts\setup_windows.bat -InstallPythonGit is not found:
- Install Git for Windows from https://git-scm.com/download/win.
- Restart the terminal and run setup again.
Backend is not ready:
- Run
scripts\setup_windows.bat. - Check that
.venv-backend/Scripts/python.exeexists. - Check that
vendor/nunif/waifu2x/cli.pyexists. - Use the Refresh button in the app.
Build fails:
- Run
scripts\clean.bat. - Run
scripts\setup_windows.bat. - Run
scripts\build_windows.bat.
- The progress bar tracks completed queue items. Detailed backend progress is shown in the processing log.
- 16-bit output is not exposed in the GUI because upstream requires the
wandimage library. - Video processing options from nunif are not exposed.
- The public repository should not include virtual environments, generated builds, user images, downloaded models, or local logs.
Upscale Studio is released under the MIT License. See LICENSE.
The image upscaling backend is based on nunif/waifu2x by nagadomi:
