ComfyUI Node
π€ Leon Official Nano Banana π
A ComfyUI node in Leon_API with 10 inputs and 3 outputs.
π€ Leon Official Nano Banana π
- input_image
- image_array
- image
- description
- seed
βpromptA beautiful painting of a nano banana dish in a fancy restaurantβΊ
βmodelgemini-3.1-flash-image-previewβΊ
βapi_keyYOUR_GEMINI_API_KEYβΊ
βseed0βΊ
βaspect_ratio1:1βΊ
βimage_size1KβΊ
βresponse_modalitiesIMAGE_ONLYβΊ
βcustom_modelβΊ
CategoryLeon_API
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | A beautiful painting of a nano banana dish in a fancy restaurant | Text prompt for image generation |
| model | COMBO | gemini-3.1-flash-image-preview | Nano Banana model variant |
| api_key | STRING | YOUR_GEMINI_API_KEY | Your Google Gemini API key |
| seed | INT | 00β18446744073709550000 | Random seed for reproducible results |
| aspect_ratioopt | COMBO | 1:1 | Aspect ratio of the output image |
| image_sizeopt | COMBO | 1K | Output resolution: 1K (default), 2K, or 4K. Must use uppercase K. |
| response_modalitiesopt | COMBO | IMAGE_ONLY | TEXT_AND_IMAGE returns descriptive text + image. IMAGE_ONLY returns image only. |
| input_imageopt | IMAGE | Optional reference image for editing | |
| image_arrayopt | IMAGE_ARRAY | Optional array of reference images (up to 14). Connect Image Array Builder. | |
| custom_modelopt | STRING | Override model name with a custom string |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| description | STRING | β |
| seed | INT | β |