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

# Change part of an image with Duaer Edit

In Duaer, Duaer Edit changes only the part you name and leaves the rest as it is.
## Change one region

1. Connect the node that holds the image to Duaer Edit. It reads binary field data by default.
2. In Change, write what should change, for example: replace the cup with a glass of water. Change is required.
3. To limit the edit to one area, put a mask in another binary field and enter that field name in Mask Binary Field. The mask is sent as the second image.
4. Select Execute step. The file is named duaer-edit-1, with model, size, and change.

The image model is asked to change only that region. This is not a separate inpaint sampler. Call skill: [Duaer Edit](https://skills.duaer.com/edit.md).
## Questions

### What happens if Change is empty in Duaer Edit?

The node fails before the request with Change is empty, and nothing is charged.

## Related

- [Generate an image with Duaer Image](https://doc.duaer.com/build/duaer-image.md)
- [Enlarge an image with Duaer Upscale](https://doc.duaer.com/build/duaer-upscale.md)
- [Remove a background with Duaer Cutout](https://doc.duaer.com/build/duaer-cutout.md)
- [Duaer plans and credits](https://doc.duaer.com/manage-cloud/plans.md)

