Blog post OG Image Template

Made for blog posts and articles. The title gets the most space; the author, date and reading time sit along the bottom, and a coloured tag pill sits at the top.

https://unfurlkit.com/v1/blog.png?title=Dynamic%20OG%20Images%20in%20Next.js%3A%20ImageResponse%20vs%20One%20URL&author=Unfurlkit&date=2026-10-21&readtime=9&tag=Guides&theme=dark&accent=7c3aed

This example previews our own Next.js guide: its real title and date, and a reading time worked out from its word count (1,757 words ÷ 200 a minute, rounded up).

Output: 1200×630 PNG. Every text field is trimmed to its limit, then to its number of lines, ending in "…". Letters that hang below the line (g, j, p, y) are never cut off.

Parameters

ParamRequiredWhat it doesAccepted values
titleyesThe title of your post.Text. Up to 120 characters, 3 lines on the image; longer text is trimmed with "…", not rejected.
subtitlenoA one-line summary under the title.Text. Up to 160 characters, 2 lines on the image; longer text is trimmed with "…", not rejected.
authornoWho wrote it.Text. Up to 60 characters, 1 line on the image; longer text is trimmed with "…", not rejected.
datenoWhen it was published.A real date, YYYY-MM-DD.
readtimenoShown as "5 min read".A whole number from 1 to 999, digits only.
tagnoA topic label shown at the top, like Guides.Text. Up to 30 characters, 1 line on the image; longer text is trimmed with "…", not rejected.
themenodark (the default) or light.dark or light.
accentnoThe highlight colour, as 6 hex characters (a leading # is fine). Default 7c3aed.6 hex characters, no #.
avatarnoA round photo next to the author's name. Pro only. Ignored (not an error) on Free and unsigned links.An https URL to a PNG, JPEG or GIF (up to 2 MB, 4096 px a side).
logonoYour publication's logo, top right. Pro only. Ignored (not an error) on Free and unsigned links.An https URL to a PNG, JPEG or GIF (up to 2 MB, 4096 px a side).
bg_imagenoA photo behind the card, cropped to fill it, with a dark (or, on the light theme, light) scrim so the text stays readable. Pro only. Ignored (not an error) on Free and unsigned links.An https URL to a PNG, JPEG or GIF (up to 2 MB, 4096 px a side).
vnoAny text. Change it to make a fresh image (a cache-buster).Any text.
fontnoOne of the bundled fonts, for all text on the image. Pro only. Ignored (not an error) on Free and unsigned links.One of: inter, roboto, playfair-display, jetbrains-mono.
k, sProYour public key and the URL's signature. See Signing Pro URLs.From your account.

A missing or empty title returns 400 as an error image (“missing title”), so it shows where the preview would. Any other problem returns 400 with a plain-text body: the first line names the param, the second says how to fix it. For example:

invalid param: date
date must be a real date written YYYY-MM-DD, like 2026-10-21.

Good to know

  • The date shows as "Oct 21, 2026" and the reading time as "5 min read", joined with a dot.
  • Leave out any line you don't need: the layout keeps its spacing.
  • The author photo (avatar, Pro) is cropped to a circle.
  • Right-to-left scripts such as Arabic and Hebrew aren't supported yet at launch.

Plans

Every image URL needs your key. A Free key gets 10 renders in total (no monthly reset), with a small "unfurlkit" watermark in the bottom-right corner, and needs no card. Pro ($9/mo or $90/yr) gets 10,000 renders a month and no watermark. See pricing.

The blog template, rendered

Real images from /v1/blog.png, filled in with our own guides.

Dark blog card with a Guides tag: “OG Image Not Showing? Fix WhatsApp, Facebook, LinkedIn”, Unfurlkit · Oct 21, 2026 · 10 min read.
Everything set, dark: our guide to fixing missing previews.
Image link
https://unfurlkit.com/v1/blog.png?title=OG%20Image%20Not%20Showing%3F%20Fix%20WhatsApp%2C%20Facebook%2C%20LinkedIn&author=Unfurlkit&date=2026-10-21&readtime=10&tag=Guides
Light blog card titled “OG Image Size: What Each Platform Documents (2026)” by Unfurlkit.
Light, teal accent, title and author only: our image-size guide.
Image link
https://unfurlkit.com/v1/blog.png?title=OG%20Image%20Size%3A%20What%20Each%20Platform%20Documents%20(2026)&author=Unfurlkit&theme=light&accent=0d9488

Updated 2026-10-22

Try it freePricing