AI Agent Hub
Back to plugins
dsh-bg-tool preview

dsh-bg-tool

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install H-table/dsh-bg-tool

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install H-table/dsh-bg-tool inside DeepSeek Harness to install the plugin; source is available at https://github.com/H-table/dsh-bg-tool .

About this plugin

Processing images inside a DeepSeek Harness chat usually means dragging a file out, opening an external tool, and dragging the result back in. DSH BG Tool collapses that loop into the conversation itself: paste an image, say “remove the background,” and the Agent invokes a local rembg service, writes a transparent PNG back to the workspace, and hands you the path—all without leaving Harness.

Under the hood the plugin ships three model tiers on BiRefNet and u2netp—general for arbitrary objects and product shots, portrait for hair edges and ID-photo precision, and fast for quick drafts—all running in fp16 on your local GPU. A hot call takes roughly 0.7–1 second (RTX 3070), there is no API key, no paid quota, and it works fully offline. The background server is spawned and reclaimed automatically with the DSH lifecycle; first model load into VRAM costs about 7 seconds, after which every call is warm.

If you routinely need background removal inside a chat workflow and prefer to keep sensitive assets on your own machine, this plugin turns the task into a single Agent instruction. All three model bindings, the output directory, and the auto-start toggle are exposed in an official-style config card, so swapping in an alternative segmentation model is a dropdown change, not a rebuild.

Screenshots

Use Cases

  • Paste a product photo in chat and get a transparent PNG output directly
  • Batch-process ID-photo portraits with hair-precision edge retention
  • Generate design drafts offline without network access or API keys

Best For

  • Developers and designers who need image processing inside a DSH chat workflow
  • Teams with strict data-privacy policies that disallow uploading images to third-party services
  • Individual users with an NVIDIA GPU who want free, offline background removal