Generating one good product shot with AI is easy now. Generating 600 of them, one for every SKU on your Shopee store, in three aspect ratios, with the right colour of packaging and no invented logos, is a different job. That is where most Malaysian teams hit the wall: prompts live in someone’s chat history and every image is a little off-brand.
This guide is about the step after one-off prompting: bulk AI image generation. We compare the two serious routes, node-based tools such as ComfyUI and Figma Weave, and automation with n8n calling image model APIs, then show how to build the n8n version with a spreadsheet as the brief and a human approval step. If you are new to how these models work, start with our diffusion models explainer and the AI image generation guide.
When one-off prompting stops scaling
Three situations push teams over the edge:
- Catalogue volume. Hundreds of SKUs, each needing a clean white-background shot plus a lifestyle shot for Shopee, Lazada and TikTok Shop.
- A content calendar. Twelve social posts a week, every week, in brand colours, with Raya, CNY and Deepavali variants on top.
- Localisation. The same banner in BM, English and Chinese, at 1:1, 4:5 and 9:16.
The creative decision is made once; the execution repeats.
Node-based tools vs n8n automation
As of November 2026 the node-based field is led by two names. ComfyUI is open source and free for local use; you wire models, LoRAs, ControlNets and upscalers into a graph and rerun it. Its optional Partner Nodes call closed models such as OpenAI’s through Comfy, billed from prepaid credits. Figma Weave is the former Weavy, which Figma acquired in October 2025; at Config 2026 Figma put more than 20 pre-built Weave workflows on the Figma Design canvas. Weave lets you mix models such as Flux, Ideogram, Nano Banana and Seedream on one canvas.
n8n works at a different layer. It does not draw anything itself. It reads a row from a Google Sheet, asks an LLM to write the prompt, calls an image API, waits for a human to approve, then files the result. Its OpenAI and Google Gemini nodes both include image generation operations, and anything else is one HTTP Request node away.
If your team works inside Claude or ChatGPT rather than a workflow tool, Higgsfield connects both to many image and video models; see our Higgsfield MCP guide. It suits a person generating on request more than an unattended batch, and every generation spends credits.
| Approach | How it works | Realistic volume | Trade-offs |
|---|---|---|---|
| One-off prompting (ChatGPT, Gemini app, Midjourney) | A designer types each prompt | Up to a few dozen images a week | Low setup, high hours per image; quality depends on who is prompting that day |
| ComfyUI | Node graph you build once, run many times | Hundreds, if you have a GPU or Comfy Cloud | Open source and free locally; paid partner nodes reach closed models on prepaid credits. Steep learning curve |
| Figma Weave (formerly Weavy) | Node canvas inside the Figma ecosystem | Tens to low hundreds, designer-led | Easiest for design teams already in Figma; many models in one place; built for exploration more than unattended batch runs |
| Self-hosted open weights in ComfyUI (FLUX.2 [klein] 4B, Wan 2.2 video) | Download the model and run it on your own GPU | Limited by your hardware, not your budget | No per-image fee, only hardware, power and upkeep; quality trails the paid leaders; check each licence |
| n8n + image model APIs | Spreadsheet row in, approved image out | Hundreds to thousands, unattended | Needs an API key and a workflow builder; best for repeatable jobs with a clear brief, approval and file naming |
Our assessment for marketing teams, November 2026. Many teams use both: a node tool to design the look, n8n to run it at volume.
Our view: node tools are where you discover the recipe; n8n is the kitchen that cooks it 600 times.
What the image APIs cost
Here is what the official pricing pages show as of November 2026, in US dollars:
| Model | Billing unit | Indicative price |
|---|---|---|
| Google Nano Banana 2.1 (Gemini API) | Per image, priced from output tokens | US$0.0336 per 1K image; US$0.113 at 4K; half that on the Batch API |
| Google Nano Banana Pro (Gemini 3 Pro Image) | Per image, priced from output tokens | US$0.134 per 1K or 2K image; US$0.24 at 4K |
| OpenAI GPT Image 2 family | Tokens (image output US$30 per million) | Per-image cost depends on size and quality; Batch API halves the token rates |
| OpenAI gpt-image-1-mini | Tokens (image output US$8 per million) | The budget option for drafts and thumbnails |
| Black Forest Labs FLUX 3 Image | Per image by resolution tier | US$0.048 at 1K; FLUX 3 Image Klein US$0.009 at 1K |
| Black Forest Labs FLUX.2 [pro] | Per megapixel | US$0.03 first MP, US$0.015 each extra MP |
From the Google AI Studio, OpenAI and Black Forest Labs pricing pages, checked 24 November 2026. Prices change often; check before you budget.
A worked example: 500 SKUs, three variants each, is 1,500 images. On Nano Banana 2.1 at 1K that is about US$50 at standard rates, or US$25 through the Batch API, before retries. The real costs are wasted generations and review time. Note that Google has deprecated Gemini 2.5 Flash Image, the original Nano Banana, with shutdown set for 15 March 2027, so do not build a new workflow on it.
Self-hosting open-weight models vs paying per call
Every price above is per call. The alternative is to download an open-weight model and run it in ComfyUI on your own GPU, where one more image costs electricity, not credits. Read the licence first. Black Forest Labs releases FLUX.2 [klein] 4B under Apache 2.0, which allows commercial use, and says it runs in about 13 GB of VRAM; FLUX.2 [klein] 9B and FLUX.2 [dev] are free only for non-commercial use. For video, Alibaba’s Wan 2.2 (Apache 2.0, July 2025) makes 720p clips on a single 24 GB card such as an RTX 4090 and has run in ComfyUI since launch. The catch is quality and staff time: someone maintains the machine, and the paid models still render products more accurately. A sensible split: self-host drafts and volume variants, pay per call for hero images.
Building the n8n flow
A spreadsheet-to-approved-image workflow in n8n
- 1Write the brief as a sheetOne row per image: SKU, product name, key features, setting, aspect ratio, language, campaign, status. Add a column for a reference photo link. The sheet is the single source of truth, and marketing owns it.
- 2Trigger on new rowsA Google Sheets trigger, or a schedule that picks up rows where status is “ready”. Process in small batches so one bad brief does not burn 200 calls.
- 3Let an LLM write the promptAn OpenAI, Claude or Gemini node turns each row into a full image prompt using a fixed system prompt that holds your brand rules (prompt 1 and 2 below).
- 4Generate the imageThe OpenAI or Google Gemini node’s generate or edit image operation, or HTTP Request for FLUX or a batch endpoint. Pass the real product photo as a reference so packaging stays accurate.
- 5Automated QA passA vision-capable model checks the image against the row: wrong colour, extra text, mangled logo, cultural issues (prompt 3). Failures loop back once, then go to a human.
- 6Human approvaln8n’s Slack node has a Send and Wait for Response operation with an Approval type: a reviewer clicks approve or decline in Slack and the workflow resumes. Nothing goes live without that click.
- 7Name, describe and storeGenerate alt text and file names (prompts 4 and 5), upload to Google Drive or your CDN, write the link and cost back to the sheet, set status to “approved”.
Use the real product, not a description of it. For e-commerce, generate around a reference photo with an edit operation. Pure text-to-image invents packaging details.
Five prompts that make the flow work
These run inside the workflow, not in a chat window. Adjust the brand rules in square brackets. More ready-made prompts are in our marketing prompt library.
You write image-generation prompts for [Brand], a Malaysian [category] brand. You receive one JSON row from a product brief and return ONE prompt, nothing else. Brand rules: - Palette: [hex codes]. Backgrounds clean and uncluttered. - Lighting: soft, natural daylight or softbox; no harsh neon unless the row says "night". - People: Malaysian, modestly dressed, natural expressions; no celebrity likeness. - Never add text, logos, watermarks or prices unless the row includes overlay_text. - Food and beverage scenes: no alcohol, no pork, nothing that conflicts with halal positioning. - Keep the product exactly as in the reference photo: shape, label, colour. Prompt structure: subject and product, setting, camera and lens, lighting, composition with space for text if needed, aspect ratio, then a short list of things to avoid. If the row is missing product_name or aspect_ratio, return "MISSING: <field>" instead of a prompt.
Write the image prompt for this row:
SKU: {{sku}}
Product: {{product_name}}
Key features to show: {{features}}
Setting: {{setting}}
Campaign: {{campaign}} (e.g. Hari Raya, CNY, 11.11, evergreen)
Channel: {{channel}}
Aspect ratio: {{aspect_ratio}}
Overlay text (leave space, do not render): {{overlay_text}}
Reference image: attached. Treat it as the ground truth for the product.You are a brand QA reviewer. Compare the generated image with the brief and the reference product photo.
Brief: {{row_json}}
Check and answer each with PASS or FAIL plus a one-line reason:
1. Product matches the reference (shape, colour, label, no invented text).
2. No extra text, logos, watermarks or garbled lettering.
3. Aspect ratio and composition fit {{channel}}, with clear space for overlay text if requested.
4. People, clothing, food and symbols are appropriate for a Malaysian audience and the campaign.
5. No visible artefacts: extra fingers, warped hands, melted edges, duplicated objects.
Return JSON: {"result": "PASS" or "FAIL", "checks": [...], "fix_hint": "one sentence for the prompt writer"}. If unsure on any check, FAIL it and say why. A human makes the final call.Write alt text for this approved product image for a Malaysian e-commerce listing.
Product: {{product_name}}. Language: {{language}} (BM, EN or ZH).
Rules: 80 to 125 characters. Describe what is visible: the product, its colour, the setting. Include the product name once. No "image of", no marketing claims, no emojis. Do not mention that the image is AI-generated in the alt text; disclosure is handled separately.From this row and the approved image, return JSON only:
{
"filename": "<sku>_<campaign>_<channel>_<aspect-ratio>_v<n>.webp" in lowercase with hyphens, no spaces,
"title": "max 60 characters",
"tags": ["5 to 8 lowercase tags"],
"ai_generated": true,
"model": "{{model_name}}",
"prompt_id": "{{execution_id}}",
"approved_by": "{{approver}}",
"approved_at": "{{timestamp}}"
}
Row: {{row_json}}Cost control
- Draft cheap, finish expensive. Generate drafts on a low-cost model or at 1K, and send only approved concepts to a 2K or 4K render.
- Use batch endpoints for overnight runs. Google and OpenAI both price batch jobs at half the standard rate. In n8n that usually means an HTTP Request node rather than the built-in node.
- Cap retries. One automatic retry after a QA fail, then a human. Infinite loops are how a RM200 job becomes a RM2,000 one.
- Log cost per row. Write model, resolution and estimated cost back to the sheet so finance sees cost per approved image, not just a monthly card charge.
Brand QA and disclosure
Automated QA catches obvious faults, not judgement calls. A human reviews every image before it is published, and someone senior signs off the first batch of any new campaign. Keep the metadata from prompt 5: if a regulator, a platform or a customer asks how an image was made, you can answer. Our copyright and disclosure guide covers labelling and ownership, and if real faces appear, read the PDPA and AI guide first. For the creative side of the shots themselves, see AI product photography and ad creatives.
Two hands-on days building n8n workflows and AI agents: LLM nodes, data processing, conditional logic, and building workflows with Claude or ChatGPT over MCP. The same building blocks run a bulk image pipeline.
Next public class: 1–2 December 2026 at Worq KL Gateway · seats available
If your team needs the creative and campaign side more than the plumbing, our AI Marketing training covers content, ad creative and image tools for marketing teams, and AI Vibe Marketing goes into campaigns and landing pages built with Claude or ChatGPT.
HRD Corp claimable. AITraining2U is an HRD Corp registered training provider. Our public and in-house courses are claimable under the HRD Corp Claimable Courses (SBL-KHAS) scheme, and we prepare the grant paperwork with you. See HRDC-claimable AI training: courses, costs and how to claim.