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
Complete REST API reference for cloudlayer.io. Authentication, base URLs, rate limits, status codes, and conventions for generating PDFs and images.
HTML to PDF
Generate pixel-perfect PDFs from raw HTML using the cloudlayer.io API. Page sizes, margins, headers, footers — full parameter reference.
URL to PDF
Capture any web page as a PDF with the cloudlayer.io API. Supports authentication, cookies, batch processing, and custom page sizes.
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. Viewport control, retina output, transparency — full parameter reference.
URL to Image
Capture any web page as a PNG, JPG, or WebP image using the cloudlayer.io API. Authentication, cookies, viewport control, and retina output supported.
Template to Image
Generate PNG, JPG, or WebP images from reusable templates with dynamic data using the cloudlayer.io API. Social graphics, OG images, and branded visuals.
Account
Retrieve your cloudlayer.io account usage, subscription details, and credit balance via the API. Monitor consumption and plan limits programmatically.
Assets
Retrieve and manage generated PDFs and images via the cloudlayer.io Assets API. List, download, and paginate with cursor-based queries.
Jobs
Track and inspect API jobs for cloudlayer.io PDF and image generation. Monitor status, processing time, costs, and paginate results.
Storage
Configure where cloudlayer.io delivers generated PDFs and images. Use built-in cloud storage or connect your own S3-compatible bucket for direct delivery.
Guides
Visual Template Editor
Design PDF and image templates visually with drag-and-drop — no code required. Add text, images, shapes, tables, and dynamic data.
Templating
Use the cloudlayer.io Nunjucks-based template engine to generate 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 API secrets, and supports GDPR compliance.
SDKs
SDKs Overview
Official SDKs for cloudlayer.io in JavaScript, Python, PHP, C#, Go, Ruby, Java, Rust, and F#. Install and start generating PDFs and images.
.NET C# SDK
Official .NET SDK for cloudlayer.io. Install from NuGet, generate PDFs from HTML, URLs, or templates with strongly-typed C# methods.
JavaScript SDK
Official JavaScript and TypeScript SDK for cloudlayer.io. Generate PDFs and images from HTML with npm install, async support, and full TypeScript types.
Python SDK
Official Python SDK for cloudlayer.io. Install with pip, generate PDFs from HTML or templates, and manage assets with simple methods.
PHP SDK
Official PHP SDK for cloudlayer.io. Install with Composer, generate PDFs from HTML or templates, and manage storage with simple methods.
Go SDK
Official Go SDK for cloudlayer.io PDF and image generation. Zero external dependencies, context support, and generate PDFs from HTML, URLs, or templates.
Java SDK
Official Java SDK for cloudlayer.io PDF and image generation. Builder pattern, retry logic, and generate PDFs from HTML, URLs, or templates with Java 11+.
Ruby SDK
Official Ruby SDK for cloudlayer.io PDF and image generation. Convert HTML, URLs, and templates to PDF and images with Ruby 3.1+.
Rust SDK
Official Rust SDK for cloudlayer.io PDF and image generation. Async-first, zero unsafe code, generate PDFs from HTML, URLs, or templates.
Integrations
MCP Server Setup
Connect cloudlayer.io to Claude Code, Cursor, Windsurf, VS Code Copilot, and more. Generate PDFs and images from your AI workflow.
Zapier Integration
Automate PDF and image generation with cloudlayer.io and Zapier. Connect to 5,000+ apps and trigger document creation from forms, CRMs, and spreadsheets.
Examples
Authentication
Generate PDFs and images from password-protected pages using cloudlayer.io. Cookies, basic auth, and session token examples included.
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