Integrate powerful image processing into your workflow. Compress, convert, and scale millions of assets with a single, high-performance endpoint.
Sign up for a free developer account to get your first 1,000 credits monthly.
Visit the dashboard and create a secret key for production environments.
Send your first request to the /compress endpoint.
All API requests must be authenticated using Bearer tokens. Keep your keys secret and never expose them in client-side code.
Authorization: Bearer sp_live_xxxx...Global edge-cached endpoints for maximum speed.
/compressReduces file size without visible quality loss using AI-driven quantization.
/convertTransform assets between 40+ formats including SVG, TIFF, and RAW.
/resizeResponsive image generation with focus-point cropping.
Native libraries for your favorite languages. High performance, zero dependencies, full type safety.
Whether you're using raw cURL or our streamlined Node.js client, integrating SmallPict takes minutes, not days.
curl -X POST https://api.smallpict.com/v1/images/optimize \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/photo.jpg",
"format": "webp",
"quality": "auto"
}'Our developer relations team is here to help with your complex workflows and custom enterprise requirements.