🎬 Generate Sora v2 ASMR clips with GPT-5.1, stitch via Cloudinary, and post to Twitter/X

⚡ 290 views · 🎬 Content Creation & Video

Description

Generate Sora videos, stitch clips, and post to Twitter

Generate creative ASMR cutting video concepts with GPT-5.1, create high-quality video clips using Sora v2, stitch them together with Cloudinary, and automatically post to Twitter/X—transforming ideas into viral content without manual video editing.

How it works

Step 1: Generate Video Concepts

Step 2: Create Video Clips with Sora v2

Step 3: Monitor & Download Videos

Step 4: Stitch Videos Together

Step 5: Upload to Twitter/X

What you’ll get

Why use this

Setup instructions

Required accounts and credentials:

  1. OpenAI API Key (GPT-5.1 and Sora v2 access required)

    • Sign up at https://platform.openai.com
    • Ensure your account has Sora v2 API access enabled
    • Generate API key from API Keys section
    • Note: Sora v2 is currently in limited beta
  2. Google Sheets OAuth (for tracking video ideas and status)

    • Free Google account required
    • Create a spreadsheet with columns: Category, Scene 1, Scene 2, Scene 3, Status
    • n8n will request OAuth permissions during setup
  3. Cloudinary Account (for video storage and stitching)

    • Sign up at https://cloudinary.com (free tier available)
    • Note your cloud name from the dashboard
    • Create an upload preset named n8n_integration
    • Enable unsigned uploads for the preset
  4. Twitter OAuth 1.0a Credentials (for automated posting)

    • Apply for Twitter Developer access at https://developer.twitter.com
    • Create a new app in the Developer Portal
    • Generate: API Key, API Secret, Access Token, Access Token Secret
    • Enable “Read and Write” permissions (not just Read)
    • OAuth 1.0a is required for media uploads (OAuth 2.0 won’t work)

Configuration steps:

  1. Update OpenAI API Key:

    • Add your OpenAI API key to these nodes:
      • “OpenAI Chat Model” credentials
      • “Create Sora Video Scene - 1” (Authorization header)
      • “Create Sora Video Scene - 2” (Authorization header)
      • “Create Sora Video Scene - 3” (Authorization header)
      • “Check Video Status” (Authorization header)
      • “Download Completed Video” (Authorization header)
    • Replace Bearer API KEY with Bearer YOUR_ACTUAL_API_KEY
  2. Configure Google Sheets:

    • Open “Save Category and Clip Scripts” and “Update Status” nodes
    • Authenticate with your Google account (OAuth 2.0)
    • Select your spreadsheet and sheet name
    • Ensure columns match: Category, Scene 1, Scene 2, Scene 3, Status
    • The workflow will update Status from “In Progress” to “Posted”
  3. Update Cloudinary Settings:

    • In “Upload to Cloudinary” node:
      • Replace {Cloud name here} in the URL with your Cloudinary cloud name
      • Verify upload preset is set to n8n_integration
    • In “Build Stitch URL” node:
      • Open the Code node
      • Replace dph9n4uei on line 1 with your cloud name
      • This builds the video stitching transformation URL
  4. Add Twitter OAuth 1.0a Credentials:

    • Configure OAuth 1.0a in these nodes:
      • “Twitter Upload - INIT”
      • “Twitter Upload - APPEND”
      • “Finalize Upload”
      • “Check Twitter Processing Status”
      • “Post a Tweet”
    • Use the same OAuth 1.0a credential for all nodes
    • Ensure your Twitter app has “Read and Write” permissions
  5. Adjust Schedule Trigger (optional):

    • Default: Runs on every interval
    • Modify in “Schedule Trigger” node to set specific times
    • Recommended: Once per day or every few hours to avoid rate limits
  6. Test the workflow:

    • Click “Execute Workflow” to test manually first
    • Verify GPT-5.1 generates 3 video concepts
    • Check that Sora v2 creates all 3 videos
    • Confirm Cloudinary stitches videos correctly
    • Ensure Twitter post appears with video and caption

Important notes:

Troubleshooting:

Next steps:

  1. Enable the Schedule Trigger to automate daily/weekly posts
  2. Monitor Google Sheets to track posted content
  3. Adjust GPT-5.1 prompts in “ASMR Cutting Ideas” for different content themes
  4. Experiment with different video durations (8 vs 12 seconds)
  5. Add error notifications using Email or Slack nodes

đź”— Nodes Used

Google Sheets, HTTP Request, Schedule Trigger, AI Agent, OpenAI Chat Model, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup