Beautiful OG Images
With a Simple API
Generate stunning social media preview images for your website, blog, or app. One API call, beautiful results. No design skills needed.
Live Playground
/api/og?title=My+Awesome+Blog+Post&description=A+deep+dive+into+building+modern+web+applications1200 x 630 — Standard OG Image Size
API Usage
GET /api/og
Generate an OG image by passing parameters as query strings.
HTML Meta Tag
<meta property="og:image" content="https://your-domain.com/api/og?title=Your+Title&template=gradient" />Next.js Metadata
export const metadata = {
openGraph: {
images: [{
url: "https://your-domain.com/api/og?title=My+Post&template=blog",
width: 1200,
height: 630,
}],
},
};Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| title | string | required | Main heading text |
| description | string | - | Subtitle text |
| template | string | basic | basic, blog, gradient, minimal |
| siteName | string | - | Your brand/site name |
| author | string | - | Author name |
| tags | string | - | Comma-separated tags |
| bgColor | string | template default | Background color (hex) |
| accentColor | string | #6366f1 | Accent/highlight color |
Simple Pricing
Start free. Upgrade when you need more.
Popular
Pro
$9.90/month
or $95/year (save 20%)
- 10,000 images/month
- No watermark
- Priority rendering
Lifetime
$149 once
Pay once, use forever
- 10,000 images/month
- All future updates
- Priority support