Skip to content
WebAI

Transformers.js · Model

RMBG-1.4

The most-downloaded background removal model on the Hub, outputting an alpha matte rather than a binary mask. Its license is Bria’s own: free for non-commercial use, commercial use requires an agreement — read it before shipping.

Upstream browser example

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

RMBG-1.4

The most-downloaded background removal model on the Hub, outputting an alpha matte rather than a binary mask. Its license is Bria’s own: free for non-commercial use, commercial use requires an agreement — read it before shipping.

Tasks: Segmentation

ModelTransformers.js

q8: 42.3 MiB

fp16: 84.1 MiB

fp32: 168.0 MiB

Code license: Apache-2.0

Weight license: Other

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
briaai/RMBG-1.4
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Alpha matte output, General subjects
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Other

Deployment variants

q8
Download size: 42.3 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 2ceba5a5efaec153162aedea169f76caf9b46cf8
Weight artifact ↗
fp16
Download size: 84.1 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 2ceba5a5efaec153162aedea169f76caf9b46cf8
Weight artifact ↗
fp32
Download size: 168.0 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 2ceba5a5efaec153162aedea169f76caf9b46cf8
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Running RMBG-1.4 in the browser

RMBG-1.4 sits under Vision / Segmentation and is listed as a Model running on Transformers.js. Its verified weight size is 42.3 MiB. The evidence is an upstream browser example; this site has not tested it yet.

The typical way to load weights like these is to serve quantised ONNX from a CDN or your own origin, run them through the in-page runtime, and fall back to WebAssembly when WebGPU is unavailable. Code licence: Apache-2.0; weight licence: Other — check the original repository before commercial use.

RMBG-1.4: common questions

Can RMBG-1.4 be used commercially?
This catalogue records “Apache-2.0 / Other”. Terms come from the model repository; the label here only reflects what was checked. If no licence is stated, do not ship it commercially.
How large are RMBG-1.4 weights?
The recorded size is 42.3 MiB. Quantisation variants differ a lot, so prefer the int8 or 4-bit build for the browser.
How do I call RMBG-1.4 from a project?
Most entries load through Transformers.js: host the weights somewhere the browser can fetch, initialise the runtime on the page, then submit text, image or audio for the task. The exact API lives in the model repository and the runtime docs.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Segmentation