Upscale image
upscale_imageEnlarge an image to 2x, 3x or 4x its size and sharpen its detail — the step before printing something or using it as a hero image. Point at the source with job_id (one this connector made earlier), image_url, or product_url. Returns the upscaled image in the conversation in under a minute for most images. Spends a few Masonry credits; list_models shows the upscaler's exact price.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional image-upscale model key (see list_models). Defaults to crystal-upscaler. | |
| scale | No | Upscale factor: 2x, 3x, or 4x. Default 2x. | |
| job_id | No | job_id of a previous image generation to upscale. Provide this OR image_url. | |
| image_url | No | Public https URL (or masonry:// reference) of an image to upscale. Provide this OR job_id. | |
| product_url | No | Https product/page URL. Masonry extracts a real product image from the page and upscales it. Provide this, job_id, or image_url. |