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.