Documentation
Everything you need to integrate cloudlayer.io into your application. Generate pixel-perfect PDFs and images from HTML, URLs, and templates with a simple API.
API Reference
API Overview
Authentication, base URL, rate limits, status codes, and conventions for the cloudlayer.io REST API.
HTML to PDF
Generate PDF documents from raw HTML using the cloudlayer.io API. Full parameter reference with code examples.
URL to PDF
Capture any web page as a PDF using the cloudlayer.io API. Supports authentication, cookies, and batch processing.
Template to PDF
Generate PDFs from reusable templates with dynamic data using the cloudlayer.io API. Supports predefined templates and custom HTML templates.
HTML to Image
Generate PNG, JPG, or WebP images from raw HTML using the cloudlayer.io API. Full parameter reference with code examples.
URL to Image
Capture any web page as a PNG, JPG, or WebP image using the cloudlayer.io API. Supports authentication and cookies.
Template to Image
Generate PNG, JPG, or WebP images from reusable templates with dynamic data using the cloudlayer.io API.
Account
Retrieve your cloudlayer.io account usage, subscription details, and credit balance via the API.
Assets
Retrieve and manage generated content (PDFs and images) via the cloudlayer.io Assets API.
Jobs
Track and inspect API jobs, including status, parameters, processing time, and costs via the cloudlayer.io Jobs API.
Storage
Configure where cloudlayer.io delivers generated files. Use built-in cloud storage or connect your own S3-compatible bucket.
Guides
Templating
Learn how to use the cloudlayer.io Nunjucks-based templating engine to generate professional PDFs and images with dynamic data, custom formatting, and smart page breaking.
Webhooks & Async Processing
Learn how to use asynchronous processing and webhooks with cloudlayer.io for batch operations, large documents, and background document generation.
Privacy & Data Handling
Learn how cloudlayer.io handles your data, stores generated documents, protects secrets, and supports GDPR compliance.
Examples
Authentication
Learn how to generate PDFs and images from password-protected or session-authenticated pages using cloudlayer.io.
Working with HTML
Learn how to convert HTML to PDFs and images using cloudlayer.io -- encoding, embedding images, using CSS frameworks, and practical examples.
Working with URLs
Learn how to convert web pages to PDFs and images using cloudlayer.io -- simple captures, lazy-loaded content, dynamic selectors, and batch processing.
Other projects
Other projects built by the same team behind cloudlayer.io
Upstat
Incident response & operational intelligence for DevOps and SREs.
upstat.ioOriJs
NestJS-inspired backend framework for Bun. Provider-based DI, no decorators.
orijs.orgOri Lang
Expression-based language with automatic reference counting. No GC, no borrow checker.
ori-lang.comOriTerm
GPU-accelerated Terminal OS written in Rust. Terminal, multiplexer, and session runtime in one.
oriterm.comWarpKit
State-based routing and navigation framework for Svelte 5.
warpkit.org