Generate Image
AI-generatedOverview
This node interacts with the Robolly service to generate images based on specified templates. It allows users to select an image template by name or ID, choose the image format (JPG or PNG), set the image scale (quality and size), and modify template elements by specifying element names or IDs along with their values. Users can also opt to generate only a render link or create a hidden render link using Base64 encoding. This node is useful for automating image creation workflows, such as generating customized marketing materials, social media graphics, or dynamic visual content based on predefined templates.
Use Case Examples
- Generate a marketing banner by selecting a template, setting the image format to PNG, and adjusting elements like text and colors.
- Create a product image with high-quality scaling and customized elements for an e-commerce platform.
- Generate a quick render link for an image template to share or embed without downloading the image.
Properties
| Name | Meaning |
|---|---|
| Image Template Name or ID | Select the image template to use for generating the image, either by choosing from a list or specifying an ID via expression. |
| Image Format | Choose the output image format, either JPG (1 credit) or PNG (3 credits). |
| Image Scale | Set the scale or quality of the generated image, affecting its size relative to the template. |
| Template Elements | Modify specific elements within the template by specifying element names or IDs and their new values. |
| ⚡ Generate Link Only ⚡ | If enabled, the node returns only the render link instead of the full image data. |
| Hidden Render Link | If enabled, creates a hidden render link using Base64 encoding for secure or embedded usage. |
Output
JSON
renderLink- URL or Base64 encoded link to the generated image render.imageData- The generated image data or metadata returned from Robolly service.
Dependencies
- Requires Robolly API credentials for authentication.
Troubleshooting
- Ensure the Robolly API credentials are correctly configured and valid to avoid authentication errors.
- Verify that the selected image template ID or name exists and is accessible to prevent template not found errors.
- Check credit availability for generating images, especially when choosing PNG format which costs more credits.
- If the node returns only a render link but the image does not display, verify the link's validity and access permissions.
Links
- n8n Expressions - Documentation on how to use expressions to specify dynamic values in node parameters.