Documentation

Build with the SmallPict API.

Integrate powerful image processing into your workflow. Compress, convert, and scale millions of assets with a single, high-performance endpoint.

bolt

Quickstart Guide

01

Create an account

Sign up for a free developer account to get your first 1,000 credits monthly.

02

Generate API Key

Visit the dashboard and create a secret key for production environments.

03

Process an Image

Send your first request to the /compress endpoint.

key

Authentication

All API requests must be authenticated using Bearer tokens. Keep your keys secret and never expose them in client-side code.

Header
Active
Authorization: Bearer sp_live_xxxx...
Manage API Keysarrow_forward

API Reference

Global edge-cached endpoints for maximum speed.

v2.4.0 All Systems Operational

Official SDKs

Native libraries for your favorite languages. High performance, zero dependencies, full type safety.

javascript

Node.js

v4.17.3
code

Python

v2.3.1
integration_instructions

PHP

v7.4.0
terminal

Go

v1.1.0

Implementation is effortless.

Whether you're using raw cURL or our streamlined Node.js client, integrating SmallPict takes minutes, not days.

auto_awesomeAutomatic quality selection
speedSub-50ms processing latency
cloud_done99.99% uptime SLA
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"
  }'
Ready to deploy

Need a hand?

Our developer relations team is here to help with your complex workflows and custom enterprise requirements.