Inkspan › Node.js
Use the Inkspan /v1/pdf/to-images endpoint to convert a PDF to images in Node.js. It runs as a managed API — no headless-browser infrastructure, fonts, or scaling to maintain. Authenticate with your API key and send a single POST request.
const fd = new FormData();
fd.append('file', fs.createReadStream('input.pdf'));
const res = await fetch('https://api.inkspan.dev/v1/pdf/to-images', { method: 'POST',
headers: { 'X-API-Key': 'ink_live_...' }, body: fd });
X-API-Key header.Related: generate a PDF from HTML · generate a PDF from a template · convert Markdown to PDF · merge PDF files