ComfyUI Node
π± Artha Gemini Imagen
Gemini Imagen node is for image generation and modification.
π± Artha Gemini Imagen
- image
- image
- response
βtext_promptA cat with a hatβΊ
βmodify_imagefalseβΊ
βapi_keyβΊ
βmodelgemini-2.5-flash-image-previewβΊ
βmax_tokens5000βΊ
βtemperature0.7βΊ
βsystem_instructionβΊ
CategoryArtha/LLM/Gemini
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| text_prompt | STRING | A cat with a hat | β |
| modify_image | BOOLEAN | false | β |
| api_key | STRING | API key will be visible in plain text. Consider adding your api to the api.json located inside this custom node folder. | |
| model | COMBO | gemini-2.5-flash-image-preview | 2 options: gemini-2.5-flash-image-preview, gemini-3-pro-image-preview |
| max_tokens | INT | 50001β8192 | For Gemini models, a token is equivalent to about 4 characters. 100 tokens is equal to about 60β80 English words. |
| temperature | FLOAT | 0.70β2 | A temperature of 0 means only the most likely tokens are selected. Higher values increase randomness. |
| imageopt | IMAGE | β | |
| system_instructionopt | STRING | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | β |
| response | STRING | β |