Color transfer


Description
Add your custom color into the existing room. Spacely AI color transfer AI will transfer the color into the room, making it smooth, seamless, and realistic.
Use cases
Transfer color into wall, floor, ceiling.
Rapid concept generation for design projects.
Credit
1 successful decoration placement API call = 1 credit.
API
POST
https://api.spacely.ai/api/v1/generate/color-transfer
This endpoint is used to standard generate
Headers
X-API-KEY*
String
Request Body
imageUrl*
String
This field contains the URL of the room image where color will be painted on.
area*
String
This field contains the surface to paint color on.
Currently supports only "wall", "ceiling", and "floor"
color*
String
The field is the color as a prompt. (e.g., sky blue)
{
"data": REF_ID
}
Example
curl --location 'https://api.spacely.ai/api/v1/generate/color-transfer' \
--header 'X-API-KEY: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"imageUrl": "https://storage.googleapis.com/spacely-dev/product-placement-images/2e53a5ce9664dee4a2177bee61716893.jpg",
"area": "wall",
"color": "red"
}'
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