For the complete documentation index, see llms.txt. This page is also available as Markdown.

Images

Create Image

post
Authorizations
x-api-keystringRequired
Body
ai_versionstringOptional

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.

cloud_typestring · enum · nullableOptional

The type of clouds in the new sky to replace the original sky with. Options include: CLEAR, LOW_CLOUD, HIGH_CLOUD

Possible values:
enhancebooleanOptional

Whether to enhance the image.

Default: true
finetune_settingsany ofOptional
object · nullableOptional
or
object · FinetuneOptionsOptional
image_namestringRequired
lens_correctionbooleanOptional

Correct any lens distortion in the image.

Default: true
order_idstring · min: 1Optional
perspective_correctionbooleanOptional

Enable perspective correction to straighten vertical and horizontal lines in the image.

Default: true
perspective_correction_modestring · enum · nullableOptional

Controls how aggressively perspective correction is applied when enabled. Only used when perspective_correction is true. 'PRESERVE_CONTENT' prioritizes keeping original image contents intact with strict guardrails. 'PRIORITIZE_PERSPECTIVE' relaxes guardrails to enforce straight lines, accepting heavy cropping. If omitted, or explicitly sent as null, when perspective_correction is true, the AI uses its default behavior.

Possible values:
preset_idstring · nullableOptional

The ID of the preset to apply to the image.

privacyboolean · nullableOptional

Whether to blur any faces or license plates in the image.

ratinginteger · max: 5Optional

A rating between 0 and 5 on how good the image enhancmeent. Higher is better.

restageany ofOptional

Restage options for in-painting or modifying scene elements. Allows correcting details like lighting a fireplace, removing fingerprints from a TV screen, or removing unwanted items like tripods.

or
object · nullableOptional
sky_replacementbooleanOptional

Enable the replacement of the original sky for a summer sky.

threesixtybooleanOptional

Whether the image is a 360 image.

tripod_hideboolean · nullableOptional

Whether to crop the bottom of 360-degree images to hide the tripod. Note: This performs a simple crop and does not use generative in-painting.

upscalebooleanOptional

Whether to upscale the image.

window_pull_typestring · enum · nullableOptional

What type of window pull to apply to the image (Available since AI version >= 4.0, WITH_SKIES can only be used from AI version 5.2 or higher).

Possible values:
Other propertiesanyOptional
Responses
200

Successful response

application/json
ai_versionstringOptional

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.

cloud_typestring · enum · nullableOptional

The type of clouds in the new sky to replace the original sky with. Options include: CLEAR, LOW_CLOUD, HIGH_CLOUD

Possible values:
date_addedintegerOptional

The date the image was registered with Autoenhance.

downloadedbooleanOptional

Whether image has been already downloaded and paid for.

enhancebooleanOptional

Whether to enhance the image.

Default: true
finetune_settingsany ofOptional
object · nullableOptional
or
object · FinetuneOptionsOptional
image_idstring · uuidOptional
image_namestringOptional
lens_correctionbooleanOptional

Correct any lens distortion in the image.

Default: true
order_idanyRead-onlyOptional
parent_image_idstring · nullableOptional

The ID of the parent image if this is a sub-image created for premium restaging. Null for original images.

perspective_correctionboolean · nullableOptional

Whether perspective correction is enabled for the image.

perspective_correction_modestring · enum · nullableOptional

The perspective correction mode used for the image. 'OFF' means disabled, 'DEFAULT_ENABLED' uses AI defaults, 'PRESERVE_CONTENT' prioritizes keeping content, 'PRIORITIZE_PERSPECTIVE' prioritizes straight lines.

Possible values:
preset_idanyRead-onlyOptional

The ID of the preset that was applied to the image.

preset_versionany · nullableRead-onlyOptional

Preset version applied when the image was last processed with a preset.

privacyboolean · nullableOptional

Whether to blur any faces or license plates in the image.

ratinginteger · max: 5Optional

A rating between 0 and 5 on how good the image enhancmeent. Higher is better.

restageany ofOptional

Restage options for in-painting or modifying scene elements. Allows correcting details like lighting a fireplace, removing fingerprints from a TV screen, or removing unwanted items like tripods.

or
object · nullableOptional
scenestringOptional

The detected scene of the image i.e garden, patio, kitchen, etc.

sky_replacementbooleanOptional

Whether the sky replacement feature was enabled for the image.

statusanyRead-onlyOptional

The status of the order.

status_reasonanyRead-onlyOptional

Reason for the image's current status

tripod_hideboolean · nullableOptional

Whether to crop the bottom of 360-degree images to hide the tripod. Note: This performs a simple crop and does not use generative in-painting.

upload_urlanyRead-onlyOptional

