请先安装依赖:
pip install -r requirements.txt你还需要安装 ImageMagick 才能正确生成视频字幕文字: 🔗 下载地址:https://imagemagick.org/script/download.php ❗❗❗
Fan-submitted video 来自粉丝的投稿视频:
001.mp4
🖼️ The background image will also change according to the prompt. 📌 背景图也会根据 prompt 自动更换!
直接打开并运行:
AI猫meme.py你需要先在本地运行以下脚本:
Batch_Premade_Videos.py它会生成所有 meme + 背景图组合的视频,
并将这些视频输出到一个名为 output_videos 的文件夹中,
backgrounds 文件夹处于同一目录级别!
微信小程序已正式上线! 📱 打开微信,搜索:AI视频生成猫meme 即可体验! 或直接扫描二维码进入👇
-
请先阅读并运行:
AI猫meme.py
-
留意代码中的注释,掌握使用方法。
-
务必下载 ImageMagick!
-
在
AI猫meme.py中配置 ImageMagick 的路径,否则 MoviePy 无法添加字幕!
📌 路径配置非常重要,请确认:
- ✅ 配置了 ImageMagick 路径!
- ✅ 配置了 ImageMagick 路径!!
- ✅ 配置了 ImageMagick 路径!!!
pip install -r requirements.txt
🔗 https://imagemagick.org/script/download.php ❗❗❗
Fan-submitted video: https://github.com/user-attachments/assets/69a448a4-8dea-4ee9-b8b9-a2b8b231f84b
Simply open and run AI猫meme.py
First, run Batch_Premade_Videos.py locally. This script will generate all meme + background combination videos. Make sure to place the generated videos in a folder named output_videos, located at the same directory level as your backgrounds folder.
The WeChat Mini Program is now live!
Search “AI视频生成猫meme” on WeChat to download,
or scan the QR code below:
Start with reading AI猫meme.py
Check the comments in the code carefully.
Then, make sure to configure the path to ImageMagick in AI猫meme.py!
Set the ImageMagick path in AI猫meme.py!
Set the ImageMagick path in AI猫meme.py!
Set the ImageMagick path in AI猫meme.py!