Now in public beta

Beautiful social images. One API call.

Generate stunning Open Graph images dynamically. Perfect social previews for every page on your site — no design tools, no headless browsers, no hassle.

GET /api/og?title=Your+Blog+Post&theme=gradient
OG Image Demo

What is OGPix?

OGPix is a free API that generates Open Graph images dynamically from URL parameters. It produces social preview images in under 50ms using edge rendering — no headless browsers, no design tools required.

Unlike traditional OG image solutions that rely on headless Chrome or Puppeteer, OGPix uses Satori-based edge rendering to convert URL parameters directly into 1200×630 PNG images. This means response times under 50ms compared to 2-5 seconds with browser-based alternatives.

OGPix supports 10 built-in themes, custom branding colors, and works with any framework — Next.js, Astro, Hugo, WordPress, or plain HTML. The free tier includes 100 images per month with no credit card required, and all images are cached globally at CDN edge nodes for instant repeat responses.

Three steps. That's it.

No SDKs, no build steps, no image editors. Just a URL.

1

Get your API key

Sign up and get your key in 30 seconds. Free tier included.

OGPIX_KEY=og_live_abc123...
2

Build your URL

Pass title, description, theme, and more as URL parameters.

https://ogpix.dev/api/og
  ?title=My+Article
  &description=A+great+read
  &theme=gradient
3

Drop it in your HTML

Use the URL as your og:image meta tag. That's it.

<meta property="og:image"
  content="https://ogpix.dev/api/og
    ?title=My+Article" />

Why teams choose OGPix

Built for developers who want perfect social previews without the infrastructure headache.

Edge-fast

Generated at the edge in <50ms. No headless browsers. No cold starts.

🎨

Multiple themes

Gradient, minimal, dark, branded — pick a template or customize colors.

🔗

Any framework

Works with Next.js, Astro, Hugo, WordPress, or plain HTML. It's just a URL.

💾

Auto-cached

Images are cached at the CDN edge. Same params = instant response.

📐

Retina-ready

1200×630 by default, perfect for Twitter, LinkedIn, Slack, and Discord.

📊

Usage dashboard

Track generations, see top images, monitor your usage in real-time.

Frequently asked questions

Everything you need to know about OGPix.

What is an Open Graph image?+
An Open Graph (OG) image is a 1200×630 pixel preview thumbnail that appears when you share a link on Twitter, LinkedIn, Slack, Discord, or iMessage. Pages with custom OG images see up to 2× higher click-through rates compared to pages with no preview image. OGPix generates these images automatically from URL parameters.
How fast is OGPix?+
OGPix generates images in under 50ms using Satori at the edge. Unlike headless browser solutions (Puppeteer, Playwright) that take 2-5 seconds per image, OGPix has zero cold starts and consistent sub-50ms response times globally. Every image is also CDN-cached for instant repeat responses.
Do I need to install anything?+
No. OGPix is a URL-based API — zero dependencies, zero packages, zero build plugins. Just set your og:image meta tag to an OGPix URL with your parameters (title, description, theme) and you're done. No SDK, no npm install, no configuration files.
What frameworks does it work with?+
OGPix works with any framework or platform: Next.js, Astro, Remix, Hugo, WordPress, Ghost, plain HTML, and more. Because it's just a URL, it works anywhere you can set a meta tag. There are no framework-specific adapters or plugins needed.
Is there a free tier?+
Yes. The free tier includes 100 images per month with no credit card required. Paid plans start at $9/month for 5,000 images and $29/month for 50,000 images. All plans include access to all 10 themes, custom branding, and CDN caching.
Can I use custom colors?+
Yes. Select the "branded" theme and pass your brand colors as URL parameters — primary color, background, text color, and accent. You can also customize font size, layout, and logo placement. All 10 built-in themes support color overrides.
Are images cached?+
Yes. Every generated image is cached globally at CDN edge nodes across 300+ locations. Identical parameters return an instant cached response with zero generation cost and sub-10ms latency. Cache invalidation happens automatically when you change parameters.

Stay in the loop

Get notified about new themes, features, and tips.

Start generating images for free

100 free images per month. No credit card required. Upgrade when you're ready.

Get Your Free API Key →