> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.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` 来打开遮罩编辑器。

<img src="https://mintcdn.com/dripart-docs-recommend-assets-api/AWlvySb8fGWTMD_I/images/interface/maskeditor/maskeditor.jpg?fit=max&auto=format&n=AWlvySb8fGWTMD_I&q=85&s=d2fed7d6a72a7a7d49e80bf1e9179a79" alt="ComfyUI 遮罩编辑器" width="1082" height="1344" data-path="images/interface/maskeditor/maskeditor.jpg" />

<img src="https://mintcdn.com/dripart-docs-recommend-assets-api/AWlvySb8fGWTMD_I/images/interface/maskeditor/maskeditor_ui.jpg?fit=max&auto=format&n=AWlvySb8fGWTMD_I&q=85&s=53de70cc88022c1c178a4583060264e3" alt="ComfyUI 遮罩编辑器" width="1500" height="1099" data-path="images/interface/maskeditor/maskeditor_ui.jpg" />

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

## 演示视频

<video controls>
  <source src="https://mintcdn.com/dripart-docs-recommend-assets-api/AWlvySb8fGWTMD_I/images/interface/maskeditor/maskeditor.mp4?fit=max&auto=format&n=AWlvySb8fGWTMD_I&q=85&s=eba024d890d5ac648306038ca2c30286" type="video/mp4" data-path="images/interface/maskeditor/maskeditor.mp4" />

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