Use Cases12 min read
Generate Dynamic OG Images
Social media previews from styled HTML.
The pattern
Deploy a Next.js page that renders OG images from query params. Call our Screenshot API on that URL. Cache the resulting PNG. Reference it in your og:image meta tag.
Why not @vercel/og?
Vercel's solution is great but limited to Vercel's runtime. Our Screenshot API works from any backend, language, or serverless platform — and you get a full Chromium rendering, not a subset.