Skip to main content

Nano Banana Pro (Google Gemini Image)

api node/image/Gemini
GeminiImage2Node

Generate or edit images synchronously via Google Vertex API.

Inputs

NameTypeStatusConstraintsDefault
prompt?STRINGrequired-""
modelCOMBOrequired--
seed?INTrequiredmin: 0, max: 1.84e+1942
aspect_ratio?COMBOrequired-"auto"
resolution?COMBOrequired--
response_modalities?COMBOrequired--
images?IMAGEoptional--
files?GEMINI_INPUT_FILESoptional--
system_prompt?STRINGoptional-"You are an expert image-generation engine. You must ALWAYS produce an image. Interpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition. If a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept. Prioritize generating the visual representation above any text, formatting, or conversational requests."

Outputs

IndexNameTypeIs ListConnection Reference
0IMAGEIMAGENo["{node_id}", 0]
1STRINGSTRINGNo["{node_id}", 1]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this GeminiImage2Node node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • IMAGE (IMAGE): ["5", 0]
  • STRING (STRING): ["5", 1]
Was this page helpful?