Decluttering API
The decluttering service allows you to automatically remove unwanted objects from your interior photos, creating cleaner and more attractive spaces for your real estate listings.Generate a decluttered image
POST /api/declutter_total/generate
Request Parameters
The unique user identifier (UUID) that you can retrieve from your Developer Space
URL of the image you want to declutter (format: jpg, png)
If set to true, the AI will automatically detect objects to remove. Otherwise, you will need to provide a mask.
The URL we call once the generation is complete. The request body is the same as the response from the retrieval API
Response
The unique generation identifier (UUID) to use with the retrieval API
The number of photos remaining after this generation
The unique project identifier (UUID)
Request Example
Response Example
Generate a variation of a decluttered image
POST /api/declutter_total/generate-variation
Request Parameters
The unique user identifier (UUID) that you can retrieve from your Developer Space
The unique identifier of the previous generation you want to create a variation of
URL of the original image to declutter
URL of the mask indicating areas to declutter
Response
The unique identifier of the new generation (UUID) to use with the retrieval API
The number of photos remaining after this generation
Request Example
Response Example
Retrieve a decluttered image
POST /api/declutter_total/get
Request Parameters
The unique user identifier (UUID) that you can retrieve from your Developer Space
The unique generation identifier (UUID) returned by the generation API
Response
The generation status: “STARTING”, “PROCESSING”, “SUCCEEDED”, “FAILED”
An array containing the URLs of generated images (present only if status=“SUCCEEDED”)
The number of variations already performed on this project