Generate Shopify product images using AI Agent and deAPI

Go to Workflow
87 views
Built by deAPI Team deAPI Team
Created on June 05, 2026

Description

Who is this for?

E-commerce store owners using Shopify
Product managers who need consistent product imagery
Marketing teams looking to automate visual content creation
Dropshipping businesses needing quick product photos

What problem does this solve?

Creating professional product images is time-consuming and expensive. This workflow eliminates the need for manual photo editing by automatically generating styled hero images and transparent PNGs ready for your product catalog.

What this workflow does

Triggers when a new product is created in Shopify
Extracts product title, description, category, and tags
AI Agent analyzes the product data and uses the deAPI Prompt Booster tool to create an optimized image generation prompt
Generates a professional product image using deAPI
Removes background to create a transparent PNG version
Updates the Shopify product with both images (hero + transparent)

Setup

Requirements
n8n instance** (self-hosted or n8n Cloud)
deAPI account for image generation and prompt boosting
Shopify scopes: read_products, write_products, write_files
Anthropic account for the AI Agent

Installing the deAPI Node
n8n Cloud: Go to **Settings → Community Nodes and toggle the "Verified Community Nodes" option
Self-hosted: Go to **Settings → Community Nodes and install n8n-nodes-deapi

Configuration
Add your deAPI credentials (API key + webhook secret)
Add your Shopify credentials (Shop subdomain + APP secret key + Access token)
Add your Anthropic credentials (API key)
Ensure your n8n instance has an HTTPS webhook URL
Set up the webhook URL for the product creation event in Shopify

How to customize this workflow

Change the AI model**: Swap Anthropic for any other LLM providers
Adjust the prompt**: Modify the AI Agent system message for different photography styles
Add more processing**: Insert upscaling(e.g. deAPI Upscale an Image) or additional image transformations
Different e-commerce platform**: Replace Shopify nodes with WooCommerce, BigCommerce, etc.
Add human review**: Insert a Wait node + Slack notification before uploading to Shopify

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
Shopify
n8n-nodes-base.shopify
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured