Все возможности

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.

Ключевые преимущества

  • 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

Ключевые преимущества

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

Как это работает

Загрузите изображение

Загрузите JPG, PNG или WebP. До 25 МБ. 1 кредит за каждые 15,000 пикселей по вертикали.

ИИ разделяет и восстанавливает

Понимает иерархию заголовков, основного текста, цен, таблиц и списков и восстанавливает их как настоящий текст.

HTML проверен и опубликован

Генерирует семантический HTML и CSS, который естественно перестраивается на десктопе, планшете и мобильных.

Верните веб, запертый в пикселях

Бесплатные кредиты при регистрации. Банковская карта не нужна.