✦ Now in public beta

Pixel-perfect OG images
for Next.js

Full CSS support. Any font. Any hosting platform. Drop-in replacement for @vercel/og that uses real Chromium — not Satori's CSS subset.

ogpipe.config.ts
import { defineConfig } from '@ogpipe/next'

export default defineConfig({
  templates: {
    blog: { file: './og-templates/blog.html' },
  },
  routes: {
    '/blog/[slug]': {
      template: 'blog',
      vars: (meta) => ({ title: meta.title }),
    },
    '*': { template: 'default' },
  },
})

// next build && ogpipe generate
// → ✅ Generated 24 OG images in 3.8s

Why developers switch from @vercel/og

Real Chromium rendering. No CSS limitations. Deploy anywhere.

🎨

Full CSS support

CSS Grid, Tailwind, calc(), z-index, box-shadow — anything Chrome renders, OGPipe renders. No Satori subset.

Build-time generation

OG images become static files during next build. Zero runtime dependency. No API calls in production.

🔤

Any font, zero boilerplate

Google Fonts via <link> tag. Custom WOFF2 files. No manual ArrayBuffer loading or bundle bloat.

🌍

Deploy anywhere

Works on Vercel, AWS, Netlify, Cloudflare, self-hosted. Not locked to Edge Runtime or any platform.

👁️

Local preview server

Run ogpipe dev — see your OG images in Twitter/LinkedIn/Slack frames with hot-reload as you edit.

📐

Pixel-perfect output

Real headless Chrome renders your templates. What you see in DevTools is exactly what gets shared.

How it works

Install. Configure. Build. Your OG images are handled.

1

npm install @ogpipe/next

Add the package and create ogpipe.config.ts with your templates and route mappings.

2

Write HTML/CSS templates

Use Tailwind, Google Fonts, CSS Grid — any CSS that works in Chrome. No Satori restrictions.

3

Build → static OG images

Run next build && ogpipe generate. Images are written to public/og/ as static files. Done.

Simple, transparent pricing

Start free. Scale as you grow. No surprises.

Free

$0
50 renders / month
  • All built-in templates
  • Custom HTML rendering
  • PNG, JPEG, WebP output
  • CDN delivery
Get started

Scale

$49/mo
25,000 renders / month
  • Everything in Pro
  • Dedicated rendering pool
  • Usage analytics
  • Priority support
Subscribe

Done fighting Satori's CSS?

Get your API key and generate pixel-perfect OG images with full CSS support.

Get free API key