File size: 1,935 Bytes
87247ed
 
 
09e17a7
87247ed
09e17a7
 
 
87247ed
 
 
 
 
 
 
 
 
 
 
09e17a7
87247ed
 
 
09e17a7
 
 
 
 
 
 
 
87247ed
 
09e17a7
87247ed
 
 
09e17a7
 
 
87247ed
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
license: apache-2.0
tags:
- sam3
- alpha-matting
- background-removal
- comfyui
- safetensors
---

<h1 align="center">MultiMatte</h1>

<p align="center"><b>Promptable SAM 3 Alpha Matting β€” Packaged for ComfyUI-RMBG.</b></p>

<p align="center">
<a href="https://github.com/1038lab/ComfyUI-RMBG"><img src="https://img.shields.io/badge/ComfyUI--RMBG-1038lab-blue?style=flat-square&logo=github"></a>
<a href="https://huggingface.co/feyninc/multimatte"><img src="https://img.shields.io/badge/Upstream-feyninc%2Fmultimatte-yellow?style=flat-square"></a>
</p>

This repository hosts the safetensors weights of [**MultiMatte**](https://huggingface.co/feyninc/multimatte) (Apache-2.0) packaged for [**ComfyUI-RMBG**](https://github.com/1038lab/ComfyUI-RMBG) with zero external `nobg` dependency.

MultiMatte is a promptable alpha matting model built on [SAM 3](https://huggingface.co/facebook/sam3) that outputs continuous opacity mattes for hair, glass, and fine edges from optional text prompts.

## Model Variants

| File | Precision | Size | Notes |
| :--- | :--- | :--- | :--- |
| `MultiMatte-bf16.safetensors` | BF16 | 1.57 GB | **Recommended** β€” near-lossless quality, half size |
| `MultiMatte-fp8.safetensors` | FP8 (scaled) | 0.84 GB | Compact download for low-disk / bandwidth setups |
| `MultiMatte.safetensors` | FP32 | 3.13 GB | Original full-precision checkpoint |

## ComfyUI Usage

The `MultiMatte (RMBG)` node in [**ComfyUI-RMBG**](https://github.com/1038lab/ComfyUI-RMBG) automatically downloads the selected model into:

```text
ComfyUI/models/RMBG/MultiMatte/
β”œβ”€β”€ MultiMatte-bf16.safetensors
β”œβ”€β”€ MultiMatte-fp8.safetensors
└── MultiMatte.safetensors
```

## License & Attribution

- **License**: Apache-2.0
- **Upstream Model**: [feyninc/multimatte](https://huggingface.co/feyninc/multimatte) (Hafedh Hichri & Feyn Research)
- **Base Model**: [facebook/sam3](https://huggingface.co/facebook/sam3)