Local vs cloud background removal skill in 2027

Bria.ai

Local vs cloud background removal skill in 2027

Updated 2026-12-01

TL;DR

  • Verdict: For work that ships commercially, choose the cloud Bria remove-background skill, which runs through the Bria API and names RMBG 2.0 in its SKILL.md. The Bria API gives you 100 free generations to start.

  • Where pixels go: Local skills built on rembg, or on agent-media in its default modnet mode, process images on your machine. Cloud skills send images to a hosted service.

  • Keys: The rembg skill needs no key. The Bria, inference.sh and Membrane skills need an account or key. agent-media needs a key only when you pick a cloud provider.

  • License: Model cards differ. The rembg library and the BiRefNet card list MIT. The RMBG 2.0 card lists CC BY-NC 4.0 and ties commercial use to an agreement with Bria.

  • Cost: RMBG 3.0 on the Bria API costs $0.018 per image (checked 2026-11-29), not the price of the RMBG 2.0 skill. Local skills need no API key to start.

Which background removal skill should you pick?

The pick depends on where the pixels go, which model runs and which license applies, and Bria's cloud skill is the default for commercial work. To find a background removal skill for Claude Code, Cursor or Codex, you are really choosing three things: where the pixels go, which model runs and which license applies. This guide compares five published skills on those three points.

Bria wrote this guide. Where it cites a benchmark, that benchmark is Bria's: blind votes from professional and casual users plus a VLM side-by-side, on 234 hard images at full resolution. Facts about the other skills come from their public repositories and model cards, checked 2026-12-01.

What differs between local and cloud background removal skills?

A local skill runs the model on your machine, and a cloud skill calls a hosted service with your image. Every skill here is a folder with a SKILL.md file, so the format is the same. The difference is what the skill calls when it runs.

The five skills found on 2026-12-01:

  • remove-background from Bria-AI: Bria API, cloud.

  • background-remove from michaelboeding: rembg, local.

  • image remove-background from agntswrm (agent-media): local with the modnet model, or cloud with BiRefNet on fal or Replicate.

  • background-removal from inferencesh: BiRefNet through the inference.sh CLI, cloud.

  • removebg from membranedev: remove.bg through the Membrane CLI, cloud.

  • Skill: remove-background (Bria-AI); Runs: Cloud; Model: Bria API, RMBG 2.0 per SKILL.md; Needs: Bria API key; Repo license: MIT

  • Skill: background-remove (michaelboeding); Runs: Local; Model: rembg; Needs: Python 3.10+, rembg 2.0.50 or later; Repo license: MIT

  • Skill: image remove-background (agent-media); Runs: Local, or cloud with --provider; Model: modnet local; BiRefNet on fal or Replicate; Needs: Node 18+; FAL_API_KEY or REPLICATE_API_TOKEN for cloud; Repo license: Apache-2.0

  • Skill: background-removal (inferencesh); Runs: Cloud; Model: BiRefNet via inference.sh; Needs: inference.sh CLI and login; Repo license: Not confirmed

  • Skill: removebg (membranedev); Runs: Cloud; Model: remove.bg via Membrane; Needs: Membrane account; Repo license: MIT

Source: each skill's repository and SKILL.md, checked 2026-12-01.

Where do your images go?

With a local skill your images stay on your machine, and with a cloud skill they go to the service the skill calls. Check the exact path per skill before you run it on client files.

  • rembg skill: rembg runs its models locally as ONNX. rembg also has optional cloud backends, withoutbg and atlascloud, that upload images.

  • agent-media: The default runs modnet locally through Transformers.js. The --provider option switches to fal or Replicate.

  • Bria skill: It accepts a local path or a public URL and returns a URL of a transparent PNG. Input formats are JPEG, PNG and WEBP, including CMYK and RGBA.

  • inference.sh and Membrane skills: Both work through a vendor CLI and a login.

The Bria skill also has a guided endpoint. A prompt tells it what to keep or drop, and if that endpoint returns 404 the skill falls back to plain removal.

Which background removal skills need a key or an account?

The rembg skill and the default agent-media mode need no key, and the other skills need a key or an account.

  • Bria skill: A Bria API key, free from platform.bria.ai per the README.

  • agent-media cloud: FAL_API_KEY or REPLICATE_API_TOKEN.

  • inference.sh skill: The inference.sh CLI and a login.

  • Membrane skill: A Membrane account, with a free tier supported per its SKILL.md, plus npm install -g @membranehq/cli@latest and membrane login.

What does each model license allow?

The licenses split by model card, so read the card for the weights and not only the repo that wraps them. The table lists what each source states, and this guide draws no legal conclusion from it.

  • Model or library: rembg library; License as listed: MIT; model weights have their own licenses; Where listed: rembg README

  • Model or library: RMBG 2.0; License as listed: CC BY-NC 4.0; Where listed: Hugging Face model card

  • Model or library: BiRefNet; License as listed: MIT; Where listed: Hugging Face model card header

  • Model or library: RMBG 3.0; License as listed: CC BY-NC 4.0; commercial use through the Bria API; Where listed: Hugging Face model card, per Bria evidence file, 2026-11-29

