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 zoyluoblue
Wallpaper theming plugin for DeepSeek Harness (dsh): upload images in Settings and use one as the web UI background, with readability veil, blur, and fill controls
★ 0
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add @zoytown/dsh-avatarby iasiv5
DSH 插件市场:Marketplace for DeepSeek Harness plugins · dsh-m
★ 34
↓ 9.1k/wk
MIT
JavaScript
Nov 19, 2026
dsh plugin --profile web add dsh-mby sodakitten
Local-only background plugin for DeepSeek Harness: visual framing, interface transparency, background carousel. Fork of beauticode-dsh.
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-bgby 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 marlonLau
One-click DSH background switcher backed by local Wallpaper Engine images/videos
★ 3
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add @marlonlau/dsh-wallpaper-engine