AutomationMart
Home/Browse/Generate AI videos from text or images with Sora 2/Pro & GPT-5 enhancement
n8n

Generate AI videos from text or images with Sora 2/Pro & GPT-5 enhancement

n8nn8n13 modulesv1.0
OpenAI

Harness OpenAI's Sora 2 for instant video creation from text or images using fal.ai's API—powered by GPT-5 for refined prompts that ensure cinematic quality. This template processes form submissions, intelligently routes to text-to-video (with mandatory prompt enhancement) or image-to-video modes, and polls for completion before redirecting to your generated clip. 📋 What This Template Does Users submit prompts, aspect ratios (9:16 or 16:9), models (sora-2 or pro), durations (4s, 8s, or 12s),

At a glance

Generate AI videos from text or images with Sora 2/Pro & GPT-5 enhancement is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI
Modules
13
Price
Free
Version
v1.0
Generate AI videos from text or images with Sora 2/Pro & GPT-5 enhancement workflow diagram

About this workflow

Harness OpenAI's Sora 2 for instant video creation from text or images using fal.ai's API—powered by GPT-5 for refined prompts that ensure cinematic quality. This template processes form submissions, intelligently routes to text-to-video (with mandatory prompt enhancement) or image-to-video modes, and polls for completion before redirecting to your generated clip. 📋 What This Template Does Users submit prompts, aspect ratios (9:16 or 16:9), models (sora-2 or pro), durations (4s, 8s, or 12s), and optional images via a web form. For text-to-video, GPT-5 automatically refines the prompt for optimal Sora 2 results; image mode uses the raw input. It calls one of four fal.ai endpoints (text-to-video, text-to-video/pro, image-to-video, image-to-video/pro), then loops every 60s to check status until the video is ready. - Handles dual modes: Text (with GPT-5 enhancement) or image-seeded generation - Supports pro upgrades for higher fidelity and longer clips - Auto-uploads images to a temp host and polls asynchronously for hands-free results - Redirects directly to the final video URL on completion 🔧 Prerequisites - n8n instance with HTTP Request and LangChain nodes enabled - fal.ai account for Sora 2 API access - OpenAI account for GPT-5 prompt refinement 🔑 Required Credentials fal.ai API Setup 1. Sign up at fal.ai and navigate to Dashboard → API Keys 2. Generate a new key with "sora-2" permissions (full access recommended) 3. In n8n, create "Header Auth" credential: Name it "fal.ai", set Header Name to "Authorization", Value to "Key [Your API Key]" OpenAI API Setup 1. Log in at platform.openai.com → API Keys (top-right profile menu) 2. Click "Create new secret key" and copy it (store securely) 3. In n8n, add "OpenAI API" credential: Paste key, select GPT-5 model in the LLM node ⚙️ Configuration Steps 1. Import the workflow JSON into your n8n instance via Settings → Import from File 2. Assign fal.ai and OpenAI credentials to the relevant HTTP Request and LLM nodes 3. Activate the workflow—the form URL auto-generates in the trigger node 4. Test by submitting a sample prompt (e.g., "A cat chasing a laser"); monitor executions for video output 5. Adjust polling wait (60s node) for longer generations if needed 🎯 Use Cases - Social Media Teams: Generate 9:16 vertical Reels from text ideas, like quick product animations enhanced by GPT-5 for professional polish - Content Marketers: Animate uploaded images into 8s promo clips, e.g., turning a static ad graphic into a dynamic story for email campaigns - Educators and Trainers: Create 4s explainer videos from outlines, such as historical reenactments, using pro mode for detailed visuals - App Developers: Embed as a backend service to process user prompts into Sora 2 videos on-demand for creative tools ⚠️ Troubleshooting - API quota exceeded: Check fal.ai dashboard for usage limits; upgrade to pro tier or extend polling waits - Prompt refinement fails: Ensure GPT-5 credential is set and output matches JSON schema—test LLM node independently - Image upload errors: Confirm file is JPG/PNG under 10MB; verify tmpfiles.org endpoint with a manual curl test - Endless polling loop: Add an IF node after 10 checks to timeout; increase wait to 120s for 12s pro generations

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Generate images and send photos to Telegram from new articles using OpenAI and HTML text extraction

