Generate Sora v2 ASMR clips with GPT-5.1, stitch via Cloudinary, and post to Twitter/X
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 automaticall...
Template notes
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 - Schedule Trigger activates the workflow automatically - GPT-5.1 AI agent generates 3 unique ASMR cutting scene prompts with unusual objects - Creates structured video prompts optimized for Sora v2 (frontal camera angle, cutting actions) - Generates Twitter-ready captions with relevant hashtags - Saves all concepts and scripts to Google Sheets for tracking
Step 2: Create Video Clips with Sora v2 - Generates 3 separate Sora v2 video clips in parallel (8-12 seconds each) - Each clip uses unique prompts from GPT-5.1 output - Videos render at 720x1280 resolution (vertical format for social media) - System waits 30 seconds for rendering to complete
Step 3: Monitor & Download Videos - Loops through all 3 video generation requests - Checks Sora API status every 30 seconds until rendering completes - Automatically skips failed renders (continues workflow with successful videos) - Downloads completed videos from Sora API - Uploads each clip to Cloudinary for storage and processing
Step 4: Stitch Videos Together - Collects all uploaded Cloudinary video IDs - Builds Cloudinary transformation URL to stitch 3 clips into one seamless video - Applies Twitter-compatible encoding (H.264 baseline, AAC audio, MP4 format) - Downloads the final stitched video
Step 5: Upload to Twitter/X - Prepares video file data and calculates total file size - Uses Twitter's chunked upload API (INIT → APPEND → FINALIZE) - Waits for Twitter's video processing to complete - Checks processing status until video is ready - Posts tweet with AI-generated caption and attached video - Updates Google Sheets status to "Posted"