> For the complete documentation index, see [llms.txt](https://doc.aihomedesign.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.aihomedesign.com/tool-refrence/ai-floor-change.md).

# AI Floor Change

Virtually swaps the floor material — hardwood, marble, tile, carpet, and more.

***

### Input Slots

| Slot key                        | Description    |
| ------------------------------- | -------------- |
| `tool-floor-change-input-image` | The room photo |

### Widgets

| Widget slug                         | Purpose        | Select |
| ----------------------------------- | -------------- | ------ |
| `widget-space-tool-floor-change`    | Room type      | Single |
| `widget-material-tool-floor-change` | Floor material | Single |

### Example Request

```bash
curl --location 'https://api.aihomedesign.com/v3/process' \
  --header 'x-api-key: <your_api_key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "order_id": "6878b6d52ecd619eab1f886d",
    "tool": "tool-floor-change",
    "asset_map": {
      "tool-floor-change-input-image": "6878b6882ecd619eab1f886c"
    },
    "widgets": [
      {
        "slug": "widget-space-tool-floor-change",
        "item_slugs": ["item-bedroom-widget-space-tool-floor-change"]
      },
      {
        "slug": "widget-material-tool-floor-change",
        "item_slugs": ["item-white-marble-widget-material-tool-floor-change"]
      }
    ]
  }'
```
