edit_image
Edit existing images with natural language prompts using Google Gemini. Supports multi-image input (up to 10) and saves the edited full-resolution image to disk.
Instructions
Edit an existing image based on a text instruction using Google Gemini. Default model: gemini-3.1-flash-image-preview. Supports multi-image input (up to 10 total). Response contains a thumbnail preview; full-res image is saved to /root/nano-banana-output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image size (512, 1K, 2K, 4K) | |
| prompt | Yes | What to change in the image | |
| filePath | Yes | Path to the source image | |
| aspectRatio | No | Aspect ratio of the output image | |
| negativePrompt | No | Things to exclude from the edited image | |
| systemInstruction | No | System instruction to guide the model's behavior | |
| additionalFilePaths | No | Additional image paths for multi-image editing (up to 9) |