Smart Staging 🔮

Smart Staging allows you to furnish an interior more accurately using a more advanced technology.

⚠️ Smart Staging is a add-on of the Gepetto API billed separately, per request.

⚠️ This feature only works for empty rooms

Pricing

QuantityCost per request

0 to 1000 request

0.25€ Excl Taxes

1001 to 10000

0,22 € Excl Taxes

10001 and above

0,18 € Excl Taxes

The only roomIds available in this mode are:

['living_room', 'bedroom', 'dining_room', 'home_office', 'gaming_room']

Endpoint

POST https://europe-west1-gepettoai.cloudfunctions.net/v1/smart-staging

Headers

NameTypeDescription

Authorization*

String

Bearer {{API_KEY}}

Request Body

NameTypeDescription

url*

String

Image URL of the room to be redesigned.

Ex: https://thumbs.dreamstime.com/b/empty-room-26533582.jpg

roomId*

String

The room ID: ['living_room', 'bedroom', 'dining_room', 'home_office', 'gaming_room']

styleId*

String

The style ID that can be fetched on the Get Styles endpoint.

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

curl --location 'https://europe-west1-gepettoai.cloudfunctions.net/v1/smart-staging' \
--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",
}'

Results

Last updated