nano_banana_generate_image
Generate images from text prompts or edit existing images by providing paths alongside a prompt.
Instructions
Generate or edit images with Nano Banana.
Pass only prompt for text-to-image generation.
Pass image_paths plus prompt for image editing / image-to-image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | gemini-3.1-flash-image-preview | |
| prompt | Yes | ||
| image_size | No | ||
| output_dir | No | ||
| image_paths | No | ||
| aspect_ratio | No | ||
| include_text | No | ||
| enable_web_search | No | ||
| request_timeout_s | No | ||
| enable_image_search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||