
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Simply provide a **topic** or **keyword** for a video, and it will automatically generate the video copy, video materials, video subtitles, and video background music before synthesizing a high-definition short video..
由于该项目的 部署 和 使用,对于一些小白用户来说,还是 有一定的门槛,在此特别感谢
录咖(AI智能 多媒体服务平台) 网站基于该项目,提供的免费AI视频生成器
服务,可以不用部署,直接在线使用,非常方便。
1080x1920
1920x1080
字体
、位置
、颜色
、大小
,同时支持字幕描边
设置背景音乐音量
▶️ 《如何增加生活的乐趣》 | ▶️ 《生命的意义是什么》 |
---|---|
▶️《生命的意义是什么》 | ▶️《为什么要运动》 |
---|---|
建议使用 conda 创建 python 虚拟环境
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
cd MoneyPrinterTurbo
conda create -n MoneyPrinterTurbo python=3.10
conda activate MoneyPrinterTurbo
pip install -r requirements.txt
brew install imagemagick
sudo apt-get install imagemagick
sudo yum install ImageMagick
config.example.toml
文件复制一份,命名为 config.toml
config.toml
文件中的说明,配置好 pexels_api_keys
和 llm_provider
,并根据 llm_provider 对应的服务商,配置相关的
API KeyWindows
系统,imagemagick_path
为你的实际安装路径(如果安装的时候没有修改路径,直接取消注释即可)GPT-4.0
或 GPT-3.5
,需要有 OpenAI
的 API Key
,如果没有,可以将 llm_provider
设置为 g4f
(
一个免费使用GPT的开源库 https://github.com/xtekky/gpt4free)llm_provider="moonshot"
和 moonshot_api_key
。感谢 @jerryblues 的建议注意需要到 MoneyPrinterTurbo 项目 根目录
下执行以下命令
conda activate MoneyPrinterTurbo
webui.bat
conda activate MoneyPrinterTurbo
sh webui.sh
启动后,会自动打开浏览器
效果如下图:
python main.py
启动后,可以查看 API文档
http://127.0.0.1:8080/docs 直接在线调试接口,快速体验。
效果如下图:
所有支持的声音列表,可以查看:声音列表
当前支持2种字幕生成方式:
可以修改 config.toml
配置文件中的 subtitle_provider
进行切换
建议使用 edge
模式,如果生成的字幕质量不好,再切换到 whisper
模式
如果留空,表示不生成字幕。
用于视频的背景音乐,位于项目的 resource/songs
目录下。
当前项目里面放了一些默认的音乐,来自于 YouTube 视频,如有侵权,请删除。
用于视频字幕的渲染,位于项目的 resource/fonts
目录下,你也可以放进去自己的字体。
这个问题是由于 OpenAI 或者其他 LLM,没有返回正确的回复导致的。
大概率是网络原因, 使用 VPN,或者设置 openai_base_url
为你的代理 ,应该就可以解决了。
通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:
RuntimeError: No ffmpeg exe could be found.
Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
此时你可以从 https://www.gyan.dev/ffmpeg/builds/ 下载ffmpeg,解压后,设置 ffmpeg_path
为你的实际安装路径即可。
[app]
# 请根据你的实际路径设置,注意 Windows 路径分隔符为 \\
ffmpeg_path = "C:\\Users\\harry\\Downloads\\ffmpeg.exe"
failed to generate audio, maybe the network is not available.
if you are in China, please use a VPN.
failed to download videos, maybe the network is not available.
if you are in China, please use a VPN.
这个大概率是网络原因,无法访问境外的服务,请使用VPN解决。
示例配置
里面提供的 下载地址
,安装 https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe, 用静态库如果是linux系统,可以手动安装,参考 https://cn.linux-console.net/?p=16978
感谢 @wangwenqiao666的研究探索
可以在ImageMagick的配置文件policy.xml中找到这些策略。
这个文件通常位于 /etc/ImageMagick-X
/ 或 ImageMagick 安装目录的类似位置。
修改包含pattern="@"
的条目,将rights="none"
更改为rights="read|write"
以允许对文件的读写操作。
感谢 @chenhengzh的研究探索
这个问题是由于系统打开文件数限制导致的,可以通过修改系统的文件打开数限制来解决。
查看当前限制
ulimit -n
如果过低,可以调高一些,比如
ulimit -n 10240
先看下当前的 Pillow 版本是多少
pip list |grep Pillow
如果是 10.x 的版本,可以尝试下降级看看,有用户反馈降级后正常
pip uninstall Pillow
pip install Pillow==9.5.0
# 或者降级到 8.4.0
pip install Pillow==8.4.0
网旭哈瑞.AI
抖音 | 视频号 | |
---|---|---|
![]() | ![]() |
该项目基于 https://github.com/FujiwaraChoki/MoneyPrinter 重构而来,做了大量的优化,增加了更多的功能。 感谢原作者的开源精神。
点击查看 LICENSE
文件
FAQs
Simply provide a **topic** or **keyword** for a video, and it will automatically generate the video copy, video materials, video subtitles, and video background music before synthesizing a high-definition short video..
We found that MoneyPrinterTurbo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.