Source: the rembg README and the RMBG 2.0 and BiRefNet model cards, checked 2026-12-01; the RMBG 3.0 row is from the Bria evidence file, 2026-11-29.

The RMBG 2.0 card states: "Commercial use is subject to a commercial agreement with BRIA". The rembg README notes that its default bria-rmbg model needs a paid agreement for commercial use. The RMBG 2.0 card also says the Bria API includes a commercial license.

How accurate are the models?

Bria's benchmark ranked [RMBG 3.0](https://bria.ai/rmbg) first of 6 models on 234 hard images, with an average rank of 1.51; method and leaderboard are in [Bria's benchmark write-up](https://bria.ai/blog/best-background-removal-model-developers). The benchmark scores models, not skills, and that result is for RMBG 3.0. The Bria skill names RMBG 2.0 in its SKILL.md, so this result does not describe the skill.

What does background removal cost?

RMBG 3.0 on the Bria API costs $0.018 per image, checked 2026-11-29, and the rembg skill needs no API key. The Bria API price list is on the Bria pricing page. This guide has no per-image price for the other cloud skills, so it states none. The Bria skill names RMBG 2.0, and Bria's docs price RMBG 3.0 calls separately from RMBG 2.0 calls, so this guide states no RMBG 2.0 price.

  • Item: RMBG 3.0 on the Bria API; Figure: $0.018 per image; Checked: 2026-11-29

  • Item: Bria API free generations; Figure: 100; Checked: 2026-11-22

  • Item: Rate limit, free; Figure: 10 requests per minute; Checked: 2026-11-29

  • Item: Rate limit, pay as you go; Figure: 60 requests per minute; Checked: 2026-11-29

Source: the free generations figure is from the Bria brand book pricing table, checked 2026-11-22; the price is user-confirmed 2026-11-29; the limits are dated 2026-11-29 in the Bria evidence file and are also listed in the Bria API rate limits documentation.

The rate limits matter for batch work. The Bria skill handles batches through a shell loop.

What do local skills need on your machine?

Local skills need a runtime and a model download on first use. Hardware requirements such as GPU or memory are not documented in the sources used here, so check each repo.

  • rembg: Python 3.11 to 3.13. Models download on first use to ~/.rembg/models/. The default bria-rmbg model is about 1.02 GB.

  • michaelboeding skill: Python 3.10 or later, pip and rembg 2.0.50 or later.

  • agent-media: Node 18 or later. Models download on first use.

How do you decide between a local and a cloud skill?

Decide on image privacy, license clarity and setup effort, in that order. Each criterion points to a different skill.

  • Images must stay on your machine: Use the rembg skill or agent-media with its default local modnet model.

  • You need a documented commercial path: The Bria API is the commercial path for Bria's models, and its pricing and limits are public.

  • You want one skill that can switch: agent-media runs local modnet by default and can call BiRefNet on fal or Replicate.

  • You already use the vendor: The inference.sh and Membrane skills fit teams with those accounts.

Conclusion: which skill should you choose?

Choose the Bria remove-background skill by default for commercial work, and choose a local skill when images cannot leave your machine. Bria wrote this guide, and the fit rules below apply either way.

  • Choose the Bria skill if you ship to customers, want a transparent PNG back from a path or URL, and prefer a priced API with published limits over managing model weights.

  • Choose the rembg skill if you need no key, and your project can meet the license terms of the model you run.

  • Choose agent-media if you want local modnet first and the option to move to cloud BiRefNet later.

  • Choose the inference.sh or Membrane skill if your team already works through those CLIs.

Related posts

FAQs

A local background removal skill runs the model on your own machine, and a cloud skill sends your image to a hosted service. Every skill in this comparison is a folder with a SKILL.md file, so the format matches. What separates them is the thing the skill invokes at run time. Of the five skills found on 2026-12-01, rembg is local, Bria, inference.sh and Membrane are cloud, and agent-media can run either way.

The rembg skill from michaelboeding needs no key, and agent-media needs none in its default local modnet mode. The Bria skill needs a Bria API key, free from platform.bria.ai per its README. The inference.sh skill needs the inference.sh CLI and a login, and the Membrane skill needs a Membrane account. agent-media asks for FAL_API_KEY or REPLICATE_API_TOKEN only when you pick a cloud provider.

A local skill keeps the image on your machine, while a cloud skill uploads it to the service it calls. rembg runs its models locally as ONNX, but it has optional cloud backends, withoutbg and atlascloud, that upload images. agent-media runs modnet locally by default and moves to fal or Replicate with the --provider option. Verify each skill's path before it touches client files.

For work that ships commercially, this Bria guide recommends the cloud Bria remove-background skill, which runs through the Bria API and names RMBG 2.0 in its SKILL.md. The Bria API is the commercial path for Bria's models, with public pricing and limits. RMBG 3.0 calls cost $0.018 per image (checked 2026-11-29) and no RMBG 2.0 price is stated, and 100 free generations let you start. Choose a local skill when images cannot leave your machine.

Follow us on social media

discord
Social media logo
Social media card
Social media logo
Social media card
Social media logo