dsh-comfyui

DSH PLUGIN娱乐与实验

仓库 prophetcrab/dsh-comfyui

娱乐与实验 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-comfyui 是 prophetcrab 维护的 娱乐与实验 类 DSH 可安装插件, 仓库为 prophetcrab/dsh-comfyui,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-comfyui 是娱乐与实验类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类娱乐与实验 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-10-28 创建于 2026-10-28
README 13.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:prophetcrab/dsh-comfyui#v0.8.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

娱乐与实验
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

视觉识别

上游标签

comfyuidshdsh-pluginfluxkreatext-to-image

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在娱乐与实验场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-comfyui当前 L5 · 运行验证通过 低风险 0 未标注 有
petdex L4 · 沙盒安装通过 低风险 4,211 0.1.1-rc.2 有
zhuzhiliao L4 · 沙盒安装通过 低风险 2,880 未标注 有
dsh-tavern L4 · 沙盒安装通过 待扫描 822 0.1.1-rc.2 有
dsh-game-studio L4 · 沙盒安装通过 低风险 554 未标注 有
oh-story-dsh L4 · 沙盒安装通过 低风险 477 未标注 有

仓库档案

娱乐与实验
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方prophetcrab仓库 dsh-comfyui · 默认分支 main
分类娱乐与实验game
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-28 · 2026-10-28最后推送 2026-10-28
本站收录2026-10-30首次进入本站目录的时间

README 全文

13.0 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-comfyui

Local ComfyUI text-to-image for DeepSeek Harness.

  • Generation panel (sidebar entry + main panel): prompt box, Krea-tuned prompt optimizer, size/steps/guidance/seed,
    live progress, last result, and an on-disk gallery.
  • Auto-start: probes 127.0.0.1:8188 and starts ~/tools/ComfyUI/run.sh when nothing answers.
  • Chat tool image_generate: the agent generates images into the conversation and copies them into the
    workspace generated/ folder.
  • Model discovery: reads ComfyUI's /object_info, so GGUF (UnetLoaderGGUF + CLIPLoaderGGUF) and
    regular UNETLoader/CLIPLoader installs both work. The bundled preset is Krea 2 Turbo (GGUF Q4 +
    Qwen3-VL text encoder + Qwen-Image VAE).

Environment

The plugin drives a local ComfyUI; nothing is bundled. A full checklist — ComfyUI install, the three
custom nodes, the Krea 2 model files, the LoRAs each feature needs, verification commands and known
traps (FP8 on Apple Silicon, missing OpenCV, slow Hugging Face downloads) — lives in
SETUP.md. Short version:

./scripts/download-models.sh   # 7.0 GB GGUF + 8.3 GB text encoder + VAE
./scripts/download-loras.sh    # optional style LoRAs

Install into a DSH profile

cd ~/.dsh/profiles/
# 1. install the package (verified form: pnpm add "@file:")
pnpm add "dsh-comfyui@file:$HOME/project/dsh-comfyui"
# 2. append the row below to cordis.patch.yml
# 3. reload it (touch cordis.patch.yml, or restart the app), then refresh the page

The row in cordis.patch.yml:

- insert:
- id: comfyui
name: dsh-comfyui

First start may take a while: the plugin probes 127.0.0.1:8188, starts
/run.sh when nothing answers, then loads ~15 GB of weights on the first job.

Panel quick tour

Sidebar → ComfyUI 生图. Write an idea, optionally press 优化提示词 (rules or model rewrite), pick a
preset and size, then 生成. While it renders you get step progress, elapsed time and a 停止 button;
the panel keeps its draft and in-flight job if you switch pages. Finished images land in the gallery below
(hover a thumbnail → 删除 removes the file, second click confirms). Chat generations additionally copy
into /generated/.

Pixel game assets

Pick the 像素游戏资产 preset in the panel (or pass style: "pixel" / pixel_asset: true) to produce true pixel-art sprites:

  1. a Krea 2 pixel LoRA (e-n-v-y/Krea-2-Pixel-Art, 32/64/128 variants) renders a 1024² sheet,
  2. Krea2PixelArtRefiner collapses it onto the requested logical grid and reduces the palette
    (needs envy-ai/ComfyUI-Krea2-Pixel-Art-Refiner plus opencv-python-headless),
  3. the gallery asset really is 32/64/128/256 px — not a downscaled illustration. The raw 1024²
    render is never saved anywhere,
  4. a second refiner expands that same collapsed grid back to 1024² with hard blocks
    (scale_to_original: true). This block PNG is the preview: the gallery and the chat show it
    (larger than 64 px, still crisp pixel art), while the small sprite stays the downloadable asset.
    It lands next to the sprite as .preview.png and gallery.json links it as preview.

The host also refuses to store a "pixel" job whose image is larger than the requested sprite size, so a
graph change can never quietly put a smooth 1024² render in the pixel slot.

Panel options: sprite size (32/64/128/256) and palette size (2–256, default 24). Tool:
image_generate({ prompt: "a wooden treasure chest", pixel_asset: true, asset_size: 64, palette_colors: 24 }).

Reference images (image + text)

krea2-turbo can take a reference image, wired through the Krea 2 edit path:

mode LoRA use
identity krea2_identity_edit_v1_1_r64.safetensors keep a character / persona consistent
style krea2_style_reference.safetensors copy the look of a picture

Install requirements once:

cd ~/tools/ComfyUI
git clone https://github.com/ostris/ComfyUI-Krea2-Ostris-Edit.git custom_nodes/ComfyUI-Krea2-Ostris-Edit
# LoRA files land in models/loras/

Panel: upload a reference in the 参考图 card, pick 人设 / 风格, then generate. Chat tool:
image_generate({ prompt, reference: "/path/to/portrait.png", reference_mode: "identity" }).

Output size defaults to 跟随参考图 (Kontext scale to ~1MP); pick a concrete size in the size dropdown to
override it. Each generation costs more: the edit LoRA plus vision encoding make a step noticeably slower
than plain text-to-image on Apple Silicon (~50-60 s per step here).

Presets

The panel offers exactly two presets, shown side by side in one 预设 card:

preset id what it does
画师风插画 illustration finished digital illustration in a distinctive artist style — linework, brushwork, deliberate palette
像素游戏资产 pixel true sprites: rendered at 1024² through the pixel LoRA, then collapsed to 32–256 px with a small palette

The list is a single registry (STYLES in lib/prompt.js): the panel tiles, the image_generate
style enum and the rule-mode facets all read it, so adding a preset is one entry there (plus, if you
want a custom mark, one branch in PresetGlyph in client.js). Tile captions come from the blurb
field, localised through { zh, en }.

画师风格(illustration 的子选项)

Picking 画师风插画 reveals a chip row under the two tiles: 通用 plus 14 artist references
(新海诚、吉卜力、京阿尼、米山舞、望月けい、村田莲尔、天野喜孝、安倍吉俊、CLAMP、Ilya Kuvshinov、WLOP、
loundraw、鸟山明、荒木飞吕彦). An artist is one record in ARTISTS (same file): its fragment replaces
the generic illustration style sentence, short is the chip label, zh/en the tooltip. 通用 means no
artist. The pixel preset ignores the artist row entirely.

These are style hommages, not attribution: some artists object to AI imitation, so treat them as
references for personal work and never present the output as theirs.

Chat tool: image_generate({ prompt, style: "illustration", artist: "shinkai" }), or artist: "ghibli"
and so on; omit artist for a generic illustration.

画风 LoRA(二次元向)

Under the look row there is a 画风 LoRA row listing the official Krea 2 style LoRAs that are actually
installed in models/loras. Picking one patches the UNET (LoraLoaderModelOnly) and appends that LoRA's
official trigger word to the prompt — the same recipe as the ComfyUI Krea 2 template.

chip file trigger word look strength
赛璐璐日间动漫 cel-shaded-daytime-anime-comfy cel shaded daytime anime style 现代 TV 动画赛璐璐(社区,fal 系列) 1.0 (1.0-1.25)
复古动漫 krea2_retroanime purple retro anime style 90s cel anime, purple palette 1.0
艺术水彩 krea2_softwatercolor art deco watercolor style art-deco watercolour 1.0
水墨笔触 krea2_darkbrush monochrome ink wash style sumi ink wash 1.0
点阵网点 krea2_dotmatrix monochrome stippling style halftone stippling 1.0
霓彩流挂 krea2_neondrip textured abstract style neon drips 1.0
雨窗 krea2_rainywindow rainy window style rain on glass 1.0
暮色残影 krea2_sunsetblur ethereal motion blur style long-exposure blur 1.0
复古塔罗 krea2_vintagetarot vintage tarot style tarot illustration 1.0
童趣速写 krea2_kidsdrawing naive expressive sketch style crayon sketch 1.0

Trigger words and the 1.0 strength come from the official Comfy-Org/Krea-2 card; 赛璐璐日间动漫 is a
community LoRA (ilkerzgi/krea-2-cel-shaded-daytime-anime-lora,
trained on Krea 2 Turbo, Krea 2 Community License — commercial use needs your own check). Only installed
files show up as chips (/object_info decides), so the row stays honest.

./scripts/download-loras.sh            # 二次元四件套: celanime + retroanime + softwatercolor + darkbrush
./scripts/download-loras.sh all        # all ten (5.3 GB); the chips row then shows every one

Trigger words and the 1.0 strength below are checked against the official Comfy-Org/Krea-2 model card;
only files that exist in models/loras become chips, so an un-downloaded row simply stays hidden.

Do not put krea2_turbo_lora_rank_64_bf16.safetensors on the Turbo checkpoint: it is the
Raw→Turbo distillation delta, meant for krea2_raw (it rewrites the same capability that Turbo already
has). It is deliberately absent from the panel's LoRA list.

Strength is editable next to the row (0-1.5). Official guidance is 1.0; drop to ~0.6-0.8 when a named
artist prompt should dominate over the LoRA's own look.

Chat tool: image_generate({ prompt, style: "illustration", artist: "anime", lora: "retroanime" }).

Sampling defaults follow the installed model, not the plugin config: Krea 2 Turbo is 8 steps at CFG 1
(euler / simple, straight from the official ComfyUI Krea 2 template), and the panel locks the guidance
field because CFG 1 means it cannot have any effect. LoRAs do not need extra steps — the official LoRA
cards say their previews were rendered on Turbo at 8 steps, weight 1.0.

二次元尺寸与提示词

  • Sizes are the official Krea 2 1K tiers: 1024², 4:5 928×1152, 2:3 832×1248, 9:16 768×1376,
    4:3 1184×896, 3:2 1248×832, 16:9 1376×768, 2.35:1 1568×672, plus 512/768 drafts and a 2K
    tier (1440×1440, 2048×1152). Anime portraits work best from 832×1248 / 928×1152.
  • The model is trained for 1K-2K and the official guidance is to render natively at the target size —
    there is no hires-fix stage here. On this Mac a 1K render is minutes and a 2K render is roughly ten
    times that, so 2K is a "final render" switch, not a default.
  • Write the medium explicitly, because Krea 2 leans photographic otherwise: anime illustration,
    crisp cel-shading, flat shading, 1990s cel animation, detailed digital painting.
  • No negative prompt: at CFG 1 the negative branch is skipped. (word:1.2) weighting also does not
    apply (the Qwen3-VL encoder reads whole sentences); move the important phrase earlier instead.
  • LoRA trigger words are appended at the end of the prompt, which is exactly where the official and
    community cards say to put them.

