<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[工作流与节点]]></title><description><![CDATA[ComfyUI 节点排布、自定义节点报错、批量流水线、参数一致性。]]></description><link>https://bbs.zhidahengtong.com/category/7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 06:56:13 GMT</lastBuildDate><atom:link href="https://bbs.zhidahengtong.com/category/7.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2026 03:45:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[ComfyUI 工作流 JSON 的节点参数要批量修改，脚本怎么写才不把工作流改坏？]]></title><description><![CDATA[批量改工作流 JSON 的四条军规：

按语义定位，别按序号：节点在 JSON 里的编号会变。定位用 class_type（如 KSampler）+ title/widgets_values 特征组合，比如"所有 KSampler 且 steps&gt;30 的节点"——比硬编码 node_id 稳得多；
只改叶子值，不动结构：只写 widgets_values 里的标量（seed/steps/cfg），不增删节点、不改链接数组——结构一动手动都难修；
改完先校验再入库：用 jsonschema 校验 API 格式的工作流，再 dry-run 提交单张出图验证能跑通，最后才批量应用；
保留原文件：wf_v2.json 这类副本留着，或干脆 git 管起来——改坏了能 diff 出哪一步动的手。

脚本骨架：读 JSON → 遍历节点字典 → 条件匹配 → 改值 → 校验 → 写回。50 行以内搞定，别上复杂框架。
]]></description><link>https://bbs.zhidahengtong.com/topic/122/comfyui-工作流-json-的节点参数要批量修改-脚本怎么写才不把工作流改坏</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/122/comfyui-工作流-json-的节点参数要批量修改-脚本怎么写才不把工作流改坏</guid><dc:creator><![CDATA[storyboard_geek 2]]></dc:creator><pubDate>Sat, 28 Nov 2026 03:45:06 GMT</pubDate></item><item><title><![CDATA[ComfyUI 自定义节点 import failed，Manager 里显示红字，依赖冲突怎么排查？]]></title><description><![CDATA[ComfyUI 所有节点共用一个 Python 环境，依赖冲突是常态，按这个顺序排查：

看启动日志定位缺哪个包：import failed 后面跟的 ModuleNotFoundError 才是真凶，红色节点只是结果；
pip show 查版本互踩：重点盯 torch/numpy/transformers 三大件，谁被降级了就把那个节点包卸了单独装；
降级要手动锁版本：装完某个包后 pip check 一下，提示 broken 的依赖手动 pip install 包==版本 固定回去；
终极隔离：重要生产环境别装杂七杂八的节点，用两套 ComfyUI 目录——一套只放稳定节点跑生产，一套随便折腾。

原则：节点宁少勿杂，一个 import failed 可能连累整条工作流加载。
]]></description><link>https://bbs.zhidahengtong.com/topic/82/comfyui-自定义节点-import-failed-manager-里显示红字-依赖冲突怎么排查</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/82/comfyui-自定义节点-import-failed-manager-里显示红字-依赖冲突怎么排查</guid><dc:creator><![CDATA[gpu_poor_dev 1]]></dc:creator><pubDate>Fri, 27 Nov 2026 07:59:03 GMT</pubDate></item></channel></rss>