yuehancn/dsh-tool-comfyui ↗★ 0
dsh-tool-comfyui
在聊天中直接调用本地或局域网的绘图 适合需要在 DSH 中直接调用 ComfyUI 进行 AI 绘图任务的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yuehancn/dsh-tool-comfyui說明文件
閱讀完整 README ↗配置机队
在 profile 的 cordis.patch.yml 覆盖插件行:
- id: tool-comfyui
config:
workers:
- id: local5090
url: http://127.0.0.1:8188
label: RTX 5090D 主力机
- id: spark5060
url: http://192.168.11.109:8188
label: 5060 Ti 素材机 A
workflowsDir: /workflows
outputDir: C:/Users//Pictures/comfyui
defaultWorkflow: txt2img
maxBatchSize: 8
timeoutMs: 900000
加机器 = 往 workers 追加一项。
配置项
| 键 | 默认 | 说明 |
|---|---|---|
workers[] | 必填 | 机队。每项 {id, url, label?, timeoutMs?} |
workflowsDir | workflows | 命名工作流模板目录(.json → 模板名) |
defaultWorkflow | txt2img | 不传 workflow 时用哪个 |
timeoutMs | 600000 | 单次调用的协作超时预算 |
pollIntervalMs | 2000 | 轮询 /history 的间隔 |
outputDir | comfyui-output | 成图落地目录 |
generate / status / queue | true | 分别开关三个工具 |
maxBatchSize | 8 | 单次最多出几张 |