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

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?+
Open Graph images are the preview thumbnails that appear when you share a link on Twitter, LinkedIn, Slack, Discord, or iMessage. A great OG image boosts click-through rates and makes your content look polished and professional across every platform.
How fast is OGPix?+
Images are generated in roughly 50 ms using Satori at the edge. There are no headless browsers or cold starts involved, so every request is consistently fast no matter where your users are.
Do I need to install anything?+
No. OGPix is a URL-based API. Just point your og:image meta tag to an OGPix URL and you’re done — no packages, no build plugins, no SDKs required.
What frameworks does it work with?+
Any framework: Next.js, Astro, Hugo, WordPress, plain HTML — it doesn’t matter. Because it’s just a URL, it works anywhere you can set a meta tag.
Is there a free tier?+
Yes. You get 100 images per month completely free, no credit card required. When you’re ready to scale, paid plans start at $9/month.
Can I use custom colors?+
Absolutely. Choose the "branded" theme and pass your custom colors as URL parameters. You can set primary color, background, text color, and more to match your brand perfectly.
Are images cached?+
Yes. Every generated image is cached globally at the CDN edge. If you request the same parameters again, you get an instant cached response with no generation cost.

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 →