ComfyUI Node

Imagen4 Text To Image

A ComfyUI node in Google AI/Imagen4 with 13 inputs and 1 output.

By catnipglitch·Created 4 months ago·Updated 4 months ago· 0
Imagen4 Text To Image
    • Generated Image
    modelIMAGEN_4_PREVIEW
    promptA vivid landscape painting of a futuristic city
    person_generationallow_adult
    aspect_ratio16:9
    number_of_images1
    negative_prompt
    seed0
    enhance_prompttrue
    add_watermarkfalse
    output_image_typePNG
    safety_filter_levelBLOCK_MEDIUM_AND_ABOVE
    gcp_project_id
    gcp_region
    CategoryGoogle AI/Imagen4

    Inputs (13)

    NameTypeDefaultDescription
    modelCOMBOIMAGEN_4_PREVIEW3 options: IMAGEN_4_PREVIEW, IMAGEN_4_FAST_PREVIEW, IMAGEN_4_ULTRA_PREVIEW
    promptSTRINGA vivid landscape painting of a futuristic city
    person_generationCOMBOallow_adult2 options: allow_adult, dont_allow
    aspect_ratioCOMBO16:95 options: 1:1, 16:9, 4:3, 3:4, 9:16
    number_of_imagesINT11–4
    negative_promptoptSTRING
    seedoptINT00–42949672950 seed let's Imagen4 API handle randomness. Seed works with enhance_prompt disabled
    enhance_promptoptBOOLEANtrue
    add_watermarkoptBOOLEANfalse
    output_image_typeoptCOMBOPNG2 options: PNG, JPEG
    safety_filter_leveloptCOMBOBLOCK_MEDIUM_AND_ABOVE4 options: BLOCK_LOW_AND_ABOVE, BLOCK_MEDIUM_AND_ABOVE, BLOCK_ONLY_HIGH, BLOCK_NONE
    gcp_project_idoptSTRINGGCP project id where Vertex AI API will query Imagen
    gcp_regionoptSTRINGGCP region for Vertex AI API

    Outputs (1)

    NameTypeDescription
    Generated ImageIMAGE