The upload URL for the image to be uploaded to.

upscalebooleanOptional

Whether to upscale the image.

user_idanyRead-onlyOptional

The user ID of the user who uploaded (owns) the image.

window_pull_typestring · enum · nullableOptional

What type of window pull to apply to the image (Available since AI version >= 4.0, WITH_SKIES can only be used from AI version 5.2 or higher).

Possible values:
post/v3/images/
POST /v3/images/ HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 558

{
  "ai_version": "text",
  "cloud_type": "CLEAR",
  "enhance": true,
  "finetune_settings": {},
  "image_name": "text",
  "lens_correction": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "order_id": "text",
  "perspective_correction": true,
  "perspective_correction_mode": "OFF",
  "preset_id": "text",
  "privacy": true,
  "rating": 1,
  "restage": {
    "fire_in_fireplaces": "AS_SHOT",
    "grass": "AS_SHOT",
    "photographer": "AS_SHOT",
    "sky": "AS_SHOT",
    "tvs": "AS_SHOT"
  },
  "sky_replacement": true,
  "threesixty": true,
  "tripod_hide": true,
  "upscale": true,
  "window_pull_type": "NONE",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}
{
  "ai_version": "text",
  "cloud_type": "CLEAR",
  "date_added": 1,
  "downloaded": true,
  "enhance": true,
  "finetune_settings": {},
  "image_id": "123e4567-e89b-12d3-a456-426614174000",
  "image_name": "text",
  "lens_correction": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "order_id": null,
  "parent_image_id": "text",
  "perspective_correction": true,
  "perspective_correction_mode": "OFF",
  "preset_id": null,
  "preset_version": null,
  "privacy": true,
  "rating": 1,
  "restage": {
    "fire_in_fireplaces": "AS_SHOT",
    "grass": "AS_SHOT",
    "photographer": "AS_SHOT",
    "sky": "AS_SHOT",
    "tvs": "AS_SHOT"
  },
  "scene": "text",
  "sky_replacement": true,
  "status": null,
  "status_reason": null,
  "tripod_hide": true,
  "upload_url": null,
  "upscale": true,
  "user_id": null,
  "window_pull_type": "NONE"
}

Retrieve Image

get
Path parameters
idstringRequired
Responses
200

Successful response

application/json
ai_versionstringOptional

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.

cloud_typestring · enum · nullableOptional

The type of clouds in the new sky to replace the original sky with. Options include: CLEAR, LOW_CLOUD, HIGH_CLOUD

Possible values:
date_addedintegerOptional

The date the image was registered with Autoenhance.

downloadedbooleanOptional

Whether image has been already downloaded and paid for.

enhancebooleanOptional

Whether to enhance the image.

Default: true
finetune_settingsany ofOptional
object · nullableOptional
or
object · FinetuneOptionsOptional
image_idstring · uuidOptional
image_namestringOptional
lens_correctionbooleanOptional

Correct any lens distortion in the image.

Default: true
order_idanyRead-onlyOptional
parent_image_idstring · nullableOptional

The ID of the parent image if this is a sub-image created for premium restaging. Null for original images.

perspective_correctionboolean · nullableOptional

Whether perspective correction is enabled for the image.

perspective_correction_modestring · enum · nullableOptional

The perspective correction mode used for the image. 'OFF' means disabled, 'DEFAULT_ENABLED' uses AI defaults, 'PRESERVE_CONTENT' prioritizes keeping content, 'PRIORITIZE_PERSPECTIVE' prioritizes straight lines.

Possible values:
preset_idanyRead-onlyOptional

The ID of the preset that was applied to the image.

preset_versionany · nullableRead-onlyOptional

Preset version applied when the image was last processed with a preset.

privacyboolean · nullableOptional

Whether to blur any faces or license plates in the image.

ratinginteger · max: 5Optional

A rating between 0 and 5 on how good the image enhancmeent. Higher is better.

restageany ofOptional

Restage options for in-painting or modifying scene elements. Allows correcting details like lighting a fireplace, removing fingerprints from a TV screen, or removing unwanted items like tripods.

or
object · nullableOptional
scenestringOptional

The detected scene of the image i.e garden, patio, kitchen, etc.

sky_replacementbooleanOptional

Whether the sky replacement feature was enabled for the image.

statusanyRead-onlyOptional

The status of the order.

status_reasonanyRead-onlyOptional

Reason for the image's current status

tripod_hideboolean · nullableOptional

Whether to crop the bottom of 360-degree images to hide the tripod. Note: This performs a simple crop and does not use generative in-painting.

upscalebooleanOptional

Whether to upscale the image.

user_idanyRead-onlyOptional

The user ID of the user who uploaded (owns) the image.

