RMBG-3.0 on a 16 GB portable bundle: unzip, double-click, done
RMBG-3.0 runs fine on an old box with an RTX 3060 12 GB and 16 GB of RAM — all seven test cases passed. The whole stack (ComfyUI core, portable Python, CUDA torch, three weight files, workflows, scripts) is packed into a 16.30 GB zip. Unzip, double-click, use.
Download: https://pan.quark.cn/s/890e02694903 (Quark, no expiry) License: Bria FIBO License / CC-BY-NC-4.0 — non-commercial use only.
1. What the output looks like

Top row is the original, bottom row is the cutout (checkerboard = transparency). Fur, fine leaves, and open-weave mesh are the three edge types that classic matting usually destroys. RMBG-3.0’s soft alpha handles all of them — every hole in the knit mesh is preserved as semi-transparent, which is the most convincing single result in the set.
| Case | Input | Result |
|---|---|---|
| Portrait | 832×1248 | Soft hair-edge falloff ✅ |
| Beige cardigan (mesh) | 767×768 | Mesh holes kept semi-transparent ✅ |
| Beige cardigan (hi-res) | 1554×768 | Hole-by-hole fidelity ✅ |
| Dog (fur) | 1554×768 | Clean fur edges ✅ |
| Fern bouquet | 1554×768 / 768×768 | Fine leaves and small flowers preserved ✅ |
| Crop one subject | 760×900 | Subject isolated ✅ |
2. Requirements — will it run on your machine?
| Item | Measured here | Verdict |
|---|---|---|
| GPU | RTX 3060 12 GB | Steady-state VRAM 8.7–9 GB; 12 GB recommended; on smaller cards try --novram / --cpu-vae |
| RAM | 15.9 GB | The text encoder takes another ~4 GB of system RAM; 16 GB leaves ~2 GB free. Do not try 8 GB |
| OS | Windows 10/11 | Bundle ships Python 3.13.15 + torch 2.14.1+cu130 — no separate Python / CUDA / custom nodes needed |
| Disk | ~20 GB after extraction | 13.3 GB of weights plus core |
Performance (RTX 3060, 4 steps, cfg=1):
| Scenario | Time |
|---|---|
| Cold start to ready | 7.5 s |
| First image after cold start (weights from disk) | 29.6 s |
| Warm 768×768 | 17–23 s |
| Warm 832×1248 | 36 s |
| Warm 1552×768 | 36–43 s |
| 1 / 4 / 8 steps at 1.19 MP | 10 / 37 / 71 s |
Rule of thumb: 5–8 s fixed overhead + 7–8 s per MP per step, so 4 steps ≈ 30 s per MP.
3. How to use it
Option A — GUI
Double-click Start-RMBG3.cmd → browser opens http://127.0.0.1:8188Drag workflows/rmbg3-matting.ui.json onto the canvasSwap LoadImage for your own image → QueueOutputs: output/RMBG3_matte_*.png (grayscale) + RMBG3_cutout_*.png (transparent PNG)Option B — batch from the CLI (includes alpha validation and a checkerboard preview)
ComfyUI-Portable\python\cpython-3.13.15-windows-x86_64-none\python.exe \ ComfyUI-Portable\scripts\run_rmbg3.py <input image> <output prefix>Option C — repair an incomplete download (resumable, size + sha256 verified)
powershell -File ComfyUI-Portable\scripts\fetch_models.ps1The bundle also includes four workflows (main / subject-crop × UI / API), a quick-start file, a deployment guide, and a troubleshooting doc. All paths are relative, so the folder can be moved to any drive.
4. Four traps that fail silently
- The prompt must be that exact fixed JSON.
TextEncodeFibo2only understands this template. Replace it with natural language or an empty string and you get white blocks full of hallucinated text.{"edit_instruction": "Generate a detailed grayscale alpha matte. Map the opaque foreground to white and the background to black. Produce soft, anti-aliased grayscale gradients at the edges of the subject to represent fine details and transparency."} - The VAE decodes a grayscale matte with no alpha channel.
flux2-vae’s decoder has three channels, so you must wireVAEDecode → ImageToMask(red) → InvertMask → JoinImageWithAlpha(original). Note thatJoinImageWithAlphacomputesalpha = 1 - mask; skip the InvertMask and foreground/background come out fully swapped. - API dynamic inputs need flat key names.
TextEncodeFibo2’simagesexpands toimages.image_1, so you must pass"images.image_1": ["<LoadImage node>", 0]. A nested object does not error —node_errorsstays empty — but the image never connects and you silently fall back to a 1024×1024 grayscale blob. Diagnostic: a 832×1248 source that outputs 1024×1024 means the image is not connected. - Launch with
--disable-all-custom-nodes. Third-party nodes shipped with the bundle hang ComfyUI during import (process alive, 0 % CPU, 888 MB RSS, no port opened). RMBG-3.0 needs no custom nodes at all.
Two more numeric traps: set width/height to the source dimensions rounded down to a multiple of 16 — leaving them at 0 makes ComfyUI centre-crop into a training bucket and the matte will not line up. And the same image with the same seed hits the node cache and returns in 0.2 s with the old result, so always change the seed when benchmarking.
5. Model-download notes
huggingface.cois unreachable directly,hf-mirror.comgives ~0.8 MB/s,modelscope.cngives ~3.8 MB/s per connection — use ModelScope.aria2ccannot complete the TLS handshake with the mirror (multi-connection handshake rejected); plaincurl.exewith a single connection works. For speed, use HTTP Range chunks with 8 threads writing into a pre-allocated file — 13.3 GB in about 20 minutes.- Verify by re-reading the file from disk and hashing it independently; do not trust a streaming hash computed while downloading.
6. Limitations
The weights are non-commercial. If VRAM or RAM is tight, both speed and success rate degrade. The node graph and prompt are generic, but timings depend on your hardware. Automatic subject detection would need Florence-2 / SAM3 / YOLO (which pulls in custom-node dependencies); the current flow crops with ImageCrop first, then mattes.