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.
Features
Key Functionalities
-
Generative Images: Allows users to select credentials for their preferred generative model, ensuring flexibility and compatibility with various LLMs.
-
Customizable Prompts: Features a field for creating prompt templates, enabling tailored input for specific use cases.
Benefits
-
Flexibility: Supports integration with multiple LLMs, allowing users to utilize different models based on their specific needs and use cases.
-
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?
- Automated generation of visual content for marketing campaigns.
- Integration of custom image generation into e-commerce platforms for product visualization.
- Creation of personalized artwork or graphics for social media posts.
- Development of dynamic website features that adapt visuals based on user input.
Setup
Select the Image Generate Node
- Fill in the required parameters.
- Build the desired flow
- Deploy the Project
- Click Setup on the workflow editor to get the automatically generated instruction and add it in your application.
Configuration Reference
Parameter | Description | Example Value |
---|---|---|
Generative Model Name | Select the model to generate text based on the prompt. | Open AI Model |
Prompt Template | Define 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
Problem | Solution |
---|---|
Invalid API Key | Ensure the API key is correct and has not expired. |
Dynamic Content Not Loaded | Increase the Wait for Page Load time in the configuration. |
Debugging
- Check Lamatic Flow logs for error details.
- Verify API Key.