dsh-rembg
Manifest validDSH plugin: auto-install rembg and expose a background-removal tool to the LLM
dsh-rembg
DSH 图像背景移除插件,支持选择 CPU 或本地 NVIDIA GPU 模式。
安装
npm(推荐)
dsh plugin --profile web add dsh-rembg
GitHub
dsh plugin --profile web add github:mengruoa/dsh-rembg
启动 DSH:
dsh --profile web
配置
打开 Web GUI 的侧栏「插件」→ dsh-rembg → rembg 行(该行右侧的配置入口):
- 选择是否使用 GPU。
- 点击初始化环境安装对应的 Python 依赖。
- 在模型列表中安装要使用的模型。
- 选择默认模型并保存设置。
DSH
0.1.7-rc.1起,插件配置页从「设置 → 插件 → 插件配置」迁移到插件页的行配置 (plugins.row.config,键为dsh-rembg#rembg)。设置值持久化在当前 profile 的cordis.patch.yml中该rembg行下。
GPU 模式需要 NVIDIA GPU、可用驱动和 nvidia-smi;CPU 模式无需 NVIDIA GPU。依赖和模型保存在插件安装目录中,不会修改系统 Python。
使用
在 DSH 中让模型调用:
用 rembg 工具把 /path/to/photo.png 的背景去掉。
工具参数:
rembg(path, model?)
path:输入图片的绝对路径,必填。model:已安装的模型名称,可选,默认使用设置中的模型。
如需查看可用模型,先调用 rembg_models,再使用已安装且校验有效的模型调用 rembg。处理完成后会返回输出文件信息。
卸载
dsh plugin --profile web remove dsh-rembg
Comments
Loading…
Similar plugins
by H-table
DSH 插件:本地 rembg GPU 抠图工具(remove_background)— DeepSeek Harness plugin for background removal with local rembg GPU service
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add @local/dsh-bg-toolby lovstudio
Reusable LLM configuration profile library exposed to browser consumers as a Remote (DeepSeek Harness plugin)
★ 0
JavaScript
Sep 4, 2026
dsh plugin --profile web add @lovstudio/dsh-llm-configby cuddly-guacamole
LLM-assisted auto approval + timeout fallback for the DeepSeek Harness Auto preset
★ 11
↓ 1.2k/wk
BSD-3-Clause
JavaScript
Oct 3, 2026
dsh plugin --profile web add @quill507/dsh-auto-approval-llmby sodakitten
Local-only background plugin for DeepSeek Harness: visual framing, interface transparency, background carousel. Fork of beauticode-dsh.
★ 0
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-bgby poiuyjie
DSH plugin: Auto-convert images to text for pure-text LLMs (DeepSeek etc.) via any vision model. No need to switch your main model.
★ 13
MIT
JavaScript
Sep 9, 2026
dsh plugin --profile web add dsh-vision-opencodeby justhalfbit
DeepSeek Harness (DSH) 会话内图片渲染插件:全局 show_image 工具 + 点击放大 lightbox。 | Inline image rendering plugin for DSH: global show_image tool + click-to-enlarge lightbox.
★ 0
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-plugin-show-image