# Tanod pdfpeek – PDF to Images

> Tanod pdfpeek – PDF to Images is a paid API for AI agents from tanod.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Renders up to 5 selected pages of a PDF to PNG or JPEG images at configurable DPI.

## Facts

- Endpoint: POST https://tanod.dev/v1/pdf/to-images?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-pdfpeek-pdf-to-images-35331cb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pkaKERPt7I5d0Q4hEX5IB

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 tanod-pdfpeek-pdf-to-images-35331cb3 -d '<json body>'
```

Example prompt: Can you render pages 1 through 5 of this PDF — https://example.com/report.pdf — as JPEG images at 200 DPI?

## When to prefer this

Use this endpoint when you need to rasterize specific PDF pages into PNG or JPEG images with control over DPI, quality, and color mode. Prefer it over full-document extraction tools when you only need visual renderings of a small subset of pages (up to 5 per call at reduced cost), or when downstream use requires image files rather than extracted text.

## Known failure modes

- PDF URL not reachable or returns non-PDF content
- PDF exceeds 20 MB size limit for URL input or 10 MB for base64
- More than 5 pages selected in lower-price tier (page selection capped at 5)
- Invalid page range format in 'pages' parameter
- DPI value outside 36–300 range
- JPEG quality outside 30–95 range
- Password-protected PDF that cannot be read
- Malformed base64 input

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

An array of rendered page images in PNG or JPEG format, one per requested page, at the specified DPI and quality settings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dpi": {
   "type": "integer",
   "default": 150,
   "maximum": 300,
   "minimum": 36,
   "description": "36-300 (default 150)."
  },
  "url": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
  },
  "pages": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^[0-9a-zA-Z ,\\-]+$",
     "maxLength": 200,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Pages to render (default all; at most 20 per call). A closed selection of at most 5 pages is the lower price."
  },
  "format": {
   "enum": [
    "png",
    "jpeg"
   ],
   "type": "string",
   "default": "png",
   "description": "png (default) or jpeg."
  },
  "output": {
   "enum": [
    "base64",
    "url"
   ],
   "type": "string",
   "default": "base64",
   "description": "base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."
  },
  "grayscale": {
   "type": "boolean",
   "default": false,
   "description": "Render in grayscale."
  },
  "pdf_base64": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 13398872,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
  },
  "jpeg_quality": {
   "type": "integer",
   "default": 85,
   "maximum": 95,
   "minimum": 30,
   "description": "JPEG quality (30-95, default 85)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dpi": 72,
  "files": [
   {
    "dpi": 72,
    "name": "page-1.png",
    "page": 1,
    "bytes": 5915,
    "width": 595,
    "height": 842,
    "data_base64": "iVBORw0KGgoAAAAN... (trimmed: 7,888 base64 characters in the reply)",
    "content_type": "image/png"
   }
  ],
  "format": "png",
  "operation": "to-images",
  "file_count": 1,
  "input_bytes": 13264,
  "input_pages": 1,
  "output_bytes": 5915,
  "untrusted_content": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-pdfpeek-pdf-to-images-35331cb3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
