# HTML to PDF/PNG/JPEG Renderer

> HTML to PDF/PNG/JPEG Renderer is a paid API for AI agents from zero-jigsaw.zclk.cc, price unknown, status down (last checked 2026-10-28).

Converts an HTML snippet (up to 2 MB) into a rendered PDF, PNG, or JPEG file via JigsawStack.

## Facts

- Endpoint: POST https://zero-jigsaw.zclk.cc/v1/html_to_any?utm_source=zero.xyz
- Price: price unknown
- Status: down
- Last checked: 2026-10-28
- Activations on Zero: 0
- Provider: zero-jigsaw.zclk.cc
- Website: https://zero-jigsaw.zclk.cc
- Canonical page: https://www.zero.xyz/c/zero-jigsaw-zclk-cc-html-to-pdf-png-jpeg-renderer-ecf0a1ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6BDllb1MfAwi3R1PLmxiY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability zero-jigsaw-zclk-cc-html-to-pdf-png-jpeg-renderer-ecf0a1ef -d '<json body>'
```

Example prompt: Convert this HTML snippet to a PNG image for me: '<h1 style="color:blue">Hello World</h1><p>This is a test paragraph.</p>' — output format should be PNG.

## When to prefer this

Choose this endpoint when you need to programmatically render HTML content into a static document or image format (PDF, PNG, JPEG) without a full headless browser setup. It is ideal for generating reports, certificates, email previews, or screenshots from templated HTML. Prefer this over general-purpose screenshot APIs when you already have raw HTML and want pay-per-call micro-USDC billing.

## Known failure modes

- HTML input exceeds 2 MB limit — request rejected with size error
- Invalid or malformed HTML may produce blank or broken output
- Unsupported output format specified returns an error
- Network timeout if rendering is complex and slow
- Missing required parameters (HTML content or format) returns a 400-level error

## How this service works

Render an HTML snippet to PDF/PNG/JPEG (≤2 MB input).

## Output

Returns a rendered binary or encoded file (PDF, PNG, or JPEG) produced from the provided HTML input, ready for download or display.

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zero-jigsaw-zclk-cc-html-to-pdf-png-jpeg-renderer-ecf0a1ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zero-jigsaw.zclk.cc](https://www.zero.xyz/host/zero-jigsaw.zclk.cc/llms.txt)
