> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Specific Floor Planning

> This endpoint allows you to generate floor plan from a room image.

## Request

Make a `POST` request to below endpoint and pass the required parameters in the request body.

```curl curl theme={null}
--request POST 'https://modelslab.com/api/v1/enterprise/interior/floor_planning' \
```

## Body

```json json theme={null}
{  
    "key":"enterprise_api_key",  
    "init_image": "https://i.pinimg.com/564x/f6/73/9d/f6739dc3fec02fa4019d1045fdad4d47.jpg",  
    "prompt": "rendering floor plan of the apartment layout,top view,white background,masterpiece, kitchen, living room, sofa, chair,bedroom,car best quality, extremely detailed,best illustration, best shadow",  
    "seed": 0,  
    "guidance_scale": 8,  
    "strength": 0.99,  
    "num_inference_steps": 51,  
    "base64": false,  
    "temp": false,  
    "specific_object": null, 
    "webhook": null,  
    "track_id": null
}
```

## Body Attributes

<ParamField query="key" type="string" required>
  Your API Key used for request authorization.
</ParamField>

<ParamField query="prompt" type="string" required>
  The text prompt describing the content you want in the generated image.
</ParamField>

<ParamField query="init_image" type="string">
  Link to the Initial Image of the room.
</ParamField>

<ParamField query="negative_prompt" type="string">
  Descriptions of elements to avoid in the image (e.g., NSFW content, extra limbs, poor quality).
</ParamField>

<ParamField query="strength" type="number" min="0" max="1">
  Prompt strength when using init\_image. 1.0 corresponds to full destruction of information in the init image.
</ParamField>

<ParamField query="base64" type="boolean" default="false">
  Return the image as a base64 string. Default is false.
</ParamField>

<ParamField query="num_inference_steps" type="integer" enum="[21, 31, 41]">
  The number of denoising steps. Acceptable values are 21, 31, or 41.
</ParamField>

<ParamField query="guidance_scale" type="integer" min="1" max="20">
  Scale for classifier-free guidance. The minimum is 1 and the maximum is 20.
</ParamField>

<ParamField query="temp" type="boolean" default="false">
  Create a temporary image link valid for 24 hours.
</ParamField>

<ParamField query="seed" type="integer">
  Seed for reproducibility. Same seed returns the same image. Pass null for a random number.
</ParamField>

<ParamField query="webhook" type="string" format="url">
  A URL to receive a POST API call once the image generation is complete.
</ParamField>

<ParamField query="track_id" type="integer">
  ID returned in the webhook callback to identify the request.
</ParamField>
