Upscale Image
upscale_imageEnlarge images 2x or 4x with Real-ESRGAN to add sharpness for prints and wallpapers, returning a preview plus the full-resolution PNG URL and ID.
Instructions
Enlarge an image 2x or 4x with an upscaling model (Real-ESRGAN)
Adds sharpness rather than new content; use it for prints and wallpapers. Takes a few seconds. Returns a preview plus the URL and id of the full-resolution PNG.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image id from this server, or an http(s) URL | |
| factor | No | Enlargement factor |