{"uid":"cap_eQIkXdjkmiy3KcyL0DaKF","slug":"relaystation-pdf-render-6ae52b59","name":"Relaystation PDF Render","description":"$0.001/page. Rasterize PDF pages to PNG or JPEG — previews, thumbnails, vision-model input. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/render","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LivPWgvNgZHwjArKuK7S4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rasterizes individual PDF pages to PNG or JPEG images, suitable for previews, thumbnails, and vision-model input","exampleAgentPrompt":"Render page 1 of this PDF as a PNG image at 150 DPI so I can feed it into a vision model for analysis.","exampleUseCases":[{"title":"PDF thumbnail for document viewer","prompt":"Take the first page of this PDF report and render it as a JPEG thumbnail so I can display a preview in the document library."},{"title":"Vision model document analysis","prompt":"Convert page 3 of this scanned PDF to a high-resolution PNG so I can pass it to GPT-4 Vision to extract the table data on that page."},{"title":"Invoice page preview for review","prompt":"Render page 2 of this invoice PDF as a PNG image at 200 DPI so the user can visually review it before approving payment."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:40.781Z","isFirstParty":false}