All Endpoints & Actions

Browse every available endpoint and action supported by H2I, including image processing, PDF operations, HTML rendering, and tools. This page provides a complete overview of what you can do with each endpoint before integrating or exploring further.

H2I Endpoint Capabilities

The H2I endpoint converts HTML markup into visual outputs using predictable rendering rules, enabling developers to generate images or PDFs from dynamic content reliably.

HTML to Image

Renders HTML markup into a raster image output using controlled viewport sizing and layout calculation, producing consistent visual results for server-side image generation.

HTML to PDF

Renders HTML markup into a paginated PDF output using controlled viewport sizing and layout calculation, producing consistent document-ready results for server-side PDF generation.

Image Endpoint Capabilities

The Image endpoint provides a complete set of production-ready image processing actions that can be used individually or combined to build flexible transformation workflows.

compress

Reduces image file size using controlled compression techniques while preserving visual quality for faster delivery and reduced bandwidth usage.

resize

Adjusts image dimensions using width and height parameters with optional aspect-ratio preservation, allowing consistent sizing for responsive layouts and standardized media outputs.

format

Converts images between supported formats to improve performance, compatibility, or output consistency across different platforms and devices.

enhance

Improves visual appearance by adjusting brightness, contrast, saturation, sharpness, blur, and grayscale settings to refine image quality and presentation.

watermark

Applies text or image-based watermarks to images with configurable placement and opacity for branding and content protection.

crop

Extracts a specific region of an image using pixel-based coordinates and dimensions, enabling precise framing and subject-focused image preparation.

background

Applies a solid or blurred background behind images to achieve consistent framing without modifying the original image content.

padding

Adds internal spacing around images using a background color or transparency to achieve uniform dimensions without altering the original content.

frame

Wraps images with borders or rounded corners to create visually consistent framed outputs suitable for previews and layouts.

transform

Rotates or flips images horizontally or vertically to correct orientation issues and normalize visual output across different sources.

pdf

Exports one or more processed images as a single or multi-page PDF file intended for image packaging workflow.

metadata

Removes or preserves embedded image metadata including EXIF and orientation flags without altering pixel data or appearance no.

multitask

Applies multiple image transformations in a single request by combining actions such as resize, compress, watermark, and format into one optimized workflow.

PDF Endpoint Capabilities

The PDF endpoint provides a set of production-ready document operations designed for automation, document workflows, and backend processing.

merge

Combines multiple PDF files into a single document while preserving page order, structure, and layout for unified document delivery.

compress

Reduces the file size of PDF documents using safe compression techniques that preserve page structure, readability, and document integrity.

split

Splits a PDF into separate files by page range, enabling flexible document segmentation for storage, processing, or delivery needs.

extract

Extracts selected pages from a PDF document into a new file, enabling page-level reuse, redistribution, or focused document workflows.

to-images

Converts PDF pages into image files, enabling visual previews, thumbnails, or downstream image-based processing workflows.

watermark

Applies text or image watermarks to PDF pages with controlled placement and repetition, supporting branding and document ownership needs.

delete-pages

Removes selected pages from a PDF document, allowing precise document trimming without modifying remaining content.

reorder

Changes the order of pages within a PDF document, allowing logical restructuring without altering page content or formatting.

rotate

Rotates PDF pages by fixed angles to correct orientation issues and normalize document presentation.

encrypt

Applies password-based encryption to PDF documents to restrict access and protect sensitive content during storage or delivery.

decrypt

Removes password protection from encrypted PDFs when permitted, enabling downstream processing and document access.

flatten

Flattens interactive PDF elements into static content, ensuring consistent rendering and preventing form or annotation modification.

image-gallery-solid

extract-images

Extracts embedded images from PDF documents while preserving original resolution and format, enabling asset reuse or downstream processing.

metadata

Extracts PDF metadata such as author, creator, and creation information and returns it as structured data, without modifying the document content.

Tools Endpoint Capabilities

The Tools endpoint provides image analysis and utility tools that return structured results (not transformed image files). Use single to run exactly one tool, or multitask to run multiple tools per image in one request.

metadata

Returns structured metadata for each image and can optionally include raw EXIF payload when includeRawExif='true' is provided.

dimensions

Returns image dimension properties in a structured format, enabling validation rules and consistent sizing logic in automated workflows.

quality

Estimates quality signals using a configurable sampling size (qualitySample) to support automated checks and consistent media intake.

efficiency

Estimates delivery efficiency using optional target parameters (efficiencyFormat, efficiencyQuality) to guide optimization decisions.

colors

Extracts color information and supports palette sizing controls (paletteSize) for consistent palette reporting across images.

palette

Returns a controlled-size palette representation using paletteSize clamping rules to keep results stable and predictable.

detect-format

Detects the input image format to support validation, conditional logic, and safe automation in upload pipelines.

orientation

Reports orientation-related signals so systems can normalize display logic without relying on inconsistent client-side handling.

similarity

Computes similarity signals between images and supports batch modes (pairs/tofirst) with a threshold for classification control.

hash

Generates hashes for deduplication and integrity workflows, supporting phash plus cryptographic options (md5, sha1, sha256).

transparency

Analyzes alpha/transparency behavior using a sampling control (transparencySample) to support correct rendering decisions downstream.

multitask

Runs multiple tools on each uploaded image in a single request, returning structured per-image results while respecting all platform limits and constraints.

saas home.webp
45ecaadb ffe1 4fcb 81fb 8686182f9de8 e1769960279483.webp

Start Building with H2I

Explore the APIs, review supported actions, and integrate reliable media processing into your applications today.

Scroll to Top