OG Image API

Dynamic Open Graph images, generated by API

Auto-generate beautiful 1200×630 social share images from a headline. Perfect for blogs, changelogs, and e-commerce — every link gets a click-worthy preview without opening a design tool.

Quickstart

Set this URL as your og:image and you're done:

<meta property="og:image"
  content="https://api.snapraven.app/v1/og?title=Hello+World&subtitle=from+my+blog&brand=Acme&key=sr_live_..." />

Parameters

ParameterDescription
title Required. The main headline on the image.
subtitle Optional secondary line.
brand Optional brand name shown at the bottom.
theme light or dark. Default dark.
accent Hex accent color, e.g. #4f46e5.

FAQ

What is an OG image?

An Open Graph image is the preview picture that appears when a link is shared on social media, WhatsApp, Slack, or iMessage. Links with a good OG image get far more clicks.

What size are the images?

Every image is 1200×630 — the standard Open Graph size that every major platform reads.

Can I generate them dynamically?

Yes. Build the URL with your title and subtitle at request time, set it as og:image, and a fresh card is generated automatically per page.

Do I still need a designer?

No. Pick a theme and accent color once, then every post and product gets a consistent, on-brand card with zero manual work.

Generate your first OG image

Get your free API key