Preview
Preview images are lower resolution enhanced images.
The only requirement for downloading preview images is the image_id, you don't need an API key in order to be able to download the image.
const downloadPreviewImage = async (imageId) => {
const response = await fetch(
`https://api.autoenhance.ai/v3/images/${imageId}/preview`,
{ method: "GET" }
);
const imageSource = await response.json()
return imageSource
}
Specification
Last updated