Use this template to convert new RSS feed articles to text, generate images and captions with ChatGPT, and send them to Telegram for instant sharing.

Free

LinkedIn scraping, structuring, and messaging using PhantomBuster and GPT-4

Description This template automates the end-to-end process of extracting professional data from LinkedIn and converting it into a usable format—ideal for recruiters, SDRs, marketers, and growth teams. With a few simple configurations, you’ll be able to trigger the flow, scrape profiles, and use AI to extract name, headline, company, role, industry, and more—without writing a single line of code. Key Features 🔗 Launch PhantomBuster Agent using a profile URL ⏳ Wait 45 seconds for Phanto

Free

Generate 5-level AI explanations for different audiences from Telegram to Google Docs with GPT-4.1-mini

Description Ask any question and get five different answers instantly. Each answer is written for a different audience—from kids to business executives. Your Telegram bot delivers all five explanations in under 10 seconds and saves them to Google Docs automatically. Perfect for teachers, writers, and anyone who needs to explain things to different people. Who's It For • Educators creating multi-grade curriculum content • Content creators generating material for diverse audi

Free

AI-powered knowledge assistant using Google Sheets, OpenAI, and Supabase Vector Search

Description An intelligent conversational AI system that provides contextual responses by combining chat history, vector database knowledge retrieval, and web search capabilities. How it Works (High-level steps) Message Detection: Google Sheets trigger monitors for new user messages and filters out already-processed entries Context Preparation: Extracts user message, retrieves chat history, and formats conversation context with system prompt Knowledge Retrieval: AI agent searches vector database

Free

Create AI viral videos using NanoBanana 2 PRO & VEO3.1 and publish via Blotato

Create AI Viral Videos using NanoBanana 2 PRO & VEO3.1 and Publish via Blotato Who is this for? This template is for content creators, marketers, agencies, and UGC studios who want to turn a simple Telegram message into AI-generated vertical videos, automatically published across multiple social platforms using Blotato. --- What problem is this workflow solving? / Use

Free

LinkedIn engagement automator with GPT-4o/Claude, human review & multilingual comments

Automate LinkedIn engagement without sounding like a bot. This workflow: 🌍 Detects language & tone (German / English) 👍 Chooses the right reaction (like / celebrate / support …) 🗣 Generates a personalised comment in your voice and mentions the author 📲 Optional Telegram review – approve ✅ or regenerate ❌ before posting 💸 Runs on cost-efficient GPT-4o mini or Claude 3.5 Haiku ☁️ Publishes comment + reaction via the Unipile API Setup (≈ 15-30 min) Unipile – connect LinkedIn → copy accountid, dsn,

Free

Send AI interview briefs from resumes with GPT-4o-mini, Google Sheets and Gmail

Quick Overview This workflow runs every 15 minutes to read candidate rows from Google Sheets, download each resume PDF from Google Drive, extract text, generate an HTML interview brief using OpenAI GPT-4o-mini, email it via Gmail to the interviewer, and mark the row as Processed to avoid duplicates. How it works 1. Runs on a schedule trigger every 15 minutes. 2. Reads all candidate rows from the “Candidates” tab in Google Sheets and processes them one at a time. 3. Skips any rows where the Statu

Free

Capture LinkedIn leads and sync them with Google Sheets, HubSpot or Salesforce

This n8n workflow automatically captures LinkedIn leads from multiple sources (new connections, post engagements), enriches the data with AI-powered scoring, eliminates duplicates, syncs to Google Sheets and your CRM (HubSpot or Salesforce), and sends instant notifications to your sales team for high-quality leads. No more manual copy-pasting or lost opportunities—every LinkedIn interaction becomes a tracked, qualified lead ready for follow-up. Benefits Zero Manual Data Entry: Eliminates tediou

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free