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"
}
Code Examples (automatic declutter)
curl --location 'https://europe-west1-gepettoai.cloudfunctions.net/v1/decluter' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://firebasestorage.googleapis.com/v0/b/gepettoai.appspot.com/o/raw-images%2F49d4311f-2d8e-459b-97c0-5543c544a2f0.jpeg?alt=media&token=6761e09c-bf49-4b34-9606-bc4ee9909d87"
}'
Results
Automatic Decluttering


Manual decluttering (with a mask)



Last updated
Was this helpful?