---
title: "Enhance a property image"
method: POST
path: "/api/enhance"
tags: ["Enhancement"]
---

# Enhance a property image

`POST /api/enhance`

## Request

- Base URL: `https://www.zestio.de`
- URL: `https://www.zestio.de/api/enhance`
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sb-access-token`

Apply AI-powered enhancements to property images including sky replacement, season changes, object removal, and more.

## Request body

- EnhanceRequest
  - `image` string, uri, required: Public URL of the image to enhance
  - `enhancementType` 'auto' | 'denoise' | 'sky' | 'sky_sunset' | 'sky_dramatic' | 'twilight' | 'season_summer' | 'season_autumn' | 'season_winter' | 'object_removal' | 'declutter' | 'curb_appeal' | 'facade_refresh' | 'exterior_renovate' | 'kitchen_renovate' | 'bathroom_renovate' | 'living_renovate' | 'bedroom_renovate' | 'flooring_renovate' | 'paint_renovate': Operation to apply. `auto` and `denoise` return synchronously (1 credit); sky, season, twilight, object removal, cleanup and renovation types run as a job (2 credits).
  - `customPrompt` string: Custom prompt (overrides enhancementType if provided)
  - `model` 'auto': Accepted for compatibility. The model is selected per operation by the pipeline.

## Response `200`

Enhancement successful

- EnhanceResponse
  - `success` boolean
  - `output` string, uri: URL to the enhanced image. URL is signed and valid for 1 hour — download or store the image promptly; request the endpoint again if you need a fresh link. (Authenticated browser sessions receive an app-internal URL instead.)
  - `creditsUsed` integer
  - `model` 'auto': Accepted for compatibility. The model is selected per operation by the pipeline.

## Other responses

- `400`: Bad request - invalid parameters
- `401`: Unauthorized - invalid or missing credentials
- `402`: Payment required - insufficient credits
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/zestio/apis/zestio-api.md) · [All operations](https://skmtc.dev/zestio/apis/zestio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zestio/apis/zestio-api/revisions/d291848b1175?raw)
