HTML, URL or JSON
Render raw HTML, live web pages, or structured data with hosted templates.
Generate PDFs, screenshots, reports, invoices, receipts, statements and customer-facing documents from HTML, URLs, or structured data.
// Server-side JavaScript (Node.js 18+)
const response = await fetch("https://saliox.com/api/v1/generate", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SALIOX_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
source: { template_id: 42, data: invoice },
format: "pdf",
delivery: { returnType: "json", storage: "platform" }
})
});
const pdf = await response.json();
if (!response.ok) throw new Error(pdf.error);
console.log(pdf.cdn_url);Paste a public URL or raw HTML and get a real PDF, PNG or JPEG back - no account needed. Free previews are watermarked and limited to 5 per day.
Render raw HTML, live web pages, or structured data with hosted templates.
Flexbox, grid, web fonts, print styles, page breaks, and JavaScript-ready pages.
Queue batches, retry safely, receive webhooks, and handle production volumes.
Stream binary output, receive JSON, publish to CDN, or deliver to your own S3.
Password protection, authenticated URLs, data isolation, and retention controls.
Create PNG, JPEG, and WebP images with exact dimensions or full-page capture.
Generate is one call. Around it sits everything a production system needs: async processing, delivery to your own storage, event webhooks, hosted templates and live data.
Fire large or slow jobs asynchronously and get an immediate job ID. Poll the job, or let a webhook tell you when it's done - ideal for month-end runs, bulk statements and scheduled reports.
Register an endpoint and receive signed events for job.completed and job.failed - with the file URL and metadata - so downstream systems react instantly instead of polling.
Keep generated files inside your own infrastructure. Point a request at your S3 bucket and Saliox writes the finished PDF or image there directly - your data, your retention, your access controls.
Store reusable templates on Saliox, then POST just the data - invoice lines, customer details, totals - and get a finished document back. Keep layout out of your codebase and change it without a deploy.
Produce Factur-X and ZUGFeRD invoices - a human-readable PDF/A-3 with an EN16931-compliant XML payload embedded inside the same file. One document your customers can read and their finance systems can parse automatically, ready for ERP ingestion, accounts-payable automation, e-invoicing mandates and public-sector procurement.
{
"document": "invoice-2048.pdf",
"profile": "EN16931",
"format": "PDF/A-3",
"attachment": "factur-x.xml",
"valid": true
}Monitored service health and resilient workers.
Production-safe queues for larger workloads.
Keep generated files inside your infrastructure.
Rate limits, notifications, and predictable plans.
100 free API calls. No card required.