Edit a photo
edit_imageChange a photo with words: new style, new outfit, new background, add or remove things; character_id adds a saved character's pictures as references. Uses PopNow credits; the tool quotes the price.
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": {
"prompt": "<prompt>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional PopNow model id (see list_models). Leave empty for the default, Nano Banana 2.1. | |
| prompt | Yes | What to change, in plain words, for example: make it a watercolor painting, or put her in a red jacket. | |
| image_url | No | The photo to edit: a public https link, or a popnow:// link from an earlier result. | |
| max_credits | No | The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| aspect_ratio | No | Optional new shape, for example 1:1, 16:9, 9:16. Default keeps the original shape. | |
| character_id | No | Optional character from list_characters (or create_character): keeps the same face, look or product in the result. | |
| production_id | No | Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts. | |
| more_image_urls | No | Optional extra reference photos (https or popnow:// links), for example a product to put in the scene. |