n8n Workflow: Generate AI Images via Kavel Form Trigger
n8n Workflow: Generate AI Images via Kavel Form Trigger
Regular price
£24.99
Regular price
£24.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: Generate AI Images via Kavel Form Trigger
Regular price
£24.99
Regular price
£24.99
Sale price
Unit price
/
per
Generate AI images from an n8n form using Kavel—no API key required
This n8n workflow turns an image prompt and aspect ratio submitted via an n8n Form Trigger into a finished AI-generated image using Kavel. It automatically starts generation, handles free-tier quota limits, polls for completion, and downloads the resulting file when ready.
What this workflow does
- Receives user input from an n8n form submission containing a prompt and aspect ratio.
- Creates a unique anonymous client ID and formats the request payload for Kavel’s anonymous text-to-image API.
- Starts image generation by sending a POST request to Kavel.
- Stops early on quota exhaustion with an “out of free quota” message if Kavel reports the anonymous daily quota is exhausted.
- Waits and polls (waits 20 seconds, then checks task status) until the generation succeeds or fails.
- Downloads the generated image from the returned URL on success, or returns a failure message with the provided reason.
Use cases
- Give customers or internal teams a simple form to request AI images with specific aspect ratios.
- Create a lightweight image generation request workflow for marketing mockups, blog headers, or social assets.
- Prototype an AI image pipeline that saves outputs to a destination node (e.g., Google Drive, Slack, S3, or WordPress) after download.
Technical details
- Integration: Kavel (anonymous tier; no API key/credentials required for the anonymous setup).
- Workflow nodes/stacks: if, set, code, wait, sticky note, form trigger.
- Setup: Run once to obtain the form URL, then share it with users who submit prompts.
- Customization: Swap the model field in the “Start generation” node (see Kavel’s models page) to use a different engine.
