Content & Files · Developer Tools

Cloudlayer

cloudlayer.io is a document and asset generation service that enables users to dynamically create PDFs and images through a REST-based API, SDKs, or no-code integrations.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add Storage

    Add a user-owned S3-compatible storage configuration for storing generated assets. This action allows Enterprise plan users to configure their own S3-compatible storage (AWS S3, DigitalOcean Spaces, Wasabi, MinIO, etc.) instead of using the built-in cloud storage included with Cloudlayer accounts. Note: User storage is only available on Enterprise plans. Standard plans will receive an 'allowed: false' response indicating the feature requires a plan upgrade.

  • Convert HTML to Image (V2)

    Convert HTML content to a PNG, JPG, or WebP image using the v2 API, with viewport configuration, transparency, auto-scroll, and custom wait conditions. Returns job details; the image asset may be available once processing completes.

  • Convert HTML to PDF (v2)

    Tool to convert HTML content to PDF using CloudLayer v2 API. Use when you need to generate a PDF from raw HTML with advanced options like custom paper size, margins, headers/footers, and viewport settings. The HTML is automatically Base64 encoded before sending to the API.

  • Convert URL to PDF (Simple)

    Convert a URL to PDF using a GET request with minimal parameters. The v2 API normally returns a job for asynchronous processing rather than an immediately available PDF.

  • Template to PDF

    Generate a PDF document from an HTML/Nunjucks template with dynamic data. Provide either: - A `templateId` for predefined templates from CloudLayer's template library, OR - A base64-encoded `template` string containing custom HTML/Nunjucks markup. The `data` parameter populates template variables (e.g., {{name}}, {{items}}) with your JSON data. By default, jobs run asynchronously and return a job ID to poll for completion via get_job_by_id.

  • Convert URL to Image

    Converts a webpage URL to an image (PNG, JPG, or WebP). Supports custom viewport settings, wait conditions, transparency, auto-scroll, and thumbnail preview generation. The API is asynchronous - use the returned job ID to poll for results.

  • Convert URL to PDF

    Convert a URL to PDF using a POST request, with options for paper size, margins, headers, and footers.