Skip to content

A social card for every page

Design one template, then let every page render its own share card on demand. The og:image tag points straight at Ironfang Render, so there is no build step, no image bucket and no key in your markup.

Create a free accountRead the API docs

  • No build step
  • No image storage
  • 250 free templated images each month
  • Never expires, if you want
The Open Graph share card for the Ironfang Render product page, generated by Ironfang Render
This site's own share card, rendered by the API it describes.

One template

Every page needs a card, and nobody wants the build step

The usual answers are all overhead. Generate cards at build time and the build gets slower with every page and stale the moment content changes. Generate them at request time and you are running a browser, a queue and a bucket. Skip them and every share looks the same.

A signed render URL removes the middle entirely. The tag points at Ironfang Render, the card renders on request and is cacheable for an hour, and changing the template changes every card without touching your application.

POST /render/v1/sign
Authorization: Bearer if_live_...

{
  "kind": "image",
  "template": "og-card",
  "vars": { "title": "Why we own our hardware" },
  "width": 1200,
  "height": 630,
  "ttl_hours": 0
}

<meta property="og:image" content="https://..." >

Capabilities

What the tag gets you

The card is generated by the same template engine as the rest of your images, and delivered by a URL you can put anywhere.

Use cases

Pages worth their own card

Anywhere a shared link should explain itself rather than showing the same site-wide image.

Blog and article cards

A card per post with the headline and author, generated the first time somebody shares it.

Product and listing shares

Show the product name, price and image in the preview rather than a generic site card.

Documentation pages

Give every page in the reference its own card so a shared deep link is legible.

Event and booking links

Put the date, venue and title into the preview so a shared link explains itself.

User-generated pages

Profiles and public boards get their own cards without a job queue generating images.

Changelog and release notes

Each release shares with its own version and headline, from the same template.

Generating other images from data?

Social cards are one use of the template engine. Certificates, badges, product graphics and personalised marketing images all work the same way, from the same stored HTML.

Pricing

Priced per rendered card

Each time Ironfang Render renders a card, it counts once as a templated image. A repeat served from cache counts nothing: a render may be kept for up to ten minutes, and the response is cacheable by browsers and CDNs for an hour. A failed render counts nothing. Every account has a free allowance each month, with no card required. Past it, Pay as you go charges the rates below, within the monthly usage limit you set. Prices exclude VAT.

Templated images

Each image rendered from a template.

250 templated images free each month

Paid units after the free allowanceRate per 1,000
First 10,000£1.00
Next 90,000£0.70
Next 900,000£0.50
Above 1,000,000£0.40

See Ironfang Render pricingCompare with other providers

Questions

Before you integrate

The details that decide whether this fits, without reading the whole reference first.

Do I have to generate the images at build time?
No. Put a signed render URL in the og:image tag and the card is rendered when it is requested, with a response that browsers and CDNs can cache for an hour. Nothing is generated during your build and nothing is stored by your application.
What happens when I change the design?
Update the stored template and every card follows, including the ones already linked. There is no rebuild and nothing to purge, because the next request renders the new design.
Will the URL expire and break old links?
Only if you let it. A signed URL lasts 30 days unless you give it a lifetime in hours, and zero means it never expires, which is what an og:image tag needs.
Does the signed URL expose my API key?
No. Your server mints the URL with the key and the key never travels in it. The signature covers the parameters, so nobody can edit the template or the variables and still get a render.
What size should the card be?
The template carries its own width and height, so set it once at the 1200 by 630 that the major platforms expect and every render matches.
Can I use this with Next.js, Astro or any other framework?
Yes. It is an ordinary URL in a meta tag, so anything that renders HTML can use it. There is no SDK to adopt and no runtime to add to your application.
What does it cost?
Each render of a card counts once against the templated image meter, which has a free allowance every month; the rates are under Pricing on this page. A repeat served from cache counts nothing, but a cache hit is never guaranteed: after ten minutes, a crawl that reaches Ironfang Render renders the card again and counts it again.

Less to operate. More to ship.

Give every page its own card

Create an account, store one template and sign a URL. Every account has free templated images each month.

250 free templated images each month, no card required, and no charge for failed renders.