Thumbnail
Fits one page, image or web page into a fixed box, a 256 × 256 px WebP by default, for file lists, search results and link previews. A URL that serves HTML, such as https://axelered.com, is captured in a browser at desktop width.
Use render when you need a page at reading size.
HTTPBearerAuthorizationBearer <token>Static API key from PAPYRUS_API_KEY
- body
source*Sourcefile://, http(s):// URL or :///
destination?|Connector URI to write the result to
nulloutput?OutputModejson returns the envelope with the artifact inline, file returns the artifact as the response body; with a destination the response is always the light JSON envelope
"file""file""json"options?Operation options, omitted fields take their defaults
The JSON envelope (light with a destination), or the op file for output=file
- response
source*The input document
result*The primary artifact
options*The request options with defaults applied
{
"source": {
"uri": "https://axelered.com/_og/platform.png",
"name": "platform.png",
"size": 80238,
"mimeType": "image/png",
"extension": "png",
"label": "png",
"group": "image",
"pageCount": 1,
"width": 1200,
"height": 630,
"fetch": {
"url": "https://axelered.com/_og/platform.png",
"status": 200
}
},
"result": {
"name": "platform.webp",
"size": 6738,
"mimeType": "image/webp",
"extension": "webp",
"label": "webp",
"group": "image",
"width": 320,
"height": 200,
"encoding": "base64",
"content": "UklGRkoaAABXRUJQVlA4ID4aAACwaQCdASpAAcgA…"
},
"options": {
"page": 1,
"width": 320,
"height": 200,
"fit": "cover",
"format": "webp"
}
}Render POST
Renders one page of a document, or one frame of an image, at a readable size for vision models and document viewers. Size it with `dpi` or with `width` and `height`, never both; by default the response body is the image file. Use thumbnail for fixed size previews, and screenshot for web pages as a browser shows them.
Screenshot POST
Loads a web page in headless Chromium and captures it as an image, including content built by JavaScript. The page and every request it makes follow the server fetch policy. Use thumbnail for small link previews. Pages that keep polling the network never reach `networkidle`; use `load` with a `delay` instead.