Upscale a photo
upscaleUpscales one of the user's photos to 1K, 2K or 4K, paid from their credits. It also sharpens a soft or blurry photo (out of focus, or small from a chat app) as it enlarges it. A photo is offered only the sizes larger than it and at most 4× its size; its prices from get_shoot or list_photos name them. Pass the price the user agreed to as max_credits. If a call to this tool got no answer, it may already have started: check list_photos before calling it again.
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": {
"photo_id": "<photo_id>",
"size": "<size>",
"max_credits": "<max_credits>"
},
"name": "upscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| again | No | true only when the user, having seen what this same call made, asks for another (a second re-roll of one photo, another take of one shoot). Without it, the same call repeated within 10 minutes answers with what it made and charges nothing: a request already answered is not a new one. | |
| photo_id | Yes | ||
| max_credits | Yes |