ComfyUI Node
Google AI Studio Image Generator
Generate images using Gemini (free tier, basic controls) or Imagen (paid tier, advanced controls)
Google AI Studio Image Generator
- input_image
- image
◄promptA beautiful landscape with mountains and a lake at sunset►
◄api_key►
◄modelgemini-3.1-flash-image-preview►
◄negative_prompt►
◄aspect_ratio1:1►
◄safety_filter_levelBLOCK_MEDIUM_AND_ABOVE►
◄person_generationALLOW_ALL►
CategoryGoogle AI Studio
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | A beautiful landscape with mountains and a lake at sunset | — |
| api_key | STRING | Your Google AI Studio API key | |
| model | COMBO | gemini-3.1-flash-image-preview | 7 options: gemini-3.1-flash-image-preview, gemini-3-pro-image-preview, gemini-2.5-flash-image, imagen-4.0-fast-generate-001, imagen-4.0-generate-001, imagen-4.0-ultra-generate-001, +1 |
| input_imageopt | IMAGE | Input image for editing/modification (Gemini models only) | |
| negative_promptopt | STRING | What you don't want in the image (works with all models) | |
| aspect_ratioopt | COMBO | 1:1 | ⚠️ IMAGEN ONLY - Completely ignored for Gemini models |
| safety_filter_levelopt | COMBO | BLOCK_MEDIUM_AND_ABOVE | ⚠️ IMAGEN ONLY - Completely ignored for Gemini models (Gemini has its own safety system) |
| person_generationopt | COMBO | ALLOW_ALL | ⚠️ IMAGEN ONLY - Completely ignored for Gemini models |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |