Skip to content

Lm Chat Google Gemini

Node: lmChatGoogleGemini · Full type: @n8n/n8n-nodes-langchain.lmChatGoogleGemini · Version: 1

Ergonomic keyword available: LLM gemini — see NFLOW.md for shorter syntax.

Credentials

googlePalmApi (alias: @google)

CREDENTIAL @google = googlePalmApi "My Lm Chat Google Gemini"

Parameters

Parameter Type Default Details
modelName options "models/gemini-2.5-flash"
options collection {} keys: maxOutputTokens, temperature, topK, topP, safetySettings

options children:

Parameter Type Default Details
maxOutputTokens number 2048
temperature number 0.4
topK number 32
topP number 1
safetySettings fixedCollection {...} groups: values

Example

NODE "lmChatGoogleGemini" @google AS "Lm Chat Google Gemini"