Integrate high-speed AVIF/WebP image optimization into WordPress, custom backends, and cloud microservices with sub-50ms latency.
OTP onboarding, automated WebP/AVIF generation, and multi-site quota.
Native iOS & Android apps for camera batch compression and real-time quota sync.
Node.js, Go, Python, PHP, Java, Rust, and Ruby with automatic HMAC signing.
OpenAPI 3.1 endpoints, HMAC-SHA256 signatures, and quota metering.
Zero-quota test environment with `sp_test_` keys and mock error simulation.
Sign in to your dashboard to generate your pair of X-API-Key and Secret Key.
Use our official library for your stack (Node, Go, Python, PHP, Java, Rust, Ruby) with built-in HMAC signing.
Send image buffers or URLs to receive optimized AVIF/WebP binaries cached globally across Cloudflare edge nodes.
Every request requires an HMAC-SHA256 signature calculated from the HTTP method, path, timestamp, and body hash to prevent replay and tampering attacks.
Production-tested libraries with built-in HMAC signing, automatic idempotency keys, exponential backoff with jitter, and zero-leak credential masking.
Whether you are using raw HTTP cURL requests or our typed SDKs, integrating SmallPict takes minutes with full security and resilience out of the box.
curl -X POST https://api.smallpict.app/v1/optimize \
-H "X-API-Key: sp_live_9a8b7c6d5e4f3a2b1c0d9e8f..." \
-H "X-Timestamp: 1716301234" \
-H "X-Signature: 3a9f8b2c4d6e8a0f1b3c5d7e9f2a..." \
-H "Content-Type: application/json" \
-d '{
"filename": "hero.jpg",
"mime_type": "image/jpeg",
"filesize": 1654200,
"options": {
"format": "avif",
"quality": 80,
"strip_metadata": true
}
}'Our engineering team is available for custom multi-region setups, private VPC endpoints, and BYOK CDN configurations.