Furnish
Furnish will let you add furnitures to empty rooms.


Endpoint
POST
https://europe-west1-gepettoai.cloudfunctions.net/v1/furnish
Headers
Name
Type
Description
Authorization*
String
Bearer {{API_KEY}}
Request Body
Name
Type
Description
mask
String (URL)
(Optional but recommended for more precision)
Custom mask image URL of the area to furnish. Ex: Mask Image
⚠️ The mask should have the same dimension as the base image url
parameter.
If set, preserveWindows
is ignored
webhook
String (URL)
(optional) Webhook POST URL to send the result on completion. If not provided, the request will wait for the result.
preserveWindows
Boolean (true / false)
(optional but highly recommend to set true)
Tells explicitly to not touch windows, doors, french doors and bay windows and thus not modify the view.
{
"base64": "<base64 encoded image>",
"status": "success"
}
Code Examples
curl --location 'https://europe-west1-gepettoai.cloudfunctions.net/v1/furnish' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://thumbs.dreamstime.com/b/empty-room-26533582.jpg",
"styleId": "demeures",
"roomId": "living_room",
"preserveWindows": true
}'






Last updated
Was this helpful?