n8n integration
Generate images with the Luntrex community node for n8n.
Install the community node, drop it onto your workflow canvas, authenticate with your Luntrex API key, and start prompting for images directly inside n8n.
Configure the Image Generator node
Follow these steps to install n8n-nodes-luntrex-image-generator, add credentials, and
set the node parameters shown in the screenshots.
Integration steps
Install the community node
Go to Settings → Community Nodes, paste
n8n-nodes-luntrex-image-generator
into the node name box, and click Install.
Create credentials
Create a Luntrex account, generate an API key, then add a new credential for this node and paste
the key. Save and test.
Add the node to a workflow
Drag Generate an image onto the canvas. Select your credential to unlock model choices.
Set parameters
Resource: Image. Operation: Generate. Enter a prompt, choose a model (after
credentials are set), pick a size, and set Count.
Execute or wire forward
Click Execute step to preview results or connect the node to the rest of your workflow.
Tip: Store the API key in n8n credentials instead of the node body so you can rotate keys without
editing workflows.
Parameter reference
- Credential to connect with Choose the saved Luntrex API key credential.
- Resource Set to Image.
- Operation Set to Generate.
- Prompt Required text describing what to generate (for example, "A futuristic city").
- Model Name or ID Appears after credential selection; pick the model you enabled for your key.
- Size Pick from supported resolutions (see list).
- Count Number of images to return. Default is 1.
Supported sizes
- 256x256
- 512x512
- 1024x1024
- 1024x1792
- 1792x1024
Execution tips
- Use small Count while testing to limit cost.
- Keep prompts concise; add style cues (e.g., "cinematic lighting") for stronger results.
- Match model and size to the output style you want; larger sizes take longer.
Troubleshooting
- Unauthorized Re-check the API key in your credential and ensure it is active in your Luntrex account.
- No models shown Select the credential first; the node loads model names after authentication.
- Size errors Choose one of the supported resolutions above.