> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-train-lora-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 遮罩编辑器 - 在 ComfyUI 中创建和编辑遮罩

> 讲解 ComfyUI 中遮罩编辑器（Mask Editor）的使用方法，以及对应设置等

遮罩编辑器是 ComfyUI 中一个非常实用的功能，它可以帮助用户在图像中创建和编辑遮罩，而不需要在其它应用程序中进行操作。

遮罩编辑器目前通过 `Load image` 节点来触发，当你上传图像后，可以在节点上右键通过菜单 `Open in MaskEditor` 来打开遮罩编辑器。

![ComfyUI 遮罩编辑器](https://mintlify.s3.us-west-1.amazonaws.com/dripart-train-lora-docs/images/interface/maskeditor/maskeditor.jpg)

![ComfyUI 遮罩编辑器](https://mintlify.s3.us-west-1.amazonaws.com/dripart-train-lora-docs/images/interface/maskeditor/maskeditor_ui.jpg)

然后你就可以通过鼠标在图像上点击来创建和编辑遮罩了。

## 演示视频

<video controls>
  <source src="https://mintlify.s3.us-west-1.amazonaws.com/dripart-train-lora-docs/images/interface/maskeditor/maskeditor.mp4" type="video/mp4" />

  你的浏览器不支持 video 标签。
</video>
