Image Upscale
image_upscaleUpscale an image to higher resolution using AI models, improving quality for low-resolution or small images supplied as URLs, data URIs, or base64.
Instructions
Upscale an image to higher resolution.
Takes an image and upscales it using AI models for enhanced quality. Accepts images as:
Public URLs (recommended: chains with text_to_image, and the ONLY way in for a file of your own - chat clients do not pass files through to tools)
Data URIs or raw base64 (for callers that already hold the bytes)
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>",
"model": "<model>"
},
"name": "image_upscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image as URL (e.g., from text_to_image result), data URI (data:image/png;base64,...), or base64 string. URLs are recommended when chaining tools to avoid base64 context bloat. Supported formats: JPG, JPEG, PNG, GIF, BMP, WebP. Max 10MB. | |
| model | Yes | Upscaling model (e.g., 'RealESRGAN_x4') | |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||