For Developers
One API call returns HTML, CSS, separated images, structured JSON and a quality report.
Call a pipeline, not a model
Feed an image to a general multimodal model and you will get something HTML-shaped. You will still have to build tall-image slicing, asset cropping, text and number validation, render comparison, retries and refunds yourself. The img2htm API ships that whole production system behind one endpoint.
POST /api/v1/reconstruct
Authorization: Bearer i2h_...
image_file=@page.jpg&mode=full&format=jsonWhat the response contains
html,css— a publishable documentassets— separated image URLscontent— sections and texts as structured JSONquality— accuracy scores and suggested review areas
See the API documentation for async mode, exponential backoff and rate limits.
Lợi ích chính
- REST API, one call
- JSON, HTML and ZIP output formats
- Async jobs with status polling
- Automatic credit refund on failure
- Samples for cURL, Node, Python, PHP and more
- Per-key rate limits and usage
Lợi ích chính
REST API, one call
JSON, HTML and ZIP output formats
Async jobs with status polling
Automatic credit refund on failure
Samples for cURL, Node, Python, PHP and more
Per-key rate limits and usage
Cách hoạt động
Tải ảnh lên
Tải lên JPG, PNG hoặc WebP. Tối đa 25 MB. 1 tín dụng cho mỗi 15,000 pixel chiều dọc.
AI tách & tái tạo
Hiểu thứ bậc của tiêu đề, nội dung, giá, bảng và danh sách rồi khôi phục chúng thành văn bản thật.
HTML được kiểm tra & xuất bản
Tạo HTML và CSS ngữ nghĩa tự sắp xếp lại tự nhiên trên máy tính, máy tính bảng và di động.
Tính năng liên quan
Smart Editor
Fix the reconstructed result right in the browser. Click a sentence to edit it, swap an im…
For Individuals
No need to ask the designer again. Upload one flattened image and get a web page you can e…
For Designers
Give publishing time back to design. Upload a design image and get a semantic HTML draft.
For Marketing
Turn campaign visuals into testable HTML. Swap copy, localize and get indexed in one pass.
Giành lại web đang bị giam trong pixel
Tặng tín dụng miễn phí khi đăng ký. Không cần thẻ tín dụng.