scalr Book a call
← Field notes

AI tools

Someone Put Opus Clip's $29 Feature on GitHub for Free

A developer rebuilt Opus Clip's core feature, turning a long YouTube video into ranked vertical shorts, as a free tool on GitHub. The repo link, the setup steps straight from its README, and what I'd tell a Singapore creator to do with it.

A cream cover reading Opus Clip's $29 feature, free, with the Opus Clip and GitHub logos, beside a screenshot of the Opus Clip pricing page

There's a free tool on GitHub called AI YouTube Shorts Generator, and it does the one thing people actually pay Opus Clip for: you give it a long YouTube video, and it hands you back a handful of ranked, vertical shorts, ready to post. No subscription, no watermark, and the code is sitting right there for anyone to run.

It's the AI YouTube Shorts Generator repo, and its own README describes what it does in one line: it turns a video into "ranked, viral-ready 9:16 shorts."

Is this the same as Opus Clip?

Not quite. Opus Clip is a hosted product. You upload through a browser, it processes on their servers, and you pay monthly for the privilege: $29 a month for the Pro plan as of November 2026, which adds a shared team workspace and AI video B-roll. The cheaper $15 Starter plan is where the watermark comes off and the editor unlocks, and there's a free tier that keeps the watermark on.

Opus Clip's pricing page showing the Pro plan at $29 USD a month, discounted to $17.40 a month on annual billing, next to the Starter plan at $15 a month
Screenshot: opus.pro, September 2026.

This repo is the opposite shape. You clone it, you run it on your own machine, and there's no company sitting between you and the code. Its own GitHub description names exactly what it's standing in for: an open-source alternative to Opus Clip, Klap and SubMagic, among a couple of others in the same bracket. It doesn't come with the drag-and-drop browser editor, the team seats or the one-click social posting that Opus Clip sells, but the core job, picking the good parts of a long video and cutting them vertical, is the same job.

Does Opus Clip have its own GitHub?

Yes, but not for the clipper itself. Opus Clip's company publishes a handful of repos at github.com/opus-pro, and most of them connect AI agents to its paid service rather than replace it. The main one is an official skill that lets Claude Code clip videos through your Opus Clip account, and its README says clipping needs a Pro, Max or Enterprise plan. Their MCP server does the same job for other agents and signs in to your account. The engine you pay for stays on their servers.

So if you searched for Opus Clip's code, it isn't public. The repo in this article is the one that runs the whole job on your own machine. It's MIT-licensed, it had passed 5,600 stars by 27 October 2026, and it was still being updated that week.

How does it turn a long video into shorts?

The script I filmed for this compressed it to three steps, and that's genuinely most of it: you drop in a long YouTube video, it finds the strong moments and ranks them, and it cuts them to vertical, ready for TikTok, Reels and YouTube.

Under the hood, per its own README, the pipeline runs in order: it downloads the source video, transcribes it, has an LLM read the transcript against a "virality framework" (hooks, emotional peaks, opinion bombs, revelations, conflict, quotable lines) and scores every candidate moment from 0 to 100, collapses any clips that overlap each other, keeps the top-scoring ones, and auto-crops each into a vertical frame. Every output clip comes back with its own score, a hook sentence, and a one-line reason the tool thinks it'll work.

The GitHub README for the AI YouTube Shorts Generator repo, describing it as a free alternative to paid clipping tools and stating it produces ranked, viral-ready 9:16 shorts, next to a sidebar showing the repo's star count
Screenshot: GitHub, September 2026. The repo sits at just under 4,900 stars, close to the "nearly five thousand" I quoted in the reel, and it was still taking commits that week.

How do you set it up?

This is the part the comment keyword promises, so here it is straight from the repo's own README, not paraphrased.

