> ## Documentation Index
> Fetch the complete documentation index at: https://docs.okrapdf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Page Image

> Retrieve a rendered PNG image of a document page.

## Overview

Returns a PNG rendering of the specified page. The first request for a lazily-rendered page may take \~12s; subsequent requests serve from cache (\~0.3s). Does not require authentication for public documents.

## Request

<ParamField path="id" type="string" required>
  Document ID (e.g. `doc-abc123`) or 6-char short hash.
</ParamField>

<ParamField path="page_number" type="integer" required>
  1-based page number.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl https://api.okrapdf.com/v1/documents/doc-abc123/pages/1/image.png \
    -H "Authorization: Bearer okra_YOUR_KEY" \
    --output page1.png
  ```
</RequestExample>

### Response (200)

Returns `image/png` binary data.
