Image Processing & Optimization API

Manage your images programmatically with this powerful API: compress, convert, crop, resize, and more.
Get started

curl \
--form data='{api_key": "your-api-key", "lossy": true}' \
--form image=@path/to/image/file.jpg

   "original_size": "the size of the original input image, in bytes",
   "original_height": "original height in pixels of the image",
   "original_width": "original width in pixels of the image",
   "final_size": "the size of the new image, in bytes",
: "the number of bytes saved by compressing and resizing the image",
   "final_height": "final height in pixels of the image",
   "final_width": "final width in pixels of the image",
   "url": "url of the image hosted by abstract for you to download. Images are available for 1 day.",

The world's top engineers and organizations run on Abstract
accenture logonokia logologo cross icongoogle logostanford uni iconpayoneer logo

Why 10,000+ developers love Abstract's APIs

Easy to implement and maintain

We built Abstract because most of the API's we've used in the past simply weren't great. Our APIs are built the way we think API's should be: with excellent documentation, multiple easy to use libraries, and tutorials to get you started.

Speed and scale built into everything we do

Something like IP geolocation is probably part of a critical business processes and flow, so we built it (as all of our APIs) for use at scale and at blazing speeds. These aren't just marketing phrases, but fundamental features of our APIs.

Reliable uptime and great support

Developers trust Abstract because of our reliable uptime and excellent technical support that will help get you live quickly, keep you running smoothly, and resolve any issues you have fast regardless of where you are or what you're building.

The Image Processing & Optimization API helps you manage images programmatically and at scale

Reduce image size, not quality

Abstract's powerful image compression API allows you to reduce the size of your images without sacrificing on image quality or other factors that are important to you and your users.

Powerful infrastructure for top speed

Speed is critical for image processing and great infrastructure is the foundation of speed. So the infra for Abstract's image processing and optimization API is built with from ground up for speed.

Crop, resize, and optimize images

Abstract's Image Processing API comes with a full suite of functionality to programmatically manage images, from cropping to resizing to optimizing and more.

Multiple storage and export options

Abstract's Image Processing API makes it easy to export your optimized images in a number of cloud providers, including AWS S3, Azure, and more.

Speed up your site or app

There are many benefits to optimizing your images, from faster load times and more conversions to lower costs and increased performance in SEO.

Bank-level security for all queries

Abstract's Image Processing API comes with more than speed and features. We also care deeply about security, so all data sent and processed is secured via 256-bit SSL encryption (HTTPS).

Simple, transparent, and cost-effective pricing



no card

  • 100 MB / month
  • 1 request / second




  • 1 GB / month
  • 3 requests / second
  • Commercial use allowed
  • Email support




  • 20 GB / month
  • 25 requests / second
  • Commercial use allowed
  • Premium enriched data
  • Email support




  • 250 GB / month
  • 100 requests / second
  • Commercial use allowed
  • Premium enriched data
  • Chat support
Need more requests, enterprise-grade SLA's, faster response time, or premium data?
Contact us to learn about our Enterprise plan.

Frequently Asked Questions
about Image Processing & Optimization API

What is an Image Processing & Optimization API?

An Image Processing & Optimization API provides a set of tools for a user to manipulate an image programatically. This can include but is not limited to reducing the image size, changing the image's dimensions, and more.

What are the benefits to Image Processing & Optimization?

Image optimization has many technical, user experience, and economic benefits. First, programatic image processing such as through Abstract's API makes it easy for you to get images in a format that you require. Second, more optimized images are often smaller in size and load faster, and so result in a faster experience for users and overall a better user experience. And last, smaller images means less storage and lower costs. It's a win win win!

What's the trade off between size and quality in image optimization?

There are certainly trade offs to make between an image's size and its quality. The smaller an image is, the less quality it has, all things being equal. However, Abstract's Image Processing and Optimization API's are designed to reduce size without affecting quality too much. The trade offs between these two are also fully configurable in the API, so if you don't like the API's default settings, you can always change it.

Developers love Abstract's Image Processing and Optimization API

We saved several thousand dollars a month from switching to Abstract's image API. The savings were more or less immediate since it was so easy to integrate. I think this is a no brainer for anyone working with lots of images.

Matt N.

Our team was struggling with a ton of different image formats, sizes, etc until we came across Abstract and began working with the Image Processing API. It's saved us a bunch of time and now we can actually focus on the core parts of our business!

Christophe L.

Needless to say we're not experts in image optimization but thankfully we can just outsource that to Abstract. We love working with the team and really appreciate the fast technical support as well. Keep it up and thanks :)

Sam S.

Image Processing and Optimization API Changelog

Last Updated on 

September 3, 2023

September 3, 2023


Updated API to support bulk processing for multiple images simultaneously

August 1, 2023


Introduced advanced algorithms for lossless image compression

July 4, 2023


Updated documentation and migrated to a new provider:

May 31, 2023


Improved the algorithm to increase image optimization by 20%, providing higher quality output

November 18, 2020


Updated documentation with new crop strategies

July 8, 2020


Improved compression and optimization flows to improve quality and reduce speed


Get FREE credits to start today.

Get thousands of API calls for free across all Abstract APIs.

Frequently Asked Questions
About Subscription & Pricing

What does the API cost?

Each of our API's has a free plan as well as several paid options, which offer a greater number of requests, a higher level of data quality, and greater speed for higher prices. Please see the page above or sign into your account to view pricing for each API.

Do you have a free trial or free options for your API's?

Absolutely! We want you to try before you buy. Each of our API's has a free tier with a generous usage allowance for you to try the product out and verify that the speed and data quality work for you.

What payment options do you offer?

We use Stripe to accept payment via major debit and credit cards (Visa, Mastercard, American Express). If you cannot use those payment methods, then contact us at team at to arrange for an alternative payment method.

Can I upgrade or downgrade my subscription?

Yes, you can upgrade or downgrade your subscription at any time by visiting your dashboard. If you upgrade in the middle of a billing cycle, you will be charged a pro-rated amount for your new plan through the end of the billing cycle.

Can I cancel at any time?

Yes, all of our subscriptions are month to month. You can cancel at any time, and you will not be charged again at the end of your billing cycle.

How can I cancel my subscription?

You can cancel your subscription at any time from your dashboard. Once canceled, your subscription will be active until the end your current billing cycle, and then it will be automatically moved to the free plan.

What happens if I go over my monthly quota for requests?

If your API usage exceeds the monthly limit set by your plan, then you will be charged a fee for each call over your limit. At the end of your billing period, your usage will reset again.

What if I need more requests or something else that's not offered in your plans?

We do offer enterprise plans with custom features and pricing in limited circumstances. If our public pricing plans don't work for you, then contact us (team at and we'll work something out.

Do you offer any discounts?

While we don't normally offer discounts, we do make exceptions for certain types of users and use cases. If you are a student or are engaged in academic work, or are working on a non-profit or open source project, we're happy to offer you discounts for our API's. Just email us at team at

Do you offer discounts for annual or quarterly payments?

All of our plans are currently paid month to month. We will be launching annual plans at a discount soon. If you're interested in an annual plan in the meantime, just contact us and we'll set you up.

What happens if my payment method expires?

We will typically attempt to charge your payment method up to three times after it fails. If we're still unable to collect payment, then your subscription will be automatically canceled and you'll be moved to the free plan.

Can I use the API's for a commercial project?

Yes, a paid tier of our API may be used in conjunction with a commercial project. The free tiers of our API's may not be used in commercial projects.