Docs
Image Gen Node

Image Gen Node Documentation

The Image Generator node creates image outputs programmatically that can be integrated into workflows. Images are generated based on specified parameters and prompts. This node leverages models like OpenAI's DALL-E. It is useful for applications requiring automated image generation.

imggen.png

Features

Key Functionalities
  1. Generative Images: Allows users to select credentials for their preferred generative model, ensuring flexibility and compatibility with various LLMs.

  2. Customizable Prompts: Features a field for creating prompt templates, enabling tailored input for specific use cases.

Benefits
  1. Flexibility: Supports integration with multiple LLMs, allowing users to utilize different models based on their specific needs and use cases.

  2. User-Centric Design: Provides intuitive interfaces for prompt customization and system prompt definition, making it accessible to both beginners and advanced users.

What can I build?

  1. Automated generation of visual content for marketing campaigns.
  2. Integration of custom image generation into e-commerce platforms for product visualization.
  3. Creation of personalized artwork or graphics for social media posts.
  4. Development of dynamic website features that adapt visuals based on user input.

Setup

Select the Image Generate Node

  1. Fill in the required parameters.
  2. Build the desired flow
  3. Deploy the Project
  4. Click Setup on the workflow editor to get the automatically generated instruction and add it in your application.

Configuration Reference

ParameterDescriptionExample Value
Generative Model NameSelect the model to generate text based on the prompt.Open AI Model
Prompt TemplateDefine the instructions for generating the text output.Define the instructions for generating the text output.Create a Image of Car in Bali

Low-Code Example

nodes:
  - nodeId: ImageGenNode_135
    nodeType: ImageGenNode
    nodeName: ImageGen
    values:
      promptTemplate: make image on ${{triggerNode_1.output.topic}}
      imageGenModelName:
        provider_name: openai
        type: generator/image
        credential_name: Test
        credentialId: b552a29b-69b6-4951-84c3-a6555bb132d1
        model_name: hd/1024-x-1024/dall-e-3
    needs:
      - triggerNode_1
  - nodeId: plus-node-addNode_401321
    nodeType: addNode
    nodeName: ""
    values: {}
    needs:
      - ImageGenNode_135

Troubleshooting

Common Issues

ProblemSolution
Invalid API KeyEnsure the API key is correct and has not expired.
Dynamic Content Not LoadedIncrease the Wait for Page Load time in the configuration.

Debugging

  1. Check Lamatic Flow logs for error details.
  2. Verify API Key.

Was this page useful?

Questions? We're here to help

Subscribe to updates