Skip to content

Skill Matting

抠图、图片抠图、视频抠图、去背景、背景移除、人像抠图、透明背景, background removal, background remover, remove background, image matting, video matting, image segmentation, image cutout, cut out image,…

Install

$npx skills add xiaowu89/skill-matting --skill nx-matting
Claude Code
claude mcp add skill-matting -- npx skills add xiaowu89/skill-matting --skill nx-matting
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "skill-matting": {
      "command": "npx",
      "args": [
        "skills",
        "add",
        "xiaowu89/skill-matting",
        "--skill",
        "nx-matting"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

nx-matting — 抠图 / 图片抠图 / 视频抠图 Skill

Claude Code skill for background removal — local BiRefNet GGUF matting for images & videos, outputs transparent PNG / MOV / WebM. No Python or PyTorch required.

一款专业的 抠图 / 图片抠图 / 视频抠图 工具:基于 BiRefNet GGUF 模型的本地抠图技能,支持图片和视频背景移除、去背景,输出透明 PNG、MOV 或 WebM。完全免费使用。

特点

  • 本地抠图推理,无需 Python / PyTorch / CUDA
  • 支持图片(JPG/PNG/BMP/WebP)和视频(MP4/MOV/WebM)
  • Lite 模型约 88.6 MB,Full 模型约 440 MB
  • Windows x64 原生 C++ 推理

安装

skills.sh

npx skills add xiaowu89/skill-matting --skill nx-matting

GitHub 手动安装

git clone https://github.com/xiaowu89/skill-matting.git /tmp/sm
cp -r /tmp/sm/plugins/nx-matting/skills/nx-matting ~/.claude/skills/
rm -rf /tmp/sm

抠图快速使用

# 图片抠图
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "scripts/matting.ps1" image `
  -InputPath "C:\photos\portrait.jpg"

# 视频抠图
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "scripts/matting.ps1" video `
  -InputPath "C:\videos\dance.mp4"

依赖

  • Windows x64
  • PowerShell
  • 首次使用联网下载模型和运行时(魔搭)

相关 Skill

  • image-audit — AI 图片内容审核,鉴黄/政治/暴恐识别
  • image-compress — AI 图片压缩,直传 API 返回 CDN 地址

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.