ComfyUI Node
Gemini Image Gen Advanced
Generates images using Gemini based on multiple image/prompt pairs. Each pair triggers an asynchronous API call. Results are batched.
Gemini Image Gen Advanced
- image_1
- images
- API_responses
- api_request
- api_response
◄inputcount1►
◄api_key►
◄modelmodels/gemini-2.0-flash-preview-image-generation►
◄temperature1.00►
◄max_retries3►
◄prompt_1Describe image 1►
◄seed0►
◄retry_indefinitelyfalse►
◄api_versionauto►
◄aspect_ratiodefault►
Category🤖 Gemini
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| inputcount | INT | 11–100 | — |
| api_key | STRING | — | |
| model | STRING | models/gemini-2.0-flash-preview-image-generation | — |
| temperature | FLOAT | 1.000–2 | — |
| max_retries | INT | 31–5 | — |
| prompt_1 | STRING | Describe image 1 | — |
| image_1opt | IMAGE | — | |
| seedopt | INT | 00–2147483647 | — |
| retry_indefinitelyopt | BOOLEAN | false | — |
| api_versionopt | COMBO | auto | 4 options: auto, v1, v1beta, v1alpha |
| aspect_ratioopt | COMBO | default | 11 options: default, 1:1, 2:3, 3:2, 3:4, 4:3, +5 |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| API_responses | STRING | — |
| api_request | STRING | — |
| api_response | STRING | — |