dsh-image-gen: A DSH plugin that brings in-conversation image generation to DeepSeek Harness
shanliuling/dsh-image-gen
Multi-provider image generation plugin for DeepSeek Harness, enabling in-chat image creation.
Enable DeepSeek Harness to generate images directly in conversations, just like ChatGPT, with support for Gemini, OpenAI, and Seedream models.
dsh plugin --profile web add github:shanliuling/dsh-image-gen- Category
- Tools & Capabilities
- Platform
- DSH-Plugin
- Author
- shanliuling
- Distribution
- Plugin
dsh-image-gen Key Features
dsh-image-gen Repository

dsh-image-gen Repo Summary
dsh-image-gen is a native image generation plugin (DSH plugin) for DeepSeek Harness, maintained by shanliuling under the MIT license. It aims to let DeepSeek Harness generate images directly in conversations, just like ChatGPT. By integrating Google Gemini, OpenAI Images, OpenAI Compatible API, and ByteDance Seedream / Volcengine Ark, it solves the lack of multimodal image generation capability in DSH. The plugin supports BYOK (Bring Your Own Key), with API keys managed via DSH's credentials service, ensuring no plaintext storage on the frontend. Generated images are saved with the conversation, so they remain visible when reopening historical sessions.
What core features does the dsh-image-gen DSH plugin support?
- Generate images directly in conversations: no need to switch websites or manually copy prompts; just tell the Agent what to draw.
- Multi-provider support: Google Gemini (default model gemini-3.1-flash-image), OpenAI Images (gpt-image-2), OpenAI Compatible API (custom endpoint), and ByteDance Seedream / Volcengine Ark (doubao-seedream-5-0-260128).
- Native settings UI: Provider, API key, model, and endpoint can be modified in the DSH Web settings without editing config files.
- Images persist with conversations: results integrate with DSH's Attachment / Conversation system, so images remain in history.
How to install dsh-image-gen?
Run the following command in the DeepSeek Harness project root to install and register the plugin:
dsh plugin --profile web add github:shanliuling/dsh-image-gen
After installation, go to the DSH Web page (default http://localhost:3080), navigate to Settings → Plugins → Image generation, select a provider, fill in the API key, and save. Then you can start generating images in conversations.
Which DeepSeek Harness versions and platforms are compatible with dsh-image-gen?
The plugin is developed in TypeScript and depends on official @deepseek-ai/dsh-* packages, including dsh-attachment, dsh-credentials, dsh-tools, etc., ensuring deep integration with DeepSeek Harness. It supports installation via pnpm or global dsh commands, as well as direct installation from a Git repository or local source for development. The plugin was last updated on 2026-08-18, with 1 star, but is feature-complete, suitable for DSH users needing multimodal image generation.
How to configure and use dsh-image-gen?
After configuring the API key, simply type a prompt like "Generate a minimalist modern architecture living room illustration" in the chat box, and the Agent will automatically call the generate_image tool and return the image. The plugin supports OpenAI Compatible API with custom Base URL, making it easy to connect other compatible services. For development, you can run pnpm install, pnpm run typecheck, pnpm run test, and pnpm run build.