Documentation

Get dynamic social images running in under 2 minutes.

1Create a Template

Head to the dashboard and create a new template. You can set the slug (e.g. blog), background style, logo, and brand name. These will be your defaults.

2Use the URL

Add the generation URL to your HTML meta tags. Replace YOUR_TITLE with the dynamic title of your page.

// Basic usage

https://henry-social.vercel.app/api/og?template=blog&title=Hello+World

// With subtitle and override logo

https://henry-social.vercel.app/api/og?template=product&title=Cool+Gadget&subtitle=Only+$19&logo=https://...

3Add Meta Tags

Put this in your <head> section. Most social platforms will cache this image for several days.

<meta property="og:image" content="

https://henry-social.vercel.app/api/og?template=blog&title=My+Post

" />

<meta name="twitter:card" content="summary_large_image" />

MCP

If you use an AI assistant, connect it to our MCP endpoint to automate template management.

https://henry-social.vercel.app/api/mcp

Tools: list_templates, create_template, get_og_url, get_stats