Documentation

Everything you need to integrate ZipPixel into your applications.

Quick example

compress.js
import { ZipPixel } from '@zippixel/sdk';

const client = new ZipPixel('your-api-key');

const result = await client.compress({
  source: 'https://example.com/photo.jpg',
  quality: 80,
  format: 'webp',
});

console.log(result.url);     // Compressed image URL
console.log(result.savings); // "78%"