Edit images in the Photopea editor directly within ComfyUI.
cd custom_nodes
git clone https://github.com/coolzilj/ComfyUI-Photopea.git
Restart ComfyUI and the extension should be loaded.
-
Open ComfyUI and go to
Manager
>Install Custom Nodes
. -
Search for
ComfyUI-Photopea
in the search bar. -
Click
Install
.
photopea.mp4
This extension adds an Open in Photopea editor
option when you right-click on any node that has an image or mask output.
When you click it, it loads the Photopea editor in an iframe with the image related to the node.
You can edit the image inside Photopea, and once you're satisfied, click Save to node
to replace the image with the edited version from Photopea.
There is also a Photopea Editor
button in the Clipspace
panel.
This extension has not been extensively tested and may have bugs related to Clipspace actions. Use at your own risk.
- Each time "Open in Photopea" is clicked, Photopea opens a new document.
If you find it useful or have special needs in your workflow, I'm open to your feedback.
Twitter: @SongZi