Nodes/Leon's Utility and API Integration Nodes/πŸ€– Leon Official Nano Banana 🌐
ComfyUI Node

πŸ€– Leon Official Nano Banana 🌐

A ComfyUI node in Leon_API with 10 inputs and 3 outputs.

By l3ony2kΒ·Created about a year agoΒ·Updated about a month agoΒ· 3
πŸ€– 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)

NameTypeDefaultDescription
promptSTRINGA beautiful painting of a nano banana dish in a fancy restaurantText prompt for image generation
modelCOMBOgemini-3.1-flash-image-previewNano Banana model variant
api_keySTRINGYOUR_GEMINI_API_KEYYour Google Gemini API key
seedINT00–18446744073709550000Random seed for reproducible results
aspect_ratiooptCOMBO1:1Aspect ratio of the output image
image_sizeoptCOMBO1KOutput resolution: 1K (default), 2K, or 4K. Must use uppercase K.
response_modalitiesoptCOMBOIMAGE_ONLYTEXT_AND_IMAGE returns descriptive text + image. IMAGE_ONLY returns image only.
input_imageoptIMAGEOptional reference image for editing
image_arrayoptIMAGE_ARRAYOptional array of reference images (up to 14). Connect Image Array Builder.
custom_modeloptSTRINGOverride model name with a custom string

Outputs (3)

NameTypeDescription
imageIMAGEβ€”
descriptionSTRINGβ€”
seedINTβ€”