> 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-image-enhancement.md).

# AI Image Enhancement

Improves the overall quality of a room photo: corrects lighting, sharpens details, balances colours, and can add optional enhancement effects like fire in a fireplace or a screen on a TV.

***

### Input Slots

| Slot key                             | Description          |
| ------------------------------------ | -------------------- |
| `tool-image-enhancement-input-image` | The photo to enhance |

### Widgets

| Widget slug                                         | Purpose                               | Select    |
| --------------------------------------------------- | ------------------------------------- | --------- |
| `widget-area-tool-image-enhancement`                | Area type — indoor or outdoor         | Single    |
| `widget-enhancement-options-tool-image-enhancement` | Optional enhancement effects to apply | **Multi** |

#### Enhancement Options widget items (examples)

| Item slug                                                                      | Effect                                    |
| ------------------------------------------------------------------------------ | ----------------------------------------- |
| `item-add-fire-to-fireplace-widget-enhancement-options-tool-image-enhancement` | Adds realistic fire to an empty fireplace |
| `item-add-screen-to-tv-widget-enhancement-options-tool-image-enhancement`      | Adds a screen image to a blank TV         |

> This widget is **multi-select** — you can pass multiple item slugs at once.

### 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-image-enhancement",
    "asset_map": {
      "tool-image-enhancement-input-image": "6878b6882ecd619eab1f886c"
    },
    "widgets": [
      {
        "slug": "widget-area-tool-image-enhancement",
        "item_slugs": ["item-indoor-widget-area-tool-image-enhancement"]
      },
      {
        "slug": "widget-enhancement-options-tool-image-enhancement",
        "item_slugs": [
          "item-add-fire-to-fireplace-widget-enhancement-options-tool-image-enhancement",
          "item-add-screen-to-tv-widget-enhancement-options-tool-image-enhancement"
        ]
      }
    ]
  }'
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.aihomedesign.com/tool-refrence/ai-image-enhancement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
