All Tools›Batch Image Processor
Developer Tools

Batch Image Processor

batch-image-processor

Use Batch Image Processor through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDbatch-image-processor
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 1–50Output files 1–50

Input

Accepted input contract for this Tool.

Kindfile
File count1 – 50
Accepted MIME typesimage/jpeg, image/png, image/webp

Parameters

Pass these values through request.options.

Parameter Type Required Default Allowed / Range Description
format enum Optional webp jpg | png | webp Output format.
maxWidth integer Optional 1920 1 – 10000 Maximum width.
quality number Optional 0.85 0.5 – 1 JPG/WebP quality.

Output

Result contract returned after successful processing.

Typefiles
File count1 – 50
MIME typesimage/jpeg, image/png, image/webp
Metadatacount, format, maxWidth, quality
ZIP archiveYes · threshold 2

Basic usage

Choose a supported integration mode and copy the generated starter code.

Headless

const result = await client.run("batch-image-processor", {
  files: selectedFiles,
  options: { format: "webp", maxWidth: 1920, quality: 0.85 }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "batch-image-processor", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.