n8n Form to HiAPI Product Image Generator & Editor Workflow
n8n Form to HiAPI Product Image Generator & Editor Workflow
Regular price
£12.99
Regular price
£12.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 Form to HiAPI Product Image Generator & Editor Workflow
Regular price
£12.99
Regular price
£12.99
Sale price
Unit price
/
per
Generate or edit product marketing images from an n8n Form—automatically with HiAPI
This n8n workflow turns a simple product-image brief into a finished marketing image using HiAPI. Submit details through an n8n Form, and the workflow generates a text-to-image marketing visual or performs image-to-image transformation—then polls until the final image URL is ready.
What this workflow does
- Collects a brief via n8n Form: The submission includes a product-image brief, a generation mode, an aspect ratio, and an optional reference image URL.
-
Selects the correct HiAPI model:
- Text-to-image uses gpt-image-2/text-to-image.
- Image-to-image uses gpt-image-2/image-to-image and includes the reference image URL only for this mode.
- Creates an asynchronous generation task in HiAPI and stores the returned task ID.
- Waits and polls for completion: The workflow waits 20 seconds, requests task status using the task ID, and repeats until it reaches a terminal state.
-
Returns results:
- On success: task ID, status, and the generated image URL.
- On failure: task ID, status, and the returned error message.
Use cases
- SaaS operators creating consistent product marketing images without leaving n8n.
- Automation engineers building a “request an image” form for teams (copy + aspect ratio + mode).
- Transforming existing product photos into new marketing variations using image-to-image via a public reference URL.
Technical details
- n8n Form Trigger, plus nodes: if, set, wait, and HTTP Request.
-
HiAPI integration using HTTP header auth:
Authorization: Bearer YOUR_HIAPI_API_KEY. - Includes HiAPI polling logic (wait 20 seconds → check status by task ID → loop until terminal state).
Setup notes: Ensure your HiAPI account has sufficient balance for a 1K image. For image-to-image mode, provide a publicly reachable reference image URL in the form submission.
