DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
I

@little-traincar/dsh-imagegen

Imagegen

适用于 DeepSeek Harness 0.2.x 的图像生成工具——由提供商表驱动(Doubao Seedream / Aliyun qwen / 任意 OpenAI 兼容网关 / 本地部署),用户可为每个频道配置模型,无水印,在聊天中内嵌显示。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:little-traincar/dsh-imagegen#0f9f1a7aa4b11321dc7f16eba26cdd8e7df54173
README兼容性版本

兼容性与来源证明

Imagegen 以 @little-traincar/dsh-imagegen 发布,当前版本为 0.4.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/30

版本

0.4.1stable
2026/10/30
0.4.0stable
2026/10/13
0.3.3stable
2026/10/9
查看其余 4 个版本收起版本
0.3.1stable
2026/10/8
0.1.5stable
2026/9/16
0.1.3stable
2026/9/9
0.1.2stable
2026/9/9

相关插件

正在加载相关插件…

最新版
0.4.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/10/30
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Experimental Voice Input Bundle@deepseek-ai/dsh-experimental-voice-input-bundle实验性语音输入,使用本地 SenseVoice;首次使用时下载其运行时Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Image Gendsh-image-gen将类似 ChatGPT 的图像生成功能带到 DeepSeek Harness——支持 Gemini、OpenAI、Seedream、DashScope、本地 ComfyUI 等。Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---

README

dsh-imagegen

English | 简体中文

Image generation plugin for DeepSeek Harness. Registers the generate_image tool so the agent can create images and show them inline in the conversation.

Features

  • Inline images — generated images are attached to the conversation and render directly in chat (plus a same-origin /imagegen/<file> link as a fallback).
  • User-configurable model — every channel's model id is yours to fill in, in Settings. Aliases and per-call overrides included.
  • Open provider table — built-in Doubao Seedream and Aliyun qwen, plus any OpenAI-compatible /images/generations endpoint: gateways, relays, or local deployments (Ollama / vLLM / SD-WebUI / ComfyUI).
  • Watermark-free — watermark: false is sent by default; the switch exists for the models that reject the field.
  • Verbatim in-image text — text you supply is embedded character by character, never reworded.
  • Image-to-image — pass a reference image (URL, absolute local path, or data URI) and describe the change.
  • Saved to disk — every image is written to outDir before it is returned.
  • Several candidates in one call — channels that declare supportsN produce multiple images from a single request.
  • Partial failures survive — if some of the requested images fail, the successful ones are kept and the failures are listed.
  • Requires DSH 0.2.x (0.2.0-rc.2 / 0.2.1-alpha.1).

Installation

Desktop

Launch Desktop once so it creates its profile, then fully quit the application before running the command.

dsh plugin --profile desktop add @little-traincar/dsh-imagegen

Reopen Desktop to load it.

GitHub

Alt text

NPM

Alt text

Web

dsh plugin --profile web add @little-traincar/dsh-imagegen

Restart the web profile to load it.

From GitHub (a specific tag)

dsh plugin --profile desktop add github:little-traincar/dsh-imagegen#v0.3.1

From a local checkout or tarball

dsh plugin --profile desktop add ./
dsh plugin --profile desktop add ./little-traincar-dsh-imagegen-0.3.1.tgz

Configuration

Open Settings → imagegen, fill in an API key for the channel you want to use, then save. Settings are written to the profile's cordis.patch.yml and take effect on the next generation call — no restart.

Built-in providers

ChannelDefault modelAPI key
doubaodoubao-seedream-5-0-pro-260628Volcengine Ark console, or env ARK_API_KEY
qwenqwen-image-3.0-proAlibaba Bailian / DashScope console, or env DASHSCOPE_API_KEY
your ownyou choosesee Custom providers

Custom providers

Any OpenAI-style POST <baseUrl>/images/generations works. Declare it in the Custom providers field:

