c38f2d61aec7932fbcd6cd3cb481f735fae2d77b
miniPaint Bridge for ComfyUI
A lightweight, local, open-source image editor integration for ComfyUI. Based on miniPaint v4.14.3.
Features
- Context Menu Integration: Right-click any node with an image and select "Edit in miniPaint".
- Bi-directional Sync: Edit images in your browser and save them directly back to the ComfyUI
input/miniPaintfolder. - Auto-Update: After saving in the editor, the
Load Imagenode in ComfyUI automatically updates to the new file. - Smart Tabs: Uses a single browser tab for all editing sessions to prevent clutter.
- Fully Offline: No external servers involved, all processing is local.
Installation
- Clone this repo into your
ComfyUI/custom_nodes/folder. - Restart ComfyUI.
Usage
- Right-click on a
Load Imageor similar node. - Select "Edit in miniPaint".
- Edit your image in the new tab.
- Click the blue "SAVE TO COMFY" button at the top.
- The file will appear in
input/miniPaint/and auto-load into your node.
Important Notes
- Same Browser Only: The "Edit" and "Save" functions only work if the editor is opened in the same browser where ComfyUI is running. If you copy the editor URL to a different browser, the link between them will be lost.
- Single Tab: The extension is designed to use a single browser tab for editing. If you have multiple editor tabs open manually, only the one linked to the current session will receive images.
Credits
- Author of miniPaint ViliusL aka viliusle.
- Huge assistance from Google Gemini.
Languages
JavaScript
99.1%
HTML
0.7%
Python
0.2%