← Back to directory

Turn a UI screenshot into an HTML/CSS skeleton: detected buttons, inputs, checkb...

https://bild.halowerk.com/v1/screenshot-to-html

Overview

Turn a UI screenshot into an HTML/CSS skeleton: detected buttons, inputs, checkboxes, headings, text, dividers, images and containers laid out as nested flex rows and columns, plus a rendered fidelity score against the original.

Protocol x402 (POST)
Price $0.0080
Payment Asset USD Coin
Payment Network Base
Category media/images
Provider bild
Source bazaar
Indexed 2026-11-16 12:08:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAMgAAABACAYAAABfuzgrAAACz0lEQVR4nO3aMWpUURTG8azjrcAduAJX4A5cgWAb7CzT2lik1c5O0lrYWGppJQiKEoloUBSffA+P3Lm+HIbhmOt8+f/gkGTmzSQM95933yQHM4ALHYz+AYD/GYEACQIBEgQCJAgESBAIkCAQIEEgQIJAgASBAAkCARLlgUx33jIDB7UIxGxQi0DMBrUIxGxQi0DMBrUIxGxQi0DMBrUIxGxQi0DMBrUIxGxQi0DMBrUIxGxQi0DMBrUIxGxQyy6Q6/fezzfvny4fR3zvo5PPyxCIB4tArh2+mx89P5/Pzn9u/Cz6+jIXq8Ic+ToQSD2LQBTH3AShidvk9sMzAsFOLAIJt44/btz+4OmX+dmrb3+dRbSQI6S7jz8tZ6C4L7ZJEZXuXztu6rZUOp5A/FgFss12qj3bvHzzfflcH2PxxyJXWJqWjmvj6Ld08XyjXgcCqWcRiM4UQYv2yYuvy2/8G0cfNo6Lxf/69MefIBSVKJz2GD1P3KazQ9D9bWhtXPq+I18HAqlnEUgsdC38ns4CEUqEpEWtha6Jxa/HTt11RLulirNFBBJfK8Q4Rlu80a8DatkEEqOtjxZq+66WItF9/ZZp7We/6DoiHhuBhPg6eyyB7C+bQPrt1LTyGz22QPoYZ5B2CAS9vQ9EW5z59zVD/y5TH0gc215s6zG7BBIX5Nq2xTFxPTPidSCQf2PvA9ECj2uPuLDWQm0vmGMRt+886TYt9lj4ccy2gUQM8bcXxde+q0UgHvY+kKn5S3pP4fRv/Wor1l/Mt2eBbQOZunet9JxcpPuxCKSd+F+sfru1FtXadcsucY74vy8CuRx2gVz1QS0CMRvUIhCzQS0CMRvUIhCzQS0CMRvUIhCzQS0CMRvUIhCzQS0CMRvUIhCzQS0CMRvUIhCzQa3yQAAnBAIkCARIEAiQIBAgQSBAgkCABIEACQIBEgQCJAgESBAIkPgF575rvJbS+LgAAAAASUVORK5CYII=", "title": "Send button" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "A starting skeleton, not a faithful reproduction: detection is rule-based, fonts are assumed to be Liberation Sans/Arial at normal weight, and icons, shadows, gradients and responsive behaviour are not reconstructed.", "Sizes are fixed pixels from the screenshot; OCR text may contain recognition errors." ], "result": { "background": "#ffffff", "bytes": 761, "elements": { "button": 1 }, "fidelity": { "changed_pixel_ratio": 0.017813, "checked": true, "renderer": "Chrome headless (sandboxed), JavaScript disabled", "similarity": 0.9822, "threshold": 0.1 }, "height": 64, "html": "<!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width\">\n<title>Send button</title>\n<style>*{box-sizing:border-box}html,body{margin:0;padding:0}body{display:flow-root;width:200px;min-height:64px;background:#ffffff;font-family:\"Liberation Sans\",Arial,Helvetica,sans-serif;overflow:hidden}.row,.box{display:flow-root}.cols{display:flex;align-items:flex-start}.cols>div{flex:none}.btn{display:block;margin:0;padding:0;cursor:pointer;font-family:inherit}input{display:block;font-family:inherit}</style>\n</head>\n<body>\n<div style=\"margin:12px 0 0 20px;width:96px\"><button class=\"btn\" style=\"width:96px;height:40px;background:#1a73e8;color:#fcfdff;font-size:17px;border:0\">Send</button></div>\n</body>\n</html>\n", "layout": { "absolutely_positioned": 0, "method": "recursive XY cut into flex rows and columns" }, "ocr": { "engine": "tesseract 5.3.4", "language": "eng", "psm": 11, "upscale": 2, "words": 1 }, "width": 200 }, "service": "screenshot-to-html", "status": "success" }, "type": "json" }