Unlimited UGC duration Videos using Sora 2 ? Is it possible ?
Hey everyone,
I’ve been working on an ambitious automation system that generates AI-driven UGC product videos with custom durations.
For now, I’m focusing on the proof of concept (POC) using two 10-second clips (total ~20s).
Here’s how the pipeline works 👇
1️⃣ Prepare Inputs
A submission form captures the product image.
The image is analyzed by GPT-4o.
Results are stored in Google Sheets with three main fields: ICP, Product Features, Video Settings (can also be manually filled)
2️⃣ Generate First Video (Video 1)
An AI agent creates the video prompt.
The prompt is sent to the Kie.ai API (Sora 2 model) for generation (following Nate’s tutorial).
Output → Video1.
3️⃣ Transcription
Used Whisper API to extract the transcription from Video1.
The text is then added to Google Sheets for further processing.
4️⃣ Quality Check (Optional)
A Gemini-powered row checks for abnormalities or hallucinations in the generated content.
5️⃣ Extract Persona & Last Frame
Used Shotstack API to capture 10 frames from Video1.
Each frame is analyzed and scored.
The system extracts the clearest persona image and last frame automatically.
6️⃣ Prepare for Video 2 Generation
The workflow gathers all necessary data (images, prompts, metadata) to build the second video.
7️⃣ Generate Second Video (Video 2)
Using this body for the sora-2-image-to-video endpoint:
{
"model": "sora-2-image-to-video",
"input": {
"prompt": "{{ $json.output.replace(/\r?\n|\r/g, ' ').replace(/\"/g, '').replace(/[“”]/g, '') }}",
"image_urls": [
"{{ $('Limit2').item.json['Last frame'] }}",
"{{ $('Limit2').item.json['Persona frame'] }}",
"{{ $('Limit2').item.json['Product Photo'] }}"
],
"aspect_ratio": "portrait",
"n_frames": "10",
"remove_watermark": true
}
}
🎥 Results
Attached below:
First video (Video 1)
Second continuation video (Video 2)
Workflow visual
💬 Looking for Feedback
I’d love feedback or suggestions on:
  • Optimizing prompt/body/strategy suggestions.
  • Improving continuity and persona consistency between videos
Thanks in advance for any advice — this project is pushing the boundaries of what’s possible with automated UGC creation, and I’d love to refine it with your input.
0:10
0:10
7
7 comments
Firas Zouaghi
3
Unlimited UGC duration Videos using Sora 2 ? Is it possible ?
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by