Edit an image
edit_imageChange a specific element in an existing image while preserving the rest: provide the image URL and a prompt that states what to modify and what must remain unchanged.
Instructions
Edit a photo you already have: change one thing and keep the rest. Pass the image URL and describe ONLY what should change, plus what must stay ("keep the face and background as they are") — that sentence is what decides whether the edit holds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the result (default true). | |
| model | No | Model id from list_models. Defaults to Nano Banana 2. | |
| prompt | Yes | The change to make, and what must stay unchanged. | |
| image_url | Yes | Public URL of the image to edit. |