Transform Long Videos into Viral Shorts with AI & Schedule to Social Media using Whisper & Gemini
Created by
carlosgracia
• October 18, 2025
Overview
This automation template turns any long video into multiple viral-ready short clips and auto-schedules them to TikTok, Instagram Reels, and YouTube Shorts. It works with both vertical and horizontal inputs, respecting resolution. It uses OpenAI Whisper for transcription, Gemini for clip selection, and Upload-Post’s FFmpeg API for cutting/cropping.
Template
- n8n: Open workflow
Who is this for?
- Creators & Editors
- Agencies & Social Teams
- Brands & Founders
Key benefits
- Finds Hooks: AI picks 3–6 high-retention segments.
- Cuts Cleanly: Absolute-second FFmpeg timing.
- Schedules: Posts one clip per day automatically.
- Orientation-Aware: Handles vertical/horizontal inputs smarty.
Detailed flow
- Form Upload: Submit long video.
- Transcription: Whisper extracts word-level text.
- AI Clip Mining: Gemini detects viral moments.
- Cut & Crop: FFmpeg produces clean 9:16 clips.
- Auto-Scheduling: Schedules clips for consecutive days via Upload-Post.
Setup (step-by-step)
- Add OpenAI (Whisper) and Gemini credentials.
- Connect Upload-Post account (API token works for FFmpeg & Publishing).
- Adjust posting time/timezone (default Europe/Madrid).
- Run to batch-convert and schedule your content.