# Generate UGC e-commerce video ads with GPT-4o Vision, Gemini 2.5 Pro and Sora 2

> Quick overview This workflow collects a product image URL and product name from an n8n form, uses OpenAI Vision to build an ideal UGC creator persona, uses Google Gemini to generate three 12‑second UGC scripts, and then generates portrait videos for each script via the Prototipal Sora 2 gateway. How it works 1. Receives a submission from an n8n Form Trigger containing a Product Image URL and Product Name. 2. Downloads the product image and converts it to base64 so it can be sent to AI models. 3. Uses OpenAI (GPT‑4o with image input) to analyze the product image and generate a detailed UGC creator persona profile. 4. Sends the persona, product name, and product image to Google Gemini 2.5 Pro to generate multiple 12‑second UGC video scripts. 5. Extracts the individual scripts into an array, then iterates through them one by one. 6. For each script, requests a Sora 2 video generation job via the Prototipal API, polls the job status every 15 seconds until it is completed, and downloads the

- **Domain**: `n8n-workflow-20367.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20367
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20367.n8n.io
- Documentation: https://n8n.io/workflows/20367
