Templates / Generate competitor-style image ads from your product photos with Gemini

Generate competitor-style image ads from your product photos with Gemini

Ready for 3.0

by Pratyush Kumar Jha ✓ · 272 views · created 2026-02-04 · 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 10 nodes and runs when someone submits an n8n form (“Facebook Ad Thief Form”). It uses only n8n's built-in nodes. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Facebook Ad Thief Form”).

  1. convert_product_image_to_base (Extract from File): extracts data from a file (binary to propery)
  2. download_image (HTTP Request): calls an HTTP API
  3. convert_ad_image_to_base (Extract from File): extracts data from a file (binary to propery)
  4. build_prompt (Edit Fields (Set)): sets 1 field: prompt
  5. generate_ad_image_prompt (HTTP Request): calls generativelanguage.googleapis.com (POST)
  6. generate_ad_image (HTTP Request): calls generativelanguage.googleapis.com (POST)
  7. Wait: pauses before continuing
  8. set_result (Edit Fields (Set)): sets or maps fields
  9. get_image (Convert to File): converts data to a file (to binary)

HTTP calls to: generativelanguage.googleapis.com

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 (6)

From the author

Image Ad Cloner AI Agent This n8n workflow automates “cloning” a competitor ad style and re-generating it using your product image. A user uploads your product image and provides a competitor ad URL via a form trigger; the workflow downloads both images,…

Excerpt from Pratyush Kumar Jha'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.