fandc520/dsh-comfyui ↗★ 121

dsh-comfyui

Let the DeepSeek Harness agent smartly drive a local or remote ComfyUI to generate anything, with workflow and asset management panels, per-workflow skill packs, a companion skill and a same-origin media proxy. / 让 DeepSeek Harness 的 Agent 智能驱动本地或远程 ComfyUI 生成任何内容。附带工作流、资产管理面板与技能包管理挂载。配套 skill 与同源媒体代理。 适合需要让 Agent 驱动本地或远程 ComfyUI 进行图像/视频生成的开发者。

Package
dsh-comfyui
Compatibility
Unverified
Harness peer range
^0.1.2-alpha.4 || ^0.1.5-alpha.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.2.0-alpha.1 || ^0.2.1-alpha.1
Cordis peer range
^4.0.1
Version
0.5.5
License
MIT
Last updated
Oct 18, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fandc520/dsh-comfyui

使用

直接告诉 Agent,例如:

  • "用 ComfyUI 画一张红猫的图"
  • "把这幅图转成赛博朋克风格"
  • "把加载区这张动漫图转成真人照片,分辨率跟原图一致"
  • "生成一段 5 秒的短视频:日落下的城市"
  • "用我之前在 ComfyUI 里保存的 Krea-Afterlight 跑一下"(若该图还没提取,Agent 会转告你先去面板点提取)

远程 ComfyUI 若位于需鉴权的代理之后,通过凭据存储或 apiKeyEnv 指定的环境变量(默认 COMFYUI_API_KEY)提供密钥,绝不发给浏览器。

配置

cordis.yml 的 comfyui 段(多数可在设置页改):

键默认值说明
baseUrlhttp://127.0.0.1:8188ComfyUI 服务器地址
apiKeyEnvCOMFYUI_API_KEY可选 API Key 的环境变量 / 凭据名
dataDir(DSH 数据目录)工作流库与资产索引存放位置
comfyuiDirs[]本机 ComfyUI 安装目录列表(可多条),Agent 据此定位 models、自定义节点、TTS 音色库
outputDir''(自动推断)ComfyUI 输出目录(删除资产时定位文件用)
mediaHost''(自动检测)生成媒体的外网访问基址
skillsDir''(默认 dataDir/skills)技能包根目录(绝对路径,可放同步盘 / 版本库)