Developer Hub • Web Worker SDK & Cloud API v1

Programmatic Image Processing. Client-Side or Headless.

Integrate lightning-fast image conversion, SSIM-guaranteed compression, and vector tracing into your applications. Free sandbox key with 100 req/hr active immediately.

Off-Thread Web Workers

0ms Main Thread Lag

Zero Cloud Uploads

Strict Client-Side Privacy

SSIM Guard Engine

Lossless Perceptual Fidelity

Multi-Language SDKs

cURL, TS, Python, Go, Rust

Architecture Selection

Choose Your Integration Paradigm

Client SDK (@squeeze/browser)Selected

Client-Side Zero-Egress Engine

Ideal for client apps, SaaS portals, and frontends where privacy and server hosting costs matter. Process multi-gigabyte queues directly on client cores without server load.

  • ✓ 100% GDPR, HIPAA, and SOC-2 compliant
  • ✓ Zero bandwidth egress charges
  • ✓ Instant zero-latency local pipeline
  • ✓ Offline & PWA operational mode
Cloud REST API (/v1)

Headless Microservice Endpoints

Standard RESTful multipart HTTP endpoints for automated server workflows, CI/CD pipelines, backend microservices, and mobile native apps (iOS / Android).

  • ✓ Works across any language (cURL, Python, Go, Rust)
  • ✓ Headless server-to-server webhook callbacks
  • ✓ Automated EXIF strip and SSIM thresholding
  • ✓ Base64 or stream response buffering
Control Center

Developer Console & Key Management

Provision instant API keys, monitor hourly quota, configure Webhooks, and inspect real-time request logs.

Developer Console • Live Control Panel

Generate Your Instant Developer Key

Provision an immediate sandbox API key with 100 requests per hour. Free forever for personal and open-source projects.

Live Simulator

In-Browser API Sandbox & Request Tester

Test parameters directly in your browser. Simulated requests immediately trigger live telemetry in the Developer Console log above.

Interactive Sandbox & Request Tester

Simulate API Request In-Browser

Auth: Sandbox Demo Mode (No Key Required)
Target SSIM ≥ 0.99
Code Integration

Interactive Multi-Language Code Explorer

Copy production-ready integration snippets with your active API key automatically injected.

curl -X POST https://api.trysqueeze.online/v1/convert \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@photo.png" \
  -F "format=webp" \
  -F "quality=85" \
  -F "targetSsim=0.95" \
  -F "stripExif=true"
Tip: Generate your free key below to auto-populate snippets.Endpoint: /v1/convert
System Design

Off-Thread Web Worker Pipeline Architecture

How Squeeze isolates heavy pixel math from your main browser UI thread for 60 FPS performance.

01ArrayBuffer / Stream

Buffer Ingestion

Raw binary read into memory without freezing the UI event loop via FileReaderSync.

02Parallel Worker Threads

OffscreenCanvas

Images rendered and rescaled off-thread across available navigator.hardwareConcurrency cores.

03Iterative Quality Search

Perceptual SSIM Guard

Compares pixel luminance variance to ensure output SSIM >= target before serialization.

04Sanitized Output

Blob Synthesis & Strip

EXIF/GPS metadata stripped, quantized into WebP/PNG/JPG/SVG/ICO, and emitted as Blob.

Zero byte transmission guarantee: Client SDK operations never perform an outbound HTTP POST for images.
Read Security Whitepaper →
API Specification

HTTP Endpoint Reference & Parameter Matrix

Complete multipart/form-data schemas and HTTP status code definitions.

POST/v1/convert
Content-Type: multipart/form-data
ParameterTypeRequiredDefaultDescription
fileBinary FileYes-The source image binary (PNG, JPG, WebP, SVG).
formatstringYes-Target format: webp | png | jpg | ico | svg.
qualityintegerNo85Compression quality scalar between 1 and 100.
targetSsimfloatNo0.95Minimum allowable perceptual structural similarity.
stripExifbooleanNotrueRemove camera geolocation and device metadata.
matteColorhex stringNo#FFFFFFBackground fill color for transparent PNG to JPG conversions.
POST/v1/compress
Direct byte size squashing
ParameterTypeRequiredDefaultDescription
fileBinary FileYes-Source image file to compress without format change.
targetSizeKbintegerNonullExplicit target ceiling in kilobytes (e.g. 200 for 200KB limit).

Standard HTTP Error & Status Code Contract

CodeStatusDescription & Remediation
200OKConversion succeeded. Payload includes downloadUrl, ssimScore, and latencyMs.
400Bad RequestMissing multipart fields or unsupported file MIME type.
401UnauthorizedMissing or invalid Authorization: Bearer token header.
413Payload Too LargeFile size exceeds tier ceiling (50MB free, 250MB pro).
429Too Many RequestsHourly quota reached. Inspect X-RateLimit-Reset header for backoff duration.
Technical Documentation

Developer Guides & Architecture Tutorials

Browse All 28 Engineering Guides
Developer Knowledge Base

Frequently Asked Questions

Ready to supercharge your image infrastructure?

Need higher quotas or on-premise container deployment? Our architecture engineers are available for custom enterprise consultations.