upscale_image
Submit a Topaz AI upscaling task to raise image resolution by 1x, 2x, or 4x; returns a task id and output URLs, with optional polling until complete.
Instructions
Create a Topaz 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>",
"upscale_factor": "<upscale_factor>"
},
"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 | Yes | Image upscale multiplier. Declared type: integer. Known values: 1, 2, 4. | |
| poll_interval_ms | No | ||
| source_image_url | Yes | Public source image URL. Declared type: string. |