1182 lines
54 KiB
JSON
1182 lines
54 KiB
JSON
{
|
||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||
"source_sha1": "988d2cbe5180882e1cf390e981ece3042592eee2",
|
||
"source_sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0",
|
||
"canonical_sha256": "8fec62e8291c61add45d0bc79e97ca107284fa3f58493635987ca4745543cc62",
|
||
"notice": "固定版本参考说明;当前四媒体节点旁路且视频未接,目标环境与实际效果未核对,转换仍关闭。",
|
||
"user_overview": "这张图保存了描述图片、转写音频的文本请求,并把生成文本接到预览。但图片、音频、视频和视频拆分四个节点当前都在旁路,视频也未接到生成器;不能直接当作可用的多模态反推流程。模型与素材未核对,转换仍关闭。",
|
||
"versions": [
|
||
"源声明core0.21.0=52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"源声明frontend1.43.18=6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"UE7.8身份/映射/钩子顺序与目标安装未知;只读固定官方原件,不证明兼容或升级可信注册。"
|
||
],
|
||
"counts": {
|
||
"saved_fields": 25,
|
||
"linked_saved_fields": 0,
|
||
"frontend_only": 7,
|
||
"source_notes": 2,
|
||
"source_nodes": 9,
|
||
"physical_edges": 5,
|
||
"final_scalars": 0,
|
||
"final_prompt_constructed": false
|
||
},
|
||
"fields": [
|
||
{
|
||
"field": "clip_name",
|
||
"label": "文本编码模型文件",
|
||
"type": "COMBO",
|
||
"schema_default": "动态text_encoders文件列表,无固定默认",
|
||
"unit": "文件名",
|
||
"limits": "以目标目录实际列表为准;未检查权重或安装",
|
||
"effect": "当前保存gemma4_e4b_it_fp8_scaled.safetensors。文件名、models记录和下载URL仅源引用,不证明存在、精度、安装或可运行;未访问模型链接或下载权重。",
|
||
"evidence": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "3",
|
||
"definition_node_id": "3",
|
||
"class_type": "CLIPLoader",
|
||
"scope": "root",
|
||
"pointer": "/nodes/0/widgets_values/0",
|
||
"value": "gemma4_e4b_it_fp8_scaled.safetensors",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "type",
|
||
"label": "加载类型",
|
||
"type": "COMBO",
|
||
"schema_default": "schema未显式default;首选stable_diffusion;函数默认同名",
|
||
"unit": "类别",
|
||
"limits": "stable_diffusion/stable_cascade/sd3/stable_audio/mochi/ltxv/pixart/cosmos/lumina2/wan/hidream/chroma/ace/omnigen2/qwen_image/hunyuan_image/flux2/ovis/longcat_image/cogvideox",
|
||
"effect": "原值stable_diffusion保留;代码转为CLIPType并按实际state_dict键识别Gemma4分支,不是凭文件名判断。未读取权重,不能证明本文件会被识别/兼容,不能据Gemma名字改type。",
|
||
"evidence": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "3",
|
||
"definition_node_id": "3",
|
||
"class_type": "CLIPLoader",
|
||
"scope": "root",
|
||
"pointer": "/nodes/0/widgets_values/1",
|
||
"value": "stable_diffusion",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "device",
|
||
"label": "加载设备",
|
||
"type": "COMBO",
|
||
"schema_default": "schema首选default;函数默认default",
|
||
"unit": "设备选择",
|
||
"limits": "default/cpu;optional advanced",
|
||
"effect": "当前default交给正常设备管理;cpu分支同时设置load_device与offload_device为CPU。这不证明目标GPU/内存配置、速度或模型实际驻留。",
|
||
"evidence": [
|
||
0
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "3",
|
||
"definition_node_id": "3",
|
||
"class_type": "CLIPLoader",
|
||
"scope": "root",
|
||
"pointer": "/nodes/0/widgets_values/2",
|
||
"value": "default",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "preview_markdown",
|
||
"label": "Markdown预览保存位置",
|
||
"type": "前端显示位置",
|
||
"schema_default": "前端显示缓存;后端无此输入默认",
|
||
"unit": "无(显示状态)",
|
||
"limits": "源原值null;不改为false/空串,不当模型输入",
|
||
"effect": "固定扩展先创建preview_markdown,widget.serialize与options.serialize均false,官方工作流/API均跳过。源保存三个null而官方只持久化未禁用widget.serialize的显示切换;这些名字仅依据源三位置与固定创建顺序作参考标注,不是三个null的可靠恢复映射。UE及实际前端未知,布局差异待核对。固定后端独立声明RETURN_TYPES=(STRING,)并返回result,此结论来自后端原件,不靠源UI出口倒推。",
|
||
"evidence": [
|
||
22,
|
||
10,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "4",
|
||
"definition_node_id": "4",
|
||
"class_type": "PreviewAny",
|
||
"scope": "root",
|
||
"pointer": "/nodes/1/widgets_values/0",
|
||
"value": null,
|
||
"json_type": "NoneType",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "preview_text",
|
||
"label": "纯文本预览保存位置",
|
||
"type": "前端显示位置",
|
||
"schema_default": "前端显示缓存;后端无此输入默认",
|
||
"unit": "无(显示状态)",
|
||
"limits": "源原值null;不改为false/空串,不当模型输入",
|
||
"effect": "固定扩展第二创建preview_text,widget.serialize与options.serialize均false;仅显示执行返回ui.text。源保存三个null而官方只持久化未禁用widget.serialize的显示切换;这些名字仅依据源三位置与固定创建顺序作参考标注,不是三个null的可靠恢复映射。UE及实际前端未知,布局差异待核对。固定后端独立声明RETURN_TYPES=(STRING,)并返回result,此结论来自后端原件,不靠源UI出口倒推。",
|
||
"evidence": [
|
||
22,
|
||
10,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "4",
|
||
"definition_node_id": "4",
|
||
"class_type": "PreviewAny",
|
||
"scope": "root",
|
||
"pointer": "/nodes/1/widgets_values/1",
|
||
"value": null,
|
||
"json_type": "NoneType",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "previewMode",
|
||
"label": "预览显示方式保存位置",
|
||
"type": "前端显示位置",
|
||
"schema_default": "官方BOOLEAN默认false(Plaintext)",
|
||
"unit": "无(显示状态)",
|
||
"limits": "源原值null;不改为false/空串,不当模型输入",
|
||
"effect": "固定扩展第三创建previewMode,仅options.serialize=false,控制Markdown/Plaintext显示,不传入API。源保存三个null而官方只持久化未禁用widget.serialize的显示切换;这些名字仅依据源三位置与固定创建顺序作参考标注,不是三个null的可靠恢复映射。UE及实际前端未知,布局差异待核对。固定后端独立声明RETURN_TYPES=(STRING,)并返回result,此结论来自后端原件,不靠源UI出口倒推。",
|
||
"evidence": [
|
||
22,
|
||
10,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "4",
|
||
"definition_node_id": "4",
|
||
"class_type": "PreviewAny",
|
||
"scope": "root",
|
||
"pointer": "/nodes/1/widgets_values/2",
|
||
"value": null,
|
||
"json_type": "NoneType",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "image",
|
||
"label": "输入图片",
|
||
"type": "COMBO",
|
||
"schema_default": "动态文件列表,无固定文件默认",
|
||
"unit": "文件名",
|
||
"limits": "仅源保存引用,未读取/校验真实素材;本节点当前mode=4旁路",
|
||
"effect": "the_lily_veil.png按固定定义可解码为IMAGE/MASK,MASK未接;物理边7连生成器image,但当前旁路不能称图片已传入。",
|
||
"evidence": [
|
||
3,
|
||
19,
|
||
16,
|
||
17,
|
||
18
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "2",
|
||
"definition_node_id": "2",
|
||
"class_type": "LoadImage",
|
||
"scope": "root",
|
||
"pointer": "/nodes/4/widgets_values/0",
|
||
"value": "the_lily_veil.png",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "upload",
|
||
"label": "上传按钮保存占位",
|
||
"type": "IMAGEUPLOAD",
|
||
"schema_default": "前端构造值image;后端无upload参数",
|
||
"unit": "无(按钮状态)",
|
||
"limits": "源保存image原样;options.serialize=false不等于widget.serialize=false",
|
||
"effect": "这是上传按钮的保存占位,不是另一份媒体输入、不是已上传证明。addWidget把serialize放在options,API阶段跳过;工作流保存/恢复另看widget.serialize。未在目标前端恢复或触发上传。",
|
||
"evidence": [
|
||
23,
|
||
13,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "2",
|
||
"definition_node_id": "2",
|
||
"class_type": "LoadImage",
|
||
"scope": "root",
|
||
"pointer": "/nodes/4/widgets_values/1",
|
||
"value": "image",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "audio",
|
||
"label": "输入音频",
|
||
"type": "COMBO",
|
||
"schema_default": "动态文件列表,无固定文件默认",
|
||
"unit": "文件名",
|
||
"limits": "仅源保存引用,未读取/校验真实素材;本节点当前mode=4旁路",
|
||
"effect": "voice_demo.mp3按参考定义读取waveform/sample_rate;物理边8连audio,但当前旁路不能称音频已传入或已转写。",
|
||
"evidence": [
|
||
4,
|
||
19,
|
||
16,
|
||
17,
|
||
18
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "5",
|
||
"definition_node_id": "5",
|
||
"class_type": "LoadAudio",
|
||
"scope": "root",
|
||
"pointer": "/nodes/5/widgets_values/0",
|
||
"value": "voice_demo.mp3",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "audioUI",
|
||
"label": "音频播放器保存位置",
|
||
"type": "AUDIO_UI",
|
||
"schema_default": "前端DOM显示状态,非后端输入默认",
|
||
"unit": "无(显示状态)",
|
||
"limits": "源保存null,不替换空串或默认",
|
||
"effect": "官方AudioWidget追加audioUI并设widget.serialize=false,工作流保存/恢复会跳过它;API检查options.serialize是另一契约。源仍保存audioUI及upload两null,不能与官方恢复序列强制对齐;null的真实恢复归属与UE钩子顺序待核对,不当运行音频。",
|
||
"evidence": [
|
||
24,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "5",
|
||
"definition_node_id": "5",
|
||
"class_type": "LoadAudio",
|
||
"scope": "root",
|
||
"pointer": "/nodes/5/widgets_values/1",
|
||
"value": null,
|
||
"json_type": "NoneType",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "upload",
|
||
"label": "音频上传按钮保存位置",
|
||
"type": "AUDIOUPLOAD",
|
||
"schema_default": "官方按钮构造空串;后端无upload参数",
|
||
"unit": "无(按钮状态)",
|
||
"limits": "源保存null,不替换空串;options.serialize=false控制API",
|
||
"effect": "固定按钮构造空串、options.serialize=false,未设置widget.serialize=false;官方跳过audioUI后保存/恢复布局与源三项有差异,不能宣称两null已经恢复成功。仅按源声明控件位置记账,不执行上传。",
|
||
"evidence": [
|
||
25,
|
||
24,
|
||
13,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "5",
|
||
"definition_node_id": "5",
|
||
"class_type": "LoadAudio",
|
||
"scope": "root",
|
||
"pointer": "/nodes/5/widgets_values/2",
|
||
"value": null,
|
||
"json_type": "NoneType",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "file",
|
||
"label": "输入视频",
|
||
"type": "COMBO",
|
||
"schema_default": "动态文件列表,无固定文件默认",
|
||
"unit": "文件名",
|
||
"limits": "仅源保存引用,未读取/校验真实素材;本节点当前mode=4旁路",
|
||
"effect": "video_wan_vace_inpainting_input_video.mp4按参考定义形成VIDEO;边5只到旁路的拆分节点7,未接TextGenerate.video。",
|
||
"evidence": [
|
||
5,
|
||
19,
|
||
16,
|
||
17,
|
||
18
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "6",
|
||
"definition_node_id": "6",
|
||
"class_type": "LoadVideo",
|
||
"scope": "root",
|
||
"pointer": "/nodes/6/widgets_values/0",
|
||
"value": "video_wan_vace_inpainting_input_video.mp4",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "upload",
|
||
"label": "上传按钮保存占位",
|
||
"type": "IMAGEUPLOAD",
|
||
"schema_default": "前端构造值image;后端无upload参数",
|
||
"unit": "无(按钮状态)",
|
||
"limits": "源保存image原样;options.serialize=false不等于widget.serialize=false",
|
||
"effect": "这是上传按钮的保存占位,不是另一份媒体输入、不是已上传证明。addWidget把serialize放在options,API阶段跳过;工作流保存/恢复另看widget.serialize。未在目标前端恢复或触发上传。",
|
||
"evidence": [
|
||
23,
|
||
13,
|
||
11,
|
||
12,
|
||
16
|
||
],
|
||
"role": "frontend",
|
||
"node_id": "6",
|
||
"definition_node_id": "6",
|
||
"class_type": "LoadVideo",
|
||
"scope": "root",
|
||
"pointer": "/nodes/6/widgets_values/1",
|
||
"value": "image",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=4。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "prompt",
|
||
"label": "文本请求",
|
||
"type": "STRING",
|
||
"schema_default": "空字符串",
|
||
"unit": "文本",
|
||
"limits": "multiline、dynamic_prompts=True;本轮仅保存原文不执行",
|
||
"effect": "原英文请求Describe the image, and transcribe the audio要求描述图片并转写音频,不证明旁路媒体实际输入。参考代码传给clip.tokenize;不生成新内容。",
|
||
"evidence": [
|
||
6
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/0",
|
||
"value": "Describe the image, and transcribe the audio",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "max_length",
|
||
"label": "生成长度上限",
|
||
"type": "INT",
|
||
"schema_default": "256",
|
||
"unit": "新生成token步数上限,不是字数/秒/上下文窗口",
|
||
"limits": "schema 1~2048;当前2048",
|
||
"effect": "参考TextGenerate→Gemma4.generate→transformer逐token循环最多max_length步,遇stop_tokens提前结束;不是注释宣称的128K/256K上下文支持证明,也不承诺精度或实际输出长度。",
|
||
"evidence": [
|
||
6,
|
||
9,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/1",
|
||
"value": 2048,
|
||
"json_type": "int",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode",
|
||
"label": "采样模式",
|
||
"type": "DYNAMICCOMBO",
|
||
"schema_default": "schema未显式default;首选on",
|
||
"unit": "方式",
|
||
"limits": "on/off;on分支7子字段,off无子字段",
|
||
"effect": "当前on使do_sample为true。前端动态setter创建sampling_mode限定名,required后optional,恢复按widget顺序消费;官方限定名sampling_mode.seed不满足裸seed自动控制条件,schema也未显式要求control_after_generate,因此此图12保存项不加fixed控制。官方契约只是参考,UE7.8/实际钩子顺序未知,不证明目标恢复或生成。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
11,
|
||
16
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/2",
|
||
"value": "on",
|
||
"json_type": "str",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.temperature",
|
||
"label": "温度",
|
||
"type": "FLOAT",
|
||
"schema_default": "0.7",
|
||
"unit": "无量纲",
|
||
"limits": "0.01~2.0;step0.000001;仅on分支",
|
||
"effect": "采样时logits除以温度;改变分布,不承诺更有创意或更准确。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/3",
|
||
"value": 0.7,
|
||
"json_type": "float",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.top_k",
|
||
"label": "Top K候选数",
|
||
"type": "INT",
|
||
"schema_default": "64",
|
||
"unit": "候选数",
|
||
"limits": "0~1000;仅on分支",
|
||
"effect": "大于0仅保留top_k分数候选,0不执行该过滤;不等于输出词数。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/4",
|
||
"value": 64,
|
||
"json_type": "int",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.top_p",
|
||
"label": "Top P累计概率",
|
||
"type": "FLOAT",
|
||
"schema_default": "0.95",
|
||
"unit": "无量纲",
|
||
"limits": "0~1;step0.01;仅on分支",
|
||
"effect": "小于1按排序累计概率过滤候选;与其他采样过滤共同生效,不承诺特定文本效果。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/5",
|
||
"value": 0.95,
|
||
"json_type": "float",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.min_p",
|
||
"label": "相对最小概率",
|
||
"type": "FLOAT",
|
||
"schema_default": "0.05",
|
||
"unit": "无量纲",
|
||
"limits": "0~1;step0.01;仅on分支",
|
||
"effect": "大于0以过滤前最大概率乘min_p设门槛,低于门槛候选被屏蔽;不是绝对概率阈值。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/6",
|
||
"value": 0.05,
|
||
"json_type": "float",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.repetition_penalty",
|
||
"label": "重复惩罚",
|
||
"type": "FLOAT",
|
||
"schema_default": "1.05",
|
||
"unit": "无量纲",
|
||
"limits": "0~5;step0.01;仅on分支",
|
||
"effect": "不为1时按已出现token对正负logits分别除/乘惩罚;schema含0并不保证所有值安全或输出质量。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/7",
|
||
"value": 1.05,
|
||
"json_type": "float",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.seed",
|
||
"label": "采样随机种子",
|
||
"type": "INT",
|
||
"schema_default": "0",
|
||
"unit": "种子整数",
|
||
"limits": "0~18446744073709551615;仅on分支",
|
||
"effect": "当前0与schema默认相同;采样参考使用manual_seed(seed),不保证跨硬件/模型/版本可重复。限定名sampling_mode.seed不自动附加控制控件,本图不插入fixed。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/8",
|
||
"value": 0,
|
||
"json_type": "int",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "sampling_mode.presence_penalty",
|
||
"label": "已出现词元惩罚",
|
||
"type": "FLOAT",
|
||
"schema_default": "0.0",
|
||
"unit": "无量纲",
|
||
"limits": "0~5;step0.01;optional;仅on分支",
|
||
"effect": "源保存整数0(JSON int),与schema浮点默认0.0分列;非零时每个历史token减去该值,当前0不执行该惩罚,不据此推断实际文本。",
|
||
"evidence": [
|
||
6,
|
||
20,
|
||
21,
|
||
7
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/9",
|
||
"value": 0,
|
||
"json_type": "int",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "thinking",
|
||
"label": "思考模式",
|
||
"type": "BOOLEAN",
|
||
"schema_default": "false(optional)",
|
||
"unit": "无(开关)",
|
||
"limits": "true/false;仅模型支持时有意义",
|
||
"effect": "当前false与默认相同;传给tokenize。Gemma4参考默认模板仅在thinking=true添加思考system段,跳过模板/自带模板等条件另行处理;false不保证模型无任何内部推理或特定输出。",
|
||
"evidence": [
|
||
6,
|
||
8
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/10",
|
||
"value": false,
|
||
"json_type": "bool",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
},
|
||
{
|
||
"field": "use_default_template",
|
||
"label": "使用内置模板",
|
||
"type": "BOOLEAN",
|
||
"schema_default": "true(optional advanced)",
|
||
"unit": "无(开关)",
|
||
"limits": "true/false;实际模型tokenizer条件适用",
|
||
"effect": "当前true与默认相同,传skip_template=false。Gemma4参考若文本以<|turn>开头仍强制跳过模板;否则先用传入llama_template,再按媒体构造默认user/model段。当前原英文不以该标记开头,但模型文件未核对、媒体处于旁路,不据此承诺实际模板/转写/视频效果。",
|
||
"evidence": [
|
||
6,
|
||
8
|
||
],
|
||
"role": "scalar",
|
||
"node_id": "1",
|
||
"definition_node_id": "1",
|
||
"class_type": "TextGenerate",
|
||
"scope": "root",
|
||
"pointer": "/nodes/8/widgets_values/11",
|
||
"value": true,
|
||
"json_type": "bool",
|
||
"execution_note": "源保存位置;节点当前mode=0。固定官方版本只作说明参考;UE7.8、目标安装与恢复/运行结果未知,不产prompt。"
|
||
}
|
||
],
|
||
"sources": [
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "nodes.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/nodes.py",
|
||
"sha256": "a890bd2ab07e7da5084fd019177ae45bdc284f385d3fd3dfea9513c695b2e5fe",
|
||
"local_file": "../gemma-reference/ComfyUI__nodes.py",
|
||
"lines": [
|
||
957,
|
||
982
|
||
],
|
||
"claim": "CLIPLoader枚举、动态文件列表、设备和load_clip"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy/sd.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy/sd.py",
|
||
"sha256": "737ea97de395c1ef21391714b752959b1f14af71ed3e7c5ddb88e8c08765da8e",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy__sd.py",
|
||
"lines": [
|
||
1304,
|
||
1318
|
||
],
|
||
"claim": "按权重键识别Gemma4,不按文件名保证兼容"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy/sd.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy/sd.py",
|
||
"sha256": "737ea97de395c1ef21391714b752959b1f14af71ed3e7c5ddb88e8c08765da8e",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy__sd.py",
|
||
"lines": [
|
||
1453,
|
||
1459
|
||
],
|
||
"claim": "Gemma4权重识别后选择模型与tokenizer"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "nodes.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/nodes.py",
|
||
"sha256": "a890bd2ab07e7da5084fd019177ae45bdc284f385d3fd3dfea9513c695b2e5fe",
|
||
"local_file": "../gemma-reference/ComfyUI__nodes.py",
|
||
"lines": [
|
||
1681,
|
||
1756
|
||
],
|
||
"claim": "LoadImage文件选择、IMAGE/MASK、读取与校验"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_audio.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_audio.py",
|
||
"sha256": "cef4ed75f71e6c67a919c1f77ce182f872eaa31d2494465cd0019a39f5a14422",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_audio.py",
|
||
"lines": [
|
||
296,
|
||
334
|
||
],
|
||
"claim": "LoadAudio唯一后端输入audio及waveform/sample_rate"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_video.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_video.py",
|
||
"sha256": "f9df658d6ea08838af7822d6698fe36c84ff20bc4ba340283f8322125e9dd2b3",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_video.py",
|
||
"lines": [
|
||
143,
|
||
206
|
||
],
|
||
"claim": "视频加载与拆分为images/audio/fps,不等于接入生成器"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_textgen.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_textgen.py",
|
||
"sha256": "e6577f5791db4d34cecf56cfc7e2776388d2994aa602acf5765d035d1241d8a2",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_textgen.py",
|
||
"lines": [
|
||
4,
|
||
78
|
||
],
|
||
"claim": "TextGenerate完整schema、动态采样、tokenize/generate/decode"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy/text_encoders/llama.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy/text_encoders/llama.py",
|
||
"sha256": "671d1ddfe0b169cb0e6dd6123ae96d2580eb7a716166fcaab7f8ff353b22138e",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy__text_encoders__llama.py",
|
||
"lines": [
|
||
851,
|
||
937
|
||
],
|
||
"claim": "逐token生成上限、采样过滤与惩罚、seed和提前终止"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy/text_encoders/gemma4.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy/text_encoders/gemma4.py",
|
||
"sha256": "c6ffbb2fbecd8f97e781a654a06ccf3910dc670867d38c0ce30542312f00cde6",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy__text_encoders__gemma4.py",
|
||
"lines": [
|
||
1060,
|
||
1146
|
||
],
|
||
"claim": "Gemma4参考分词/媒体/模板条件;不证明本图实际媒体输入"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy/text_encoders/gemma4.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy/text_encoders/gemma4.py",
|
||
"sha256": "c6ffbb2fbecd8f97e781a654a06ccf3910dc670867d38c0ce30542312f00cde6",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy__text_encoders__gemma4.py",
|
||
"lines": [
|
||
1239,
|
||
1259
|
||
],
|
||
"claim": "Gemma4向transformer传递max_length及采样值"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_preview_any.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_preview_any.py",
|
||
"sha256": "2f1a458a82310bd1963ac716016680b5f54fa23779ef8de85b212d7130d39939",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_preview_any.py",
|
||
"lines": [
|
||
9,
|
||
47
|
||
],
|
||
"claim": "PreviewAny真实STRING返回及ui.text;输出节点"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/LGraphNode.ts",
|
||
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||
"lines": [
|
||
912,
|
||
925
|
||
],
|
||
"claim": "恢复按顺序消费保存值,跳过widget.serialize=false"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/LGraphNode.ts",
|
||
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||
"lines": [
|
||
971,
|
||
983
|
||
],
|
||
"claim": "工作流持久化检查widget.serialize"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/LGraphNode.ts",
|
||
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||
"lines": [
|
||
1937,
|
||
2017
|
||
],
|
||
"claim": "addWidget把options单独保存在widget.options"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/widgets/BaseWidget.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/widgets/BaseWidget.ts",
|
||
"sha256": "8ce6071649f79e5effee77a24b65d82fc02ffe0eb2cd103e9f74ef7f66860c65",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__widgets__BaseWidget.ts",
|
||
"lines": [
|
||
155,
|
||
194
|
||
],
|
||
"claim": "包装保留options与独立serialize属性"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/widgets/widgetMap.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/widgets/widgetMap.ts",
|
||
"sha256": "526314f151e509d744422fd078796b8da22c72f340eed9eba7f1f1102a94b34a",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__widgets__widgetMap.ts",
|
||
"lines": [
|
||
83,
|
||
98
|
||
],
|
||
"claim": "按钮包装为ButtonWidget,不把options.serialize改成widget.serialize"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/utils/executionUtil.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/utils/executionUtil.ts",
|
||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||
"lines": [
|
||
68,
|
||
155
|
||
],
|
||
"claim": "API跳过旁路;options.serialize控制prompt;解析不到的连线不传入"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||
"sha256": "c4b48e9cd302f2c8981f888b31124d8af5d8d102e9b1c4a61802c37f5f53a0e9",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
|
||
"lines": [
|
||
268,
|
||
294
|
||
],
|
||
"claim": "旁路输出寻找匹配输入;无匹配警告并返回undefined"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||
"sha256": "c4b48e9cd302f2c8981f888b31124d8af5d8d102e9b1c4a61802c37f5f53a0e9",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
|
||
"lines": [
|
||
345,
|
||
374
|
||
],
|
||
"claim": "旁路同槽/精确类型/兼容类型选择顺序"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/lib/litegraph/src/types/globalEnums.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/lib/litegraph/src/types/globalEnums.ts",
|
||
"sha256": "74d106cbe62141f86991cd50aea7c341462933c4a5d7c66dd26d3764cba7fbe8",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__lib__litegraph__src__types__globalEnums.ts",
|
||
"lines": [
|
||
66,
|
||
89
|
||
],
|
||
"claim": "事件模式BYPASS=4;非正常执行状态"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/core/graph/widgets/dynamicWidgets.ts",
|
||
"sha256": "5fc7857cae8d9441088ad6a0a501246c40c7d9b39e7a6aad7cc8e9e94353d9f6",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||
"lines": [
|
||
72,
|
||
201
|
||
],
|
||
"claim": "动态on子控件使用sampling_mode限定名、required后optional及setter重建"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
|
||
"lines": [
|
||
52,
|
||
88
|
||
],
|
||
"claim": "seed控制仅裸名匹配或显式开启,限定名不自动添加fixed控件"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/extensions/core/previewAny.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/extensions/core/previewAny.ts",
|
||
"sha256": "0ad96628fd56a432adcb29ee72fbd9a7e28dde0863a37db383b5d302790d1b4d",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__extensions__core__previewAny.ts",
|
||
"lines": [
|
||
19,
|
||
97
|
||
],
|
||
"claim": "三个显示控件的顺序、serialize与options.serialize分别设置"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||
"sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||
"lines": [
|
||
93,
|
||
104
|
||
],
|
||
"claim": "上传按钮构造image占位,options.serialize=false"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/extensions/core/uploadAudio.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/extensions/core/uploadAudio.ts",
|
||
"sha256": "5ba5f67f9d3666c7b730ddd350faee939537e94e11ec6df05c5bd86db5d56178",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__extensions__core__uploadAudio.ts",
|
||
"lines": [
|
||
91,
|
||
165
|
||
],
|
||
"claim": "audioUI前端追加且widget.serialize=false;不是后端audio输入"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/extensions/core/uploadAudio.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/extensions/core/uploadAudio.ts",
|
||
"sha256": "5ba5f67f9d3666c7b730ddd350faee939537e94e11ec6df05c5bd86db5d56178",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__extensions__core__uploadAudio.ts",
|
||
"lines": [
|
||
192,
|
||
267
|
||
],
|
||
"claim": "音频上传按钮默认空串,options.serialize=false;null照源保留"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "src/extensions/core/noteNode.ts",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/src/extensions/core/noteNode.ts",
|
||
"sha256": "1014f719e3d67d9c5183a5e8631d4c2d6581dfe67083f32eb23774ec3074bef2",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__src__extensions__core__noteNode.ts",
|
||
"lines": [
|
||
1,
|
||
84
|
||
],
|
||
"claim": "MarkdownNote为前端注释"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "nodes.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/nodes.py",
|
||
"sha256": "a890bd2ab07e7da5084fd019177ae45bdc284f385d3fd3dfea9513c695b2e5fe",
|
||
"local_file": "../gemma-reference/ComfyUI__nodes.py",
|
||
"lines": [
|
||
2010,
|
||
2055
|
||
],
|
||
"claim": "LoadImage/CLIPLoader静态注册"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "nodes.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/nodes.py",
|
||
"sha256": "a890bd2ab07e7da5084fd019177ae45bdc284f385d3fd3dfea9513c695b2e5fe",
|
||
"local_file": "../gemma-reference/ComfyUI__nodes.py",
|
||
"lines": [
|
||
2370,
|
||
2425
|
||
],
|
||
"claim": "音频/视频/PreviewAny/TextGenerate内置模块清单;不证明目标安装"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_textgen.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_textgen.py",
|
||
"sha256": "e6577f5791db4d34cecf56cfc7e2776388d2994aa602acf5765d035d1241d8a2",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_textgen.py",
|
||
"lines": [
|
||
174,
|
||
184
|
||
],
|
||
"claim": "TextGenerate扩展注册"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_video.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_video.py",
|
||
"sha256": "f9df658d6ea08838af7822d6698fe36c84ff20bc4ba340283f8322125e9dd2b3",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_video.py",
|
||
"lines": [
|
||
260,
|
||
273
|
||
],
|
||
"claim": "LoadVideo/GetVideoComponents扩展注册"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_extras/nodes_audio.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_extras/nodes_audio.py",
|
||
"sha256": "cef4ed75f71e6c67a919c1f77ce182f872eaa31d2494465cd0019a39f5a14422",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_extras__nodes_audio.py",
|
||
"lines": [
|
||
768,
|
||
794
|
||
],
|
||
"claim": "LoadAudio扩展注册"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "comfy_api/latest/_io.py",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/comfy_api/latest/_io.py",
|
||
"sha256": "c7c7b82f81f47c2a72f1c5b386043944006e3049cbbd20602d0fee296fe5bb22",
|
||
"local_file": "../gemma-reference/ComfyUI__comfy_api__latest___io.py",
|
||
"lines": [
|
||
1098,
|
||
1180
|
||
],
|
||
"claim": "DynamicCombo选项与嵌套输入schema转换"
|
||
},
|
||
{
|
||
"id": "ComfyUI",
|
||
"commit": "52976f3ea33cc2312c7b5a32e1c7510b203eefb6",
|
||
"file": "LICENSE",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/52976f3ea33cc2312c7b5a32e1c7510b203eefb6/LICENSE",
|
||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||
"local_file": "../gemma-reference/ComfyUI__LICENSE",
|
||
"lines": [
|
||
1,
|
||
8
|
||
],
|
||
"claim": "固定官方原件GPL-3.0许可文本;只读未安装/执行"
|
||
},
|
||
{
|
||
"id": "ComfyUI_frontend",
|
||
"commit": "6a207bb52a887b1a70fbf654641ebc57710f97c7",
|
||
"file": "LICENSE",
|
||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/6a207bb52a887b1a70fbf654641ebc57710f97c7/LICENSE",
|
||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||
"local_file": "../gemma-reference/ComfyUI_frontend__LICENSE",
|
||
"lines": [
|
||
1,
|
||
8
|
||
],
|
||
"claim": "固定官方原件GPL-3.0许可文本;只读未安装/执行"
|
||
}
|
||
],
|
||
"comments": [
|
||
{
|
||
"node_id": "8",
|
||
"pointer": "/nodes/2/widgets_values/0",
|
||
"text": "Related PR: [#13376](https://github.com/Comfy-Org/ComfyUI/pull/13376)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 text_encoders/\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n---\n* Other model weights: https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n",
|
||
"evidence": [
|
||
26
|
||
],
|
||
"meaning": "源作者模型/存放路径/PR说明,仅文本保留;未访问外链或下载,不证明安装/兼容。"
|
||
},
|
||
{
|
||
"node_id": "9",
|
||
"pointer": "/nodes/3/widgets_values/0",
|
||
"text": "**Core Capabilities**\n\n[Gemma 4](https://huggingface.co/google/gemma-4-E2B-it) models handle a broad range of tasks across text, vision, and audio. Key capabilities include:\n\n+ **Thinking** – Built-in reasoning mode that lets the model think step-by-step before answering.\n+ **Long Context** – Context windows of up to 128K tokens (E2B/E4B) and 256K tokens (26B A4B/31B).\n+ **Image Understanding** – Object detection, Document/PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition, and pointing. Images can be processed at variable aspect ratios and resolutions.\n+ **Video Understanding** – Analyze video by processing sequences of frames.\n+ **Interleaved Multimodal Input** – Freely mix text and images in any order within a single prompt.\n+ **Function Calling** – Native support for structured tool use, enabling agentic workflows.\n+ **Coding** – Code generation, completion, and correction.\n+ **Multilingual** – Out-of-the-box support for 35+ languages, pre-trained on 140+ languages.\n+ **Audio** (E2B and E4B only) – Automatic speech recognition (ASR) and speech-to-translated-text translation across multiple languages.\n",
|
||
"evidence": [
|
||
26
|
||
],
|
||
"meaning": "源作者能力宣传,包括128K/256K、视频、函数调用、多语言等;不是本图实测,不改变当前旁路/视频未接/模型未知限制。"
|
||
}
|
||
],
|
||
"flow": [
|
||
"用途与当前状态:原请求是Describe the image, and transcribe the audio。模型加载3→文本生成1→文本预览4是保存的主链;媒体输入不能按标题或注释当已接入执行。",
|
||
"五条物理边:link2为CLIP3槽0→TextGenerate1.clip;link3为Text1槽0→Preview4.source;link5为Video6槽0→Components7.video;link7为Image2槽0→Text1.image;link8为Audio5槽0→Text1.audio。",
|
||
"旁路限制:LoadImage2、LoadAudio5、LoadVideo6、GetVideoComponents7均mode=4(BYPASS),其余5节点mode=0。固定前端跳过旁路节点,resolveOutput先找匹配输入,无匹配则警告并返回undefined;未解析连线不写入API,不是继续把该媒体文件送入模型。加载节点的文件/上传控件不能当IMAGE/AUDIO/VIDEO入口;未执行旁路转换或验证绕过。",
|
||
"视频未接:TextGenerate.video的link=null;Components7.images的links=[]、audio/fps的links=null,均未连到生成器。源标题与能力注释不能证明当前图有可用视频反推链。",
|
||
"模型:CLIP3保持gemma4_e4b_it_fp8_scaled.safetensors/stable_diffusion/default。固定代码包含Gemma4权重键识别分支,不按文件名保证实际模型能力/兼容/精度。下载URL、models记录和路径只是源文本,未访问媒体模型链接。",
|
||
"12保存项:英文请求、2048、on、0.7、64、0.95、0.05、1.05、0、0、false、true。限定名sampling_mode.seed不自动加fixed;源presence_penalty整数0与默认浮点0.0分别保留。单位/范围只认固定schema与token生成循环,不将位置数当运行参数数。",
|
||
"预览与null:PreviewAny三null按固定创建顺序作参考位置;两缓存widget.serialize=false,显示切换仅options.serialize=false,官方持久化序列与源三null不一致,实际恢复未知。后端STRING返回来自固定RETURN_TYPES及result,不是由UI出口推断;null不替换默认。",
|
||
"上传与显示:LoadImage/LoadVideo的image是上传按钮占位,options.serialize与widget.serialize分开;LoadAudio的audioUI/upload两null不当音频输入,audioUI被官方持久化跳过造成布局差异,未强行恢复。",
|
||
"源注释8是模型路径/PR文本,注释9是能力宣传;128K/256K、函数调用、多语言等均未实测。UE7.8空映射不证明无改写,官方tag/commit与许可不证明目标安装或钩子顺序,未导入执行上游。",
|
||
"源物理边:[2, 3, 0, 1, 0, \"CLIP\"]",
|
||
"源物理边:[3, 1, 0, 4, 0, \"STRING\"]",
|
||
"源物理边:[5, 6, 0, 7, 0, \"VIDEO\"]",
|
||
"源物理边:[7, 2, 0, 1, 1, \"IMAGE\"]",
|
||
"源物理边:[8, 5, 0, 1, 3, \"AUDIO\"]",
|
||
"源节点3 CLIPLoader:mode=0;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点4 PreviewAny:mode=0;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点8 MarkdownNote:mode=0;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点9 MarkdownNote:mode=0;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点2 LoadImage:mode=4;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点5 LoadAudio:mode=4;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点6 LoadVideo:mode=4;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点7 GetVideoComponents:mode=4;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}",
|
||
"源节点1 TextGenerate:mode=0;UE={\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}"
|
||
],
|
||
"flow_evidence": [
|
||
0,
|
||
1,
|
||
2,
|
||
3,
|
||
4,
|
||
5,
|
||
6,
|
||
7,
|
||
8,
|
||
9,
|
||
10,
|
||
11,
|
||
12,
|
||
13,
|
||
14,
|
||
15,
|
||
16,
|
||
17,
|
||
18,
|
||
19,
|
||
20,
|
||
21,
|
||
22,
|
||
23,
|
||
24,
|
||
25,
|
||
26,
|
||
27,
|
||
28,
|
||
29,
|
||
30,
|
||
31,
|
||
32,
|
||
33,
|
||
34
|
||
],
|
||
"zero_saved_nodes": [
|
||
{
|
||
"node_id": "7",
|
||
"class_type": "GetVideoComponents",
|
||
"evidence": [
|
||
5,
|
||
16,
|
||
17,
|
||
18
|
||
],
|
||
"effect": "固定定义拆分VIDEO为images/audio/fps,零保存位置;当前mode=4旁路,三个出口均未接生成器,不产生已验证视频输入。"
|
||
}
|
||
],
|
||
"steps": [
|
||
"这张图保存了描述图片、转写音频的文本请求,并把生成文本接到预览。但图片、音频、视频和视频拆分四个节点当前都在旁路,视频也未接到生成器;不能直接当作可用的多模态反推流程。模型与素材未核对,转换仍关闭。",
|
||
"先核对模型和素材引用、当前四处旁路和视频未接状态;本轮不改mode/连线、不读取媒体。",
|
||
"逐项查看当前值、定义默认、单位/范围和模板条件;显示缓存及上传占位不作运行输入。",
|
||
"实际恢复、模型安装与真实效果仍待核对;保持停用/未检查/未定稿/未实跑,不执行生成。"
|
||
]
|
||
}
|