n8n Webhook Workflow: Generate Images with Sublyx API
n8n Webhook Workflow: Generate Images with Sublyx API
Regular price
£45.99
Regular price
£45.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 Webhook Workflow: Generate Images with Sublyx API
Regular price
£45.99
Regular price
£45.99
Sale price
Unit price
/
per
Generate images from an n8n webhook using the Sublyx Images Generation API
This n8n Webhook Workflow lets you send an image prompt to a webhook endpoint and receive the generated result back as a downloadable PNG—fully automated with the Sublyx API.
What this workflow does
-
Receives a POST request at the webhook URL with a required
promptfield, plus optional parameters. -
Reads optional inputs:
model(default:gpt-image-2) andsize(default:1024x1024). - Calls the Sublyx AI Images Generation API to generate one image using the provided prompt and settings.
- Extracts the generated image from the Sublyx response (URL or base64 image data, depending on the API output).
- Converts base64 to a PNG binary using the workflow’s file conversion step.
- Responds to the webhook caller by returning the generated PNG as a binary download.
Use cases
- On-demand image generation in a web app: your frontend posts a prompt and instantly gets a PNG back.
- Content prototyping for SaaS operators: generate visuals for drafts, landing page iterations, or mockups.
- Automation engineers’ pipelines: integrate Sublyx-backed image creation into larger n8n workflows via webhook triggers.
Technical details
-
Webhook trigger to accept POST requests containing
prompt, optionalmodel, and optionalsize. - HTTP Request node to call the Sublyx Images Generation API.
- Code node for extracting image data from the Sublyx API response.
- Convert to File to turn base64 image data into a PNG.
- Respond to Webhook node to return the PNG binary to the caller.
Setup
Create a Sublyx API credential in n8n (HTTP templated custom auth) with your Sublyx API key, activate the workflow, copy the webhook URL, and send a POST payload including prompt.
