upscale_image
Upscale an image using ESRGAN super-resolution models on your local GPU. Upload the source image, set the scale factor (2 or 4), and get the upscaled result.
Instructions
Upscale an image with an ESRGAN super-resolution model — the high-level entry point. Builds an UpscaleModelLoader → ImageUpscaleWithModel workflow (scale=2 supersamples the 4x result back down for sharper output) and enqueues it on your LOCAL GPU. Upload the source first with upload_image (or stage a prior output with stage_output_as_input), then pass its filename. Needs an upscale model in models/upscale_models/ (e.g. 4x-ClearRealityV1 / 4x_foolhardy_Remacri, provided by the anima/ernie packs or download_model); returns an actionable error if none is found. Returns prompt_id immediately; the upscaled asset_id arrives in the completion notification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Filename of the source image in ComfyUI's input dir (upload it first with upload_image) | |
| model | No | Upscale model file in models/upscale_models/; auto-selected from local models if omitted | |
| scale | No | Net upscale factor: 2 or 4 (default 4) |