OGStack Docs
OGStack is a branded image API for the web. Drop in one meta tag and every link to your site shares a contextual Open Graph image. Call the API and get on-brand blog covers, favicons, and icon sets — designed from your page, not a generic template.
Start here
- Meta-tag quickstart — the 60-second path. Sign up, paste one meta tag, done.
- API quickstart — server-side generation with an API key. Great for dynamic or auth-gated pages.
- Concepts — what projects, API keys, and image kinds are, and how they fit together.
What OGStack generates
| Kind | Size | Use |
|---|---|---|
og | 1200 × 630 | Open Graph / Twitter Card previews |
blog_hero | 1600×900 or 1920×1080 | Blog post cover images |
icon_set | 16–512 px zip | Favicon + Apple touch icon + web manifest |
Every kind supports 11 built-in templates, custom accent color, light/dark mode, 6 fonts, logo placement, and optional AI-generated backgrounds.
Two integration styles
- Meta tag:
GET /og/{publicId}?url=...— public endpoint, domain-allowlisted, edge-cached. Nothing to run server-side. - API:
POST /api/images/generate— authenticated with an API key. Returns JSON with a persistent CDN URL. Use when the page is dynamic, behind auth, or on a non-allowlisted domain.
Looking for the endpoint reference?
Every endpoint is documented in the live Swagger UI. See Reference → Swagger.