Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install background-removal或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install background-removal⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/background-removal/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: background-removal description: "Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-commerce, transparent PNGs, photo editing. Triggers: remove background, background removal, remove bg, transparent background, cut out image, background remover, rembg, product photo editing, cutout, transparent png, bg removal, photo cutout" allowed-tools: Bash(infsh *) ---
Remove backgrounds from images via inference.sh CLI.
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'
> Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
Use Reve for image editing including background changes:
infsh app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image_url": "https://portrait.jpg"
}'
Or change background directly:
infsh app run falai/reve --input '{
"prompt": "change the background to a beach",
"image_url": "https://product-photo.jpg"
}'
# 1. Generate an image
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json
# 2. Edit with Reve
infsh app run falai/reve --input '{
"prompt": "remove background, transparent",
"image_url": "<url-from-step-1>"
}'
Returns a PNG with transparent background.
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# FLUX models (including inpainting)
npx skills add inference-sh/skills@flux-image
# Upscaling
npx skills add inference-sh/skills@image-upscaling
Browse all image apps: infsh app list --category image
安装 Background Removal 后,可以对 AI 说这些话来触发它
Help me get started with Background Removal
Explains what Background Removal does, walks through the setup, and runs a quick demo based on your current project
Use Background Removal to remove backgrounds from images with BiRefNet via inference
Invokes Background Removal with the right parameters and returns the result directly in the conversation
What can I do with Background Removal in my design & creative workflow?
Lists the top use cases for Background Removal, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/background-removal/ 目录(个人级,所有项目可用),或 .claude/skills/background-removal/(项目级)。重启 AI 客户端后,用 /background-removal 主动调用,或让 AI 根据上下文自动发现并使用。
Background Removal 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Background Removal 可免费安装使用。请查阅仓库了解许可证信息。
Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-...
Background Removal 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Background Removal
Identifies repetitive steps in your workflow and sets up Background Removal to handle them automatically