Enhancing HDRs
Start by uploading your HDR brackets to the enhancement endpoint. To tell our system that you are uploading brackets, you need to set hdr: true in the body.
When uploading HDR brackets, you can't specify the enhancement options when uploading the images. These need to be defined when you merge the images.
HDR images require an order_id as we need to group all the images once they have been uploaded.
Request signed S3 URL for uploading brackets.
POST
https://api.autoenhance.ai/v2/image
Headers
Request Body
Like uploading a normal image, you will receive a signed S3 endpoint for uploading your image, called "s3PutObjectURL".
To upload your bracket to our service, make a PUT request to s3PutObjectURL with the image as a buffer. You will receive a 200 success code and an empty body confirming that you’ve uploaded the image successfully.
Upload image bracket to pre-signed S3 URL.
PUT
https://autoenhanceapi-prod.s3.eu-west-1.amazonaws.com/orderid/b1aa3999-7908-45c9-9a99-82e25cf5de8e/house.jpg
Headers
We require you to upload all brackets of all HDRs in an order to our system before we start processing. Once that is complete, we require you to hit our HDR merge endpoint, which will start processing the orders brackets into groups to start enhancement.
Start bracket grouping
POST
https://api.autoenhance.ai/v2/order/:order_id/merge
Path Parameters
Headers
Request Body
Grouping can take between 10 seconds to 5 minutes, depending on the number of brackets that need grouping. During this time, no images will show up when you make a GET request to /order/{order_id}.
Once a grouping has been completed all groups will show up with GET /order/{order_id} and the AI will start to merge HDRs and enhance them.
Check images have completed merging and starting to be enhanced.
GET
https://api.autoenhance.ai/v2/order/:order_id
Don't be concerend if this endpoint displays no images. Please wait 10 seconds to 5 minutes based on the number of images in your order, as it takes time for our system to group and sends brackets to be merged and enhanced.
This endpoint will also display the processing status once images start to merge and enhance.
Path Parameters
Headers
Last updated