Introduction
ogmint is a headless OG image generation API. Pass parameters, get a pixel-perfect PNG back — no design tools, no Figma, no deploys.
How It Works
ogmint renders Open Graph images on-the-fly using Satori (JSX → SVG) and Resvg (SVG → PNG). You choose a template, pass your content as parameters, and get a production-ready 1200×630 PNG instantly.
Two APIs, Two Tiers
| V1 — Image API | V2 — Render API | |
|---|---|---|
| Tier | Free | Pro (API key required) |
| Method | GET | POST |
| Response | PNG image stream | JSON with CDN URL |
| Rate Limit | 10/day (anonymous) | 5/second (API key) |
| Storage | None (rendered live) | Persistent CDN |
| Webhooks | No | Yes (HMAC signed) |
| Dedup | No | Yes (same params = cached) |
Quick Example
Drop this URL into any <meta og:image> tag and you get a fully rendered OG image:
URL
https://ogmint.app/api/og?template=blog&title=Hello+World&author=John
That's it. No API key needed for V1. For persistent storage and webhooks, check out the V2 API.
Use Cases
- Blog posts — Auto-generate OG images from your CMS metadata
- SaaS dashboards — Create share-ready cards for user content
- Documentation sites — Generate consistent social previews
- E-commerce — Product cards with dynamic pricing and descriptions
- Newsletters — Eye-catching social previews for each edition
Next Steps
- Quick Start — Generate your first image in 30 seconds
- Templates — Browse all 15 built-in templates
- V1 API Reference — Full parameter documentation