POST Generate Advance

Advance generate unlimited space designs.

Endpoint

POST https://api.spacely.ai/api/v1/generate/advance

This endpoint is used to advance generate

Headers

NameTypeDescription

X-API-KEY*

String

Request Body

NameTypeDescription

model*

String

The model name of the project.

(e.g., "spacely-v1", "spacely-unfurnished-space", "spacely-style-transfer").

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").

prompt

String

This could be a parameter that serves as a prompt or instruction for the model, possibly related to the style or theme of the image processing task.

nPrompt

String

It seems to be an empty parameter, potentially used to provide additional instructions or information to the model.

renovateType*

String

The type of renovation, whether "residential" or "commercial"

{
  "data": "63d17492-43d9-4161-0000-b067be1316dc"
}

Example

curl --location 'https://api.spacely.ai/api/v1/generate/advance' \
--header 'X-API-KEY: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
    "model": "spacely-v1",
    "imageUrl": IMAGE_URL,
    "prompt": "mid_century",
    "nPrompt": "",
    "renovateType": "residential"
}
'

Last updated