Templates / Generate product creative images with Google Nano-Banana model via Defapi

Generate product creative images with Google Nano-Banana model via Defapi

Ready for 3.0

by panyanyany ✓ · 2,253 views · created 2025-09-11 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 8 nodes and runs when someone submits an n8n form (“AI Product Creative Generator”). It uses only n8n's built-in nodes. It also calls api.defapi.org over HTTP.

How it runs

Trigger: When someone submits an n8n form (“AI Product Creative Generator”).

  1. Send Image Generation Request to Defapi.org API (HTTP Request): calls api.defapi.org (POST)
  2. Wait: waits 10 seconds
  3. Obtain the generated status (HTTP Request): calls api.defapi.org
  4. Check if Image Generation is Complete (If): checks a condition and branches into true / false
  5. Format and Display Image Results (Edit Fields (Set)): sets 1 field: image_url
  6. Get Your Balance (HTTP Request): calls api.defapi.org
  7. Show Balance (Edit Fields (Set)): sets 1 field: data.credit

HTTP calls to: api.defapi.org

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Overview This workflow utilizes the Defapi API with Google's Nano-Banana model to generate AI-powered product creative images from text prompts and product images. Users can interact through a simple form, providing a text prompt describing the desired…

Excerpt from panyanyany's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.