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+applications
OG Image Preview

1200 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

ParameterTypeDefaultDescription
titlestringrequiredMain heading text
descriptionstring-Subtitle text
templatestringbasicbasic, blog, gradient, minimal
siteNamestring-Your brand/site name
authorstring-Author name
tagsstring-Comma-separated tags
bgColorstringtemplate defaultBackground color (hex)
accentColorstring#6366f1Accent/highlight color

Simple Pricing

Start free. Upgrade when you need more.

Free

$0/month
  • 50 images/month
  • All 4 templates
  • Custom colors
  • Includes watermark
Get Started

Hobby

$4.90/month

or $47/year (save 20%)

  • 1,000 images/month
  • No watermark
  • All templates
Start with Hobby
Popular

Pro

$9.90/month

or $95/year (save 20%)

  • 10,000 images/month
  • No watermark
  • Priority rendering
Start with Pro

Lifetime

$149 once

Pay once, use forever

  • 10,000 images/month
  • All future updates
  • Priority support
Buy Lifetime