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
Choose Your Integration Paradigm
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
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
Developer Console & Key Management
Provision instant API keys, monitor hourly quota, configure Webhooks, and inspect real-time request logs.
Generate Your Instant Developer Key
Provision an immediate sandbox API key with 100 requests per hour. Free forever for personal and open-source projects.
In-Browser API Sandbox & Request Tester
Test parameters directly in your browser. Simulated requests immediately trigger live telemetry in the Developer Console log above.
Simulate API Request In-Browser
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"
Off-Thread Web Worker Pipeline Architecture
How Squeeze isolates heavy pixel math from your main browser UI thread for 60 FPS performance.
Buffer Ingestion
Raw binary read into memory without freezing the UI event loop via FileReaderSync.
OffscreenCanvas
Images rendered and rescaled off-thread across available navigator.hardwareConcurrency cores.
Perceptual SSIM Guard
Compares pixel luminance variance to ensure output SSIM >= target before serialization.
Blob Synthesis & Strip
EXIF/GPS metadata stripped, quantized into WebP/PNG/JPG/SVG/ICO, and emitted as Blob.
HTTP Endpoint Reference & Parameter Matrix
Complete multipart/form-data schemas and HTTP status code definitions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| file | Binary File | Yes | - | The source image binary (PNG, JPG, WebP, SVG). |
| format | string | Yes | - | Target format: webp | png | jpg | ico | svg. |
| quality | integer | No | 85 | Compression quality scalar between 1 and 100. |
| targetSsim | float | No | 0.95 | Minimum allowable perceptual structural similarity. |
| stripExif | boolean | No | true | Remove camera geolocation and device metadata. |
| matteColor | hex string | No | #FFFFFF | Background fill color for transparent PNG to JPG conversions. |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| file | Binary File | Yes | - | Source image file to compress without format change. |
| targetSizeKb | integer | No | null | Explicit target ceiling in kilobytes (e.g. 200 for 200KB limit). |
Standard HTTP Error & Status Code Contract
| Code | Status | Description & Remediation |
|---|---|---|
| 200 | OK | Conversion succeeded. Payload includes downloadUrl, ssimScore, and latencyMs. |
| 400 | Bad Request | Missing multipart fields or unsupported file MIME type. |
| 401 | Unauthorized | Missing or invalid Authorization: Bearer token header. |
| 413 | Payload Too Large | File size exceeds tier ceiling (50MB free, 250MB pro). |
| 429 | Too Many Requests | Hourly quota reached. Inspect X-RateLimit-Reset header for backoff duration. |
Developer Guides & Architecture Tutorials
Integrating In-Browser Processing
Step-by-step tutorial on Web Workers, OffscreenCanvas, and Transferable Objects in React, Vue, and Next.js.
Building Zero-Upload Architectures
Privacy-preserving frontend engineering, GDPR/HIPAA compliance, and DevTools network verification.
REST API Automation & Webhooks
Headless media processing in CI/CD, rate-limit headers (X-RateLimit-*), and HMAC-SHA256 signatures.
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.