upscale_image
Upscale images using AI models for enhanced resolution. Supports multiple content types and scaling factors up to 4x.
Instructions
Upscale an image using AI models
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_path": "<image_path>"
},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Upscaling model to use | ultrasharp |
| image_path | Yes | Path to the image file to upscale | |
| content_type | No | Content type for auto model selection | general |
| scale_factor | No | Additional scaling factor (1.0 = model native, usually 4x) |