npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

koishi-plugin-removebg-pro

v0.1.0

Published

一个基于 remove.bg API 的 Koishi 插件,用于移除图片背景。

Readme

koishi-plugin-removebg-pro

NPM version NPM license

调用 remove.bg 的 API 来移除图片背景。支持丰富的配置项和灵活的指令调用。

📦 安装

您可以前往 Koishi 插件市场,搜索 removebg-pro 并安装。

⚙️ 配置

安装完成后,请在 Koishi 控制台的插件配置页面进行设置。

  • apiKey: (必需) 您的 remove.bg API 密钥。
  • commandName: (可选) 触发插件的指令名称,默认为 removebg
  • API 参数配置:
    • 在此区域内,您可以预设图片处理的默认参数,如输出格式、图片尺寸、默认背景色等。所有配置项均有详细说明。

🔑 API 密钥与使用限制

remove.bg 的 API 为每个账户提供每月 50 次的免费调用额度。 超出额度后 API 将无法使用,直到下个月重置。

您可以按照以下步骤获取您的 API 密钥:

  1. 访问 remove.bg 官网并注册账户。
  2. 在 https://www.remove.bg/api#remove-background 点击 Get API Key 选项。
  3. 创建一个新的 API Key 并将其复制到本插件的 apiKey 配置项中。

📖 指令用法

本插件的指令设计兼顾了配置的便利性与调用的灵活性。

基础用法

直接发送指令并附带一张图片,或回复(引用)一张已有的图片。插件将根据您的预设配置进行处理。

/removebg [图片]

进阶用法:临时指定背景色

使用 -b--bg 选项可以临时指定一个背景色,该颜色会覆盖您在配置中设定的默认背景色。

  1. 指令、选项、图片在同一条消息中发送:

    /removebg -b green [图片]
  2. 回复(引用)一张图片,再发送指令和选项: (在回复某张图片后发送)

    /removebg -b ffffff

📝 免责声明

  • 本插件是基于 remove.bg 公共 API 开发的第三方工具,与 remove.bg 官方无任何关联。
  • 请妥善保管您的 API Key。任何因 API Key 滥用或泄露导致的损失,本插件作者概不负责。
  • 使用本插件即表示您同意并承诺遵守 remove.bg 的服务条款。
  • 本插件按“原样”提供,不提供任何明示或暗示的保证。

© 许可证

本项目基于 MIT 许可证发布。