Edit a photo
edit_imageChange a photo with words: new style, new outfit, new background, add or remove things. Uses site credits with OAuth or USD with an API key; the tool quotes the price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ChatGPT only: the photo the user attached. Use image_url everywhere else. | |
| 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. | |
| max_usd | No | API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits. | |
| currency | No | Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients). | |
| image_url | No | The photo to edit: a public https link, or a popnow:// link from an earlier result. | |
| max_credits | No | OAuth only: the most site 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. | |
| more_image_urls | No | Optional extra reference photos (https or popnow:// links), for example a product to put in the scene. |