Image Processing API
Manipulate and transform images and photos, from your webapp in real time with our easy to use APIs.
Click on the following link to go back to the home of our API documentation.
Or click on the following link to discover our Image Filter API.
API Supported image type :
- jpeg
- png
- bmp
- tiff
- gif
Compress Image API
curl "https://studio.pixelixe.com/api/compress/v1?imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW compressed image.
This endpoint minimize photos and images using different smart lossy compression techniques to reduce the file size. Expect between 20 and 60% smaller image size. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/compress/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
imageUrl | string | Set the url of the image you want to compress. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Resize Image API
curl "https://studio.pixelixe.com/api/resize/v1?width=auto&height=300&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint resizes your photos and images by defining new height and width pixels. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/resize/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
width | integer | Use the width and height parameters (pixel) to choose the new expected dimension of your image. Use "auto" if you want to keep ratio when resizing the width of your image |
height | integer | Use the width and height parameters (pixel) to open the Studio with a new blank document sized with those dimensions. |
imageUrl | string | Set the url of the image you want to resize. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Resized image :
Crop Image API
curl "https://studio.pixelixe.com/api/crop/v1?width=90&height=60&x=30&y=30&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint crops your photos and images by defining four coordinates: the new height and width pixels and the x and y positions. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/crop/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
width | integer | Use the width and height parameters (pixel) to choose the new expected dimension of your image. Use "auto" if you want to keep ratio when resizing the width of your image |
height | integer | Use the width and height parameters (pixel) to open the Studio with a new blank document sized with those dimensions. |
x | integer | Coordinate from the top corner of the image (x co-ordinate of cropping -> pixel). |
y | integer | Coordinate from the left corner of the image (y co-ordinate of cropping -> pixel). |
imageUrl | string | Set the url of the image you want to crop. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Cropped image :
Flip Image API
curl "https://studio.pixelixe.com/api/flip/v1?horizontal=false&vertical=true&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint mirrors your photos and images horizontally or vertically. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/flip/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
horizontal | boolean | Set to true to flip the image horizontally. |
vertical | boolean | Set to true to flip the image vertically. |
imageUrl | string | Set the url of the image you want to flip. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Flipped image :
Rotate Image API
curl "https://studio.pixelixe.com/api/rotate/v1?degree=93&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint rotates your photos and images. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/rotate/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
degree | integer | Choose the rotation angle (degree). |
resizeMode | boolean | Set to true to resize the image while rotating. Or set to false to not resize the image. |
imageUrl | string | Set the url of the image you want to rotate. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Rotated image :
Brightness Image API
curl "https://studio.pixelixe.com/api/brighten/v1?value=0.7&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint brightens your photos and images on the fly. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/brighten/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
value | integer | Adjust the brighness by a value -1 to +1. |
imageUrl | string | Set the url of the image you want to brighten. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Brightened image : (0.7 value)
Contrast Image API
curl "https://studio.pixelixe.com/api/contrast/v1?value=0.3&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint contrasts your photos and images on the fly. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/contrast/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
value | integer | Adjust the contrast by a value -1 to +1. |
imageUrl | string | Set the url of the image you want to contrast. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Contrasted image : (0.3 value)
Opacify Image API
curl "https://studio.pixelixe.com/api/opacity/v1?value=0.3&imageUrl=https://yoururl.com/image.png" \
-H "Authorization: Bearer api_key"
The above endpoint returns a stream composed of the RAW generated image. By default contentType
image/png
This endpoint changes the opacity of your photos and images on the fly. JPG, PNG, BMP, TIFF or GIF. Image File Size limit: 10MB
HTTP Request
GET https://studio.pixelixe.com/api/opacity/v1
Optional Query Parameters
Parameter | Type | Description |
---|---|---|
value | integer | Adjust the opacity by a value 0 to 1. (0.x value accepted) |
imageUrl | string | Set the url of the image you want to opacify. (Supported type : jpeg, png, bmp, tiff and gif). Use encodeURI when passing the imageUrl as an API parameter. Ex : https://yourwebsite/yourimage.png will become https%3A%2F%2Fyourwebsite%2Fyourimage.png |
imageType | string | Optional: Set the image type expected as output of the API between, png, jpeg or bmp. (png by default). |
Original image :
Opaque image : (0.7 value)
Back to API documentation home
Click on the following link to go back to the home of our API documentation.