dickpy/dsh-imagegen 预览 preview

dickpy/dsh-imagegen

Plugin插件 Native原生 ⭐ 99 Apache-2.0 Vision & Media视觉与多媒体

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 地址和密钥,检测可用模型后即可开始生成第一张图片。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • 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

npm   npm total downloads   License   Platform

在 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 →

← 上一个 Prev dsh-strata 下一个 Next dsh-acp-interactive →