Without it
- Run a rendering worker, or queue a job and poll it
- Write the result somewhere public and keep the bucket alive
- Invalidate and regenerate when the underlying content changes
- Keep an API secret in whatever generates the markup
Signed render URLs
Mint a signed Ironfang Render URL and use it directly in a page, an og:image tag or an email. It renders on the first request and caches after that, so your application never generates, stores or serves the asset itself.
Create a free accountRead the API docs
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://api.ironfang.com/render/v1/
results/0/8a13c09e4f22..." >What it replaces
Generating an image for every page is mostly infrastructure. A signed URL removes the infrastructure and keeps the image.
How it works
Your server holds the key. The page holds a URL that cannot be tampered with.
Where it fits
A signed URL renders a page capture or a stored template. Those are the two assets that usually need to exist at a URL.
Design one template, mint a URL per page with the title, author or price as variables, and put it straight in the og:image tag. Change the template and every card follows, with no rebuild and nothing to purge.
Embed a live capture of a page in a dashboard, a status board, a digest email or a directory listing. The image is current when it is fetched rather than as fresh as your last cron run.
Questions
The details that decide whether this fits, without reading the whole reference first.
Less to operate. More to ship.
Create an account, take a key and sign one request. The render is inside your free credits.
250 free credits each month, with no card required, hard usage caps and free cache hits.