Presenting IMG Processing
Discover what happened in September 2024. This month features the launch of IMG Processing, a powerful API and SDK for image manipulation and analysis.
More and more, people share information through images instead of words. An image tells a story and holds a million words. With good colors and composition, it makes a simple message shine.
Today I want to present a new tool that makes working with images easy and fast.
IMG Processing IMG Processing - Image Processing API. A picture is worth a thousand words. Integrate powerful image processing capabilities into your applications in minutes What IMG Processing does
IMG Processing is an API and a Node SDK for editing and analyzing images. With it, developers can add advanced image features to their applications with little effort.
These are the key features:
- Unlimited image storage.
- Image transformations like resizing, cropping, mirroring, etc.
- Image editing like modulation or background removal.
- Add watermarks to images.
- Image analysis for classification.
- Image generation using AI.
How the API works
The IMG Processing API follows REST principles, the most common style for web APIs. Its URLs are predictable and named after resources, like images. It accepts request bodies in JSON (except for file uploads) and returns responses in JSON. It also uses the standard HTTP methods and response codes.
Now let’s see how to get started. The first step is to create an account.
IMG Processing IMG Processing - Image Processing API. A picture is worth a thousand words. Integrate powerful image processing capabilities into your applications in minutes As soon as you sign up for the IMG Processing API, you get a test API key. An API key is a secret code that lets you make requests to the API. The test key is only for testing. It has a low rate limit, which caps how many requests you can make. It also adds a watermark to the processed images, and the API keeps those images for 90 days at most.
Test images DO NOT count toward your monthly quota. So you can test the API without worrying about your usage. You do not even need a credit card to start processing images!
With the API key, you can authenticate your requests. Just include the key in the x-api-key header of each request. Here is an example with curl:
curl -X GET https://api.img-processing.com/v1/images \
-H "x-api-key: YOUR_API_KEY"
-H "Content-Type: application/json"
If you prefer, you can fork the Postman collection and send the request from there:
You can also use the playground in the documentation. For example, let’s create an image from a prompt there!
Imagine Image - IMG Processing Creates a new image using AI First, copy your API key from the dashboard. In the playground, open the authorization section and paste the key in the x-api-key field. Then open the body section and set a name and a prompt.
Then click send! The response contains an image object.
Do you want to see the result? Go to the download endpoint and enter the ID of the image!
That is everything you need to start. For more complex tasks, check out the documentation. I will be happy to see what you build with it.
Built for developers
Developers will benefit most from this API. They can build their own versions of Google Photos, Instagram, Rembg and other apps without the hard parts. They just create the UI, and the IMG Processing API does the rest.
What comes next
IMG Processing is still a release candidate, a version that is almost final. There may be some random errors. I am still looking for them with a lot of automated testing.
Some limits are already fixed. For example, the next release candidate removes the current limit on image dimensions. It will accept images up to 12,000 pixels wide or tall.
I am also working on automation tools, like workflow connectors and SDKs, to make the API faster to integrate.
In the next posts, I will tell you more about these changes. I will also share the wins and the problems I find along the way!
If you enjoy the content, please don’t hesitate to subscribe and leave a comment! I would love to connect with you and hear your thoughts on the topics I cover.
Interested in working together? Check out my services and pricing to see how we can collaborate on your next project. Let's Build