AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Photographers › Comfyui-LayerForge
✦ Free & open sourcePhotographers

Comfyui-LayerForge

Brings a Photoshop-like layered canvas editor with masks and blend modes directly into ComfyUI.

LayerForge: Layered Canvas for ComfyUI

Edit layers, paint masks, and handle complex inpainting workflows right inside your ComfyUI workspace.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
6.9
ZEKAI
Essential ComfyUI layer tool
Free & open source · Photographers
Ease of setup4
Usefulness9
Maintenance9.5
Community5
★ 349
GITHUB
Aug 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

Comfyui-LayerForge adds a multi-layer canvas editor directly into your ComfyUI workflow, replacing external image editors for complex compositing tasks. It suits digital artists and photographers who need precise inpainting, outpainting, and multi-image blending without leaving ComfyUI.

Runs on
Web
Hosting
Desktop
Languages
JavaScript
License
MIT

What it is

The node provides a persistent browser-based canvas storing layers, positions, and masks in IndexedDB across reloads. You can manage 12 blend modes, custom opacities, polygonal lasso selections, and optional background matting via native BiRefNet or BRIA RMBG 2.0 loaders.

Who it's for

It suits ComfyUI users managing intricate compositing, multi-layer blending, and guided inpainting sessions. It does not suit photographers looking for a standalone desktop photo suite outside of a node-based graph environment.

Key features

Persistent Canvas State

Stores layers, positions, and masks in the browser's IndexedDB so your work survives page reloads.

Polygonal Lasso Inpainting

Draw closed shapes to clip output images and apply shape masks with adjustable feathering and expansion.

Multiple Blend Modes

Choose from 12 blend modes including Overlay and Multiply, alongside individual layer opacity controls.

Optional Background Matting

Generate background-removal masks for selected layers using native BiRefNet or local BRIA RMBG 2.0 loaders.

Separate History Stacks

Maintain independent undo and redo histories for layer transformations and mask paint strokes.

How to start

Up and running in 3 steps

1
Install Comfyui-LayerForge through ComfyUI-Manager or by cloning the repository into your custom_nodes directory.
2
Restart ComfyUI and add the LayerForge node to your graph workspace.
3
Load one of the included example workflows or connect your own Image and Mask inputs to begin editing.
Real talk

Our honest verdict

What's great

  • Eliminates round-tripping to external image editors during ComfyUI composition passes.
  • Persists canvas state locally in browser storage so reloads do not wipe your work.
  • Supports polygonal lasso selections with feathering, expansion, and output area extension.
  • Includes independent undo and redo stacks for both layer edits and mask painting.

Where it falls short

  • Requires an existing ComfyUI installation and familiarity with node-based graph logic.
  • Canvas data relies on browser IndexedDB storage, which can be cleared by browser maintenance.
  • Workflow depends on external local models like Flux fill and matting loaders to achieve generation results.
Cost

Pricing & license

The tool is free under its open-source license. The only cost is running your own ComfyUI instance and any hardware required to host local generation models.

Paid work

Open remote AI-training roles

870 open remote AI-training roles, updated November 14, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: Comfyui-LayerForge for Photographers
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure Comfyui-LayerForge for you — and train your team.
Get it done for you ↗
Questions

FAQ

How do I save my edits back into the ComfyUI workflow?

LayerForge outputs a flattened IMAGE and a combined MASK from your visible layer stack, which you can connect directly to downstream nodes like Save Image or model samplers.

Will my canvas layers disappear if I reload the ComfyUI browser tab?

No. LayerForge saves layers, positions, masks, and canvas data in your browser's IndexedDB so the state persists across page reloads.

How do I run background removal on a layer?

You can use the optional matting feature powered by ComfyUI's native BiRefNet loader or local BRIA RMBG 2.0 integration.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Photographers — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google