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

# 3D Floor Plan

> Transform your 2D plans into 3D visualizations

# 3D Floor Plan

Convert your 2D plans into realistic visualizations of living spaces, allowing you to see the final result before construction.

## How It Works

Our AI analyzes your 2D plan and generates a 3D representation by:

* Interpreting the room layout
* Applying the chosen style and finishes
* Adding coherent furniture and decoration

## Use Cases

* Presentation of real estate projects from plans
* Visualization of different layout options
* Clear communication with clients or investors
* Real estate marketing before construction

## API

Integrate this feature into your applications:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/plan/v2/generate' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "image_url": "https://example.com/plan.jpg",
  "theme": "MODERN",
  "style_image_url": "https://exemple.com/style.jpg"
}'
```

### Generate a Variation

You can also create variations from a previous generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/plan/v2/generate-variation' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "generation_id": "previous-generation-id",
  "theme": "SCANDINAVIAN",
  "style_image_url": "https://exemple.com/style.jpg"
}'
```

### Retrieve Results

Get the results of a generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/plan/v2/get' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "generation_id": "your-generation-id"
}'
```

## Tips

* Use clear plans with well-defined lines
* For complex plans, treat each room separately
* Specify the room type to get appropriate furnishings
* Try different themes to visualize various layout options