You need Python 3.10 or newer. Past that, the requirement splits in two depending on which of its two modes you run. The default mode calls a paid API called MuAPI to handle the download, transcription and cropping, so it wants a MuAPI key. The mode that matches what I said in the reel, running entirely on your own laptop, is --mode local, and that one needs ffmpeg on your machine plus an OpenAI or Gemini API key for the ranking step. That's the cheap AI key I meant: OpenAI's gpt-4o-mini is the model it defaults to, and it's priced in fractions of a cent per request, not dollars.

Clone it and install the dependencies:

git clone https://github.com/Anil-matcha/AI-Youtube-Shorts-Generator.git
cd AI-Youtube-Shorts-Generator
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-local.txt

Then drop your key into a .env file in the project folder:

LLM_PROVIDER=openai
OPENAI_API_KEY=your_openai_key_here

And run it against any YouTube link:

python main.py "https://www.youtube.com/watch?v=VIDEO_ID" --mode local --num-clips 5

That last command is the whole job. It writes the finished vertical clips straight to an output folder on your machine, no upload, no account, no browser involved.

What can you change?

The part of the pitch that isn't just "it's free" is that you own the logic. The whole scoring system, what counts as a strong moment, lives in one readable file, shorts_generator/highlights.py, and the README points straight at it. If you want it to favour longer story arcs over quick punchlines, or weight a different kind of moment for your niche, you edit the criteria list and the prompt it's judged against. Opus Clip calls its equivalent a black box for a reason: you can't see it, let alone change it.

Who is this not for?

If you don't want to touch a terminal, this isn't the tool. The commands above are copy-paste, but they are still commands, and Opus Clip's whole value is that you never see one. It also has no team seats, no scheduled posting, no customer support to call when something breaks. And "free" means free of a subscription, not free of every cost: you're still paying a few cents per video to OpenAI or Gemini for the ranking step, or paying MuAPI's own pay-as-you-go credits if you stay on the default mode. What disappears is the $15 to $29 a month, not every cost in the chain.

If you'd rather cut by hand without a subscription, OpenCut is a free, open-source CapCut alternative. The same free-first test works on AI chat apps too, and the free ChatGPT alternatives sorts them by the job you'd otherwise pay for. Design tools follow it as well: the free Canva alternatives covers what each one does at no cost.

What goes wrong with the free version?

The repo's own issue tracker is the most honest review of it. On 19 November 2026 it had 32 open issues, and the same few problems keep coming up.

YouTube fights downloaders. The tool has to pull the video down before it can cut anything, and YouTube keeps changing how it blocks that. An open report from July 2026 shows the download failing with a "403 Forbidden" error even with the user's own cookies loaded, and older reports hit "Request detected as a bot". When the download breaks, nothing after it runs.

Changes elsewhere break it too. Past issues show the ranking step failing after OpenAI changed its Python library, and installs failing on a newer version of Python. Both were fixed, but each time the tool stopped working until someone patched it, and you're the one who finds out.

Long videos and two-person podcasts are the rough edges. An open report from June 2026, from someone who says they're not a coder, describes an hour-long video timing out in the default MuAPI mode. Another, from September, says the local crop jitters on two-person podcasts, stays on one speaker too long or flips between faces too fast.

Four security reports filed on 30 August 2026 were also still open. One points out that whatever is said in a video goes straight into the AI's prompt, so a video could carry instructions that skew the ranking. That matters little if you only run your own videos, but it had been open for almost three months.

None of this makes it a bad tool. It's an active project, updated as recently as 12 November, with more than 6,300 stars. But it lives on one developer's account with no support team behind it, so a fix lands when the maintainer gets to it.

What does Opus Clip do that the repo doesn't?

The biggest difference is who's behind it. Opus Clip is a funded company: SoftBank's Vision Fund 2 led a $20 million round in March 2025 at a $215 million valuation, Business Insider reported, bringing its total funding to $50 million. Its chief executive, Young Zhao, put its users at 10 million at the time. That money pays a full-time team to keep up with YouTube's changes, ship features and answer support, which is the work the repo leaves to you.

