dickpy/dsh-imagegen2

@dickpy/dsh-imagegen

AI 生图 (image generation) plugin for the dsh web GUI: text-to-image and image-to-image through a configurable OpenAI-compatible endpoint (gpt-image-2 / gpt-image-1 / dall-e-3), with a settings card for api_url / api_key and a sidebar entry opening a split-pane generation studio.

AI 分析

核心用途是为 DSH 引入 AI 绘画能力。适合需要在对话中快速生成图片或使用独立生图面板的用户。需要用户自行配置兼容 OpenAI 的生图 API 密钥。

パッケージ
@dickpy/dsh-imagegen
バージョン
1.0.0
ライセンス
Apache-2.0
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dickpy/dsh-imagegen

ドキュメント

README 全文を読む ↗

独立配置卡片

在 DSH 的“设置 -> 插件 -> 可配置”中填写 API 地址和密钥。密钥只保存在宿主侧设置文件,浏览器端不会获取明文。

插件配置卡片

配置 API

打开 DSH 的“设置 -> 插件 -> 可配置”,展开 AI 生图 (dsh-imagegen)

配置项说明
api_urlOpenAI 兼容接口根地址,例如 https://api.openai.com/v1。插件会自动追加接口路径。
api_keyBearer API 密钥。界面仅显示是否已配置;输入新值可覆盖,清空后保存可删除。
启用插件关闭后生图工作台不可用,设置卡片仍可用于重新启用。
向 Agent 播报开启后,将插件能力写入 Agent 系统提示词。

配置完成后,从 DSH 侧栏打开“AI 生图”即可开始使用。