dsh-plugin-image-gen
Run the following command in DeepSeek Harness:
dsh plugin install tuofangz/dsh-plugin-image-gen
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install tuofangz/dsh-plugin-image-gen in your terminal to install the plugin; full source is available at https://github.com/tuofangz/dsh-plugin-image-gen. Source: https://github.com/tuofangzhe/dsh-plugin-image-gen
About this plugin
In DeepSeek Harness conversations, text models cannot produce images on their own, and external drawing APIs lack integration with the Harness workspace, credential service, and multimodal attachment pipeline. dsh-plugin-image-gen fills that gap: it exposes an OpenAI-compatible generate_image tool that makes a single synchronous POST /images/generations call, writes every returned image to the current session workspace, and—when conditions allow—stores an attachment reference so a vision-capable dialogue model can read the result directly.
The plugin supports declaring multiple provider routes, specifying a default model and an optional model allowlist, choosing the return encoding (png, jpeg, or webp), and setting per-call and per-image byte limits along with timeout margins. Credentials are referenced by POSIX identifier through the DSH credential service and resolved on every call without caching; with no providers configured the plugin stays dormant and registers no tool. File output uses Node local-filesystem exclusive creation for a balance of safety and simplicity.
It suits developers who have already built multimodal dialogue flows inside the DSH ecosystem, as well as teams that want reliable image generation behind a single minimal configuration in their own Harness profiles.
Use Cases
- Generate images inline during Harness conversations and save them to the session workspace
- Supply image input to multimodal dialogue models via attachment references
- Switch between multiple image generation backends through provider route configuration
Best For
- Developers building multimodal dialogue flows inside the DSH ecosystem
- Teams looking to integrate image generation into their Harness profiles with minimal setup
- Engineers who need a unified OpenAI-compatible image API integration layer
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.