ComfyUI Node
Gemini Vision
Analyze images using Gemini's vision capabilities.
Gemini Vision
- image
- client
- analysis
◄promptDescribe this image in detail.►
◄seed-1►
◄modelgemini-3.5-flash►
◄max_tokens8192►
◄temperature0.40►
◄top_p0.95►
◄top_k40►
◄stop_sequences►
◄response_mime_typedefault►
◄response_schema►
◄thinking_levelnone►
CategoryERPK/Gemini
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Image(s) to analyze (ComfyUI tensor) | |
| prompt | STRING | Describe this image in detail. | Question or instruction about the image(s) |
| seed | INT | -1-1–2147483647 | Seed for reproducible outputs. Randomizes by default. |
| clientopt | GEMINI_API_CLIENT | Gemini API client from Gemini API Config node (optional if API key is configured in Settings) | |
| modelopt | COMBO | gemini-3.5-flash | Gemini model to use for vision analysis |
| max_tokensopt | INT | 8192256–65536 | Maximum length of analysis |
| temperatureopt | FLOAT | 0.400–2 | Creativity level (lower=more factual) |
| top_popt | FLOAT | 0.950–1 | Nucleus sampling - cumulative probability threshold (0.0=disabled) |
| top_kopt | INT | 40-1–100 | Top-k sampling - limit token selection (0=disabled) |
| stop_sequencesopt | STRING | Stop generation at these sequences (one per line, leave empty to disable) | |
| response_mime_typeopt | COMBO | default | Output format (use application/json for JSON mode) |
| response_schemaopt | STRING | JSON schema for structured output (only used with application/json, leave empty for free-form JSON) | |
| thinking_levelopt | COMBO | none | Reasoning depth. Works on Gemini 2.5 and 3.x; the node translates to thinking_budget (2.5) or thinking_level enum (3.x) automatically. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| analysis | STRING | — |