We designed the Image Editing API so that itโs both very powerful and very easy to use:
First, youโll use our interactive playground to define the edits you want to apply to your images (such as removing the background, resizing, adding padding, etc.)
Please note that not all features of the Image Editing API are available in the API Playground
Then, the playground will automatically generate the code to make the API call.
We recommend that you try the playground by yourself: itโs really the best way to get a sense of what the API can do.
The playground should be pretty intuitive to use, but if you want a detailed overview of its features, you can watch this video:
To read more about each attribute available for the API endpoint, please have a look at our API reference documentation.
Which endpoints are available?
The Image Editing API exposes two endpoints.
GET endpoint
The GET endpoint expects you to:
configure the edits you want to apply through query string arguments
provide the input image as a URL, through the argument imageUrl
This means that the images you process through that endpoint must already be hosted on the Internet.
Here's an example of an API call made using the GET endpoint:
The full API reference documentation of this endpoint is available here
POST endpoint
The POST endpoint allows you to:
directly upload an image file, through the argument imageFile
configure the edits through the body of the request rather than the query string
Here's an example of an API call made using the POST endpoint:
The full API reference documentation of this endpoint is available here