Skip to content
Fourohtwo

Web tools

rengi.dev/v1/web-tools/render-html

Web tools: Turn HTML and CSS into a PNG, JPEG or WebP with a real browser engine: cards, banners, charts, email previews, code snippets, diagrams. Fixed size or as tall as the content, up to 3x density, transparent background. Full schema: https://rengi.dev/v1/web-tools/schema

BaseSolanaAnswering
POSThttps://rengi.dev/v1/web-tools/render-html

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://rengi.dev/v1/web-tools/render-html", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"html":"<div style=\"font:600 48px system-ui;padding:48px;background:#1d3557;color:#f1faee\">Shipped: v2.4</div>","width":800}),
});
console.log(await res.json());

Example input

{
  "html": "<div style=\"font:600 48px system-ui;padding:48px;background:#1d3557;color:#f1faee\">Shipped: v2.4</div>",
  "width": 800
}

More from Rengi ForgeProvider status