stability_upscale
Upscale images using Stability AI's ESRGAN model to increase resolution while preserving quality.
Instructions
Upscale an image using Stability AI ESRGAN.
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": {
"api_key": "<api_key>",
"image_url": "<image_url>"
},
"name": "stability_upscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width in pixels (default: 2048) | |
| api_key | Yes | ||
| engine_id | No | Upscale engine (default: esrgan-v1-x2plus) | |
| image_url | Yes | URL of the image to upscale |