Create renders from image style transferring



Description
Apply your chosen style to any room by uploading a style reference image.
Use cases
Create a quick design from your customer’s brief.
Credit
1 successful Space Design API call = 1 credit.
API
POST
https://api.spacely.ai/api/v1/generate/style-transfer
This endpoint is used to style transfer generate
Headers
X-API-KEY*
String
Request Body
imageUrl*
String
The URL of the image representing the room or space to be designed/renovated.
(e.g., "https://storage.googleapis.com/spacely/public/image/roomstyle3/bathroom-modern.jpg").
spaceType*
String
The type of the space (e.g., "bedroom", "living_room", "kitchen", etc.).
styleImageUrl*
String
The URL pointing to additional references or inspirations for the design
renovateType*
String
The type of renovation, whether "residential", "commercial" or "exterior"
{
"data": REF_ID
}
Example
curl --location 'https://api.spacely.ai/api/v1/generate/style-transfer' \
--header 'X-API-KEY: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"spaceType": "bathroom",
"imageUrl": "https://storage.googleapis.com/spacely/public/image/roomstyle3/bathroom-modern.jpg",
"styleImageUrl": "https://storage.googleapis.com/spacely/public/image/residential-room-style-2/nordic-bedroom.jpg",
"renovateType": "residential"
}'
Tips and tricks
After receiving the response, use this api to retrieve the data.
Get ResourcesSupport
Any question? Contact us at [email protected]
Last updated