Skip to main content

Installation

Initialization

Backend Implementation

Your backend needs to implement an endpoint that generates signed URLs. Here’s an example using Node.js:
The endpoint should handle these types of requests:

File Upload

Basic Upload

Multipart Upload

Error Handling

The SDK provides detailed error information through the onError callback:

Multipart Upload Phases

The multipart upload process includes different phases where errors might occur:

Image Transformations

The SDK provides a powerful image transformation API that allows you to modify images on-the-fly:

Available Image Transformations

Overlay Options

Text-specific options:

Video Transformations

Similar to images, you can transform videos:

Available Video Transformations

Overlay Options

Text-specific options:

Document Transformations

Transform and convert documents:

Available Document Transformations

Chaining Transformations

You can chain multiple transformations together using the chain() method:
Each transformation chain is applied sequentially, allowing for complex transformation pipelines.