Create social media videos with Sora 2 AI for marketing & content creation
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when someone submits an n8n form (“Upload Image”). It uses only n8n's built-in nodes. It also calls api.defapi.org over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Upload Image”).
- Convert to JSON (Code): runs custom JavaScript code
- Send Sora 2 Generation Request to Defapi.org API (HTTP Request): calls api.defapi.org (POST)
- Wait: waits 10 seconds
- Obtain the generated status (HTTP Request): calls api.defapi.org
- Check if Generation is Complete (If): checks a condition and branches into true / false
- Format and Display Results (Edit Fields (Set)): sets 1 field: image_url
HTTP calls to: api.defapi.org
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 (6)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait - n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if
From the author
Overview This workflow utilizes the Defapi API with Sora 2 AI model to generate stunning viral videos with creative AI-generated motion, effects, and storytelling. Simply provide a creative prompt describing your desired video scene, and optionally upload an…