Furnish
Furnish will let you add furnitures to empty rooms.


Endpoint
POST
https://europe-west1-gepettoai.cloudfunctions.net/v1/furnish
Headers
Authorization*
String
Bearer {{API_KEY}}
Request Body
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
roomId*
String
The room ID that can be fetched on the Get Rooms endpoint. Cannot be used simultaneouly with furnitureId
furnitureId*
String
The furniture ID that can be fetched on theGet Furnitures endpoint Cannot be used simultaneouly with roomId
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?