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 APIV2 — Render API
TierFreePro (API key required)
MethodGETPOST
ResponsePNG image streamJSON with CDN URL
Rate Limit10/day (anonymous)5/second (API key)
StorageNone (rendered live)Persistent CDN
WebhooksNoYes (HMAC signed)
DedupNoYes (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