Generate AI videos from text or images with Sora 2/Pro & GPT-5 enhancement
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when someone submits an n8n form (“Create a Video using Sora 2”). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Create a Video using Sora 2”).
- Input Mode Router (Switch): routes items into 2 branches
- Temp Image Upload (HTTP Request): calls an HTTP API (POST)
- Prompt Refiner (Basic LLM Chain): sends a prompt to an LLM, with model: Refiner Model; output parser: JSON Output Parser
- Image-to-Video Call (HTTP Request): calls an HTTP API (POST)
- Text-to-Video Call (HTTP Request): calls an HTTP API (POST)
- Wait: waits 60 seconds
- Status Check (HTTP Request): calls an HTTP API
- Status Router (Switch): routes items into 2 branches
- Retrieve Video (HTTP Request): calls an HTTP API
- Video Redirect (n8n Form): shows the next form page
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - n8n Form
n8n-nodes-base.form - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
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…