Skip to content

Stickic-cyber/AICatMeme

Repository files navigation

AICatmeme

⚠️ 注意 / Important ❗❗❗

请先安装依赖:

pip install -r requirements.txt

你还需要安装 ImageMagick 才能正确生成视频字幕文字: 🔗 下载地址:https://imagemagick.org/script/download.php ❗❗❗


🎥 效果示例 / Example Preview

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 文件夹处于同一目录级别


🚀 重磅更新 / Big Update!

微信小程序已正式上线! 📱 打开微信,搜索:AI视频生成猫meme 即可体验! 或直接扫描二维码进入👇

gh_d8d6e3fde1de_430

⚠️ 请务必搜索完整名称:“AI视频生成猫meme”


🛠 脚本使用指南 / How to Use the Script

  1. 请先阅读并运行:

    AI猫meme.py
  2. 留意代码中的注释,掌握使用方法。

  3. 务必下载 ImageMagick!

  4. AI猫meme.py配置 ImageMagick 的路径,否则 MoviePy 无法添加字幕!

📌 路径配置非常重要,请确认:

  • ✅ 配置了 ImageMagick 路径!
  • ✅ 配置了 ImageMagick 路径!!
  • ✅ 配置了 ImageMagick 路径!!!

Run:

pip install -r requirements.txt

You also need to download and install ImageMagick:

🔗 https://imagemagick.org/script/download.php ❗❗❗

Example Effect:

Fan-submitted video: https://github.com/user-attachments/assets/69a448a4-8dea-4ee9-b8b9-a2b8b231f84b

(The background image will also change according to the prompt.)

🖥 If you're running locally:

Simply open and run AI猫meme.py

🌐 If you're using a server:

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.

🚀 Big Update! Big Update!

The WeChat Mini Program is now live! Search “AI视频生成猫meme” on WeChat to download, or scan the QR code below: gh_d8d6e3fde1de_430

📌 Be sure to search the full name: AI视频生成猫meme

📜 Script Usage Guide:

Start with reading AI猫meme.py Check the comments in the code carefully. ⚠️ Don’t forget to download ImageMagick from the web!

Then, make sure to configure the path to ImageMagick in AI猫meme.py!

Repeat:

Set the ImageMagick path in AI猫meme.py!

Set the ImageMagick path in AI猫meme.py!

Set the ImageMagick path in AI猫meme.py!

About

AI Cat Meme Video Generating Pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages