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.
post
https://api.autoenhance.ai/v2
/image
Request signed S3 URL for uploading brackets.
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.
put
https://autoenhanceapi-prod.s3.eu-west-1.amazonaws.com
/orderid/b1aa3999-7908-45c9-9a99-82e25cf5de8e/house.jpg
Upload image bracket to pre-signed S3 URL.
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.
post
https://api.autoenhance.ai/v2
/order/:order_id/merge
Start bracket grouping
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.
get
https://api.autoenhance.ai/v2
/order/:order_id
Check images have completed merging and starting to be enhanced.
Last modified 11mo ago