Open Graph API · Free while in launch

Beautiful link previews
from one URL

Drop a Cardstock URL into your <meta> tag. Get a polished, on-brand social preview — rendered on the fly, no headless browser, no design work required.

Get your API key →

Try it live

Type anything below and see your OG image update in real-time.

Waiting for input…
Copy this into your HTML
<meta property="og:image" content="https://cardstock.dev/v1/og?title=Beautiful+link+previews+from+one+URL&subtitle=One+API+call.+No+headless+browser.+Ships+in+minutes.&theme=light&key=YOUR_API_KEY" />
Get your API key →

Up and running in 5 minutes

1

Get an API key

Free while we're in launch. No credit card required.

2

Add the URL

Replace your og:image with a Cardstock URL. Pass title, subtitle, and theme as query params.

3

Ship it

Replace your og:image and deploy. Satori renders each card on the fly; there's no headless browser in your stack.

One line of HTML

<meta property="og:image"
      content="https://cardstock.dev/v1/og
        ?title=My+awesome+post
        &subtitle=A+short+description
        &theme=dark
        &key=YOUR_API_KEY" />