# Relaystation PDF Image Extractor

> Relaystation PDF Image Extractor 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-15).

Extracts all embedded images from a PDF file and returns them as PNG files, billed at $0.001 per page.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/pdf/images
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-pdf-image-extractor-d9082283
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a0I_-pLpdm662wVRfZW3B

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-image-extractor-d9082283 -d '<json body>'
```

Example prompt: Can you pull out all the embedded images from this PDF and give them back to me as PNG files? Here's the PDF: https://example.com/my-report.pdf

## When to prefer this

Choose this endpoint when you need to programmatically extract all embedded raster or vector images from a PDF as individual PNG files, especially in automated pipelines where you need the raw image assets rather than a full OCR or text extraction. Prefer it over full document ingestion endpoints when you only need the images, not the text content.

## Known failure modes

- PDF contains no embedded images — returns empty result
- Invalid or inaccessible PDF URL — returns 400/404 error
- PDF is password-protected or encrypted — extraction may fail
- Corrupted PDF file — parsing error returned
- Insufficient x402 payment balance — payment authorization failure
- Very large PDFs may time out depending on page count

## How this service works

$0.001/page. Extract every embedded image from a PDF as PNGs. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns all images embedded within the PDF as PNG files. The response includes the extracted PNG image data for each image found across all pages, with billing at $0.001 per page processed.

## 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": {
     "properties": {}
    },
    "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-image-extractor-d9082283/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)
