POST Generate Style Transfer

Merge your selected style into your designs seamlessly.

Endpoint

POST https://api.spacely.ai/api/v1/generate/style-transfer

This endpoint is used to style transfer generate

Headers

Name
Type
Description

X-API-KEY*

String

Request Body

Name
Type
Description

imageUrl*

String

The URL of the image representing the room or space to be designed/renovated.

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"

Example

curl --location 'https://api.spacely.ai/api/v1/generate/style-transfer' \
--header 'X-API-KEY: YOUR_X_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"
}'

Last updated