> ## 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.

# Room Creation

> Generate complete interiors from instructions

# Room Creation

Create visualizations of entirely new interiors from simple text descriptions, without a prior photo.

## How It Works

Our AI generates complete interiors by:

* Interpreting your text descriptions
* Creating spaces with realistic perspective and lighting
* Furnishing and decorating according to the chosen style
* Adjusting finishes and materials

## Use Cases

* Conceptual visualization for interior designers
* Presentation of decoration projects
* Inspiration for space arrangements
* Real estate marketing for development projects

## API

Integrate this feature into your applications:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/create_room/generate' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "user_id": "your-user-id",
  "image_url": "https://example.com/image.jpg",
  "mask_url": "https://example.com/mask.png",
  "room_type": "KITCHEN",
  "theme": "MODERN",
  "width": 1024,
  "height": 768
}'
```

### Generate a Variation

You can also create variations from a previous generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/create_room/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",
  "original_url": "https://example.com/image.jpg",
  "mask_url": "https://example.com/mask.png",
  "room_type": "BATHROOM",
  "theme": "SCANDINAVIAN"
}'
```

### Retrieve Results

Get the results of a generation:

```bash theme={null}
curl --request POST \
--url 'https://iacrea.com/api/create_room/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 available room types: KITCHEN, BATHROOM, SHOWEROOM
* Choose from available themes: MODERN, INDUSTRIAL, SCANDINAVIAN, LUXURIOUS
* Create a mask that clearly indicates the area where the room should be generated
* Try different combinations of room types and themes
