This guide is based on Prama LLC's Hugging Face model card, GitHub repository and source code, and the README of a community ComfyUI node, all read on 4 December 2026. Any quality or benchmark figures are credited to whoever published them and haven't been independently verified.
Cutting a person, product or pet out of a photo used to mean either careful work with a selection tool or uploading the picture to an online service. BEN3, short for Background Erase Network 3, is a new open model that does the job on your own PC. Prama LLC, the company behind the BackgroundErase service, published it on Hugging Face on 1 December 2026, and it handles video as well as still images.
The good news for PC owners is that BEN3 is small. Its single checkpoint file is about 0.46GB, a tiny fraction of the size of the image generators we usually cover, so you don't need a high-end graphics card to run it. This guide explains what the open release includes, what hardware makes sense, and the two easiest ways to use it: a short Python setup with a command-line tool, or a custom node in ComfyUI.
What BEN3 is, and what the free version leaves out
BEN3 is a segmentation model: it works out which pixels belong to the foreground and produces an alpha mask, then uses that mask to give you a cut-out with a transparent background. According to Prama LLC, it uses a DINOv3 ViT-B/16 image encoder (the vision architecture from Meta's DINOv3 research) with a DPT-style decoder. Rather than producing one mask, it produces three candidate masks, and a small learned scoring head picks the most promising one.
There's an important distinction to understand before you start. Prama LLC offers BEN3 in two forms:
The open model on Hugging Face and GitHub, which contains the "multi-hypothesis generator": the weights and code described above.
The full commercial model, which adds a proprietary second-stage fusion network that combines the candidate masks to refine edges and fine detail. That network isn't in the public release. It's available through the backgrounderase.com web demo, a paid API and on-device licensing.
That matters when you read the benchmark table on the model card. Prama LLC reports leading results on the DIS5K dichotomous image segmentation benchmark for its MHFNet research framework, but it states clearly that those results are for MHFNet, not for the standalone generator you can download. In other words, the free web demo isn't necessarily a preview of what you'll get locally.
Prama LLC says BEN3 was trained on its own proprietary dataset of about 38,000 images, and that the code and released generator are under the MIT licence, "subject to applicable third-party licensing terms". The developer of the ComfyUI node we cover below points out that the weights include encoder parameters derived from Meta's DINOv3 model, which come under Meta's separate DINOv3 Licence. If you plan to use BEN3 in a commercial product, read both licences first.
What hardware you need
Prama LLC doesn't publish minimum hardware requirements, so the figures here are our estimates, based on the file sizes and the code:
Item | What the sources show | What it means for you (our estimate) |
|---|
Checkpoint | ben3.pth is about 0.46GB; a community FP16 conversion is about 0.23GB
| Easily fits in the memory of any recent graphics card |
Precision | The official code uses FP16 on NVIDIA CUDA GPUs and FP32 on the CPU | An NVIDIA card is the best-supported route |
Default input size | 1024 x 1024 | Images are resized for processing, so huge photos don't need huge VRAM |
Video | Frames are processed in batches (8 in Prama LLC's example, 4 by default in the command-line tool) | Larger batches use more VRAM; lower the batch size if you run out |
The official code defaults to an NVIDIA GPU (cuda) and can fall back to the CPU, which will work but will be slower, especially for video. We'd suggest any NVIDIA GeForce card with 8GB of VRAM or more for comfortable use. Prama LLC doesn't document AMD or Intel graphics cards; PyTorch does have builds for both (see our guides to PyTorch with ROCm and PyTorch on Intel Arc), but we haven't seen BEN3 documented on them. For specific graphics card advice, see the best GPUs for BEN3.
Option 1: Install BEN3 with Python
This is the route Prama LLC documents. You'll need Python 3.9 or newer and a CUDA-enabled build of PyTorch; the package requires PyTorch 2.1 or later and transformers 4.56.0 or later. If you haven't set up PyTorch before, follow our guide to installing PyTorch with CUDA on Windows first, ideally inside a virtual environment (our guide to using uv for local AI shows a tidy way to do this).
Then install the BEN3 package straight from GitHub:
pip install git+https://github.com/PramaLLC/BEN3.git
The package adds a ben3 command. To remove the background from a photo, downloading the weights from Hugging Face automatically:
ben3 image --repo-id PramaLLC/BEN3 photo.jpg cutout.png --mask mask.png
The cut-out is saved as a PNG with a transparent background, and the optional --mask file is the black-and-white alpha mask, which is handy if you want to refine the edges yourself in an image editor. If you've downloaded ben3.pth manually, use --weights ben3.pth instead of --repo-id.
If Python reports that CUDA isn't available, our guide to fixing "PyTorch CUDA not available" covers the usual causes. You can also add --device cpu to run on the processor.
Removing a video background
BEN3 can process video in two ways: a transparent VP9 WebM file, or an MP4 with a solid colour behind the subject. Both rely on FFmpeg, and Prama LLC says ffmpeg and ffprobe must be installed for transparent WebM output and for copying the audio track. Our guide to installing FFmpeg on Windows explains how to add it to your PATH.
ben3 video --repo-id PramaLLC/BEN3 clip.mp4 clip.webm --webm
ben3 video --repo-id PramaLLC/BEN3 clip.mp4 clip-white.mp4 --background 255 255 255
Without --background, the command-line tool uses green (0, 255, 0) behind the subject, which is useful if you want to key it out later in a video editor. The --batch option sets how many frames are processed at once; the tool's default is 4. If you see out-of-memory errors, lower it (and see our guide to fixing CUDA out-of-memory errors). Add --no-audio if you don't want the original soundtrack copied across.
Using BEN3 in your own scripts
If you're comfortable with Python, Prama LLC's model card shows how to load the model and process a single image or a list of images in a few lines. The inference function returns both the cut-out and the mask, and segment_video handles video. This is the route to take for batch jobs, such as clearing the backgrounds from a folder of product photos.
Option 2: Use BEN3 in ComfyUI
If you'd rather work visually, a community developer has published ComfyUI-BEN3, a set of custom nodes created on 2 December 2026. It isn't made by Prama LLC, so treat it as a third-party add-on. If you don't have ComfyUI yet, see our guide to installing ComfyUI on Windows.
The developer's instructions are to clone the repository into ComfyUI/custom_nodes, install its requirements with pip and restart ComfyUI (our guide on installing custom nodes explains how custom nodes work). The developer recommends ComfyUI 0.21.0 or later; our guide on how to update ComfyUI covers that.
According to its README, the node pack adds two nodes:
BEN3 Model Loader loads weights from ComfyUI/models/background_removal/ or downloads them automatically from Hugging Face. You can choose the developer's converted .safetensors files, including an FP16 version of about 0.23GB, or Prama LLC's original ben3.pth. Precision can be auto, FP16, BF16 or FP32, and the processing size can be set from 256 to 2048 pixels (1024 by default).
BEN3 Remove Background takes images or video frames and outputs either a transparent RGBA image or a solid black, white, green or custom-coloured background, plus a mask you can feed into other nodes.
One thing to watch: ComfyUI's own built-in background removal loader, which uses the BiRefNet model, reads from the same background_removal folder, so pick BEN3 files only in the BEN3 loader.
The ComfyUI route is particularly handy if you already generate images locally, because you can cut out a subject and composite it onto a new background in a single workflow.
Tips for better cut-outs
Start with a clear subject. Like any segmentation model, BEN3 has to decide what the "foreground" is. A photo with one obvious subject gives it the easiest job.
Keep the mask. Saving the mask as well as the cut-out lets you touch up edges or reuse the selection in an editor such as GIMP or Photoshop.
Try a larger processing size for fine detail. The ComfyUI node lets you raise the processing size above 1024; this will use more memory and time, and we haven't tested whether it improves results.
Compare with the web demo carefully. The backgrounderase.com demo runs the full commercial model with the fusion network, so local results may differ.
Alternatives
BEN3 isn't the only way to remove backgrounds on a PC. Windows 11's Paint app has a Remove background button, as our guide to removing image backgrounds in Windows 11 explains, and our round-up of the best AI background remover apps covers other free options, from Paint and Krita to rembg. Prama LLC's previous open model, BEN2, is still available, and we compare the two in BEN3 vs BEN2. For live webcam backgrounds rather than files, see OBS background removal vs NVIDIA Broadcast.