It also does a lot more than the cut. According to opus.pro in November 2026, that includes:

  • A virality score on each clip, the same idea as the repo's 0 to 100 ranking.
  • Animated captions in more than 20 languages.
  • Reframing that uses AI object tracking to keep a moving speaker in the centre of the frame.
  • Filler-word and silence removal, plus a text and timeline editor to fix what the AI got wrong.
  • Posting straight to YouTube Shorts, TikTok and Instagram Reels, with a scheduler on Pro.
  • Brand templates with your fonts, colours, logo and intro and outro cards.
  • On Pro, AI B-roll, video dubbing, square and widescreen exports alongside vertical, and export to Premiere Pro or DaVinci Resolve.

Most of that sits in the paid plans, so check which plan a feature is on before you count on it.

Where I'd point a Singapore creator

If you're a solo creator here still figuring out whether shorts are even worth your time, I'd start with the free route before I paid for anything. It costs you an afternoon of setup and maybe a dollar of API calls to find out, versus committing to a monthly plan for a format you haven't proven yet.

Where I'd flip back to paying is the moment the bottleneck stops being money and starts being your own time. A self-hosted tool like this needs you to keep it updated, notice when a dependency breaks, and babysit the run. I built my own version of this exact pipeline for my reels, and the honest lesson from doing that is that the code is the easy 80%. The last 20%, catching the edge cases and keeping it running quietly in the background, is where the real hours go. I wrote up what that looked like in every stage my AI runs to edit a video. Once your time is worth more than $29 a month, paying someone else to own that maintenance stops being a luxury.

When should you still pick Opus Clip?

The advice above is to hold off paying until shorts have proven themselves for you. Opus Clip is still the better pick in three situations.

The first is if you won't open a terminal at all. Opus Clip runs in your browser: you drop in a YouTube link or upload a file, and the clips come back. Its free plan doesn't ask for a card, so the advice to try before you pay still holds. You test the format on their free plan instead of on your own machine, with a watermark on the exports while you find out.

The second is volume. Once you're posting most days, the slow part is everything after the cut, and the repo hands you a folder of files and stops there. Opus Clip's $15 Starter plan takes the watermark off, gives you an editor to fix captions and trims, and posts straight to YouTube Shorts, TikTok and Instagram Reels.

The third is a team. The repo is one person on one machine. Opus Clip's $29 Pro plan comes with a shared workspace and two seats, so someone helping you can work on the same clips.

If none of those sounds like you yet, start with the repo above.

FAQ

Is Opus Clip open source?

No. Opus Clip is a hosted, paid product, and its clipping engine stays on its own servers. What its company does publish on GitHub are connectors, like an official Claude Code skill, that work through your Opus Clip account. The AI YouTube Shorts Generator is the open-source alternative that runs on your own machine.

How much does Opus Clip's Pro plan cost?

$29 a month on monthly billing, or $174 a year if you pay annually, as of November 2026. Pro adds a shared team workspace with two seats and AI video B-roll. The watermark already comes off on the $15 Starter plan, and the free tier costs nothing but keeps the watermark.

Is the AI YouTube Shorts Generator free to run?

Yes, the software is free and there's no monthly subscription. Local mode's AI key runs a few cents per video at most, and the default API mode bills MuAPI's own pay-as-you-go credits.

Do I need to know how to code to run the AI YouTube Shorts Generator?

No. The setup is five commands you copy into a terminal, and you only touch code if you want to change how it scores moments.

Can I change how the AI YouTube Shorts Generator scores clips?

Yes. The whole scoring system lives in one file, shorts_generator/highlights.py, and you edit the criteria list and the prompt directly if you want it to favour a different kind of moment.

Does the AI YouTube Shorts Generator work on videos that aren't in English?

Yes. Transcription runs on Whisper, which detects the language automatically, and the tool takes a --language flag if you'd rather force one.

Try it before you pay

Clone it, drop in a key that costs cents instead of a card that bills monthly, and find out if free gets you far enough before you pay for anything.

Extra Resources

WhatsApp us