Redesign
Redesign will redesign a room in a specific style.
Redesign will redesign a room in a specific style. If the room is empty it won't add many furnitures, use the Furnish mode if you need to add furnitures first.
👉 Redesign is the best to get a final photorealistic result.
🦋 Creativity: It lets you control how crazy Gepetto will be with your room. The higher the number is, the less it will look like the original photo.
Endpoint
POST
https://europe-west1-gepettoai.cloudfunctions.net/v1/redesign
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {{API_KEY}} |
Request Body
Name | Type | Description |
---|---|---|
url* | String (Url) | Image URL of the room to be redesigned. |
styleId* | String | |
roomId* | String | |
creativity* | Number | Number between 0 and 30. The creativity tells how much freedom you give the AI. The higher the value is, the less likely the result will look like the original image. |
mask | String (Url) | (Optional but recommended for more precision) Custom mask image URL of the area to préserve or modify ⚠️ The mask should have the same dimension as the base image |
preserveWindows | Boolean (true / false) | (optional) Will prevent the AI from modifying the existing windowpanes / doors and bay window from the original image. |
preserveWalls | Boolean (true / false) | (optional) Will prevent the AI from modifying the walls from the original image. |
preserveCeiling | Boolean (true / false) | (optional) Will prevent the AI from modifying the ceiling from the original image. |
preserveFloor | Boolean (true / false) | (optional) Will prevent the AI from modifying the floor from the original image. |
webhook | String | (optional) Webhook POST URL to send the result on completion. If not provided, the request will wait for the result. |
Code Examples
Results To Expect
Before | After |
---|---|
Last updated