# visual.hugen.tokyo PDF Renderer

> visual.hugen.tokyo PDF Renderer is a paid API for AI agents from visual.hugen.tokyo, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Renders any public URL into a clean, print-quality A4 PDF with ads and cookie banners removed, returning a base64-encoded PDF with metadata

## Facts

- Endpoint: GET https://visual.hugen.tokyo/visual/pdf
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/visual-hugen-tokyo-7e6c6558
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9FQ5zcmcvyhtFPTNZlrps

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 visual-hugen-tokyo-7e6c6558
```

Example prompt: Can you render https://en.wikipedia.org/wiki/Artificial_intelligence as a clean A4 PDF with ads and banners stripped out, and give me the base64-encoded file?

## When to prefer this

Use this endpoint when you need a clean, print-ready PDF of a webpage without building or maintaining any browser infrastructure. Ideal for archiving articles, generating reports from web content, or producing shareable documents from URLs. Prefer this over screenshot endpoints when you need text-selectable, paginated PDF output rather than an image.

## Known failure modes

- URL is unreachable or returns a non-200 status — render fails with an error
- URL points to a page that requires authentication — content may be incomplete or blank
- Page uses heavy JavaScript that doesn't fully render in headless mode — output may be partial
- Payment not processed correctly — 402 response, render not executed
- Invalid or malformed URL provided — error returned before render attempt

## How this service works

Render any URL into a clean A4 PDF with print-quality graphics. Auto-removes ads, cookie banners, and overlays. Returns base64-encoded PDF with metadata. No browser infrastructure or PDF library needed — pay per render. Accepts USDC payments on Base and Solana

## Output

A base64-encoded PDF of the rendered webpage in A4 format, along with metadata such as page title and file size. Ads, cookie banners, and overlays are automatically removed before rendering.

## Example request

```json
{
 "url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
 "block_ads": true
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ]
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://github.com/coinbase/x402",
  "format": "pdf",
  "page_title": "GitHub - coinbase/x402: An open protocol for internet-native payments",
  "render_time_ms": 2340,
  "file_size_bytes": 92160
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/visual-hugen-tokyo-7e6c6558/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from visual.hugen.tokyo](https://www.zero.xyz/host/visual.hugen.tokyo/llms.txt)
