Nodes/ComfyUI-API-Toolkit/Imagen Image Generation
ComfyUI Node

Imagen Image Generation

A ComfyUI node in API Toolkit/Gemini/Image with 10 inputs and 1 output.

By IxMxAMAR·Created 5 months ago·Updated about a month ago· 1
Imagen Image Generation
    • images
    api_key
    modelimagen-4.0-generate-001
    prompt
    custom_model
    number_of_images1
    aspect_ratio1:1
    negative_prompt
    seed0
    safety_filter_levelblock_low_and_above
    person_generationallow_adult
    CategoryAPI Toolkit/Gemini/Image

    Inputs (10)

    NameTypeDefaultDescription
    api_keySTRINGGemini API key. Leave blank to use GEMINI_API_KEY env var.
    modelCOMBOimagen-4.0-generate-001Imagen model. Ultra = highest quality, Standard = balanced, Fast = cheaper/faster.
    promptSTRINGDescribe the image to generate.
    custom_modeloptSTRINGOverride with a custom model ID (takes priority over dropdown).
    number_of_imagesoptINT11–4How many images to generate in one call (Imagen supports up to 4).
    aspect_ratiooptCOMBO1:1Output aspect ratio. Imagen supports: 1:1, 3:4, 4:3, 9:16, 16:9.
    negative_promptoptSTRINGThings to avoid in the image.
    seedoptINT00–2147483647Seed for reproducibility. 0 = random.
    safety_filter_leveloptCOMBOblock_low_and_aboveSafety filter threshold. The Developer API only accepts block_low_and_above. (Vertex AI supports more levels.)
    person_generationoptCOMBOallow_adultWhether/how to generate people. Some models enforce stricter defaults.

    Outputs (1)

    NameTypeDescription
    imagesIMAGE