Skip to content

Commit 21045f0

Browse files
committed
Use real meme template images instead of synthetic gradients
The generate_examples.py script now fetches blank template images from the memegen GitHub repository (raw.githubusercontent.com) as a fallback when the memegen API is unreachable. This replaces the synthetic colour gradients with the actual Buzz Lightyear, Doge, Drake, and Distracted Boyfriend photos. Three-tier resolution order: 1. memegen API (api.memegen.link) 2. GitHub raw content (raw.githubusercontent.com/jacebrowning/memegen) 3. Synthetic gradient (only for templates not in the GitHub repo) The Distracted Boyfriend template uses custom text positions from the memegen config.yml to place captions over each person correctly. Only expanding-brain remains a gradient as it is not stored in the memegen GitHub repository. https://claude.ai/code/session_01MVwVedn97waTs89PBTnhzb
1 parent d1e47ec commit 21045f0

21 files changed

Lines changed: 96 additions & 20 deletions
852 KB
Loading
724 KB
Loading
724 KB
Loading
724 KB
Loading
977 KB
Loading
852 KB
Loading
852 KB
Loading
1.42 MB
Loading
1.42 MB
Loading
724 KB
Loading

0 commit comments

Comments
 (0)