Skip to content

HTML to image API

Design once. Generate thousands from data

Store a layout in HTML and CSS, then render it with different variables on every request. Branded images from the data you already hold, without running a rendering worker or rebuilding the design in an image library.

Create a free accountRead the API docs

  • One credit per image
  • Stored templates
  • Verified QR codes included
  • UK-operated infrastructure
<h1>{{title}}</h1>
<p>{{author}}</p>
{ "title": "Why we own our hardware",
  "author": "Ironfang" }

IRONFANG

Why we own our hardware

ironfang.uk

One template

The design belongs in one place

Generating images from data usually means one of two bad options: rebuild the layout in a canvas or image library, where fonts and wrapping fight you, or run your own headless browser and keep it alive between launches.

Renderwolf stores the HTML and CSS and renders it with the variables you send. Change the stored template and every future image follows, with no deployment and nothing to invalidate.

POST /renderwolf/v1/image/og-card
Authorization: Bearer rw_live_...

{
  "vars": {
    "title": "Why we own our hardware",
    "author": "Ironfang"
  },
  "format": "png"
}

200 image/png

Capabilities

A design system, not a drawing API

Everything you would expect from HTML, with the storage and substitution that turn one design into many images.

Design in HTML and CSS

Use the layout language you already know, with the fonts, gradients and grid you would use anywhere else. No canvas API, no image library DSL.

Stored templates

Save the design once with placeholders, then render it with different variables per request. The design lives in one place rather than in every call site.

Change the design, not the code

Update the stored template and every future image follows. No deployment, and nothing to purge, because the next render is the new design.

Verified QR codes inside

Send a qr object and the code is generated, checked for scannability and composited into the layout as a variable. QR generation costs no credits.

Signed URLs

Mint a URL that renders the template on demand, so the image exists at a URL without your application generating, storing or serving it.

PNG, JPEG or WebP

Choose the format per request from one template, on warm Chromium that Ironfang operates in the UK, with cache hits free and failures refunded.

Use cases

One design, many images

Anywhere the layout is fixed and the content changes, which is most generated imagery.

Social and share cards

One template, an image per page, with the title and author as variables.

Certificates and badges

Personalise per recipient and composite a verified QR code for checking it later.

Product and listing graphics

Generate a branded image per SKU or listing from the data you already hold.

Personalised marketing images

Render a variant per recipient or per campaign without a designer in the loop for each one.

Automated report imagery

Turn a weekly number into a branded graphic for the digest, generated when the digest is built.

Ticket and pass artwork

Combine booking data and a scan-verified code into a single image for the wallet or the email.

Generating Open Graph images?

Social cards are the most common use of this API, and they have their own markup and their own signed-URL flow. There is a page for exactly that job.

Open Graph image API

Pricing

One credit per generated image

Start with 250 free credits each month and no card required. Paid plans begin at £9 per month for 5,000 credits, shared across screenshots, PDFs, images and video. QR codes inside your templates cost nothing, cache hits are free, failed work is refunded, and reaching a cap pauses rendering rather than billing overage.

See Renderwolf pricingCompare with other providers

Questions

Before you integrate

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

How do templates work?

You store HTML and CSS once with placeholders in it. Each render posts the variables for that image and gets the bytes back, rendered at the template width and height you defined.

Can I change the design without changing my application?

Yes, and it is the point of storing the template. Update the stored HTML and every future render uses it, with no deployment and no change to the code that requests images.

What formats can I get?

PNG, JPEG or WebP per request, so the same template can serve a lossless asset in one place and a small one in another.

Can I include a QR code in the image?

Yes. Send a qr object with the render and each code is generated, verified for scannability and injected as a variable, so it is composited into the design. QR generation costs no credits.

Do I need to store the finished images?

Only if you want to. A signed render URL renders on demand at the URL itself, so you can put it straight in a page or an email without generating and hosting the file first.

Can I render one-off HTML without storing a template?

Yes. The screenshot endpoint takes HTML directly instead of a URL, which suits a layout that changes every time. Stored templates suit the same design rendered many times.

What does an image cost?

One credit per generated image. Cache hits cost nothing, failed work is refunded, and reaching a cap pauses rendering rather than billing overage.

Render your first template

Create an account, store one design and send the variables. The first image is inside your free credits.

250 free credits each month, with no card required, hard usage caps and refunds on failed work.