Templates / Generate UGC product video ads from a reference image with OpenAI and Kie.ai

Generate UGC product video ads from a reference image with OpenAI and Kie.ai

Ready for 3.0

by Jannik Hiller ✓ · 791 views · created 2025-12-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 AI workflow has 27 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, OpenAI Chat Model, Box and Google Drive and 1 more. It also calls api.kie.ai over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Video script (Edit Fields (Set)): sets 1 field: Script
  2. Setup (Image & Video settings) (Edit Fields (Set)): sets 6 fields: googledrive link reference image, how many videos?, dialouge…
  3. Analyze image (OpenAI): analyze (image)
  4. Generate UGC prompts with AI agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Validate prompt generation); output parser: Structured Output Parser
  5. Process image prompts (Split Out): splits a list into separate items
  6. Call image generation API (HTTP Request): calls api.kie.ai (POST)
  7. Wait: pauses before continuing
  8. Retrieve generated image (HTTP Request): calls api.kie.ai
  9. Check if image is ready (If): checks a condition and branches into true / false
  10. Call video generation API (HTTP Request): calls api.kie.ai (POST)

…plus 13 more steps. See the full node list below.

Services it uses

OpenAIOpenAI Chat ModelBoxGoogle DriveGoogle Sheets

HTTP calls to: api.kie.ai

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

From the author

How it works - Analyzes a reference product image using AI vision to extract brand elements, colors, and design - Generates UGC-style prompts for image and video creation based on your specifications - Calls external APIs to generate product images and videos…

Excerpt from Jannik Hiller'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.