Anil-matcha/AI-Youtube-Shorts-Generator ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python tool that takes a long YouTube video or a local mp4 and turns it into a few vertical shorts for TikTok, Reels, and YouTube Shorts.

I want it to either use an online API by default or run locally if I pass a local mode flag. It should transcribe the video, find the most viral looking moments, rank them with a score, and then crop each clip into a clean 9:16 format with the speaker centered. Please make it work from the command line and also as a Python function I can import. I’d like to choose how many clips to generate, set the aspect ratio, and optionally save a JSON file with the transcript, candidate highlights, scores, and final clip paths or links.

If you need current docs for anything, look them up online. Keep it free to self host, with no watermarks, and make the local mode reuse cached transcription if possible.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab