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

# Image inpainting

> Edit specific parts of an image through conversation or direct selection.

Select a specific area of an image to erase or naturally fill with different content. You can simply **request through conversation** or use the **'Select & Edit'** feature for more precise modifications.

## Method 1: Edit directly through conversation

Carat AI analyzes your request to automatically identify and modify the target area.

<Steps>
  <Step title="Upload image">
    Upload the image you want to edit.
  </Step>

  <Step title="Request modifications">
    Type your desired changes directly in the Chat.

    ```text theme={null}
        Change the apple in this image to an orange.
    ```

    ```text theme={null}
        Change the man's shirt color to blue.
    ```
  </Step>
</Steps>

## Method 2: Edit using Select & Edit feature

Use the brush to directly specify the area you want to change for more precise editing.

<Steps>
  <Step title="Click Select & Edit button">
    Click on the generated image, then click the \[Select & Edit] button below.
  </Step>

  <Step title="Select area">
    Use the brush to paint over the area you want to change.
  </Step>

  <Step title="Enter changes">
    Type what you want to change in the Chat.

    ```text theme={null}
        Change this to an orange.
    ```

    ```text theme={null}
        Remove this person.
    ```
  </Step>
</Steps>

<Tip>
  **Clearly specify what to preserve**

  Including what **should not change** in your prompt, like "Keep the person's face the same, just change the shirt color to blue," helps Carat AI understand your intent more accurately.
</Tip>
