Developer API
Integrate image compression, conversion, resizing, and favicon generation directly into your application. All endpoints accept multipart/form-data and return the processed image binary.
Authentication
Every request must include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYAPI keys are available on the Pro and Business plans. Generate your key from the account dashboard after subscribing.
Base URL
https://utilio.solutions/api/v1Rate limits
Free API keys: 100 requests/day. Pro: 10,000 requests/day. Business: unlimited. Exceeded limits return HTTP 429.
Endpoints
POST/api/v1/compressCompress an image with configurable format and quality.
| Field | Type | Required | Description |
|---|---|---|---|
file | File | Yes | The source image |
format | string | No | "webp" | "jpeg" | "png" | "avif" — default: webp |
quality | integer | No | 1–100 — default: 80 (ignored for PNG) |
curl -X POST https://utilio.solutions/api/v1/compress \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.jpg" \
-F "format=webp" \
-F "quality=80" \
--output compressed.webpPOST/api/v1/convertConvert an image from one format to another.
| Field | Type | Required | Description |
|---|---|---|---|
file | File | Yes | The source image |
to | string | Yes | "webp" | "jpeg" | "png" | "avif" |
curl -X POST https://utilio.solutions/api/v1/convert \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@image.png" \
-F "to=webp" \
--output converted.webpPOST/api/v1/resizeResize an image to specified dimensions.
| Field | Type | Required | Description |
|---|---|---|---|
file | File | Yes | The source image |
width | integer | No | Target width in px (provide at least one dimension) |
height | integer | No | Target height in px |
fit | string | No | "cover" | "contain" | "fill" | "inside" | "outside" — default: inside |
format | string | No | "webp" | "jpeg" | "png" | "avif" — default: jpeg |
curl -X POST https://utilio.solutions/api/v1/resize \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.jpg" \
-F "width=1280" \
-F "height=720" \
-F "fit=cover" \
-F "format=webp" \
--output resized.webpPOST/api/v1/faviconGenerate a full favicon PNG pack (8 sizes + Apple touch icon) as a ZIP.
| Field | Type | Required | Description |
|---|---|---|---|
file | File | Yes | Source image — square works best |
curl -X POST https://utilio.solutions/api/v1/favicon \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@logo.png" \
--output favicons.zipPOST/api/v1/qr-codeGenerate a QR code PNG for any text or URL.
| Field | Type | Required | Description |
|---|---|---|---|
text | string | Yes | The text or URL to encode |
size | integer | No | Output size in px (64–2048) — default: 256 |
error_correction | string | No | "L" | "M" | "Q" | "H" — default: M |
margin | integer | No | Quiet zone modules (1–10) — default: 2 |
curl -X POST https://utilio.solutions/api/v1/qr-code \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "text=https://example.com" \
-F "size=512" \
--output qrcode.pngError responses
All errors return JSON with an error field:
{ "error": "Invalid API key" } // 401
{ "error": "Daily rate limit exceeded" } // 429
{ "error": "Failed to process image" } // 422