Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node allows users to interact with Google’s Gemini AI models to generate text responses. You can provide multiple types of inputs including text, images, audio, video, and files as context for the model to generate more relevant and meaningful responses. The node handles all API communication and response parsing automatically.

Inputs

ParameterData TypeRequiredRangeDescription
promptSTRINGYes-Text inputs to the model, used to generate a response. You can include detailed instructions, questions, or context for the model. Default: empty string.
modelCOMBOYesgemini-2.0-flash-exp
gemini-2.0-flash-thinking-exp
gemini-2.5-pro-exp
gemini-2.0-flash
gemini-2.0-flash-thinking
gemini-2.5-pro
gemini-2.0-flash-lite
gemini-1.5-flash
gemini-1.5-flash-8b
gemini-1.5-pro
gemini-1.0-pro
The Gemini model to use for generating responses. Default: gemini-2.5-pro.
seedINTYes0 to 18446744073709551615When seed is fixed to a specific value, the model makes a best effort to provide the same response for repeated requests. Deterministic output isn’t guaranteed. Also, changing the model or parameter settings, such as the temperature, can cause variations in the response even when you use the same seed value. By default, a random seed value is used. Default: 42.
imagesIMAGENo-Optional image(s) to use as context for the model. To include multiple images, you can use the Batch Images node. Default: None.
audioAUDIONo-Optional audio to use as context for the model. Default: None.
videoVIDEONo-Optional video to use as context for the model. Default: None.
filesGEMINI_INPUT_FILESNo-Optional file(s) to use as context for the model. Accepts inputs from the Gemini Generate Content Input Files node. Default: None.

Outputs

Output NameData TypeDescription
STRINGSTRINGThe text response generated by the Gemini model.