Declutter 🧹
Declutter mode allows you to remove objects and existing furnitures from a picture.
💵 Credit Cost
You have two options:
Automatic declutter (no mask provided): 2 credits
Manual declutter (user provides a mask): 1 credit
For best results if you need to empty a room, we highly suggest the Automatic Declutter. It will deliver the best quality and the best accuracy.
Endpoint
POST https://europe-west1-gepettoai.cloudfunctions.net/v1/declutter
Headers
Name
Type
Description
Authorization*
String
Bearer {{API_KEY}}
Request Body
Name
Type
Description
webhook
String
(optional) Webhook POST URL to send the result on completion. If not provided, the request will wait for the result.
{
"base64": "<base64 encoded image>",
"status": "success"
}{
"status": "pending",
"id": "xxxxxxxxxxxxxx", // You can use that id with Get Job
"skyId": "your_style"
"mode": "sunshine"
}Code Examples (automatic declutter)
Results
Automatic Decluttering


Manual decluttering (with a mask)



Last updated
Was this helpful?