AI image upscaler
ai_upscale_imageUpscale an image 2x or 4x with AI. Costs 8 credits for 2x and 12 for 4x, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB; longest side up to 2048 px for 2x or 1024 px for 4x. Returns a link to the result, valid 7 days.
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": {
"factor": "<factor>"
},
"name": "ai_upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| factor | Yes | ||
| image_url | No | Public https URL of a PNG, JPEG or WebP image. | |
| image_base64 | No | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |