@dsh-external/dsh-comfyui
ComfyUI 驱动器(AI-first 合同制):模型只见合同槽、不见工作流 JSON。文生图/图生图/文生视频/图生视频模板,双重预检防幻觉,官方/自定义节点活体判定。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zeroa234/dsh-comfyui说明文档
阅读完整 README ↗配置 · Configuration
| 配置项 Option | 默认 Default | 说明 Description |
|---|---|---|
baseUrl | http://127.0.0.1:8188(patch 覆盖为局域网地址) | ComfyUI 服务器 |
templatesDir | 包内 templates/ | 合同 + 工作流 JSON |
outputDir | E:\agent\output\comfyui | 成品目录(按 prompt_id 分子目录) |
覆盖方式(profile 的 cordis.patch.yml 或预设配置)· Override in the profile's cordis.patch.yml or a preset config:
- id: dsh-comfyui
name: '@dsh-external/dsh-comfyui'
config:
baseUrl: 'http://192.168.0.103:8188'
outputDir: 'E:\agent\output\comfyui'
另有浏览器设置页(设置 → ComfyUI):改地址、LoRA 触发词(mode=仅模型 不写进提示词,适合 turbo)、导入工作流(API Format JSON,默认只扫描预览)。user-settings.json 保存在 templates/ 下。
A browser settings page (Settings → ComfyUI) manages the address, LoRA trigger words (model-only mode keeps words out of the prompt, good for turbo), and workflow import (preview-only by default), persisted to templates/user-settings.json.