n8n: Viral clips from YouTube with Gemini + FFmpeg
Last checked
Solves Pulling the best moments out of a YouTube video and cutting them into clips automatically
- Works with
- n8n workflows FFmpeg
- Setup
- Hard setup
- Price
- Free
- Type
- n8n workflow
Visit official page → How to set it up
Made this tool? Send a correction or get it featured
Helps with turn long videos into shorts, earn more as an editor
Screenshots
(open full size)Ideas to try
Ideas to try
These are our ideas, not reports from real users. We haven't found a public example of someone using this tool yet. Know one?
- Give the agent shot rules: full screen face for punchlines, split screen for explanations, screen capture when the screen matters
- Pick the moments yourself and let the agent do the cropping, captions and export
- Offer podcasters a monthly package of captioned Shorts cut from each episode
What it does
Downloads a YouTube video with yt-dlp, has Gemini score transcript moments for virality, then FFmpeg cuts the top 10 into 9:16 clips with burned-in subtitles.
How to set it up
- Self-host n8n; install ffmpeg and yt-dlp on the host.
- Create /data/clips with write permission.
- Import the workflow JSON and create the editing subworkflow.
- Add Gemini and Gmail credentials, then test on a 5-10 minute video.
This is a plain English summary of the project's own instructions. Commands and versions change, so always follow the current README at the source link
Safety notes
- Needs shell access on the n8n host (FFmpeg, yt-dlp).
- Google Gemini API key and Gmail OAuth credentials.
General rule: open a duplicate of your project before letting any agent make changes, and read what a script does before approving it
Other tools for turn long videos into shorts
Demo clippodcli
Solves Turning a long podcast episode into vertical clips with face tracking and captions
VideoKinocut (formerly mcp-video)
Solves Repurposing long videos into Shorts and Reels with quality checks before export

MCP Bridge for Adobe Premiere Pro
Solves Cutting pauses, building rough cuts and doing timeline busywork in Premiere by asking an AI
Demo clipffmpeg-skill
Solves Captions, 9:16 crops, silence removal and exports done on your own computer by an AI
Demo clipVideo & Audio Editing MCP
Solves Converting, trimming, adding overlays and making social versions of a video by asking
VideoVectCutAPI (CapCut/Jianying API)
Solves Making lots of CapCut videos with subtitles, voiceover and effects without editing each one by hand
Compare all 3 n8n workflows tools →
The AgentCut weekly
New AI connectors for After Effects, Premiere, Resolve and CapCut, tested setup notes, and what broke after app updates. One email a week