whiteS18/dsh-image-generation0

dsh-image-generation

DSH 生图插件:在设置中配置多个生图供应商/模型,并在对话中通过 image_generate 调用当前选中的模型。

包名
dsh-image-generation
版本
0.1.0
许可证
MIT
最近更新
2026年9月9日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:whiteS18/dsh-image-generation

使用

  1. 打开 设置 → 生图配置,添加供应商和模型,填 Base URL / API 格式 / API Key,点保存。
  2. 打开 设置 → 插件 → 插件配置,展开 图形生成,选择刚才配置的某一个模型并保存。
  3. 在对话里让 Agent 生图,它会调用 image_generate

可选参数:prompt(必填)、size1024x1024 / 1024x1536 / 1536x1024 / auto)、qualitylow / medium / high / auto)、referenceImages(1–5 张已有图片引用,用于编辑;本地文件先 read_image)。