@dsh-external/dsh-comfyui
ComfyUI 驱动器插件,采用 AI-first 合同制,支持文生图、图生图、文生视频和图生视频模板,具备双重预检防幻觉及节点活体判定功能。
AI 分析
核心用途是让 AI 驱动 ComfyUI 进行多媒体生成。适合需要将 AI 绘画/视频工作流集成到 DSH 助手中的用户,需本地或局域网部署 ComfyUI 服务器。
安装
$
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.