Creating & Uploading
Last updated
Last updated
This API endpoint allows you to create an image. To create an image, you must provide a valid API key.
You don't need to specify the enhancement preferences while uploading HDR brackets. All of the preferences must be present in the body of the post request to /orders/{id}/merge.
After successfully creating an image, the response will include an s3PutObjectUrl
. To upload the physical image to our service, make a PUT request to this URL with the image in the body of the request.
PUT
s3PutObjectUrl
The body should contain the data for your image and the Content-Type should be equal to what you sent when creating the image.
Headers
Content-Type
eg. image/jpeg
This value has to match the used contentType
in create image request!
Body
File or Blob
Image in a Blob or File format.
Response
The version of the AI model to use for enhancing the image. Versions ending in an .x will use the latest minor version as soon as it's published.
The type of clouds in the new sky to replace the original sky with. Options include: CLEAR, LOW_CLOUD, HIGH_CLOUD
The MIME type of the image i.e. image/jpeg, image/png, etc.
Whether to enhance the image.
The type of enhancement to apply to the image. PROPERTY or PROPERTY_USA is used with AI version < 4.0, for >= 4.0 use WARM or NEUTRAL..
Whether the image is a HDR bracket. An order_id must be provided when this is set to true.
Correct any lens distortion in the image.
Whether to blur any faces or license plates in the image.
A rating between 0 and 5 on how good the image enhancmeent. Higher is better.
Enable the replacement of the original sky for a summer sky.
Whether the image is a 360 image.
Whether to upscale the image.
Correct any vertical distortion in the image so that it appears straight.
Whether to pull the windows in the image (used with AI version >= 4.0).