Compress Images
Keep Quality

Powerful WebP, PNG & JPEG Compression API for a Faster Web

curl https://images.deepengin.com/v1/compressImage/ \
-X POST \
-H "Content-Type: application/json" \
-d
'{
"api_key": "luvTtnpxCqIOAR0mEJgdqxU8rqw",
"url": "https://domain.com/apple.jpg",
}' \
https://images.deepengin.com/v1/compressImage

{
   "code": "200",
   "msg": "https://api.deepengin.com\/compress\/672e713219b170.jpg"
}

The world's top engineers and organizations run on Deepengin

logo
logo
logo
logo
logo
logo
logo
logo

Why use Deepengin

Efficient Image Video Moderation

API delivers moderation outcomes promptly and adjusts dynamically to accommodate your requirements. Effortlessly expand your moderation process to handle millions of images or videos per month

Simple Developer Integration

Designed by developers for developers, the API requires minimal coding to get started. Utilize our easy-to-use SDKs and comprehensive documentation

Privacy-Protected Automation

Completely Automated Moderation with Privacy and Confidentiality Guaranteed

Comprehensive Image Compression API with Advanced Features and Secure Workflows

Simple, transparent, and cost-effective pricing

Starter

$9

per
month

3000 Operations / month

1 requests per second

Attribution required

Professional

$29

per
month

10,000 Operations / month

3 requests per second

Commercial usage allowed

Email and live chat support

Scale

$99

per
month

50,000 Operations / month

10 requests per second

Domains whitelisting

Commercial usage allowed

Dedicated support

Enterprise

$349

per
month

250,000 Operations / month

25 requests per second

Domains whitelisting

Commercial usage allowed

Dedicated support

Need more requests, enterprise-grade SLA's, faster response time, or premium data?
Contact us to learn about our Enterprise plan.

Image Compression API Documentation

Overview

Connect your server to instantly optimize all your WebP, JPEG, and PNG images. Join over 100,000 companies and developers worldwide using the API. Just enter your name and email address below to receive your key and get started.

REST

Deepengin's Image Compression API, along with all of its other APIs, follows the REST architectural style. The API utilizes resource-oriented URLs to enable predictability, and HTTP status codes to report errors.

HTTPS

The Image Compression API mandates the use of secure communication protocols, specifically TLS 1.2 or higher.

API Versions

Deepengin's APIs are all versioned, and the current version of the Image Compression API is Version 1

API Authentication and Usage

To access Deepengin's Image Compression API, you will need a unique authentication key in the form of an API key. You can authenticate your requests by appending your API key to the base URL.

Image Compression API - Request Parameters

PARAMETER
TYPE
DETAILS
api_key required

String

To access an API, a unique authentication key called an API Key is required. This key can be obtained by navigating to your dashboard

url required

String

The URL of the image that you would like to be compress

Response and Error Codes

Whenever you make a request that fails for some reason, an error is returned also in the JSON format. The errors include an error code and description, which you can find in detail below.

Code
TYPE
DETAILS
200

OK

Everything worked as expected.

400

Bad request

Bad request

401

Unauthorized

The request was unacceptable. Typically due to the API key missing or incorrect.

500

Internal Server Error

The request could not be completed due to an error on the server side.

503

Service Unavailable

The server was unavailable.

Frequently Asked Questions
about Image Compression API

Why should I compress my website / mobile application images?

Deepengin reduces file sizes by up to 80% without compromising quality, resulting in faster page load times. This improvement helps maintain user attention and provides a smoother browsing experience. Additionally, it reduces bandwidth usage, making your site more efficient and cost-effective. Image compression also boosts SEO, as faster page speeds positively impact your website’s search engine ranking.

What does Image Compression API do?

Image Compression uses advanced lossy compression techniques to reduce the file size of your WEBP, JPEG, and PNG images. By intelligently reducing the number of colors in the image, it minimizes the amount of data needed to store it. The result is a significant reduction in file size with little to no visible impact on image quality!

What are operations?

Operations refer to the individual tasks performed on an image, such as compression or resizing. For example, compressing one image consumes 3 operations. In the $9 Starter Package, you can process up to 1,000 images,

Which file formats does Image Compression support for compression?

Currently, Deepengin supports WebP, JPG,and PNG formats. We’re actively working to add more formats in the future.

Developers love Deepengin's Image Compression API

Using this API has completely streamlined our image optimization workflow. We saw an instant reduction in page load times without compromising quality, which really helps with user retention. Plus, the integration was incredibly smooth!

- JAlex H., Full Stack Developer

I was amazed by how easy it was to get set up. I just uploaded the images, and everything else was automatic. The smart compression saved us tons of bandwidth and made our site faster—perfect for SEO improvements.

- SPriya S., Front-End Engineer

This image compression API is a game-changer. The synchronous processing makes it easy to serve optimized images in real time, and the results speak for themselves. I highly recommend it for any developer looking to improve performance effortlessly

- Mark L., Backend Developer

Strengthen your business with advanced computer vision

Frequently Asked Questions
About Subscription & Pricing

What is an Operation?

An Operation refers to a single action performed by the API, such as running Nudity Detection on one image. Batches of models will count as multiple operations, with the number of operations equal to the number of models requested. Every API call that utilizes operations will return a field indicating the number of operations used. For image compression, each image compressed will consume 3 operations.

Is there a free trial available for the Image Compression API?

Yes, Deepengin offers a free trial that allows you to test out the Image Compression API with a limited number of requests.

How do I upgrade my subscription plan?

To upgrade your subscription plan, simply log in to your Deepengin account and navigate to the billing section. From there, you can select the plan you wish to upgrade to and follow the instructions to complete the upgrade.

What payment methods are accepted for the Image Compression API?

We accept payment via major debit and credit cards (Visa, Mastercard, American Express) through Stripe. If you are unable to use these payment methods, please contact us at hello@deepengin.com to discuss alternative payment options.

Is there a minimum usage requirement for the Image Compression API?

No, there is no minimum usage requirement for the Image Compression API. You can use the API as much or as little as you need.