Image Upscale Price
image_upscale_priceCalculate the price to upscale an image by providing the image or its width and height.
Instructions
Calculate price for image upscaling.
Pass the image, or its width and height.
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": {
"model": "<model>"
},
"name": "image_upscale_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Image to quote (URL, data URI or base64); its size is read from it | |
| model | Yes | Upscaling model name | |
| width | No | Image width in pixels (required if image not provided) | |
| height | No | Image height in pixels (required if image not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||