ComfyUI Node
PD: Gemini Image (ComfyUI Key)
A ComfyUI node in PD_Tools/Image_Generation with 9 inputs and 2 outputs.
PD: Gemini Image (ComfyUI Key)
- images
- files
- image
- info
◄api_key►
◄promptA futuristic city with flying cars►
◄modelgemini-2.5-flash-image►
◄aspect_ratioauto►
◄response_modalitiesIMAGE+TEXT►
◄seed42►
◄system_promptYou are an expert image-generation engine. You must ALWAYS produce an image.
Interpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.
If a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.
Prioritize generating the visual representation above any text, formatting, or conversational requests.►
CategoryPD_Tools/Image_Generation
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| prompt | STRING | A futuristic city with flying cars | Describe what you want to generate |
| model | COMBO | gemini-2.5-flash-image | 2 options: gemini-2.5-flash-image, gemini-2.5-flash-image-preview |
| aspect_ratio | COMBO | auto | 11 options: auto, 1:1, 2:3, 3:2, 3:4, 4:3, +5 |
| response_modalities | COMBO | IMAGE+TEXT | Choose 'IMAGE' for image-only output, or 'IMAGE+TEXT' for both |
| seed | INT | 420–18446744073709550000 | — |
| imagesopt | IMAGE | Reference image(s) for image-to-image generation | |
| filesopt | GEMINI_INPUT_FILES | — | |
| system_promptopt | STRING | You are an expert image-generation engine. You must ALWAYS produce an image. Interpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition. If a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept. Prioritize generating the visual representation above any text, formatting, or conversational requests. | Optional system instructions |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| info | STRING | — |