Transform Text to UGC Videos with OpenAI SORA-2 on Replicate

Go to Workflow
0 views
Built by Yaron Been Yaron Been
Created on June 05, 2026

Description


This workflow automates the entire text-to-video generation process using OpenAI's SORA-2 model via Replicate API. Simply provide a seed image, text prompt describing your desired scene, and video duration (4, 8, or 12 seconds), and the workflow handles the video creation, status monitoring, and delivery of your AI-generated content - typically ready in 2-5 minutes.

Tools Used
n8n**: The automation platform that orchestrates the workflow
Replicate API**: Powers the OpenAI SORA-2 AI model for text-to-video generation
OpenAI API**: Required for SORA-2 model authentication
Status Monitoring**: Automated checking system with intelligent retry logic
Error Handling**: Built-in resilience with comprehensive error management
Batch Processing**: Optional bulk generation for multiple videos

How to Install
Import the Workflow: Download the .json file and import it into your n8n instance
Get API Keys: Sign up at replicate.com and openai.com for your API tokens
Configure API Tokens: Replace placeholders in the "Set API Token" node with your keys
Add Seed Image: Update the image URL in the "Add Seed Image, Prompt and amount of seconds" node (1280x720 recommended)
Write Your Prompt: Describe your desired video scene and set duration, then run the workflow

Use Cases
Ad Agencies**: Generate multiple video variations for A/B testing campaigns
E-commerce Brands**: Create product demonstration videos from a single photo
Content Creators**: Produce unique video content without filming equipment
Marketing Teams**: Rapidly iterate on video ad concepts for social media
Startups**: Create professional video content without expensive production costs
Social Media Managers**: Generate platform-specific video content at scale

Connect with Me
Email**: [email protected]
YouTube**: https://www.youtube.com/@YaronBeen/videos
LinkedIn**: https://www.linkedin.com/in/yaronbeen/
ROASPIG**: Check out ROASPIG.com for scalable media generation and automation solutions

#n8n #automation #ai #sora2 #texttovideo #openai #replicate #contentcreation #videomarketing #adcreatives

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest