QXingYShu/dsh-comfyui-image ↗★ 0
dsh-comfyui-image
Drive a local ComfyUI image workflow (Z-Image-Turbo, Qwen-Image-2.1) from DeepSeek Harness 适合需要在对话中直接调用本地ComfyUI进行图像生成的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:QXingYShu/dsh-comfyui-imageドキュメント
README 全文を読む ↗Configuration
All optional. Set environment variables, or just rely on the defaults.
| Variable | Effect |
|---|---|
DSH_COMFY_PORT | Force one port for every workflow (default: probe 8188–8192) |
DSH_COMFY_PORT_Z_IMAGE_TURBO | Force a port for Z-Image-Turbo only |
DSH_COMFY_PORT_QWEN_IMAGE_2_1 | Force a port for Qwen-Image-2.1 only |
DSH_COMFYUI_PATH | Point at a manual ComfyUI checkout instead of Comfy Desktop |
DSH_ZIMAGE_MODELS | Override Z-Image-Turbo model file names (JSON) |
DSH_QWEN_IMAGE_MODELS | Override 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