Upscale Image
upscale_imageUpscale images to 8K, 16K, 4x, or custom resolutions with RealESRGAN, using Vulkan GPU acceleration or multi-threaded CPU fallback.
Instructions
Upscale an image to 8K, 16K, 4x, or custom resolution using UpscaleX. Automatically optimizes between Vulkan GPU acceleration and multi-threaded CPU fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tta | No | Enable Test-Time Augmentation for higher quality at the cost of speed. | |
| model | No | RealESRGAN model ID from catalog (e.g. 'realesrgan-x4plus', 'realesrgan-x4plus-anime', '4x-ultrasharp', '4x-nmkd-superscale'). | realesrgan-x4plus |
| gpu_id | No | Hardware device selection: 'auto' (picks discrete GPU), integer ID ('0', '1'), or 'cpu' for CPU-only multi-threaded processing. | auto |
| target | No | Target resolution preset ('16k', '8k', '4k', '4x', '2x', or 'WIDTHxHEIGHT'). Defaults to '16k' (4x upscale). | 16k |
| tile_size | No | GPU tile size in pixels (default 256, safe for 4GB-8GB VRAM). | |
| image_path | Yes | Absolute or relative path to the source image (PNG, JPG, WEBP). | |
| output_path | No | Optional path for the upscaled output. If omitted, saves next to source. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||