Creating & Uploading
This API endpoint allows you to create an image. To create an image, you must provide a valid API key.
We've prepared quick start guides for uploading images the simplest way possible. If you're stuck, or perhaps want to see simple code examples, then start over there!
Creating image
/v3/images/
The MIME type of the image i.e. image/jpeg, image/png, etc.
Whether to enhance the image.
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.
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).
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
CLEAR
, LOW_CLOUD
, HIGH_CLOUD
, null
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..
property
, property_usa
, warm
, neutral
All of your uploaded images will contain an order_id even if you don't specify it. If you want to upload multiple images into an order, you need to specify the order_id while creating the image in our API. Learn more on the Orders page.
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.
Uploading image
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
Last updated