# AgentRXI PDF to Images Converter

> AgentRXI PDF to Images Converter is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.018/call, status unknown (last checked 2026-10-15).

Renders PDF pages to PNG or JPEG images at configurable DPI (50–300), returning base64-encoded images or 7-day share links

## Facts

- Endpoint: GET https://agentrxi.com/v1/pdf/to-images?utm_source=zero.xyz
- Price: $0.018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-pdf-to-images-converter-43670fb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g9Fmi9gocUc-nhkcChKg0

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 agentrxi-pdf-to-images-converter-43670fb4
```

Example prompt: Convert the first 5 pages of this PDF — https://example.com/report.pdf — to PNG images at 150 dpi so I can pass them to a vision model.

## When to prefer this

Use this endpoint when you need to rasterize PDF pages for consumption by vision models, generate document previews or thumbnails, or extract visual representations of PDF content. It is especially useful when you need to control DPI (50–300), paginate through large PDFs using first_page, or receive results as shareable links rather than raw base64. Prefer this over general-purpose PDF tools when you need lightweight per-page image output optimized for AI pipelines.

## Known failure modes

- PDF URL is not publicly accessible or exceeds 20 MB — returns error
- max_pages exceeds 50 — rejected
- DPI outside 50–300 range — validation error
- Invalid or corrupted PDF — conversion fails
- first_page beyond total page count — empty or error result
- Base64 input is malformed or too large — encoding error

## How this service works

Render PDF pages to PNG or JPEG at 50-300 dpi (for vision models, previews or thumbnails). $0.008 + $0.001 per page (max_pages up to 50, default 10); continue with first_page. Also callable as GET with the same fields as query parameters.

## Output

Returns an array of rendered page images, either as base64-encoded PNG or JPEG data or as 7-day temporary share links (URLs). Each image corresponds to one PDF page. For very large outputs (above 3 MB) or when the store option is set, share links are returned automatically instead of inline base64 data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "dpi": {
       "type": "integer",
       "description": "Default 150"
      },
      "url": {
       "type": "string",
       "description": "https URL of the file (max 20 MB)"
      },
      "store": {
       "type": "boolean",
       "description": "Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB"
      },
      "format": {
       "type": "string",
       "description": "binary = raw file bytes (single output)"
      },
      "filename": {
       "type": "string",
       "description": "Name with extension, helps detect the type"
      },
      "max_pages": {
       "type": "integer",
       "description": "1-50, default 10"
      },
      "first_page": {
       "type": "integer"
      },
      "file_base64": {
       "type": "string",
       "description": "Or the file as base64 / data URI"
      },
      "image_format": {
       "type": "string",
       "description": "png (default) or jpg"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-pdf-to-images-converter-43670fb4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
