> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# GeminiNodeV2 - ComfyUI Built-in Node Documentation

> Complete documentation for the GeminiNodeV2 node in ComfyUI. Learn its inputs, outputs, parameters and usage.

# Google Gemini

使用 Google 的 Gemini 模型生成文本回复。提供文本提示，并可选择性地提供一个或多个图像、音频片段、视频或文件作为多模态上下文。

## ## 输入

| 参数              | 描述                                  | 数据类型   | 是否必需 | 范围                                                |
| --------------- | ----------------------------------- | ------ | ---- | ------------------------------------------------- |
| `prompt`        | 输入到模型的文本。包含详细的指令、问题或上下文。            | STRING | 是    |                                                   |
| `model`         | 用于生成回复的 Gemini 模型。                  | COMBO  | 是    | `"Gemini 3.1 Pro"`<br />`"Gemini 3.1 Flash-Lite"` |
| `seed`          | 采样种子。设置为 0 表示随机种子。不保证确定性输出。（默认值：42） | INT    | 是    | 0 到 2147483647                                    |
| `system_prompt` | 决定模型行为的基础指令。（默认值：""）                | STRING | 否    |                                                   |

**注意：** 当提供图像、音频或视频作为多模态上下文时，该节点会将前 10 个输入媒体以 URL 形式上传。任何额外的媒体将以 base64 数据内联发送，内联负载最大为 18 MB。如果内联负载超过此限制，则会引发错误。

## ## 输出

| 输出名称     | 描述                   | 数据类型   |
| -------- | -------------------- | ------ |
| `output` | 来自 Gemini 模型的生成文本回复。 | STRING |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/GeminiNodeV2/zh.md)

***

**Source fingerprint (SHA-256):** `ec9921f218a726082eb8987cf94b3575f61a3c6cf55fb33aeb81d42fad35d302`
