QXingYShu/dsh-comfyui-image ↗★ 0

dsh-comfyui-image

在本地驱动ComfyUI图像生成工作流 适合需要在对话中直接调用本地ComfyUI进行图像生成的开发者。

包名
dsh-comfyui-image
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月2日

安装

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

Configuration

All optional. Set environment variables, or just rely on the defaults.

VariableEffect
DSH_COMFY_PORTForce one port for every workflow (default: probe 8188–8192)
DSH_COMFY_PORT_Z_IMAGE_TURBOForce a port for Z-Image-Turbo only
DSH_COMFY_PORT_QWEN_IMAGE_2_1Force a port for Qwen-Image-2.1 only
DSH_COMFYUI_PATHPoint at a manual ComfyUI checkout instead of Comfy Desktop
DSH_ZIMAGE_MODELSOverride Z-Image-Turbo model file names (JSON)
DSH_QWEN_IMAGE_MODELSOverride Qwen-Image-2.1 model file names (JSON)

Override the model names when your weights differ from the defaults, e.g. if you quantised Qwen-Image-2.1 yourself:

export DSH_QWEN_IMAGE_MODELS='{"unet_name":"qwen_image_2.1_fp8.safetensors","clip_name":"qwen3vl_8b_fp8.safetensors","vae_name":"qwen_image_2.1_vae_bf16.safetensors"}'

Usage from a session

draw a small green plant in a terracotta pot, soft window light, photograph

The agent loads the comfyui-image skill, picks Z-Image-Turbo for a draft, and saves the result under ./generated-images/.

Ask for more control when you want it:

use qwen-image-2.1 to make a 16:9 poster that says "DEEP DIVE" in bold letters above a stylised submarine, screen-print texture, negative prompt: blurry text