AITraining2U

Programs

Resources

Case Studies

Quick Links

Enquire Now
AI Image & Video · Automation

Bulk AI image generation: from one-off prompts to an approved pipeline

Hundreds of SKUs, weekly social posts, three languages. Here is when to use ComfyUI or Figma Weave, when to automate with n8n and image APIs, and how to keep cost and brand quality under control.

By Marcus Chia 2026-11-14 · Updated 2026-11-24 9 min read
Dec1–2

Next public cohort

1–2 Dec 2026 · Tue–Wed

Worq KL Gateway

Limited seats · see all dates

Flat-lay grid of gadgets and accessories on a split black and white background, the kind of catalogue shot teams produce in bulk

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.

ApproachHow it worksRealistic volumeTrade-offs
One-off prompting (ChatGPT, Gemini app, Midjourney)A designer types each promptUp to a few dozen images a weekLow setup, high hours per image; quality depends on who is prompting that day
ComfyUINode graph you build once, run many timesHundreds, if you have a GPU or Comfy CloudOpen 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 ecosystemTens to low hundreds, designer-ledEasiest 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 GPULimited by your hardware, not your budgetNo per-image fee, only hardware, power and upkeep; quality trails the paid leaders; check each licence
n8n + image model APIsSpreadsheet row in, approved image outHundreds to thousands, unattendedNeeds 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:

ModelBilling unitIndicative price
Google Nano Banana 2.1 (Gemini API)Per image, priced from output tokensUS$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 tokensUS$0.134 per 1K or 2K image; US$0.24 at 4K
OpenAI GPT Image 2 familyTokens (image output US$30 per million)Per-image cost depends on size and quality; Batch API halves the token rates
OpenAI gpt-image-1-miniTokens (image output US$8 per million)The budget option for drafts and thumbnails
Black Forest Labs FLUX 3 ImagePer image by resolution tierUS$0.048 at 1K; FLUX 3 Image Klein US$0.009 at 1K
Black Forest Labs FLUX.2 [pro]Per megapixelUS$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

  1. 1
    Write the brief as a sheet
    One 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.
  2. 2
    Trigger on new rows
    A 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.
  3. 3
    Let an LLM write the prompt
    An 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).
  4. 4
    Generate the image
    The 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.
  5. 5
    Automated QA pass
    A 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.
  6. 6
    Human approval
    n8n’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.
  7. 7
    Name, describe and store
    Generate 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.

1. System prompt for the prompt-writer LLMClaude, GPT or Gemini
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.
2. Per-row template (user message)Any LLM node
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.
3. QA checkerVision-capable model
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.
4. Alt-text writerAny vision model
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.
5. File name and metadataAny LLM node
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.

HRDC-claimable · 2 days · hands-on
AI Agentic Automation with n8n

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.

Frequently Asked Questions

Put the brief in a spreadsheet, one row per image, with the SKU, product name, setting, aspect ratio and a link to a real product photo. Then use an automation tool such as n8n to read each row, have an LLM write the prompt, call an image API such as Google’s Nano Banana, OpenAI’s GPT Image or FLUX, run an automated quality check and send the result to a person for approval. Approved images are named, given alt text and saved to Google Drive or your CDN. Start with 20 rows before running the full catalogue.

They solve different problems. ComfyUI is a node-based tool for building the image recipe itself: models, LoRAs, ControlNets, upscalers. It is open source and free to run locally, but you need a GPU or Comfy Cloud and some patience. n8n is a workflow automation tool that does not generate images itself; it moves data between a spreadsheet, an LLM, an image API, an approval step and storage. Many teams design the look in ComfyUI or Figma Weave, then run volume through n8n.

Less than most teams expect for the model itself. As of November 2026, Google lists Nano Banana 2.1 at US$0.0336 per 1K image, halved on its Batch API, so 1,500 images is roughly US$50 at standard rates. FLUX 3 Image is listed at US$0.048 per 1K image. OpenAI bills its GPT Image models by tokens. The bigger costs are rejected images, retries and staff review time, so cap retries and log the cost of each approved image.

Figma Weave is the node-based AI image and video tool formerly called Weavy, which Figma acquired in October 2025. You connect generation and editing steps as nodes on a canvas, branch and remix outputs, and use several models such as Flux, Ideogram, Nano Banana and Seedream in one place. At Config 2026 Figma made more than 20 pre-built Weave workflows available on the Figma Design canvas. It suits designers exploring a look more than unattended batch runs.

Yes. Image models still invent label text, warp logos, change product colours and occasionally produce culturally inappropriate details. An automated QA step with a vision model catches many of these, but a person who knows the brand should approve every image before it goes on a listing or an ad. In n8n you can pause the workflow until a reviewer approves in Slack. Keep a record of the model, prompt and approver for each image in case a platform or customer asks.

Turn your product sheet into an approved image pipeline

Two hands-on days building n8n workflows with LLMs, approvals and real business data. HRDC claimable, public or in-house.