一个开源的全自动视频生成软件MoneyPrinterTurbo

只需提供一个视频 主题 或 关键词 ,就可以全自动生成视频文案、视频素材、视频字幕、视频背景音乐,然后合成一个高清的短视频。

一:功能特性

完整的 MVC架构,代码 结构清晰,易于维护,支持 API 和 Web界面

支持视频文案 AI自动生成,也可以自定义文案

支持多种 高清视频 尺寸

竖屏 9:16,1080x1920

横屏 16:9,1920x1080

支持 批量视频生成,可以一次生成多个视频,然后选择一个最满意的

支持 视频片段时长设置,方便调节素材切换频率

支持 中文 和 英文 视频文案

支持 多种语音 合成

支持 字幕生成,可以调整 字体、位置、颜色、大小,同时支持字幕描边设置

支持 背景音乐,随机或者指定音乐文件,可设置背景音乐音量

视频素材来源 高清,而且 无版权

支持 OpenAI、moonshot、Azure、gpt4free、one-api、通义千问、Google Gemini、Ollama 等多种模型接入

二:本地部署

1、克隆代码

复制代码
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
cd MoneyPrinterTurbo

2、创建虚拟环境

复制代码
conda create -n MoneyPrinterTurbo python=3.10
conda activate MoneyPrinterTurbo
pip install -r requirements.txt

安装imagemagick

复制代码
sudo apt-get install imagemagick

3、修改配置文件

复制代码
cd MoneyPrinterTurbo
cp config.example.toml config.toml

需要填写文本生成模型的API和视频库的API,在这里我们选用了Moonshot和Pexels以方便国内用户使用。

Moonshot API申请地址:月之暗面API申请地址

Pexels素材库申请地址:免费素材图片 (pexels.com)

注册登录并获取API。

三:运行

复制代码
conda activate MoneyPrinterTurbo
sh webui.sh

四:问题解析

1、VPN问题

复制代码
failed to download videos, maybe the network is not available. 
if you are in China, please use a VPN.

这个大概率是网络原因,无法访问境外的服务,请使用VPN解决。在选用音频设置的时候尽量选用中文,因为英文模型需要翻墙。

2、ImageMagick无权限写入

复制代码
OSError: MoviePy Error: creation of None failed because of the following error: convert-im6.q16: attempt to perform an operation not allowed by the security policy `@/tmp/tmp6hu8uypa.txt' @ error/property.c/InterpretImageProperties/3706. convert-im6.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect

编辑 policy.xml,并修改为:

复制代码
"policy domain="path" rights="read,write" pattern="@""
相关推荐
云烟成雨TD1 天前
Spring AI Alibaba 1.x 系列【1】阿里巴巴 AI 生态
java·人工智能·spring
柯儿的天空1 天前
【OpenClaw 全面解析:从零到精通】第 005 篇:OpenClaw 在 macOS 上的安装与部署实战
人工智能·macos·自然语言处理·ai作画
JicasdC123asd1 天前
感受野CBAM融合卷积改进YOLOv26双重注意力机制与自适应特征增强协同突破
人工智能·yolo·目标跟踪
zadyd1 天前
一个基本的意图识别该包含哪些内容
人工智能·机器学习
南宫乘风1 天前
LLaMA-Factory 给 Qwen1.5 做 LoRA 微调 实战
人工智能·深度学习·llama
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2026-03-20)
人工智能·ai·大模型·github·ai教程
芯跳加速1 天前
AI 视频自动化学习日记 · 第三天
人工智能·学习·ai·自动化·音视频
AI英德西牛仔1 天前
豆包公式格式
人工智能·ai·deepseek·ds随心转
benben0441 天前
Triton编程技术背诵核心概念
人工智能
前端摸鱼匠1 天前
面试题4:多头注意力(MHA)相比单头注意力的优势是什么?Head数如何影响模型?
人工智能·ai·面试·职场和发展·求职招聘