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.

包名
@dickpy/dsh-imagegen
版本
1.0.0
许可证
Apache-2.0
最近更新
2026年8月16日

安装

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

独立配置卡片

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

插件配置卡片

配置 API

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

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

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