Images
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
Whether to enhance the image.
trueCorrect any lens distortion in the image.
trueEnable perspective correction to straighten vertical and horizontal lines in the image.
trueControls 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.
The ID of the preset to apply to 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.
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.
Enable the replacement of the original sky for a summer sky.
Whether the image is a 360 image.
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.
Whether to upscale the image.
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).
Successful 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 date the image was registered with Autoenhance.
Whether image has been already downloaded and paid for.
Whether to enhance the image.
trueCorrect any lens distortion in the image.
trueThe ID of the parent image if this is a sub-image created for premium restaging. Null for original images.
Whether perspective correction is enabled for the image.
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.
The ID of the preset that was applied to the image.
Preset version applied when the image was last processed with a preset.
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.
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.
The detected scene of the image i.e garden, patio, kitchen, etc.
Whether the sky replacement feature was enabled for the image.
The status of the order.
Reason for the image's current status
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.
The upload URL for the image to be uploaded to.
Whether to upscale the image.
The user ID of the user who uploaded (owns) the image.
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).
Authentication error
Validation error
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"
}Successful 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 date the image was registered with Autoenhance.
Whether image has been already downloaded and paid for.
Whether to enhance the image.
trueCorrect any lens distortion in the image.
trueThe ID of the parent image if this is a sub-image created for premium restaging. Null for original images.
Whether perspective correction is enabled for the image.
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.
The ID of the preset that was applied to the image.
Preset version applied when the image was last processed with a preset.
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.
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.
The detected scene of the image i.e garden, patio, kitchen, etc.
Whether the sky replacement feature was enabled for the image.
The status of the order.
Reason for the image's current status
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.
Whether to upscale the image.
The user ID of the user who uploaded (owns) the image.
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).
Not found
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"
}DPI of the image, must at least be 72.
Quality of the image, must be between 1 and 90.
Format of the image, must be one of 'avif', 'png', 'jpeg', 'jxl', or 'webp'.
Whether to show a lower quality preview version.
Whether to apply a watermark to the image.
Whether to overlay an AI disclosure label on the image.
falseWhether to apply finetuning to the image.
nullWhether to apply finetuning to the image. Deprecated: use 'finetuned' instead.
nullWhether 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.
trueMaximum width of the image in pixels. Must be a positive integer.
Scale factor for the image, must be between 0.0 and 1.0.
Successful response
Authentication error
Not found
Validation error
GET /v3/images/{id}/enhanced HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*
binaryDPI of the image, must at least be 72.
Quality of the image, must be between 1 and 90.
Format of the image, must be one of 'avif', 'png', 'jpeg', 'jxl', or 'webp'.
Whether to show a lower quality preview version.
Whether to apply a watermark to the image.
Whether to overlay an AI disclosure label on the image.
falseWhether to apply finetuning to the image.
nullWhether to apply finetuning to the image. Deprecated: use 'finetuned' instead.
nullWhether 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.
trueMaximum width of the image in pixels. Must be a positive integer.
Scale factor for the image, must be between 0.0 and 1.0.
Successful response
Authentication error
Not found
Validation error
GET /v3/images/{id}/original HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*
binaryA comment to be sent along with the report.
A rating between 0 and 5 on how good the image enhancmeent. Higher is better.
Successful response
Authentication error
Not found
Validation error
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?