FeyNoBg model
FeyNoBg AI background removal model explained
The FeyNoBg processing model separates the main subject from its background and returns a transparent image.
It works best when the foreground is visually distinguishable from the surrounding scene. Fine hair, soft edges, motion blur, and transparent objects remain naturally harder cases.
The product keeps model execution behind one adapter. That makes provider changes testable without mixing billing, authentication, or interface code into the model integration.
Single purpose
The pipeline focuses on background removal instead of a sprawling editor.
Asynchronous
Long processing does not hold an open browser request indefinitely.
Replaceable adapter
Model-specific code is isolated from credits and product pages.
Model research
What FeyNoBg does—and what it does not
FeyNoBg is an automatic foreground extraction model built on BiRefNet. It predicts the foreground and a per-pixel alpha matte without asking you to click or describe a subject.
How the model was built
Finds the foreground as a whole
The model detects foreground elements automatically. In a person-on-a-sofa image, that can mean the person and sofa together; it is not a prompt-based “select only this person” tool.
A deeper third feature stage
Feyn expanded BiRefNet's third feature-extractor stage from 18 to 24 blocks while preserving compatible pretrained weights, increasing the model from roughly 222M to 263M parameters.
A deliberately mixed training set
Training used 26,100 examples assembled from 10 datasets. Each source was capped at 4,000 images to reduce domination by one visual domain, then the mix was trained for 7,000 steps.
Strong, but benchmark-specific
Feyn reports the top published S-measure on four of eight evaluated benchmarks and results within 2% of the leader on the others. Those scores describe test sets, not a guarantee for every image.
Fixed model input, original-size matte
The model runs at a 1024×1024 input size. Its alpha matte is resized back to the source dimensions, so large exports keep their canvas size without creating native detail the model never saw.
Where automatic removal still needs judgment
Foreground extraction combines object localization with precise boundary reconstruction. Improving one does not automatically improve the other.
- Hair, spokes, motion blur, camouflage, glass and semi-transparent edges remain difficult cases for any automatic model.
- If you need one object from a group, a prompt-based or manually refined workflow is a better fit than automatic foreground extraction.
- Inspect important outputs at 100% zoom. A benchmark-leading average can still miss the boundary that matters in one specific photo.
Attribution and license boundaries
Feyn created FeyNoBg on top of the BiRefNet research architecture. This website sends generation jobs to fal.ai's hosted FeyNoBg endpoint; it does not distribute the training weights.
The NoBg Python library currently declares Apache-2.0, while the canonical Hugging Face model card currently declares CC-BY-NC-4.0. The fal.ai endpoint is marked for commercial use. These are different artifacts and terms, so verify the current license of the exact artifact you plan to self-host or redistribute.