Generating Dynamic OG Images For Your Blog With Vercel OG

Konstantin Münster
7 min readMar 8, 2023

Improve your Next.js-based blog with OG images generated with @vercel/og.

dynamic image with geometrical objects
Photo by Shubham Dhage on Unsplash

Throughout the years, Open Graph images became more and more important. Most modern tools (like Slack, Facebook, or Twitter) automatically show a little preview image of your website whenever you share it. This is the Open Graph image (or OG image).