An AI-powered agent that automatically generates eye-catching YouTube thumbnails using DALL-E 3 and Python.
Example output for "Eating at Merlin's Magic in Bali"
- AI-Generated Images: Creates unique visuals with OpenAI's DALL-E 3
- Smart Text Overlay: Auto-adds video titles with professional styling
- One-Click Operation: Generates thumbnails in under 30 seconds
- Customizable: Easily modify styles, fonts, and layouts
Component | Technology Used |
---|---|
AI Image Generation | OpenAI DALL-E 3 |
Text Rendering | Pillow (PIL) |
API Client | OpenAI Python v1.0+ |
Environment Config | python-dotenv |
Image Downloading | Requests |
- Clone this repository:
git clone https://github.com/yourusername/ai-thumbnail-generator.git cd ai-thumbnail-generator
- Install dependencies
pip install openai pillow python-dotenv requests
- Add your OpenAI API key to .env:
```bash
python thumbnail_generator.py
-When prompted, enter your video title: Enter your video title: My Awesome Video