dickpy/dsh-imagegen ↗★ 116

@dickpy/dsh-imagegen

AI image generation plugin for the dsh web GUI: text-to-image and image-to-image through configurable provider channels (gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3, with native xAI Grok Imagine, Google Nano Banana and ByteDance Seedream request shaping), per-channel model catalogs, a three-column studio beside the native conversation, an infinite canvas with node-graph workflows (annotation boxes with attached prompt cards, local background removal, AI layer split, per-node model choice, file nodes with any-file upload, and a canvas skill system covering skill-driven next steps on every node: text polish, image description, content extraction, and long-running headless-agent pipelines such as image-to-editable-ppt, with a local skill library that installs and removes skills from URLs or uploaded archives), an ecommerce product-set mode and a prompt template library. 适合需要在DSH中调用各类主流API进行AI绘画创作的用户。

Package
@dickpy/dsh-imagegen
Compatibility
Unverified
Version
1.6.9
License
Apache-2.0
Last updated
Oct 14, 2026

Install

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

模型配置

在「设置 → 生图配置」添加渠道,填写 API 地址与密钥,检测并选择生图模型。可配置多个提供方,并设置默认生图模型和可选的提示词增强聊天模型。

支持 OpenAI 兼容的 Images API / Chat Completions,以及 xAI Grok、Google Nano Banana、Seedream、Qwen-Image、GLM-Image、MiniMax 等预置渠道;也可手动添加兼容模型。

接口与渠道补充说明

  • 通用渠道默认自动判断 Images API 与 Chat Completions;也可在设置中手动指定。
  • One-API、New API、LiteLLM 等只暴露 /chat/completions 的网关,可填写完整接口地址并选择对应模型。
  • API 密钥保存在 DSH 宿主设置中;未被自动识别的兼容模型可手动添加。
  • 不同服务商的图生图、尺寸与返回格式可能不同,请确认所选模型实际支持的能力。