Generate OG / social card images for blog posts
Quand l'utiliser : You just wrote a post and need a 1200×630 social card before publishing.
Prérequis
- EverArt API key — everart.ai → account → API keys. Set as EVERART_API_KEY.
Déroulement
-
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.✓ Copié→ 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.✓ Copié→ 3 URLs returned
-
Pick and saveI like #2. Download it to ./public/og/<slug>.png via the filesystem MCP.✓ Copié→ File saved locally, ready for deploy
Résultat : A publish-ready OG card in 5 minutes, no design app open.
Pièges
- 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