Skip to content

[NODE] Add Imagen documentation #33

@ShambaC

Description

@ShambaC

Node Config

{
    title: "Imagen AI Images",
    category: "GenAI",
    type: "imagen_node",
    icon: {},
    desc: "Generate AI images using Google Imagen",
    credit: 100,
    inputs: [
        {
            desc: "The flow of the workflow",
            name: "Flow",
            type: "Flow",
        },
        {
            desc: "Image generation prompt",
            name: "Prompt",
            type: "Text",
        },
        {
            desc: "Seed value for generation (optional)",
            name: "Seed",
            type: "Number",
        },
        {
            desc: "Quality of the image (applicable only if the output type is jpeg",
            name: "Image Quality",
            type: "Number",
        },
    ],
    outputs: [
        {
            desc: "Temporary link to the image",
            name: "Image Link",
            type: "Text",
        },
    ],
    fields: [
        {
            desc: "Image generation prompt",
            name: "Prompt",
            type: "TextArea",
            value: "Enter text here...",
        },
        {
            desc: "Seed value for generation (optional)",
            name: "Seed",
            type: "Number",
            value: 0,
        },
        {
            desc: "Aspect ration of the generated image",
            name: "Ratio",
            type: "select",
            value: "1:1",
            options: [
                "1:1",
                "9:16",
                "16:9",
                "3:4",
                "4:3",
            ],
        },
        {
            desc: "Model to be used for image generation",
            name: "Model",
            type: "select",
            value: "imagen-3.0-generate-002",
            options: [
                "imagen-4.0-generate-preview-06-06",
                "imagen-4.0-fast-generate-preview-06-06",
                "imagen-4.0-ultra-generate-preview-06-06",
                "imagen-3.0-generate-002",
                "imagen-3.0-generate-001",
                "imagen-3.0-fast-generate-001",
            ],
        },
        {
            desc: "Should people be generated in the image",
            name: "Person",
            type: "select",
            value: "allow_all",
            options: [
                "allow_adult",
                "allow_all",
                "dont_allow",        
            ],
        },
        {
            desc: "Output type of the image",
            name: "Image Format",
            type: "select",
            value: "jpeg",
            options: [
                "jpeg",
                "png",      
            ],
        },
        {
            desc: "Quality of the image (applicable only if the output type is jpeg",
            name: "Image Quality",
            type: "Slider",
            value: 75,
            min: 0,
            max: 100,
            step: 1,
        },
    ],
    difficulty: "easy",
    tags: ["imagen", "google", "ai", "image"],
}

Additional Information

Long Description:
Generate images using Google Imagen

Use Cases:

  • Create textures for games and 3D modelling
  • Create images from your imagination using text prompts

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions