Open Graph Image API
Beautiful social images,
one API call away
Generate dynamic OG images for your website, blog, or app. Multiple themes, custom logos, edge-fast response times.
Try it live
GET /api/og?title=Your+Title&theme=gradient&pattern=dotsFeatures
Everything you need for social images
7 Themes
Light, dark, gradient, ocean, sunset, forest, and midnight themes ready to use.
Pattern Overlays
Add dots, grid, or diagonal patterns for extra visual interest.
Edge Runtime
Generated at the edge for sub-100ms response times globally.
Custom Logos
Add your logo via URL parameter. Supports PNG, JPG, and SVG.
Flexible Sizing
Adjust font size and layout to fit your content perfectly.
Simple Integration
Just add query parameters. No SDK, no dependencies required.
Quick Start
<!-- Add to your HTML head -->
<meta property="og:image" content="https://ogimage-sandy.vercel.app/api/og
?title=My%20Blog%20Post
&description=A%20great%20article
&theme=gradient" />
<!-- Or use in Next.js -->
export const metadata = {
openGraph: {
images: [`${process.env.OG_API}/api/og?title=${title}`],
},
}Pricing
Simple, usage-based pricing
Start free, scale as you grow
Business
$29/per month
100,000 images/mo
- Custom templates
- Dedicated support
- SLA guarantee
- White-label