window_pull_typestring · enum · nullableOptional

What type of window pull to apply to the image (Available since AI version >= 4.0, WITH_SKIES can only be used from AI version 5.2 or higher).

Possible values:
get/v3/images/{id}
GET /v3/images/{id} HTTP/1.1
Host: api:8080
Accept: */*
{
  "ai_version": "text",
  "cloud_type": "CLEAR",
  "date_added": 1,
  "downloaded": true,
  "enhance": true,
  "finetune_settings": {},
  "image_id": "123e4567-e89b-12d3-a456-426614174000",
  "image_name": "text",
  "lens_correction": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "order_id": null,
  "parent_image_id": "text",
  "perspective_correction": true,
  "perspective_correction_mode": "OFF",
  "preset_id": null,
  "preset_version": null,
  "privacy": true,
  "rating": 1,
  "restage": {
    "fire_in_fireplaces": "AS_SHOT",
    "grass": "AS_SHOT",
    "photographer": "AS_SHOT",
    "sky": "AS_SHOT",
    "tvs": "AS_SHOT"
  },
  "scene": "text",
  "sky_replacement": true,
  "status": null,
  "status_reason": null,
  "tripod_hide": true,
  "upscale": true,
  "user_id": null,
  "window_pull_type": "NONE"
}

Delete Image

delete
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Responses
204

No Content

No content

delete/v3/images/{id}
DELETE /v3/images/{id} HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*

No content

Download Enhanced Image

get
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Query parameters
dpiinteger · min: 72Optional

DPI of the image, must at least be 72.

qualityinteger · min: 1 · max: 90Optional

Quality of the image, must be between 1 and 90.

formatstring · enumOptional

Format of the image, must be one of 'avif', 'png', 'jpeg', 'jxl', or 'webp'.

Possible values:
previewbooleanOptional

Whether to show a lower quality preview version.

watermarkbooleanOptional

Whether to apply a watermark to the image.

visible_disclosurebooleanOptional

Whether to overlay an AI disclosure label on the image.

Default: false
finetunedboolean · nullableOptional

Whether to apply finetuning to the image.

Default: null
finetuneboolean · nullableOptional

Whether to apply finetuning to the image. Deprecated: use 'finetuned' instead.

Default: null
restagedbooleanOptional

Whether to serve the restaged version of the image. Defaults to True (serve restaged if available). Set to False to serve the original enhanced image without restaging.

Default: true
max_widthinteger · min: 1Optional

Maximum width of the image in pixels. Must be a positive integer.

scalenumber · max: 1Optional

Scale factor for the image, must be between 0.0 and 1.0.

Responses
200

Successful response

image/jpeg
string · binaryOptional
get/v3/images/{id}/enhanced
GET /v3/images/{id}/enhanced HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*
binary

Download Original Image

get
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Query parameters
dpiinteger · min: 72Optional

DPI of the image, must at least be 72.

qualityinteger · min: 1 · max: 90Optional

Quality of the image, must be between 1 and 90.

formatstring · enumOptional

Format of the image, must be one of 'avif', 'png', 'jpeg', 'jxl', or 'webp'.

Possible values:
previewbooleanOptional

Whether to show a lower quality preview version.

watermarkbooleanOptional

Whether to apply a watermark to the image.

visible_disclosurebooleanOptional

Whether to overlay an AI disclosure label on the image.

Default: false
finetunedboolean · nullableOptional

Whether to apply finetuning to the image.

Default: null
finetuneboolean · nullableOptional

Whether to apply finetuning to the image. Deprecated: use 'finetuned' instead.

Default: null
restagedbooleanOptional

Whether to serve the restaged version of the image. Defaults to True (serve restaged if available). Set to False to serve the original enhanced image without restaging.

Default: true
max_widthinteger · min: 1Optional

Maximum width of the image in pixels. Must be a positive integer.

scalenumber · max: 1Optional

Scale factor for the image, must be between 0.0 and 1.0.

Responses
200

Successful response

image/jpeg
string · binaryOptional
get/v3/images/{id}/original
GET /v3/images/{id}/original HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*
binary

Report Image

post
Authorizations
x-api-keystringRequired
Path parameters
idstringRequired
Body
commentstringOptional

A comment to be sent along with the report.

scoreinteger · max: 5Optional

A rating between 0 and 5 on how good the image enhancmeent. Higher is better.

sourcestring · enumOptionalPossible values:
Responses
200

Successful response

application/json
anyOptional
post/v3/images/{id}/report
POST /v3/images/{id}/report HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 76

{
  "categories": [
    "AUTO_PRIVACY"
  ],
  "comment": "text",
  "score": 1,
  "source": "WEBAPP"
}

No content

Last updated

Was this helpful?