Ubuntu系统下部署MoneyPrinter视频混剪服务
1、拉取项目
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
cd MoneyPrinterTurbo
2、创建并激活虚拟环境
uv venv && source .venv/bin/activate
3、安装依赖库
uv pip install -r requirements.txt
4、安装ImageMagick
sudo apt-get install imagemagick
5、配置API服务
vi config.example.toml
在配置文件结尾加入:
[server]
listen_host = "0.0.0.0"
listen_port = 8080
:wq 退出并保存
6、启动接口服务
python main.py
浏览器中访问: http://192.168.10.149:8080/docs#/
7、启动webui页面
sh webui.sh
浏览器中访问: http://192.168.10.149:8501/
8、基础设置中配置LLM账号的API Key和Pexels API Key即可!
其中,如果是从OpenRouter获取LLM,则Base URL填写:https://openrouter.ai/api/v1
评论
发表评论