网络知识分享

MoneyPrinterTurbo | AI视频生成项目

#Youtube https://youtu.be/...

标签:

#Youtube

https://youtu.be/RHH2W_z0Etk

#项目地址
https://github.com/harry0703/MoneyPrinterTurbo

#安装必要组件
apt install -y git imagemagick

#克隆项目
git clone https://github.com/harry0703/MoneyPrinterTurbo.git

#修改配置文件

#pexels API Key
https://www.pexels.com/api/

#gemini api
https://ai.google.dev/gemini-api/docs/api-key?hl=zh-cn

#进入目录
cd MoneyPrinterTurbo

#安装conda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh

#关闭一次ssh窗口,无需关闭整个程序,再开打

#再次进入目录
cd MoneyPrinterTurbo

#创建环境
conda create -n MoneyPrinterTurbo python=3.11 -y

#激活环境
conda activate MoneyPrinterTurbo

#安装模组
pip install -r requirements.txt

#启动Web界面
sh webui.sh

#后台运行脚本
nohup sh webui.sh > webui.log 2>&1 &

#停止webui脚本
pkill webui.sh

#查看进程
ps aux | grep webui.sh

#启动API服务
python main.py

#后台运行脚本
nohup python main.py > main.log 2>&1 &

#查看进程
ps aux | grep main.py

#停止main脚本
pkill main.py

#快速体验
ip:8501

#注意事项
如果用gmini大模型,记得要改成1.5,默认是1.0
中文文案不宜过长,一般6个字左右,不然容易断开连接

相关导航

暂无评论

暂无评论...