upscale_image
Upscale an image by a chosen factor through RunAPI, returning a task ID, status, and output URLs for polling or webhook delivery.
Instructions
Create a KIE task on RunAPI (upscale image). Returns a task id, status, and output URLs.
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": {
"source_image_url": "<source_image_url>"
},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| timeout_ms | No | ||
| callback_url | No | Webhook URL for terminal Task delivery. Declared type: string. | |
| upscale_factor | No | Image upscale multiplier. Declared type: string. Known values: "1", "2", "4", "8". | |
| poll_interval_ms | No | ||
| source_image_url | Yes | Public HTTP(S) image URL, up to 20 MB; output must not exceed 67,108,864 pixels or 16,384 pixels on either side. Declared type: string. |