{"slug":"rengi-dev-v1-web-tools-render-html-6836cb","title":"Web tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/web-tools/render-html","category":"code","description":"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","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":888,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"html":"<div style=\"font:600 48px system-ui;padding:48px;background:#1d3557;color:#f1faee\">Shipped: v2.4</div>","width":800},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"css":{"description":"Extra CSS added after the document's own.","maxLength":300000,"type":"string"},"dark":{"default":false,"type":"boolean"},"format":{"default":"png","enum":["png","jpeg","webp"],"type":"string"},"height":{"description":"Fixed height. When omitted the image is as tall as the content.","maximum":8192,"minimum":16,"type":"integer"},"html":{"description":"HTML to draw: a fragment or a full document. May load public images, fonts and stylesheets.","maxLength":1500000,"minLength":1,"type":"string"},"quality":{"default":90,"maximum":100,"minimum":30,"type":"integer"},"scale":{"default":1,"enum":[1,2,3],"type":"number"},"selector":{"description":"Capture only this element, cropped to its box.","maxLength":200,"type":"string"},"transparent":{"default":false,"description":"Keep the page background transparent (PNG and WebP).","type":"boolean"},"waitMs":{"default":0,"description":"Extra wait after the page has loaded, for animations or late content.","maximum":10000,"minimum":0,"type":"integer"},"width":{"default":1200,"maximum":4096,"minimum":16,"type":"integer"}},"required":["html"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"bytes":{"type":"number"},"height":{"type":"number"},"image":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"width":{"type":"number"}},"required":["image","width","height","bytes","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":965,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":886,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":946,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":888,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":877,"error":null}],"description_full":"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","last_updated":"2026-11-21T15:11:49.833Z","schemes":["exact"]}