Image enhancement API
Auto-enhance, perspective correction, sky replacement, and blurring — endpoints for cleaning up real estate photos.
The image enhancement endpoints fix common listing photo issues: dull lighting, tilted perspective, gray skies, and privacy-sensitive content. Each accepts an image URL and returns the processed result.
Auto-enhance
/api/enhanceAutomatically improves lighting, color balance, sharpness, and contrast. Use this as the default cleanup pass on raw listing photos.
Parameters
apiKeystringrequiredimageUrlstringrequiredpreserveOriginalFramingbooleanfalseExample request
Example response
Response time: ~10 seconds per image. The response can include multiple URLs when the model produces variants.
Enhance + correct perspective
/api/enhance_and_correct_perspectiveSame as /api/enhance but with an upstream perspective-warp pass that straightens vertical lines. Use it when listing photos were shot with a phone tilted up or down.
Parameters
apiKeystringrequiredimageUrlstringrequiredpreserveOriginalFramingbooleanfalseResponse shape: same as /api/enhance (array). Response time: ~15 seconds per image.
Sky replacement
/api/sky_blueReplace a gray, overcast, or washed-out sky with a clean blue one. Only affects sky pixels — the rest of the image is untouched.
Parameters
apiKeystringrequiredimageUrlstringrequiredExample request
Example response
Response time: ~10 seconds per image. Note: output is a single object here, not an array.
Blur objects
/api/blurAuto-blurs sensitive content like faces, license plates, or branded logos. Useful for portal-compliant exterior shots.
Parameters
apiKeystringrequiredimageUrlstringrequiredobjectsToBlurstringrequiredExample request
Example response
Response time: ~10 seconds per image. output is a single object.
Next
See Virtual staging for furniture and content edits, or Create video for generating listing videos from photos.