Upscale image
upscale_imageEnlarge an image 2x by default or set width/height up to 8192 px. Saves a new file and never overwrites the input.
Instructions
Enlarge an image (default 2x, or to a width/height up to 8192 px). Runs the upscaler model chosen in Kokon (Superscale-SP by default; seconds on a PC GPU, longer on a Mac; adds no new content). Saves a new file; the input is never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Enlargement factor, e.g. 2 (default 2 when no width/height is given) | |
| width | No | Target width in pixels; height follows the aspect ratio unless also given | |
| height | No | Target height in pixels; width follows the aspect ratio unless also given | |
| image_path | Yes | Image to upscale (absolute, or relative to the project) | |
| output_path | No | Optional destination (absolute, or relative to the project). Must be inside the project or the app output folder. Existing files are never overwritten; a numbered name is used instead. | |
| include_preview | No | Also return a small JPEG preview in the tool result. Default false: images stay local and are not sent to the model. |