# Relaystation PDF Render

> Relaystation PDF Render is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Rasterizes individual PDF pages to PNG or JPEG images, suitable for previews, thumbnails, and vision-model input

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/pdf/render
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-pdf-render-6ae52b59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eQIkXdjkmiy3KcyL0DaKF

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 relaystation-pdf-render-6ae52b59 -d '<json body>'
```

Example prompt: Render page 1 of this PDF as a PNG image at 150 DPI so I can feed it into a vision model for analysis.

## When to prefer this

Choose this endpoint when you need to convert individual PDF pages to raster images (PNG or JPEG) for visual preview, thumbnail generation, or as input to vision-model APIs. Prefer this over full-document OCR pipelines when you only need the visual representation of a page rather than extracted text. It is ideal for lightweight document viewer previews and preparing PDF content for multimodal LLM vision inputs at very low per-page cost.

## Known failure modes

- Invalid or corrupted PDF file returns an error
- Page number out of range for the given PDF
- Unsupported output format requested
- Payment failure or insufficient x402 credits
- Large or complex PDFs may time out
- Password-protected PDFs may fail to render

## How this service works

$0.001/page. Rasterize PDF pages to PNG or JPEG — previews, thumbnails, vision-model input. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a rasterized image (PNG or JPEG) of the specified PDF page, ready for display, thumbnail use, or vision-model ingestion. Charged at $0.001 per page with a $0.01 minimum via x402 micropayment.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "dpi": {
       "type": "integer",
       "maximum": 600,
       "minimum": 36,
       "description": "Render DPI; runtime-capped at cputools.render.max_dpi."
      },
      "file": {
       "type": "object",
       "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."
      },
      "pages": {
       "type": "string",
       "description": "1-based pages/ranges, e.g. \"1-3,5\" (default all)."
      },
      "format": {
       "enum": [
        "png",
        "jpeg"
       ],
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/relaystation-pdf-render-6ae52b59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
