n8n: Generate video prompts with GPT-4o-mini

Demo summary
The creator configures an n8n AI Agent node using GPT-4o-mini to transform product features and customer data into detailed cinematic prompts for Sora 2.
Step-by-step
- Add an AI Agent node to the n8n workflow
- Define the User Prompt by mapping product, features, ideal customer, and video settings from previous node inputs
- Set the System Message to 'Expression' and input detailed instructions defining the agent's persona and output structure
- Connect an OpenAI Chat Model sub-node to the AI Agent
- Configure OpenAI credentials using a secret API key from the OpenAI platform
- Select 'gpt-4o-mini' from the model dropdown list
- Execute the node to generate the cinematic prompt
Options
- Use any available OpenAI model (e.g., base models or mini models)
- Define custom input fields for the prompt using colons and drag-and-drop mapping
Watch out for
- A chat model sub-node must be connected and enabled for the AI Agent to function
- OpenAI API requires a credit balance (e.g., $5) to generate keys and process requests
- Do not include the photo link in the prompt generation node as it is only needed for the final video API
Tips
- Use GPT-4o-mini models because they are cheaper than the base models
- Provide the AI with an example input and output format in the system message to ensure structured results
- Define the agent as an 'expert AI UGC video prompt engineer' to improve the quality of cinematic and emotional engagement
All demos from “This AI Workflow Creates Viral UGC Ads for $0.15 (Sora 2 + n8n Agents)”
6:023:42Generate video prompts with GPT-4o-miniCurrentThe creator configures an n8n AI Agent node using GPT-4o-mini to transform product features and customer data into detailed cinematic prompts for Sora 2.n8n· AI Video Prompt Generator
9:445:26Generate Sora 2 videos via Kai APIThe creator shows how to use an HTTP Request node in n8n to send prompts and image URLs to the Kai API to trigger Sora 2 video generation.n8n· AI Animation Generator
24:101:26Review AI-generated UGC video adsThe video shows the final output of the Sora 2 model, demonstrating AI-generated videos for a cold brew concentrate and a protein shake based on the automated workflow.n8n· AI Commercial Generator- Watch “This AI Workflow Creates Viral UGC Ads for $0.15 (Sora 2 + n8n Agents)” →
AI Video Prompt Generator
20:251:08Optimize video prompts with Gemini 1.5 Pro in n8nThe creator shows how to use a Gemini node within n8n to analyze an image and rewrite a 'bare bones' user prompt into a detailed prompt for better video generation results.Chase AI
6:023:42Generate video prompts with GPT-4o-miniCurrentThe creator configures an n8n AI Agent node using GPT-4o-mini to transform product features and customer data into detailed cinematic prompts for Sora 2.Kyle Friel | AI Software
n8n