Upscale image
upscale_imageUpscale an image 2× (source up to 16 MP, 2 credits) or 4× (source up to 4 MP, 4 credits) with Real-ESRGAN. Needs paid credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | 2 (default) or 4. | |
| format | No | Output format. png keeps transparency everywhere; webp is smaller; jpg has no transparency. | |
| image_url | No | Public http(s) URL of a JPG, PNG or WebP image (up to 25 MB). | |
| image_base64 | No | The image as base64 (or a data: URL), if there is no public URL. Prefer image_url for large files. |