{
  "local": {
    "baseUrl": "http://127.0.0.1:11434/v1",
    "model": "x/flux2-klein",
    "apiKeyOptional": true,
    "sendWatermark": false,
    "sendPromptExtend": false,
    "size": "1024x1024"
  }
}
FieldDefaultMeaning
baseUrlrequiredbare host gets /v1/images/generations; a /v1 suffix gets /images/generations
modelrequiredfallback model id for this channel
apiKey / apiKeyEnvemptyinline key, or read from the named environment variable; only a custom channel without apiKeyOptional falls back to IMAGE_API_KEY / OPENAI_API_KEY
apiKeyOptionalfalsekeyless endpoints (local deployments) must opt in; once set, no global env fallback happens and no auth header is sent to that endpoint
authHeader / authSchemeauthorization / Bearer auth header name and prefix
size / sizes1024x1024 tierfixed size, or a per-aspect table
sizeSeparatorx* for Alibaba-style sizes
supportsN / maxNfalse / 4several images in one request
sendWatermarktrueset false for models that reject watermark
sendN / sendSeed / sendNegativePrompttrueturn off parameters a model rejects
sendPromptExtendfalsetrue sends prompt_extend:false
imageFieldimagereference-image field; false disables image-to-image
responseFormatb64_jsonor url
extraBodyemptyvendor-private fields

Image URLs in responses

When a gateway returns an image url (or you set responseFormat: "url"), the plugin downloads it with these rules:

  • only http(s); every redirect hop is re-validated, at most 3 hops;
  • if the image endpoint itself is local/private (local deployments, intranet gateways), private image URLs are allowed so SD-WebUI / ComfyUI-style "return a local image URL" services keep working; if the endpoint is public, image URLs pointing at private/loopback/link-local hosts (including cloud metadata addresses such as 169.254.169.254) are rejected (hostnames are DNS-resolved for this check, and a failed lookup is rejected too);
  • downloads are capped at 32MB per image and must be PNG/JPEG (magic-byte check), otherwise nothing is written.

Channels returning b64_json are unaffected.

Models

Each channel's model id is editable, in three places:

  1. Settings → imagegen → Models — one model-id field per channel. Saving it empty clears the override and restores the built-in default. The field writes the canonical models.<channel> key, which takes effect on the next generation call.
  2. Model details (or cordis.patch.yml) — the whole map at once, with optional aliases:
{
  "doubao": "doubao-seedream-5-0-pro-260628",
  "qwen": "qwen-image-3.0-pro",
  "relay/gpt-image": { "id": "gpt-image-1", "label": "Gateway GPT-Image" }
}

A key is either <channel> (that channel's default model) or <channel>/<alias>. An alias can be named in a tool call:

generate_image(prompt="…", provider="relay", model="gpt-image")

The default model may also be written as <channel>/default (equivalent to <channel>). <channel>/model and <channel>/label are historical keys written by the 0.3.1 settings card: they are still read, and saving the settings card migrates them to <channel>; built-in channels no longer expose those suffixes as aliases.

Any other model value is passed through verbatim as a model id. The result reports the provider and model actually used.

Usage

Ask for an image in the conversation — for example: “Draw a summer coffee-shop poster: retro magazine collage, cream yellow and coffee brown, portrait; headline ‘Summer Ice Cafe Festival’, subtitle ‘Half price for the second cup’.”

The agent calls generate_image and the images appear inline. Every image is also written to outDir (default: generated-images under the directory dsh was started in).

Uninstallation

Desktop

Fully quit the application first, then:

dsh plugin --profile desktop remove @little-traincar/dsh-imagegen

Web

dsh plugin --profile web remove @little-traincar/dsh-imagegen

The command removes the bundle from the profile and uninstalls the package; restart the profile to finish unloading it. Generated images under outDir and the imagegen section of the profile's cordis.patch.yml are left in place — delete them yourself if you want a clean sweep.

License

MIT