POST Generate Standard

Generate unlimited space designs.

Endpoint

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

This endpoint is used to standard generate

Headers

Name
Type
Description

X-API-KEY*

String

Request Body

Name
Type
Description

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.

spaceType*

String

The type of the space (e.g., "bedroom", "living_room", "kitchen", etc.).

spaceStyle*

String

The style of the space (e.g., "modern", "minimalist", "industrial_loft", etc.).

spaceColor

String

The primary color theme or set used in the space (optional).

(e.g., "set_1", "set_2", "set_3", etc.)

styleUrl

String

The URL pointing to additional references or inspirations for the design

materialsIds

String[]

An array of material IDs representing the materials used in the project (e.g., "paper_wallpaper", "particle_board", "porcelain_tile", etc.).

renovateType*

String

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

Example

curl --location 'https://api.spacely.ai/api/v1/generate/standard' \
--header 'X-API-KEY: YOUR_X_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
    "model": "spacely-v1",
    "imageUrl": IMAGE_URL,
    "spaceType": "bedroom",
    "spaceStyle": "modern",
    "spaceColor": "",
    "renovateType": "residential",
    "styleUrl": "",
    "materialsIds": [
        "paper_wallpaper",
        "particle_board",
        "porceline_tile"
    ]
}'

Last updated