Prompt modes (rules / llm / auto / off) are unchanged; rules assembles subject + medium +
lighting + perspective + texture + orientation, llm rewrites the idea as one English paragraph aimed at
the selected preset (no photographic-realism cues for pixel).

mode what happens
rules deterministic facet assembly, no model call
llm one completion rewrites the idea as one English paragraph for the preset
auto llm when the configured model is available, otherwise rules
off the prompt is sent as written

Configuration

- insert:
- id: comfyui
name: dsh-comfyui
config:
comfyRoot: ~/tools/ComfyUI
comfyUrl: http://127.0.0.1:8188
autoStart: true
provider: deepseek-account  # LLM used ONLY for prompt rewriting
model: deepseek-flash       # that LLM's model id (not the image model)
optimize: auto              # auto | llm | rules | off
defaultModel: krea2-turbo   # image preset; auto-detected, rarely needs setting
steps: 8                    # fallback only: the model preset wins
guidance: 0                 # fallback only: locked at CFG 1 for Krea 2
width: 1024                 # fallback when the request has no valid size
height: 1024
saveToWorkspace: true
workspaceSubdir: generated
timeoutMs: 900000           # per-image deadline

provider / model configure the prompt-rewrite LLM; defaultModel picks the image preset. Model files are
auto-detected from /object_info; override with unetName, clipName, clipLName, vaeName if needed.

Notes

  • Krea 2 Turbo renders 8 steps at CFG 1 (euler / simple). Measured here, 24 GB M5: ~20 s per step for plain
    text-to-image (~3 min per 1024² image), ~50-60 s per step with a reference image, ~3 min for a pixel sprite.
  • Krea 2 weights are under the Krea 2 Community License (commercial conditions and a revenue threshold);
    third-party LoRAs carry their own licenses.
  • The gallery lives in /dsh-gallery/ (plus gallery.json and jobs.json); chat generations are
    also copied to /generated/.

Verification

node scripts/smoke-panel.mjs renders the panel headlessly against a fake host (tiny React stand-in)
and checks the preset card: two tiles in one card, no leftover look dropdown, sprite options only for
the pixel preset, reference card hidden for sprites. LEGACY_HOST=1 runs it against a pre-0.5 status
payload to exercise the fallback path.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-comfyui 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:prophetcrab/dsh-comfyui#v0.8.0` 即可。

dsh-comfyui 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-comfyui 安全吗?

低风险。

dsh-comfyui 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-comfyui 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

4 条
不同作者的仓库分开列,请确认你要装的是哪一个
娱乐与实验
按星标排序,可作替代方案

petdex

petdex

L4 · 沙盒安装通过 4,211 星

zhuzhiliao

zhuzhiliao

竹知了 —— 一转就哇哇叫的传统玩具,Web 模拟版。零依赖单文件,真实录音采样,移动端优先。

L4 · 沙盒安装通过 2,880 星

dsh-tavern

dsh-tavern

基于DSH的Agent酒馆。类酒馆文字游戏Agent。兼容SillyTavern生态,人物卡直接导入就能玩。更快、更稳、更鲜活。所有模型都能

L4 · 沙盒安装通过 822 星

dsh-game-studio

dsh-game-studio

用一句话描述小游戏,DSH plugin 即可在侧边栏生成可玩版本,支持 AI 美术替换、自动试玩与单文件 HTML 导出。

L4 · 沙盒安装通过 554 星

oh-story-dsh

oh-story-dsh

DeepSeek 写网文/小说的工作流插件:DeepSeek Harness 社区插件,内置小说、短剧、游戏、视频解说四个工作台

L4 · 沙盒安装通过 477 星

ai-art-engine

ai-art-engine

AI 艺术创作引擎,专业的短视频,游戏3D资产,2D资产,广告创作工具

L4 · 沙盒安装通过 218 星

prophetcrab 的其它插件

1 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。