yemyat avatar

bg-remover

Remove backgrounds from images using FAL.ai's BiRefNet model. Use when users ask to remove backgroun

提供方 yemyat|开源

Background Remover Skill

A Claude Code skill that removes backgrounds from images using FAL.ai's BiRefNet v2 model.

Setup

  1. Install Bun: npm install -g bun
  2. Get a FAL.ai API key from https://fal.ai/dashboard/keys
  3. Set the environment variable: export FAL_KEY="your-key-here"

Usage

Ask Claude Code to remove the background from any image:

Remove the background from photo.jpg

The output is saved as photo-nobg.png with a transparent background.

Model Options

ModelBest For
General Use (Light)Fast, everyday images
General Use (Heavy)Higher quality
PortraitHuman subjects
MattingComplex edges (hair, fur)

License

MIT

bg-remover - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills