portrait_retouch
Retouch a portrait naturally. Returns { processedImage }. Cost: 2 credits.
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": "portrait_retouch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image as a base64 data URI (data:image/png;base64,…) or an HTTPS image URL | |
| options | No | Enhancements to apply (none set = general skin, eye and lighting touch-up) |