# HTML to Image AI integration on Definable

> HTML to Image is a service that converts HTML and CSS into images or captures screenshots of web pages.

## What this connects

HTML to Image is a service that converts HTML and CSS into images or captures screenshots of web pages.

Vendor: https://html2img.com/

## Tools available

**3** tools available. First 3:

- `HTML_TO_IMAGE_CHECK_USAGE` — Check HTML-to-Image Account Usage — Attempts to retrieve account usage statistics from the HTML-to-Image API by trying multiple common endpoint patterns. NOTE: The html2img.com API does not officially document a dedicated usage statistics endpoint. This action tries several plausible endpoint paths and returns empty usage data if none are found (when return_defaults_on_error=true). For actual usage tracking with html2img.com, monitor the 'credits_remaining' field returned in responses from the convert or screenshot endpoints. Returns hourly, daily, and monthly image creation counts if a usage endpoint exists, or empty statistics as a fallback.
- `HTML_TO_IMAGE_CONVERT_TO_IMAGE` — Convert HTML to Image — Tool to convert HTML content into an image. Returns either a downloadable file or a JSON payload containing id and url, depending on the upstream API behavior.
- `HTML_TO_IMAGE_GET_IMAGE` — Get HTML to Image — Retrieve a previously generated image by its URL. Use this to fetch, resize, or download an existing HTML-to-image asset. The image URL is typically obtained from the 'url' field of the HTML_TO_IMAGE_CONVERT_TO_IMAGE response.

## Auth

Auth schemes: `API_KEY`.

## How agents use HTML to Image

Inside a Definable workflow, HTML to Image is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → HTML to Image** — the Researcher (GPT-5.5) pulls context from HTML to Image (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → HTML to Image** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into HTML to Image (create record, post message, draft email).
- **Designer / Engineer → Distributor → HTML to Image** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via HTML to Image (attach file, open PR comment, post status).

The Verifier checks every HTML to Image call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- images & design — https://definable.ai/apps/category/images-&-design/
- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/html_to_image/
- Same category (images & design): https://definable.ai/apps/category/images-&-design/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
