{"slug":"api-relaystation-ai-v1-image-from-html-64de8c","title":"$0.003/call","host":"api.relaystation.ai","method":"POST","resource":"https://api.relaystation.ai/v1/image/from-html","category":"image","description":"$0.003/call. Render HTML to an image — sandboxed headless Chromium screenshot of your markup. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":646,"reported_calls_30d":10,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"clip":{"height":1,"width":1,"x":0,"y":0},"fullPage":true,"height":1,"html":"string","omitBackground":true,"type":"png","width":1},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"clip":{"description":"A region to capture (mutually exclusive with fullPage).","properties":{"height":{"maximum":100000,"minimum":1,"type":"number"},"width":{"maximum":100000,"minimum":1,"type":"number"},"x":{"maximum":100000,"minimum":0,"type":"number"},"y":{"maximum":100000,"minimum":0,"type":"number"}},"required":["x","y","width","height"],"type":"object"},"fullPage":{"description":"Capture the full scrollable page (mutually exclusive with clip).","type":"boolean"},"height":{"description":"Viewport height.","maximum":10000,"minimum":1,"type":"integer"},"html":{"description":"Self-contained HTML; all assets inlined as data: URIs (no network).","minLength":1,"type":"string"},"omitBackground":{"description":"Transparent background (png/webp only).","type":"boolean"},"type":{"enum":["png","jpeg","webp"],"type":"string"},"width":{"description":"Viewport width.","maximum":10000,"minimum":1,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":646,"error":null}],"description_full":"$0.003/call. Render HTML to an image — sandboxed headless Chromium screenshot of your markup. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","last_updated":"2026-09-21T18:46:57.787Z","schemes":["exact"]}