Who is this for?
- Marketing teams who need quick video ads without a production crew
- E-commerce sellers promoting products on social media
- Freelancers and agencies producing ad creatives for clients
- Anyone who wants to turn a product description into a video ad in minutes
What problem does this solve?
Producing a video ad typically requires a designer for the visuals, a motion artist for animation, and hours of back-and-forth. This workflow replaces that entire pipeline — fill out a form, and get a ready-to-use video ad delivered to your inbox.
What this workflow does
- Collects product name, description, visual style, and recipient email through a web form
- AI Agent analyzes the product and uses both deAPI Image Prompt Booster and Video Prompt Booster tools to create optimized prompts for image and video generation
- Generates a 1280x720 landscape product hero image using deAPI
- Animates the hero image into a short video ad using deAPI image-to-video generation
- Emails the video ad link to the specified address via Gmail
Setup
Requirements
- Self-hosted n8n instance (deAPI node is not yet available on n8n Cloud)
- deAPI account for prompt boosting, image generation, and video generation
- Anthropic account for the AI Agent
- Gmail account for email delivery
Installing the deAPI Node
- Go to Settings → Community Nodes
- Install
n8n-nodes-deapi
Configuration
- Add your deAPI credentials (API key + webhook secret)
- Add your Anthropic credentials (API key)
- Add your Gmail credentials (OAuth2)
- Ensure your n8n instance is on HTTPS
How to customize this workflow
- Change the AI model: Swap Anthropic for OpenAI, Google Gemini, or any other LLM provider
- Adjust the creative direction: Modify the AI Agent system message to target different ad styles (product demo, lifestyle, teaser, etc.)
- Change the delivery method: Replace Gmail with Slack, Microsoft Teams, or upload directly to Google Drive / S3
- Change the aspect ratio: Switch from landscape to square or portrait for Instagram Stories or TikTok
- Add background removal: Insert a deAPI Remove Background node before video generation for a clean product cutout
- Batch processing: Replace the Form Trigger with a Google Sheets or Airtable trigger to generate ads for a product catalog