Zavilo SDK

File tools for your own product.

Add conversion, image processing and other Zavilo tools directly to your website or application. Use fully automated Headless execution when a tool needs no user interaction, mount an Interactive workflow when a user decision is required, or embed the complete tool experience.

<script src="https://sdk.zavilo.app/v1/zavilo.js"></script>

const client = await Zavilo.init({
  publicKey: "pk_live_xxxxx"
});

const result = await client.run("resize-image", {
  file,
  options: {
    width: 1200,
    format: "webp",
    quality: 0.9
  }
});

const output = result.files[0];

One SDK, three integration modes

Choose the integration level per tool instead of forcing every workflow into the same model.

Headless

Pass File objects and parameters, then receive the result File. Best for complete automation and multi-step pipelines.

Interactive

Prefill known options, let the user make decisions that require visual interaction, then receive the completed result through a callback.

Embedded

Mount the complete tool experience in your application, including input controls and result download.

Chain tools without uploading between steps

A result File can immediately become the input File for another compatible tool.

1. Inputoriginal.jpg
2. Convertjpg-to-webp
3. Resizeresize-image
4. Compresscompress-image
The Playground runs on sdk.zavilo.app and authenticates through api.zavilo.app, so you can verify the SDK from a domain separate from the main Zavilo service.

Current SDK bundle

The first image bundle includes nine tools, all available in Headless, Interactive and Embedded modes when enabled for your Public Key.

Convert

JPG ↔ PNG/WebP and PNG ↔ WebP conversions.

Transform

Resize and rotate/flip images with validated parameters.

Optimize

Compress supported images with configurable quality and output format.