ComfyUI Node
π€ Gemini API
A ComfyUI node in ArchAi3d/Edit/VLM with 17 inputs and 1 output.
π€ Gemini API
- image1
- image2
- image3
- image4
- response
βnamegemini_promptβΊ
βpromptDescribe this image in detail.βΊ
βmodelgemini-2.5-flashβΊ
βmodel_overrideβΊ
βsystem_promptβΊ
βapi_keyβΊ
βtemperature1.00βΊ
βtop_p0.95βΊ
βtop_k40βΊ
βmax_tokens8192βΊ
βseed0βΊ
βthinking_budget0βΊ
βuse_cachetrueβΊ
CategoryArchAi3d/Edit/VLM
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| name | STRING | gemini_prompt | Identifier name for this input (used by web interface) |
| prompt | STRING | Describe this image in detail. | The prompt to send to Gemini |
| model | COMBO | gemini-2.5-flash | Select Gemini model (can be overridden by model_override) |
| model_overrideopt | STRING | Connect ArchAi3D Gemini Model node here to override model selection | |
| system_promptopt | STRING | System instructions to guide model behavior | |
| api_keyopt | STRING | API key (saved to config after first use) | |
| image1opt | IMAGE | β | |
| image2opt | IMAGE | β | |
| image3opt | IMAGE | β | |
| image4opt | IMAGE | β | |
| temperatureopt | FLOAT | 1.000β2 | Temperature (0=deterministic, 1=balanced, 2=creative) |
| top_popt | FLOAT | 0.950β1 | Top-p nucleus sampling (0.95 recommended) |
| top_kopt | INT | 401β100 | Top-k token selection |
| max_tokensopt | INT | 81921β65536 | Maximum output tokens |
| seedopt | INT | 00β2147483647 | Random seed for reproducibility (0 = random) |
| thinking_budgetopt | INT | 00β24576 | Thinking token budget for Gemini 2.5/3 models (0=off, 1024-24576=on). Model uses these tokens to reason before responding. |
| use_cacheopt | BOOLEAN | true | Use cached response if inputs haven't changed (saves API calls) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| response | STRING | β |