MIT-licensed native DeepSeek Harness plugin for in-chat image generation — generate_image tool, native gallery, multi-provider BYOK (Gemini / OpenAI / Seedream), credentials stored write-protected.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-08-24
License
MIT
01What can it help you accomplish?
Generate images directly inside DeepSeek Harness chats by telling the Agent what to draw
Images rendered inline in the conversation stream via the generate_image tool, plus a native gallery collecting all generated images
DeepSeek Harness users who want ChatGPT-style in-chat image generation without leaving the conversation or pasting prompts elsewhere
02How to install into DeepSeek Harness
Prerequisites
- A DeepSeek Harness (dsh) project with the dsh CLI available — the README instructs running commands from the project root
- Your own API Key for a supported image provider (BYOK) — entered in DSH Settings, not in source
Installation steps
- 01
Run `pnpm dsh plugin --profile web add dsh-image-gen@latest` in your DeepSeek Harness project root (or `dsh plugin --profile web add dsh-image-gen@latest` if dsh is global)
$ dsh plugin --profile web add dsh-image-gen@latest
- 02
Open the DSH Web page (default http://localhost:3080), go to Settings → Plugins → Image generation, pick a Provider, enter your API Key, and click Save
Verify the integration
- Send a prompt such as '帮我画一张雨夜霓虹街头的赛博朋克猫咪' and confirm the Agent auto-calls generate_image and returns an image in the current conversation
03DSH integration and capability boundaries
Native DSH plugin that registers a generate_image tool the DeepSeek Harness Agent auto-invokes inside the conversation stream
In-chat image generation via generate_image
A natural-language prompt sent to the DeepSeek Harness Agent→An image returned directly in the conversation stream
Native image gallery
Conversation history with generated images→A top-bar [画廊] Tab that aggregates, searches, and lets you copy/download all generated images
Interactive image tools
Generated image→Full-screen preview, copy-to-clipboard, local download, and open-in-new-tab
Multi-provider support
Provider, model and Endpoint configured in DSH Settings→Images from Google Gemini, OpenAI Images, OpenAI Compatible API, or ByteDance Seedream / Volcengine Ark
BYOK key management
Your own provider API Key→Key stored through DeepSeek Harness credentials service with write-protected isolation, never in source or plain-text in the frontend
Images follow the conversation
Generated image→Result attached to DeepSeek Harness Attachment / Conversation system and visible when reopening history
04Who is it for? When not to use it?
Good for
- DeepSeek Harness users who want ChatGPT-style in-chat image generation without leaving the conversation or pasting prompts elsewhere
Not for
- The plugin is BYOK: it uses your own provider API Key, so you must supply a key for one of the supported providers and bear any provider billing — the plugin ships no built-in model access.
05Compatibility, maintenance and safety notes
- The plugin is BYOK: it uses your own provider API Key, so you must supply a key for one of the supported providers and bear any provider billing — the plugin ships no built-in model access.
- Image generation calls remote provider endpoints (e.g. generativelanguage.googleapis.com, api.openai.com, ark.cn-beijing.volces.com), so network access to the chosen provider is required.
MIT · actively maintained (latest release v0.1.3, 2026-08-19)
06Frequently asked questions
How do I install dsh-image-gen into DeepSeek Harness?
From your DeepSeek Harness project root run `pnpm dsh plugin --profile web add dsh-image-gen@latest` (or `dsh plugin --profile web add dsh-image-gen@latest` if dsh is installed globally). You can also install straight from the GitHub repo or a local clone.
Do I need my own API key?
Yes — the plugin is BYOK. After install, open the DSH Web page, go to Settings → Plugins → Image generation, choose a Provider, paste your API Key and click Save. The key is managed by DeepSeek Harness credentials with write-protected isolation and is never stored in plain text in the frontend.
Which image providers are supported?
Google Gemini (gemini-3.1-flash-image), OpenAI Images (gpt-image-2), any OpenAI-Compatible API with a custom Base URL, and ByteDance Seedream / Volcengine Ark (doubao-seedream-5-0-260128). Provider, model and Endpoint are all editable in Settings.
Where do generated images show up?
Images appear inline in the current conversation, and every generated image is aggregated in the top-bar [画廊] Tab where you can search by keyword, filter by provider, and copy or download. Results also stay attached to the conversation so they remain visible when you reopen history.
Does it work without leaving the chat?
Yes. You just tell the Agent what to draw (for example, 'Generate a minimalist modern living-room illustration') and it auto-calls generate_image and returns the image in the conversation stream — no switching to another site and no manual prompt copying.
07Related DSH workflows
modlens
by liustack
Vision bridge for text-only models: paste an image, get structured JSON evidence (OCR, layout, semantics).
agent-vision-toolkit
by anionex
Vision toolkit and skills that give text-only LLMs eyes — multi-image understanding, image Q&A, OCR, frontend UI restoration and GUI automation, with optional agent integration.
dsh-vision-router
by ysr666
Eyes for text-only DeepSeek Harness agents: built-in free vision chain (no key) + pixel-level vision tools (Q&A, grounding, crop, pixel diff, colors, OCR, SVG trace, cutout, screenshots). One-command install, no Python, image turns work like ordinary tool-calling turns.
dsh-vision-toolkit
by anionex
为纯文本 DSH Agent 提供 10 个结构化视觉工具:意图感知图片问答、长截图 OCR、原始像素 grounding、UI 还原、像素 diff 等
08Data and sources
**`dsh-image-gen` 是专为 DeepSeek Harness (DSH) 打造的开源图像生成插件。**
Agent 会自动调用 <code>generate_image</code>,生成图片并直接显示在当前对话中。
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-24. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
