Original

Original images are either original single-bracket or merged HDR image that you've uploaded. The only requirement for downloading original images is the image_id, you don't need an API key in order to be able to download the image.

Before you continue Original images come in various resolutions. You can add a query parameter size into the request url in order to choose between small, large or big resolution. Don't want to specify the size? Simply don't include it in the URL, and we will default the download to the biggest resolution.

const size = "big"

const downloadOriginalImage = async (imageId, size) => {
    const response = await fetch(
        `https://api.autoenhance.ai/v3/images/${imageId}/original${size ? size : ''}`,
        { method: "GET" }
    );
    const imageSource = await response.json()
    
    return imageSource
}

Specification

Last updated