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.
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.