Skip to main content

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

Workflow preview

Workflow preview
100%
Generate UGC product video ads from a reference image with OpenAI and Kie.ai preview
Open on n8n.io

1. Workflow Overview

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 C...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.box, n8n-nodes-base.googledrive, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.toolthink

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jannik Hiller.

Original n8n.io source

1.1 Workflow description

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

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 at scale

  • Polls for completion and retrieves the generated media files

  • Uploads all videos to Box and Google Drive, then logs results to Google Sheets

Set up steps

  • Connect OpenAI credentials for image analysis

  • Configure your image generation API credentials

  • Configure your video generation API credentials

  • Connect Google Drive and Box for file uploads

  • Connect Google Sheets for tracking and logging

  • Keep detailed descriptions of your UGC style preferences in the sticky notes inside your workflow

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Analyze image

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - Upload a file

Type / Role
n8n-nodes-base.box - box
Config choices
Version 1

Block 6 - Upload file

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 7 - Image Generation Loop

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Video Generation Loop

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Validate prompt generation

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1.1

Block 10 - 📋 Overview: Scale product videos with AI-generated UGC content

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Stage 1: Setup and image analysis

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Stage 2: Prompt generation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Stage 3: Media generation and polling

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Stage 4: Upload and tracking

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Video script

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Setup (Image & Video settings)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Generate UGC prompts with AI agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 18 - Process image prompts1

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 19 - Call image generation API1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Wait for image generation1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 21 - Retrieve generated image1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Check if image is ready1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - Call video generation API1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - Wait for video generation1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Showing the first 24 of 34 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate UGC product video ads from a reference image with OpenAI and Kie.ai
Complexity advanced
Nodes 34
Categories Content Creation, Multimodal AI
Author Jannik Hiller
Published 11 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11701/11701.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate UGC product video ads from a reference image with OpenAI and Kie.ai do?

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 C...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.