Upscale to 4K (legacy)
upscale_4kUpscale an image to 4K resolution from a public HTTPS URL or data URI and choose PNG, JPG, or WebP output. Deprecated: use upscale for explicit 4K/8K targets.
Instructions
Deprecated compatibility tool for 4K upscaling. Prefer upscale, which supports explicit 4k/8k targets. No avif output. Image inputs accept public HTTPS URLs or image data URIs. Charges the API account; cost and balance are in USD.
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": "<image>"
},
"name": "upscale_4k"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Source image to upscale to 4K: a public HTTPS URL or an inline data:image/<mime>;base64,<payload> URI. | |
| outputFormat | No | Output image format. Defaults to jpg if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| output | No | URLs of generated images, or a video URL for animate. | |
| balance | No | ||
| requestId | No |