# Google Gemini Chat (https://docs.fuser.studio/docs/nodes/llm/google-gemini-chat)

_Provided by [Google](https://aistudio.google.com) — [Learn More](https://ai.google.dev/gemini-api/docs/models/gemini)._

## Inputs [#inputs]

- **Prompt** (`textarea`) — The message prompt to send to the model.

- **Model** (`dropdown`) — The Google Gemini model to use for chat completion.

   Optional: `true` • Default: `gemini-3.5-flash` • Accepts: `gemini-3.5-flash`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3-pro-preview`, `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.5-flash-image (Nano Banana)`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-1.5-flash`, `gemini-1.5-flash-8b`, `gemini-1.5-pro`

- **System Prompt** (`textarea`) — A system prompt that sets the behavior and context for the conversation.

   Optional: `true`

- **Attachment** (`generic`) _(accepts multiple)_ — Attachments to include with the prompt (images, text, etc.).

   Optional: `true`

- **Last Message Only** (`toggle`) — If enabled, only the last message will be sent to the model instead of the full conversation history.

   Optional: `true` • Default: `false`

- **Temperature** (`number`) — Controls randomness in the output. Higher values make the output more random, lower values make it more deterministic.

   Optional: `true` • Minimum: `-1` • Maximum: `1`

- **Seed** (`seed`) — A seed value for reproducible outputs. Use the same seed to get consistent results.

   Optional: `true` • Default: `3989`

- **Top P** (`number`) — Nucleus sampling parameter. Controls diversity via nucleus sampling.

   Optional: `true`

- **Top K** (`number`) — Limits the number of highest probability tokens to consider.

   Optional: `true`

- **Max Tokens** (`number`) — Maximum number of tokens to generate in the response.

   Optional: `true`

- **Stop Sequences** (`string`) _(accepts multiple)_ — Sequences that will cause the model to stop generating further tokens.

   Optional: `true`

- **Presence Penalty** (`number`) — Penalizes tokens based on whether they appear in the text so far.

   Optional: `true` • Minimum: `-2` • Maximum: `2`

- **Frequency Penalty** (`number`) — Penalizes tokens based on their frequency in the text so far.

   Optional: `true` • Minimum: `-2` • Maximum: `2`

## Outputs [#outputs]

- **Last Response** (`textarea`) — The last response from the model.

- **Image** (`image`) — Generated image from the model (when applicable).