Developer API

Integrate ImageKitly's powerful image processing tools directly into your applications. Compress, resize, and convert images at scale.

Authentication

All API requests must include your API Key in the X-API-KEY header. You can generate an API key from your Profile Dashboard after subscribing to a paid plan.

curl -X POST https://imagekitly.com/api/v1/compress \
  -H "X-API-KEY: ik_your_api_key_here" \
  -F "[email protected]"

Endpoints

POST

/api/v1/compress

Reduces image file size while maintaining quality.

Parameters

Name Type Description
image File Required. The image file to compress.
quality Integer 1-100, default 85.
POST

/api/v1/resize

Resize an image efficiently with multiple modes.

Parameters

Name Type Description
width Integer Target width in pixels.
height Integer Target height in pixels.
mode String 'fit' (default), 'fill', 'stretch', 'crop'
POST

/api/v1/crop

Crop a specific region of an image.

Parameters

Name Type Description
width Integer Crop width.
height Integer Crop height.
position String 'center', 'top-left', 'top-right', etc.
POST

/api/v1/convert

Convert image format.

Parameters

Name Type Description
output_format String Target format (JPEG, PNG, WEBP, etc.)
POST

/api/v1/filter

Apply professional filters to your images.

Parameters

Name Type Description
filter_type String Required. blur, sharpen, edge_enhance, smooth, detail
intensity Float 0.0 - 2.0, default 1.0
POST

/api/v1/remove-bg

Remove background from images automatically.

Parameters

Name Type Description
threshold Integer 0-255, default 240. Sensitivity for background detection.
POST

/api/v1/rotate

Rotate an image by a specific angle.

Parameters

Name Type Description
angle Integer Required. Rotation angle in degrees (e.g., 90, 180).
expand Boolean Default true. Expand the image to fit the rotated content.
POST

/api/v1/upscale

Increase image resolution using AI upscaling.

Parameters

Name Type Description
scale Integer 2 or 4. Default 2.
POST

/api/v1/watermark

Add text watermarks to your images.

Parameters

Name Type Description
text String Required. The text to use as watermark.
size Integer Font size. Default 48.
opacity Integer 0-100. Default 50.
position String center, top-left, top-right, bottom-left, bottom-right. Default bottom-right.
POST

/api/v1/meme

Generate memes by adding top and bottom text.

Parameters

Name Type Description
top_text String Text to display at the top.
bottom_text String Text to display at the bottom.
text_color String Hex code for text color. Default #ffffff.
font_size Integer Font size in pixels. Default 40.
POST

/api/v1/blur-face

Automatically detect and blur faces in images.

Parameters

Name Type Description
blur_type String gaussian or pixelated. Default gaussian.
intensity Integer 1-100. Default 50.
POST

/api/v1/html-to-image

Convert any URL or HTML content into an image.

Parameters

Name Type Description
url String Required. The URL to capture.
viewport String desktop, tablet, or mobile. Default desktop.
format String png, jpeg, or webp. Default png.
Premium Feature
POST

/api/v1/bulk-process

Process entire ZIP archives of images in one request.

curl -X POST https://imagekitly.com/api/v1/bulk-process \
  -H "X-API-KEY: your_key" \
  -F "[email protected]" \
  -F "operation=resize" \
  -F 'params={"width": 800}'

Note: Returns a ZIP file containing processed images and a summary report.