Generate OG / social card images for blog posts
When to use: You just wrote a post and need a 1200×630 social card before publishing.
Prerequisites
- EverArt API key — everart.ai → account → API keys. Set as EVERART_API_KEY.
Flow
-
Draft the prompt from the articleMy post is titled 'How we cut p99 latency in half'. Propose 3 image prompts that capture that visually — abstract, not literal, tech-editorial style.✓ Copied→ 3 distinct prompt candidates
-
Generate variationsUse EverArt to generate image_count=3 for the prompt I pick. Use the FLUX1.1 model for cleaner composition.✓ Copied→ 3 URLs returned
-
Pick and saveI like #2. Download it to ./public/og/<slug>.png via the filesystem MCP.✓ Copied→ File saved locally, ready for deploy
Outcome: A publish-ready OG card in 5 minutes, no design app open.
Pitfalls
- Generated images have artifacts (weird text, extra fingers) — Skip prompts that ask for text in the image — let the model do abstraction and overlay your title via CSS/HTML
- Aspect ratio doesn't match 1200×630 — The model outputs 1024×1024 by default — crop/resize via an image tool or accept square