必须先在本地启动 Ollama 并拉取模型,否则无法生成脚本;ImageMagick 若无法从 PATH 自动检测,需在 .env 中手动设置 IMAGEMAGICK_BINARY 路径;安装 playsound 失败时需先升级 wheel 再重装。
ollama serve
ollama pull llama3.1:8bREADME 未说明显存或 GPU 要求;脚本生成依赖本地 Ollama 模型(示例为 llama3.1:8b),需自行运行 Ollama 服务。
输入一个视频主题,自动生成 YouTube Shorts 短视频
用 MoviePy 自动生成 YouTube Shorts 短视频,结合 ChatGPT 写脚本、配素材,一条命令就能出片,省去手动剪辑的麻烦。
核心能力
- 用 MoviePy 自动合成视频、字幕与音频
- 脚本与元数据全部由本地 Ollama 模型生成
- 基于 Postgres 的生成队列,API 与 worker 分离,重启后任务不丢
- 提供交互式 setup.sh 与 Docker 部署方式
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
MoneyPrinter 💸
Sponsored by Post Bridge
𝕏 Also, follow me on X: @DevBySami.
Automate the creation of YouTube Shorts by providing a video topic.
MoneyPrinter is Ollama-first: script generation and metadata are fully powered by local Ollama models.
MoneyPrinter now uses a DB-backed generation queue (API + worker + Postgres in Docker) for reliable, restart-safe processing.
Important Please make sure you look through existing/closed issues before opening your own. If it's just a question, please join our discord and ask there.
🎥 Watch the video on YouTube.
Documentation
Docs are centralized in docs/:
FAQ 🤔
Which AI provider does MoneyPrinter use?
MoneyPrinter is fully Ollama-based. Start Ollama, pull a model, and select the model in the UI.
ollama serve
ollama pull llama3.1:8b
How do I get the TikTok session ID?
You can obtain your TikTok session ID by logging into TikTok in your browser and copying the value of the sessionid cookie.
My ImageMagick binary is not being detected
MoneyPrinter auto-detects ImageMagick from your PATH on Linux, macOS, and Windows. If auto-detection fails, set the executable path manually in .env, for example:
IMAGEMAGICK_BINARY="C:\\Program Files\\ImageMagick-7.1.0-Q16\\magick.exe"
Don't forget to use double backslashes (\\) in the path, instead of one.
I can't install playsound: Wheel failed to build
If you're having trouble installing playsound, you can try installing it using the following command:
uv pip install -U wheel
uv pip install -U playsound
If you were not able to find your solution, check Troubleshooting, ask in Discord, or create an issue.
Donate 🎁
If you like and enjoy MoneyPrinter, and would like to donate, you can do that by clicking on the button on the right hand side of the repository. ❤️
You will have your name (and/or logo) added to this repository as a supporter as a sign of appreciation.
Contributing 🤝
Pull Requests will not be accepted for the time-being.
Star History 🌟
License 📝
See LICENSE file for more information.