rembgaiclipython

rembg is a Python image background removal tool powered by AI models (e.g., U2-Net and SAM). It can run as a CLI, Python library, HTTP server, or Docker container, supports CPU and GPU acceleration, and can be used for batch processing images and video frames.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rembgaiclipython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-abbc29c051facb648f82987b628c60a9eaada9197bc4fcd260e667abe1fcbd98. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/rembg-ai-background-removal-cli before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

rembg is a Python image background removal tool powered by AI models (e.g., U2-Net and SAM). It can run as a CLI, Python library, HTTP server, or Docker container, supports CPU and GPU acceleration, and can be used for batch processing images and video frames.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "rembg AI 背景移除 CLI 和 Python 库"
slug: "rembg-ai-background-removal-cli"
version: "1.0.0"
displayName: "rembg AI 背景移除 CLI 和 Python 库"
summary: "rembg 是一个由 AI 模型(如 U2-Net 和 SAM)驱动的 Python 图像背景自动去除工具。它可作为 CLI、Python 库、HTTP 服务器或 Docker 容器运行,支持 CPU 和 GPU 加速,可用于批量处理图像和视频帧。"
license: "MIT"
description: "rembg 是一个由 AI 模型(如 U2-Net 和 SAM)驱动的 Python 图像背景自动去除工具。它可作为 CLI、Python 库、HTTP 服务器或 Docker 容器运行,支持 CPU 和 GPU 加速,可用于批量处理图像和视频帧。"
github_stars: 22400
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Image & Creative Automation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 22400

rembg AI 背景移除 CLI 和 Python 库

rembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames.

Installation

Use the upstream install or setup path that matches your environment:

  • pip install "rembg[cpu]" # for library
  • pip install "rembg[cpu,cli]" # for library + cli
  • pip install "rembg[gpu]" # for library
  • pip install "rembg[gpu,cli]" # for library + cli

Requirements and caveats from upstream:

  • <p align="center">Rembg is a tool to remove image backgrounds. It can be used as a CLI, Python library, HTTP server, or Docker container.</p>
  • python: >=3.11, <3.14
  • Note: NVIDIA GPUs may require onnxruntime-gpu, CUDA, and cudnn-devel. See #668 for details. If rembg[gpu] doesn't work and you can't insta...

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 AI 驱动的图像背景移除功能,支持多种部署方式(CLI/Python 库/HTTP/Docker)
  • 支持 CPU 和 GPU 加速,适用于批量处理图像和视频帧,具有广泛的实用价值
Trigger Precision88/100

Highlights

  • description 内容完整,明确描述工具功能、使用场景和技术特性,触发词覆盖合理
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档中缺少明确的使用场景说明章节

    Recommendation: 建议添加 When to Use 章节,说明适合使用该工具的具体场景和用例

  • 缺少端到端完整示例 Reported severity: Minor

    虽然有基本使用说明,但缺少完整的端到端操作示例

    Recommendation: 建议添加具体的命令调用示例,展示从安装到实际使用的完整流程

  • 缺少明确的步骤划分和出口条件 Reported severity: Minor

    文档结构较为松散,缺少清晰的 Phase 划分和执行出口条件说明

    Recommendation: 建议将使用流程划分为清晰的步骤,并说明每个步骤的完成条件和出口标准

Highlights

  • frontmatter 完整,包含必要的元数据信息
  • 提供了多种安装方式和环境要求说明
Execution Reliability75/100

Areas to improve

  • 未说明批量处理的确认机制 Reported severity: Minor

    对于可能影响多个文件的批量操作,缺少确认机制说明

    Recommendation: 建议在批量处理相关说明中添加确认机制,避免误操作导致数据丢失

Highlights

  • 工具来源明确,提供了 GitHub 仓库链接和上游文档引用
  • 覆盖了主要异常场景(GPU 依赖、CUDA/cudnn 要求)
  • 安装命令参数正确,支持多种环境配置
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.