n8n: Viral clips from YouTube with Gemini + FFmpeg

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.

Visit official page →

How to set it up

  1. Self-host n8n; install ffmpeg and yt-dlp on the host.
  2. Create /data/clips with write permission.
  3. Import the workflow JSON and create the editing subworkflow.
  4. 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.

Alternatives and related 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.