Nodes/ComfyUI-Google-AI-Studio/Google AI Studio Image Generator
ComfyUI Node

Google AI Studio Image Generator

Generate images using Gemini (free tier, basic controls) or Imagen (paid tier, advanced controls)

By BuffMcBigHuge·Created about a year ago·Updated 5 months ago· 10
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)

NameTypeDefaultDescription
promptSTRINGA beautiful landscape with mountains and a lake at sunset
api_keySTRINGYour Google AI Studio API key
modelCOMBOgemini-3.1-flash-image-preview7 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_imageoptIMAGEInput image for editing/modification (Gemini models only)
negative_promptoptSTRINGWhat you don't want in the image (works with all models)
aspect_ratiooptCOMBO1:1⚠️ IMAGEN ONLY - Completely ignored for Gemini models
safety_filter_leveloptCOMBOBLOCK_MEDIUM_AND_ABOVE⚠️ IMAGEN ONLY - Completely ignored for Gemini models (Gemini has its own safety system)
person_generationoptCOMBOALLOW_ALL⚠️ IMAGEN ONLY - Completely ignored for Gemini models

Outputs (1)

NameTypeDescription
imageIMAGE