Edit a photo
editMakes an edited copy of one of the user's photos, paid from their credits. type change keeps the pose and framing and changes any of: outfit and place (ids from get_pack of the photo's pack; a place that is a pet or a print, not a scene, is not one to change to), light (one of the four, or the photo's pack's own light from get_pack), the attributes (clothes is an outfit from Change's own list, on any photo; sent with outfit, it wins), and text, up to 300 characters of what to change. type zoom_out steps back one step. Pass the price the user agreed to as max_credits: the photo's prices from get_shoot or list_photos name it. Text is rewritten before anything is made: what Luala doesn't make is left out, a look like a named person becomes that styling, and the result's text is what was sent. Fetch the result with list_photos. 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>",
"type": "<type>",
"max_credits": "<max_credits>"
},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | ||
| body | No | ||
| face | No | ||
| skin | No | ||
| text | No | ||
| type | 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. | |
| beard | No | ||
| chest | No | ||
| light | No | ||
| place | No | ||
| makeup | No | ||
| outfit | No | ||
| clothes | No | ||
| glasses | No | ||
| photo_id | Yes | ||
| expression | No | ||
| hair_colour | No | ||
| hair_length | No | ||
| max_credits | Yes |