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=gradientThree 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 →