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

# Inpaint

> Edit part of an image on canvas with Inpaint, using the inpaint model of your choice.

## Enter Inpaint mode

Inpaint lets you change one part of an image, like a prop or an expression, without regenerating the whole shot and losing everything else that's already working.

Select an image on canvas to reveal its toolbar, then click **Inpaint**.

<Frame>
  <img src="https://mintcdn.com/preview-ba0f310c/8IkxIOqWtPDfyhOG/images/preview/inpaint-toolbar-button.png?fit=max&auto=format&n=8IkxIOqWtPDfyhOG&q=85&s=73d89d1cadd7743c82119fdda2c2162a" alt="Inpaint button in the take toolbar" width="868" height="182" data-path="images/preview/inpaint-toolbar-button.png" />
</Frame>

This opens a limited prompt box and the inpainting toolbar:

* **Brush**: start painting on the image.
* **Eraser**: erase painted marks.
* **Slider**: adjust brush size.
* **Undo / redo**: step back or forward through brush and eraser actions.
* **Trash**: clear all painting.
* **X** button, or **Esc** key: exit Inpaint mode.

The prompt box in Inpaint mode has its own model picker: **Seedream v5 Pro** (the default), **Nano Banana Pro**, or **GPT Image 2**. Your choice sticks for future inpaints.

## Inpaint an image

<Steps>
  <Step title="Paint the area to change">
    Mask the part to change.
  </Step>

  <Step title="Describe the change">
    Type it in the prompt box, e.g., "Change the dog to a cat."
  </Step>

  <Step title="Generate">
    Press generate to fill the masked area.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/preview-ba0f310c/8IkxIOqWtPDfyhOG/images/preview/inpaint-mask-prompt.png?fit=max&auto=format&n=8IkxIOqWtPDfyhOG&q=85&s=6428b6960aea8b4f119a230df43b9400" alt="Painted mask with the requested change in the prompt box" width="3456" height="1992" data-path="images/preview/inpaint-mask-prompt.png" />
</Frame>

## Inpaint with image references

For a more specific change, add a reference image before painting, e.g., to change sunglasses' style: add the new sunglasses as a reference, paint out the existing ones, then describe the change. References work the same as normal generation, including **Click to pick** straight from the canvas; your mask and prompt survive the round trip.

<Frame>
  <img src="https://mintcdn.com/preview-ba0f310c/8IkxIOqWtPDfyhOG/images/preview/inpaint-with-reference.png?fit=max&auto=format&n=8IkxIOqWtPDfyhOG&q=85&s=d747da1e5de54ea1813d1854c8729651" alt="Inpainting with a reference image added" width="1904" height="1662" data-path="images/preview/inpaint-with-reference.png" />
</Frame>

<Warning>
  Changing sequences or leaving the canvas view exits Inpaint mode.
</Warning>
