edit_image
Modify existing images using text prompts to add or remove elements, transfer styles, inpaint specific areas, or combine multiple images.
Instructions
Edit an existing image using text prompts. Supports:
Adding/removing elements
Style transfer
Inpainting (changing specific parts)
Combining multiple images
Provide the path to an existing image and describe the changes you want.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the edit to make. Be specific about what to change and what to preserve. | |
| image_path | Yes | Path to the input image file to edit. | |
| model | No | The model to use for editing. | nano-banana |
| aspect_ratio | No | Optional aspect ratio for the output image. | |
| image_size | No | The resolution of the output (only for nano-banana-pro). | 1K |
| filename | No | Optional filename for the output image. |