I Automated My YouTube Shorts Pipeline With Python and AI

Опубликовано: 29 Март 2026
на канале: Third Space Interactive
2,019
94

So I got tired of digging through my own videos to find the good parts...
Instead of scrubbing timelines for hours, I built a Python script that does it automatically using AI. It finds the highlights, adds captions, and gives you clean, vertical clips ready for TikTok, Reels, or Shorts — all with just a few commands.

GitHub Repo: https://github.com/ArkounM/YT_to_Shorts

It uses:

Whisper (for accurate transcriptions + word-timed captions)
Google Gemini AI (to spot the most interesting moments)
OpenCV + Pillow (for editing + styling everything)

You’ll get: ✔️ Word-by-word captions
✔️ Smooth transitions
✔️ A vertical format that actually looks good
✔️ Bonus tools for long-form creators (like auto chapters + full-length captions)
✔️ And yeah... it’s totally free and open source.

More stuff I’m building: https://arkounmerchant.com

If this helps you out, drop a like, maybe sub, and let me know what other tools you'd want to see next! 🙌

CHAPTERS
------------------------------------
00:00 Introduction
00:53 How to Get Started
02:40 Extra Control of Output
03:30 Editing the Captions Style
04:20 Bonus Tools
------------------------------------

CONNECT WITH ME:
Website: https://thirdspaceinteractive.ca/
Instagram:   / thirdspaceinteractive  
LinkedIn:   / arkoun-merchant-552874180  
Discord:   / discord  
ArtStation: https://www.artstation.com/thirdspace...