Skip to main content

Generate Image Node

The Generate Image node creates images from text input using AI models such as DALL-E 2 or DALL-E 3. This powerful node enables text-to-image generation, making it ideal for creating visual content, educational illustrations, marketing materials, and creative projects directly from descriptive text prompts.

Generate Image node


Basic Usage​

Use Text Input, Display Image, Display Text and Generate Image for your process.


Inputs​

The Generate Image node accepts the following inputs:

Image 1 Input​

  • Type: Image input for reference or style transfer
  • Mandatory: Optional
  • Works best with: File Upload, Display Image
  • Note: Can add multiple image inputs using "+ Add New Image Input" button

Instruction​

  • Type: Text description of the image to generate
  • Mandatory: Required to provide
  • Works best with: Text Input, Form Node

The instruction should be a descriptive text prompt that clearly describes the image you want to generate.


Outputs​

The Generate Image node provides three outputs:

Image Output​

  • Type: Generated image based on the instruction and input images
  • Show Result: Displays the generated image
  • Works best with: Display Image

URL​

  • Type: URL link to the generated image
  • Mandatory: Optional
  • Works best with: Display Text, Document Download

Configuration​

Model Selection​

Select the AI model to use for image generation:

FLUX.1 [dev] (Currently Selected)​

FLUX.1 [dev] is the development version with experimental features and capabilities. It offers a balance between quality and flexibility for various image generation tasks.

Other Available Options​

  • FLUX.1 [pro]: Professional-grade, highest quality for critical applications
  • FLUX.1 [schnell]: Fast generation optimized for speed
  • DALL-E 2: OpenAI's image generation model with good quality and speed
  • DALL-E 3: OpenAI's latest model with improved understanding and detail

Aspect Ratio​

Select the aspect ratio for the generated image:

  • Square (1:1): Equal width and height, ideal for profile pictures, thumbnails, and social media posts
  • Portrait (9:16): Vertical orientation for mobile screens and stories
  • Landscape (16:9): Horizontal orientation for presentations and banners
  • Custom ratios: Additional aspect ratios may be available depending on the model

Additional Options​

Allow Upload Image​

  • Description: Enable users to upload reference images
  • Use case: When you want to use existing images as style references or starting points
  • Default: Unchecked

Enable In Painting​

  • Description: Enable in-painting functionality to modify specific areas of an image
  • Use case: When you want to edit or refine specific parts of generated or uploaded images
  • Default: Unchecked

Example Workflows​

Educational Illustration Generator​

Scenario: Create custom illustrations for educational content based on text descriptions.

Generate Image Example

Steps to Create the Flow:

  1. Add a Start Node.

  2. Add and connect a Text Input for the image description.

    • Example prompt:
    A detailed cross-section diagram of a plant cell showing the nucleus, chloroplasts,
    mitochondria, cell wall, and cell membrane. Educational style with clear labels
    and bright colors suitable for middle school students.
  3. Add and connect a Generate Image Node.

    • Select Process Type: FLUX.1 [pro] for high-quality educational illustrations
    • Connect the Text Input's Output to Input
  4. Add and connect a Display Image node to show the generated image.

    • Connect the Generate Image's Output to Display Image
  5. (Optional) Add a Display Text node to show the image location.

    • Connect the Generate Image's Image Location to Display Text

Result: Custom educational illustrations are generated from text descriptions, providing visual aids for learning materials.