这个新的 ComfyUI 节点可以将一张平面图像拆分成多个可独立编辑的图层,包括从未完整显示过的物体和背景。🎨 它叫 TBG RevealLayer,是 RevealLayer 在 ComfyUI 中的全新集成;RevealLayer 是由 360 AI Research 和温州大学开发的 AI 图像分解模型。 它不只是简单地移除背景,而是尝试将整个场景重建为相互独立的 RGBA 图层。 想象一下,拿一幅已经完成的插画,把角色分离出来,移除某个物体,然后发现下方是重建好的背景。 这一切只需要一张图像。 🧩 它能做什么? ▪️ 自动图层分解:将前景元素、单个物体和背景分离为透明的 RGBA 图层。 ▪️ 遮挡重建:为原本被物体遮住的场景区域生成合理的细节。 ▪️ 手动选择:在你想提取的物体周围绘制边界框。 ▪️ 文本选择:可选择使用 SAM3,通过 person:2、handbag:1 等描述识别物体。 ▪️ 多种输出:获取单独的物体图层、透明度蒙版、完整图层集合或重新合成的图像。 ▪️ 总计最多 12 个图层:其中两个位置预留给前景和背景,剩余位置最多可容纳 10 个单独选中的物体。 🧠 RevealLayer 是如何工作的? 已被 ICML 2026 接收的原始研究提出了三项技术: ▪️ 区域感知注意力,用于分离可见图层和隐藏图层。 ▪️ 遮挡引导适配器,利用周围的上下文重建重叠区域。 ▪️ 专门设计的训练损失,用于改善透明度边界并减少合成伪影。 该模型基于 FLUX.1-dev 构建,使用其文本编码器和 VAE,并搭配额外的 RevealLayer 组件。 ⚙️ 这个 ComfyUI 集成有什么特别之处? TBG RevealLayer 没有构建一套完全独立的推理系统,而是使用 ComfyUI 原生的模型加载器和内存管理机制。 开发者提供了现成的工作流,支持手动绘制边界框,也可选择使用 SAM3 辅助选择。 其他细节: ▪️ 默认:30 个去噪步骤。 ▪️ 处理分辨率:最长边为 1024 像素。 ▪️ 自动下载约 697 MB 的额外 RevealLayer 检查点文件。 ▪️ 下载支持断点续传、SHA-256 校验,以及复用已通过校验的文件。 ▪️ 兼容标准 FP16、BF16 和 FP32 的 FLUX.1-dev 模型。 ⚠️ 重要限制 这并不是完美的图层恢复。隐藏区域是模型生成的预测,因此重建出的细节可能不准确。 将输出尺寸放大到超出处理分辨率,并不能恢复缺失的细节。 不支持 FLUX.2 和量化的 FLUX Transformer 权重。该工作流还需要一套完整且兼容的 FLUX.1-dev 配置,因此 GPU 显存仍然很重要。 节点本身采用 MIT 许可证,但其依赖的底层模型有各自的许可条款。 这为什么重要 对于数字艺术家、合成师、游戏开发者和 AI 创作者来说,通常很难对一张已合并图层的图像进行结构性修改。 RevealLayer 让人们能够将这张已完成的图像重新变成类似分层项目的形式。 一旦这些元素被分离出来,你就可以分别对它们进行细化、制作动画、调整位置或重复使用。 这为 ComfyUI 中的图像编辑工作流增添了一项强大能力。 🔗 ComfyUI 节点:https://t.co/QqSmNDcQYi 🔗 原始研究:https://t.co/Zi6pZRJwBE 🔗 项目演示:https://t.co/cA33jLxaIM #ComfyUI #AIImageEditing #OpenSource #GenerativeAI
看原文
This new ComfyUI node can turn a single flat image into separate editable layers, including objects and backgrounds that were never fully visible. 🎨 It's called TBG RevealLayer, a new ComfyUI integration of RevealLayer, an AI image decomposition model developed by 360 AI Research and Wenzhou University. Instead of simply removing the background, it attempts to reconstruct the entire scene as independent RGBA layers. Imagine taking a finished illustration, separating the characters, removing an object, and finding a reconstructed background underneath it. All from one image. 🧩 What can it do? ▪️ Automatic layer decomposition: Separate foreground elements, individual objects, and the background into transparent RGBA layers. ▪️ Occlusion reconstruction: Generate plausible details behind objects that originally covered parts of the scene. ▪️ Manual selection: Draw bounding boxes around the objects you want to extract. ▪️ Text-based selection: Optionally use SAM3 to identify objects with descriptions such as person:2, handbag:1. ▪️ Multiple outputs: Retrieve individual object layers, alpha masks, the complete layer collection, or a recomposited image. ▪️ Up to 12 total layers: Two slots are reserved for foreground and background, leaving room for up to 10 individually selected objects. 🧠 How does RevealLayer work? The original research, accepted at ICML 2026, introduces three techniques: ▪️ Region-Aware Attention to separate visible and hidden layers. ▪️ Occlusion-Guided Adapter to reconstruct overlapping regions using surrounding context. ▪️ Specialized training losses to improve transparency boundaries and reduce compositing artifacts. The model builds on FLUX.1-dev, using its text encoders and VAE alongside additional RevealLayer components. ⚙️ What's special about this ComfyUI integration? Rather than building a completely separate inference system, TBG RevealLayer uses ComfyUI's native model loaders and memory management. The developer provides ready-made workflows for manual bounding boxes and optional SAM3-assisted selection. Other details: ▪️ Default: 30 denoising steps. ▪️ Processing resolution: 1024 pixels on the longest side. ▪️ Approximately 697 MB of additional RevealLayer checkpoints downloaded automatically. ▪️ Downloads support resuming, SHA-256 verification, and reuse of verified files. ▪️ Compatible with standard FP16, BF16, and FP32 FLUX.1-dev models. ⚠️ Important limitations This isn't perfect layer recovery. Hidden areas are generated predictions, so reconstructed details may be inaccurate. Resizing the output beyond the processing resolution doesn't restore missing detail. FLUX.2 and quantized FLUX transformer weights aren't supported. The workflow also requires a full compatible FLUX.1-dev setup, so GPU memory remains important. The node itself is MIT-licensed, but the underlying model dependencies have separate license terms. Why this matters For digital artists, compositors, game developers, and AI creators, a flattened image is usually difficult to modify structurally. RevealLayer makes it possible to turn that finished image back into something resembling a layered project. And once those elements are separated, you can refine, animate, reposition, or reuse them independently. That's a powerful addition to image-editing workflows in ComfyUI. 🔗 ComfyUI node: https://t.co/QqSmNDcQYi 🔗 Original research: https://t.co/Zi6pZRJwBE 🔗 Project demos: https://t.co/cA33jLxaIM #ComfyUI #AIImageEditing #OpenSource #GenerativeAI
完整内容(AI 读出来的中文全文)
作者 CuteGuy☣️ @cutetoxicguy
原文 ``` This new ComfyUI node can turn a single flat image into separate editable layers, including objects and backgrounds that were never fully visible. 🎨
It's called TBG RevealLayer, a new ComfyUI integration of RevealLayer, an AI image decomposition model developed by 360 AI Research and Wenzhou University.
Instead of simply removing the background, it attempts to reconstruct the entire scene as independent RGBA layers.
Imagine taking a finished illustration, separating the characters, removing an object, and finding a reconstructed background underneath it.
All from one image.
🧩 What can it do?
▪️ Automatic layer decomposition: Separate foreground elements, individual objects, and the background into transparent RGBA layers.
▪️ Occlusion reconstruction: Generate plausible details behind objects that originally covered parts of the scene.
▪️ Manual selection: Draw bounding boxes around the objects you want to extract.
▪️ Text-based selection: Optionally use SAM3 to identify objects with descriptions such as person:2, handbag:1.
▪️ Multiple outputs: Retrieve individual object layers, alpha masks, the complete layer collection, or a recomposited image.
▪️ Up to 12 total layers: Two slots are reserved for foreground and background, leaving room for up to 10 individually selected objects.
🧠 How does RevealLayer work?
The original research, accepted at ICML 2026, introduces three techniques:
▪️ Region-Aware Attention to separate visible and hidden layers.
▪️ Occlusion-Guided Adapter to reconstruct overlapping regions using surrounding context.
▪️ Specialized training losses to improve transparency boundaries and reduce compositing artifacts.
The model builds on FLUX.1-dev, using its text encoders and VAE alongside additional RevealLayer components.
⚙️ What's special about this ComfyUI integration?
Rather than building a completely separate inference system, TBG RevealLayer uses ComfyUI's native model loaders and memory management.
The developer provides ready-made workflows for manual bounding boxes and optional SAM3-assisted selection.
Other details:
▪️ Default: 30 denoising steps.
▪️ Processing resolution: 1024 pixels on the longest side.
▪️ Approximately 697 MB of additional RevealLayer checkpoints downloaded automatically.
▪️ Downloads support resuming, SHA-256 verification, and reuse of verified files.
▪️ Compatible with standard FP16, BF16, and FP32 FLUX.1-dev models.
⚠️ Important limitations
This isn't perfect layer recovery. Hidden areas are generated predictions, so reconstructed details may be inaccurate.
Resizing the output beyond the processing resolution doesn't restore missing detail.