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=gradientWhat 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.
Get your API key
Sign up and get your key in 30 seconds. Free tier included.
OGPIX_KEY=og_live_abc123...
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
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?+
How fast is OGPix?+
Do I need to install anything?+
What frameworks does it work with?+
Is there a free tier?+
Can I use custom colors?+
Are images cached?+
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 →