Publish hook
Fire on Save from Any CMS
Call the endpoint from a WordPress, Sanity or Contentful publish hook, store the returned URL as og:image alongside the post row.
Hit one endpoint per URL and get a share-ready PNG back — currently invite-only while we harden the contract with the first teams shipping against it.
curl -X POST https://oginify.com/api/og \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' \
--output card.pngThree endpoints cover the loop most teams need — generate, validate, iterate.
POST a page URL, get back a 1200×630 PNG generated by the same Firecrawl → LLM → image pipeline that powers oginify.com.
Text-to-OG and image-to-OG variants for marketing pages, launches and AI-driven content where there's no URL to scrape yet.
Score Open Graph and Twitter Card tags on any page, return per-platform previews and a list of fixes — same engine as the public Validator.
One POST per URL, one PNG back. The same Firecrawl to LLM to image pipeline that powers oginify.com, wrapped in a versioned HTTP contract.
Hit POST /v1/og with a bearer key and a JSON body containing a url or prompt. Rate-limited at 60 requests per minute.
Firecrawl scrapes the page, an LLM extracts brand, tagline, palette and page type, and a Gemini-grade model paints one on-brand card plus three wildcards.
Get back a JSON response with a strict 1200×630 PNG on our CDN, cached for 365 days. Optional webhook for async pipelines.
Auto-generate og:image on publish for Sanity, Contentful, Payload — without maintaining a Satori template per content type.
Regenerate cards as part of a deploy: hit the API per changed slug, write the PNG to your CDN, ship.
Give your users branded share cards for the pages they create — invoices, reports, public profiles.
A drop-in tool for autonomous agents that publish content. Pairs with our open-source Skills repo for prompt-side guidance.
Bearer tokens issued per workspace. Test and live keys are separated; rotate at any time.
JSON in, JSON out. PNG is returned as a hosted URL (1200×630), or inline base64 on request.
Typically 8–15 seconds end-to-end per card. Cache-friendly — repeat URLs return instantly.
Tuned per workspace during private beta. We'll publish public tiers when the API leaves beta.
Runs on the same edge stack as oginify.com. Idempotent by URL — safe to retry.
One POST returns a 1200×630 PNG plus a hosted URL — wire it into the build, the CMS or the app runtime.
Publish hook
Call the endpoint from a WordPress, Sanity or Contentful publish hook, store the returned URL as og:image alongside the post row.
Build step
Run the API inside CI so every route ships with its card baked in — no runtime latency, no cold-start blank previews.
Per-route automation
Iterate the sitemap, call the API per slug, cache the PNG by content hash — new pages get a card the minute they're indexed.
Platform embed
Vibe-coding platforms baking OG into build output hit the endpoint per route so every deployed app ships with its own card.
REST endpoint, authentication, rate limits and how to wire Oginify into a CMS webhook.
POST your target page URL to https://api.oginify.com/v1/og with a Bearer token; the response returns four signed CDN URLs for the four cards, ready to reference in your <meta property="og:image"> tag. A single call, one URL in, four PNGs out.
Any signed-in account can mint an API key from Settings → API. Free-tier keys share the same 6-images-per-day quota as the web app; paid plans lift the limit to the plan's monthly quota with no per-key cap.
60 requests per minute per key, burstable to 120 for 10 seconds. Over the limit returns 429 with a Retry-After header in seconds. Generation itself is async — the endpoint returns in ~200ms with a job id; the CDN URLs become 200 OK when the render completes (~15–30s).
Point your CMS's publish webhook (WordPress, Ghost, Sanity, Contentful and Notion all support outbound webhooks) at a small handler that forwards the post URL to the Oginify API and writes the returned og:image URL back into the post's meta fields. End-to-end latency is under a minute per post.
The rendering pipeline uses a proprietary model stack, so a self-hosted binary isn't shipped. For teams that need images to stay inside their own network, we offer a dedicated-tenant deployment on request; email hello@oginify.com with rough monthly volume.
PNG at strict 1200×630 by default (the Open Graph large-card spec). Pass ?format=jpg or ?format=webp for the same dimensions in the other formats — useful for LinkedIn (which prefers JPG under 5MB) or bandwidth-sensitive AMP pages.
Same endpoint powering the demos on this page — one POST per URL, 1200×630 PNG back, cached on the edge for a year. Keys go out by email, usually same day.