upscale_image
Apply x2/x4/anime/face to one image; use derive_image for general edits and generate_image for new images. Preview returns requestId and cost/readiness in preview; auto/run reuse that receipt. Run requires approval. Execution returns task/status and possibly nextAction; recover the original receipt instead of generating 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": {
"action": "<action>"
},
"name": "upscale_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | One public image URL or image data URL; preview only. | |
| action | Yes | preview quotes one image; auto checks saved authorization; run requires user approval. | |
| operation | No | Dedicated processing operation; default x2. Use derive_image for general editing. | |
| requestId | No | Original preview receipt; auto/run only, without new image inputs. | |
| deliveryMode | No | native returns previews and original links; links returns original links; metadata omits image delivery. |