All features

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=json

What the response contains

  • html, css — a publishable document
  • assets — separated image URLs
  • content — sections and texts as structured JSON
  • quality — accuracy scores and suggested review areas

See the API documentation for async mode, exponential backoff and rate limits.

Key benefits

  • 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

Key benefits

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

1endpoint to start
8code samples
50/mofree preview calls

How it works

Upload image

Upload a JPG, PNG or WebP. Up to 25 MB. 1 credit per 15,000 vertical pixels.

AI separates & reconstructs

Understands the hierarchy of headings, body copy, prices, tables and lists and restores them as real text.

HTML verified & published

Generates semantic HTML and CSS that reflows naturally on desktop, tablet and mobile.

Reclaim the web trapped in pixels

Free credits on signup. No credit card required.