> For the complete documentation index, see [llms.txt](https://mazingxr.gitbook.io/mazing-world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mazingxr.gitbook.io/mazing-world/ai-apps/texture-replacement.md).

# Texture Replacement

## Add Product&#x20;

#### Upload a Room Scene

1. Select your **room scene image**.
2. Upload it using the **drag and drop field** or the **Browse File** button.

Once uploaded, the AI will automatically **analyze the room scene**.

* You can keep the **auto-generated scene description**, or
* Adjust the description if you want to refine the result.

#### Scene Reference Options

Choose how the room scene should be used:

* **Use as Reference** – The AI can slightly adjust the scene.
* **Scene Unchanged** – Keeps the room exactly as it is.

#### Place Accessories (Products)

1. Upload **up to 4 objects** you want to place inside the room scene.
2. Each uploaded object will appear below the scene.

**Adjust Object Dimensions**

* Click the **Dimensions** button below an object.
* Set the **exact size** of the product (e.g. a chair).
* Choose your preferred unit:
  * **Centimeters (cm)** or
  * **Inches (in)**
* Click **Apply** to confirm your dimension settings.

<figure><img src="/files/28R7yleggBDY11yMPTBP" alt=""><figcaption></figcaption></figure>

#### Generate the Image

1. Once all settings are configured, click **Generate Image**.
2. The AI will start creating your scene.

* A **progress bar** will appear to show the generation status.
* The process can take **up to 2 minutes**.

<figure><img src="/files/Wg40viAixly2AEeaQCvW" alt=""><figcaption><p>Result image of room scene + simple chair</p></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://mazingxr.gitbook.io/mazing-world/ai-apps/texture-replacement.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
