mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-08-28 11:07:19 +08:00
127d138b1f
- Change the gemini model temerature to 0.3 instead of 0. - Add to the README.md how to run the agent using uv.
🥸 AI Meme Generator Agent - Browser Use
The AI Meme Generator Agent is a powerful browser automation tool that creates memes using AI agents. This app combines multi-LLM capabilities with automated browser interactions to generate memes based on text prompts through direct website manipulation.
Features
-
Multi-LLM Support
- Claude 3.5 Sonnet (Anthropic)
- GPT-4o (OpenAI)
- Deepseek v3 (Deepseek)
- Automatic model switching with API key validation
-
Browser Automation:
- Direct interaction with imgflip.com meme templates
- Automated search for relevant meme formats
- Dynamic text insertion for top/bottom captions
- Image link extraction from generated memes
-
Smart Generation Workflow:
- Action verb extraction from prompts
- Metaphorical template matching
- Multi-step quality validation
- Automatic retry mechanism for failed generations
-
User-Friendly Interface:
- Model configuration sidebar
- API key management
- Direct meme preview with clickable links
- Responsive error handling
API keys required:
- Anthropic (for Claude)
- Deepseek
- OpenAI (for GPT-4o)
How to Run
- Clone the Repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git cd starter_ai_agents/ai_meme_generator_agent_browseruse - Install the dependencies:
Install
pip install -r requirements.txtplaywrightif needed.python -m playwright install --with-deps - Run the Streamlit app:
streamlit run ai_meme_generator_agent.py
Running with uv
You can also run this project using uv, a fast Python package manager, instead of pip.
- Clone the Repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git cd starter_ai_agents/ai_meme_generator_agent_browseruse - Install the dependencies (this creates a
.venvand installs everything frompyproject.toml/uv.lock):Installuv syncplaywright's browser binaries if needed:uv run playwright install --with-deps - Run the Streamlit app:
uv run streamlit run ai_meme_generator_agent.py