Skip to content

Repository files navigation

Meme Styled Ad Generation 😆

😊 Meme风格广告文案生成工具
🧐 Meme Styled Ad Generation is based on the pain point that existing advertisements are too monotonous/not tightly integrated with hot topics or target groups' concerns.
🤔️ By leveraging LLM's AIGC capabilities on graphics, combined with the dify agent and ComfyUI, it allows ad planners to input the name of a popular meme and the meme graphic, and then generate a meme-ified ad graphic that automatically blends the meme with the original ad graphic, making the original ad copy more diverse and attractive.
💭 The work is inspired by the game fandom community for the game works of meme creation is rich and interesting, there is no lack of some out of the circle cases, in the social platform has caused a high degree of heat.

Environment

  • Python 3.12
  • Flask
  • GPU: NVIDIA® GeForce RTX™ 4090

Installation for text generation

  1. Install the dify agent: https://dify.ai/. You can construct a dify agent by following the instructions on the website with your own prompt. You must put your dify API key and URL in .env.
  2. Install the ComfyUI: You can follow the instructions on the website to install the ComfyUI at https://github.com/comfyanonymous/ComfyUI
  3. git clone this repository and run the following command:
  python app.py
  1. Open your browser and visit http://localhost:5000/ and you can see the web interface of the project. img.png

How to use it?

  1. Input the name of a popular meme and the meme graphic.
  2. Generate a meme-ified ad graphic that automatically blends the meme with the original ad graphic.
  3. Download the generated meme-ified ad graphic and use it in your ad campaign. img.png

Installation for image generation

  1. Install the ComfyUI.
  2. Import the workflow.json and install the required nodes. 20241110-212521.jpeg

About

Generate Ads with meme

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages