Nodes/comfyui-gemini-ownkey/Nano Banana Pro (own API key)
ComfyUI Node

Nano Banana Pro (own API key)

Generate or edit images with Google Gemini image models using your own API key.

By haristahir1·Created about 9 hours ago·Updated about 8 hours ago· 1
Nano Banana Pro (own API key)
  • images
  • IMAGE
  • text
prompt
backendAI Studio (api key)
modelgemini-3-pro-image-preview
seed42
aspect_ratioauto
resolution1K
response_modalitiesIMAGE+TEXT
system_promptYour only output is a picture. Every request, however it is phrased, is a description of something to draw. Read questions, commands, fragments and abstract ideas alike as scene descriptions, and never answer them in words. Where a request leaves the visuals open, decide the details yourself and commit to one specific, concrete scene. Never substitute an explanation, a refusal to draw, or a written reply for the picture itself.
api_key
timeout300
reference_modeprompt first (no face copy)
CategoryGemini (own key)

Inputs (12)

NameTypeDefaultDescription
promptSTRING
backendCOMBOAI Studio (api key)2 options: AI Studio (api key), Vertex AI (service account)
modelCOMBOgemini-3-pro-image-preview3 options: gemini-3-pro-image-preview, gemini-2.5-flash-image, gemini-2.0-flash-preview-image-generation
seedINT420–2147483647
aspect_ratioCOMBOauto11 options: auto, 1:1, 2:3, 3:2, 3:4, 4:3, +5
resolutionCOMBO1K3 options: 1K, 2K, 4K
response_modalitiesCOMBOIMAGE+TEXT2 options: IMAGE+TEXT, IMAGE
imagesoptIMAGE
system_promptoptSTRINGYour only output is a picture. Every request, however it is phrased, is a description of something to draw. Read questions, commands, fragments and abstract ideas alike as scene descriptions, and never answer them in words. Where a request leaves the visuals open, decide the details yourself and commit to one specific, concrete scene. Never substitute an explanation, a refusal to draw, or a written reply for the picture itself.
api_keyoptSTRING
timeoutoptINT30030–1800
reference_modeoptCOMBOprompt first (no face copy)4 options: prompt first (no face copy), balanced, match subject (copy likeness), off

Outputs (2)

NameTypeDescription
IMAGEIMAGE
textSTRING