dickpy/dsh-imagegen
DSH(DeepSeek Harness)Web GUI AI图像生成插件:通过兼容OpenAI的端点(gpt-image-2)实现文生图与图生图,并支持跨设备共享历史记录。
Project Overview项目介绍
This repository is a native AI image generation plugin built exclusively for DeepSeek Harness (DSH). It can be installed directly via the DSH CLI command dsh plugin --profile web add @dickpy/dsh-imagegen, and after installation adds a dedicated image generation tab to the DSH sidebar. It supports a wide range of AI image generation features including text-to-image, image-to-image, continuous dialog-based editing, infinite canvas workflow organization, asset gallery management, and a dedicated mode for generating e-commerce product image sets. It works with dozens of popular image generation APIs, including OpenAI-compatible endpoints and native APIs from X.AI Grok, ByteDance, Alibaba Cloud, and Zhipu.
This plugin is designed for AI artists, e-commerce designers, and DSH developers who want to integrate AI image generation directly into their DSH workflow. Users can either let the DSH agent automatically call the image generation capability during conversations, or open the dedicated image generation tab to create manually. The infinite canvas mode lets users freely arrange prompt nodes, reference image nodes, and generation configuration nodes, connecting them with drag-and-drop to build custom image generation workflows. It also includes built-in tools for image annotation, background removal, and layer splitting to streamline editing.
To use this plugin, you must first have DeepSeek Harness and Node.js 20 or newer installed on your system. All API keys are stored locally on your machine, never sent to the plugin developer’s servers, and the plugin is released under the permissive Apache-2.0 open source license. The only cost associated with using this plugin is the API usage fees charged by your chosen image generation provider. After installation, you just need to add your preferred image generation API endpoint and key in the plugin settings, detect your available models, and you can start generating your first image immediately.
dsh-imagegen 是专为 DeepSeek Harness(DSH)开发的原生 AI 图像生成插件,提供全套 AI 生图功能,包括文生图、图生图、对话式连续编辑、无限画布工作流编排、资产画廊管理,还有专门的电商套图生成模式。它支持接入多种主流生图 API 渠道,包括 OpenAI 兼容接口、通义千问、豆包、Grok 等多种厂商的原生接口。用户可通过 DSH 内置的插件命令行工具一键安装,安装完成后会在 DSH 侧边栏新增专属的生图标签页。
这款插件面向需要在 DSH 工作流中使用 AI 生图的创作者、电商美工和开发人员,支持两种核心使用模式:一是在对话中让 DSH Agent 自动调用生图能力生成图片,二是用户手动打开生图标签页进行自由创作。无限画布模式允许用户自由编排提示词、参考图和生成参数,拖拽连线即可构建生图工作流,还支持对图片进行标注、抠图、图层拆分等操作。
使用该插件需要预先安装 DeepSeek Harness 和 Node.js 20 及以上版本,API 密钥由用户自行配置保存在本地,不会上传到插件服务器。插件采用 Apache-2.0 开源许可证,完全免费使用,生图消耗由用户配置的上游 API 额度。首次使用需要先配置生图渠道的 API 地址和密钥,检测可用模型后即可开始生成第一张图片。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-imagegen(dickpy/dsh-imagegen)
仓库:https://github.com/dickpy/dsh-imagegen
本站详情页:https://www.yhbd.top/plugins/dickpy-dsh-imagegen/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 99 · 最近提交 2026-09-30 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @dickpy/dsh-imagegen
把 dickpy/dsh-imagegen 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-imagegen
在 DeepSeek Harness 里,生成、编辑、管理,一站完成。
快速导航
🚀 快速开始 · 无限画布 · 电商套图 · 文生图 / 图生图 · 模板 / 画廊 · 模型配置 · 👥 QQ 交流群
快速开始
需要已安装 DeepSeek Harness 和 Node.js 20+。
dsh plugin --profile web add @dickpy/dsh-imagegen
安装后重启 dsh web,侧边栏会出现「生图」入口。到「设置 → 生图配置」添加提供方、填写 API 地址与密钥、检测并选择生图模型,保存后即可开始创作。Windows 若遇 PowerShell 脚本策略限制,请使用 dsh.cmd。
其他安装方式、升级与回滚
- **让 Agent 安装:**把上面的安装命令发给 DSH、Codex 或其他 coding agent。
- **指定版本:**使用
@dickpy/dsh-imagegen@<版本号>,或从 GitHub Releases 下载 tgz 后安装。 - **升级:**重复执行
add命令;插件也会在面板中提示新版本。更新后重启dsh web。 - 渠道配置、历史记录和画廊数据保存在 DSH 宿主侧,正常升级不会清空。
核心功能
| 能力 | 用途 |
|---|---|
| 无限画布 | 把提示词、参考图和生成节点连成可迭代的创作流程。 |
| 电商套图 | 从商品参考图生成主图、卖点图、场景图等成套素材。 |
| 文生图 / 图生图 | 使用兼容的生图渠道生成、编辑并比较图片。 |
| 对话与 Agent | 在 DSH 对话中生成图片、继续编辑,并把结果带回会话。 |
| 画廊与历史 | 管理创作结果、模板与标签;在不同设备上接续创作。 |
把文字、图片和生成配置连起来;从历史或画廊加入素材,再继续生成和迭代。
画布、文件节点与技能细节
- 支持图片、文本、生成配置和文件节点;图片节点可标注、移除背景或拆分图层。
- 单个文件最大 50MB;可在画布内预览常见文档、表格、PDF、图片与音视频。
- 内置文本润色、图片描述、内容抽取和图片转可编辑 PPT 等技能;图片转 PPT 不需要另外安装第三方技能或配置 OCR token。
- 图片转 PPT 使用配置的聊天模型理解版式,在本地生成可编辑文字与基础矢量形状;复杂照片或插画可能会简化。
- 也可安装和管理外部技能。重任务技能会启动具有本机文件读写与命令执行能力的无头 Agent;运行前请检查技能来源和权限。
- 旧版第三方
image-to-editable-ppt可继续用于独立 Agent 工作流;它不参与内置图片转 PPT,相关 OCR 或图片后端配置也不是内置流程的前置条件。 - 技能配置格式与安全边界见
docs/skill-config.md。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nexu-io/open-design
Devin-AXIS/iPolloWork
liustack/modlens
Alisa0808/vox-director
EthanYoQ/AI-Novel-Writer
Anionex/agent-vision-toolkit
ysr666/dsh-vision-router
tong-io/tongflow