# Make YouTube Shorts automatically

> Turn a topic into a finished YouTube Short with voice, captions, and music.

- **What it does:** Turns a topic you type in into a finished YouTube Short, with a written script, spoken narration, captions, and background music. You end up with a ready-to-upload video file, made by a small app running on your computer.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_3a7c2648a06e6b79e6ae8c6c`
- **Creator:** @orbit.gtm on Instagram
- **Safety:** Checked by Orbit: use with care. Uses TikTok session cookie credential; executes repo setup script
- **Runs:** Run 1 time by 1 person
- **Installs:** 3
- **Last updated:** 2026-11-15
- **Page:** https://orbitinbox.app/s/make-youtube-shorts-automatically

## Skill

---
name: youtube-shorts-generator
description: Use when you want Claude to turn a topic into a finished YouTube Short with script, voice, captions and music; it runs MoneyPrinter's pipeline to generate, narrate and export the video.
---

# Make YouTube Shorts automatically

## What it does
MoneyPrinter automates the creation of YouTube Shorts from a topic. Give it a subject and it:
- writes the script using a local Ollama model
- generates a voice narration
- adds captions
- adds background music
- renders and exports the finished video with MoviePy, output to `output.mp4`

It runs as a small app: a Backend API (`Backend/main.py`), a worker process (`Backend/worker.py`) that processes jobs from a database-backed queue, and a simple Frontend web UI (`Frontend/index.html`) you open in a browser to enter the topic, pick the model, and click Generate. The whole pipeline is Ollama-first, meaning script generation and metadata run on a local model, not a hosted AI API.

## What you need
- Python 3.11 or newer
- uv (Python package manager) — https://docs.astral.sh/uv/getting-started/installation/
- FFmpeg installed
- ImageMagick installed (auto-detected from PATH; if detection fails you set `IMAGEMAGICK_BINARY` manually in `.env`)
- Ollama installed and running locally, with a pulled model (e.g. `llama3.1:8b`)
- A TikTok session ID: log into TikTok in your browser and copy the value of the `sessionid` cookie
- A Pexels API key
- These two values go into a `.env` file: `TIKTOK_SESSION_ID` and `PEXELS_API_KEY` (see the project's configuration docs: https://github.com/FujiwaraChoki/MoneyPrinter/blob/main/docs/configuration.md)

The TikTok session ID is tied to your own TikTok account. Only use it on your own account and stay within TikTok's terms of service.

## Setup
Clone the repo:
```bash
git clone https://github.com/FujiwaraChoki/MoneyPrinter.git
cd MoneyPrinter
```

Quick setup (recommended, interactive script that checks dependencies, sets up `.env`, installs packages with uv, and can pull an Ollama model):
```bash
./setup.sh
```

Or manual setup:
```bash
uv sync
cp .env.example .env
```

Then edit `.env` and set `TIKTOK_SESSION_ID` and `PEXELS_API_KEY`.

Start Ollama and pull a model:
```bash
ollama serve
ollama pull llama3.1:8b
```

Run the backend:
```bash
uv run python Backend/main.py
```

In a new terminal, run the worker:
```bash
uv run python Backend/worker.py
```

In a new terminal, run the frontend:
```bash
cd Frontend
python3 -m http.server 3000
```

Open `http://localhost:3000` in your browser, enter a video subject, choose an Ollama model from the dropdown, and click Generate. The finished video is written to `output.mp4` at the project root.

Optional: run the test suite:
```bash
uv sync --group dev
uv run pytest
```

## How to use it with Claude
- "Set up MoneyPrinter and start the backend, worker and frontend so I can generate a Short."
- "Generate a YouTube Short about [topic] and tell me when output.mp4 is ready."
- "Pull a different Ollama model and use it for the script generation step."
- "Check why ImageMagick isn't being detected and fix the IMAGEMAGICK_BINARY path in .env."
- "Run the test suite to confirm the backend and worker are working."

## Credits
Made by FujiwaraChoki (MoneyPrinter), packaged by Orbit.
https://github.com/FujiwaraChoki/MoneyPrinter — license: MIT

Shared by @orbit.gtm, credited on Orbit.