diff --git a/calliope-backend/src/calliope/comfyui/fixed_document.py b/calliope-backend/src/calliope/comfyui/fixed_document.py index ee128cf6..6c1834d5 100644 --- a/calliope-backend/src/calliope/comfyui/fixed_document.py +++ b/calliope-backend/src/calliope/comfyui/fixed_document.py @@ -15,6 +15,10 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc # Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust. DEFINITIONS = { + ( + "example_ComfyUI_workflows/0-基础处理:图像合并-音频" + "分离-视频截取合并-图像视频放大/加载本地latent解码.json" + ): "945a5c92e09bdd2e9ee5915c2a9c977bfd3324bbd78677a2fd6bae91ca958b47", ( "example_ComfyUI_workflows/0-基础处理:图像合并-音频" "分离-视频截取合并-图像视频放大/截取视频每一帧.json" diff --git a/calliope-backend/src/calliope/comfyui/source_reviews.json b/calliope-backend/src/calliope/comfyui/source_reviews.json index b4252850..b3fb9350 100644 --- a/calliope-backend/src/calliope/comfyui/source_reviews.json +++ b/calliope-backend/src/calliope/comfyui/source_reviews.json @@ -12661,7 +12661,711 @@ "scope": [ "结构及用途局部审校", "源具名参数/注释/连线/素材模型用途人工语义局部审校" - ] + ], + "fixed_version_document": { + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "source_sha1": "ad98277e4a2f88a4437d83a94eddf7d6b538f8da", + "source_sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b", + "canonical_sha256": "2d6b85111d5b69339309f3ece0545fed9be15c60893b19c07638bedcf593e287", + "notice": "固定版本仅作参考;latent/VAE兼容、实际尺寸/帧数/效果与环境未知,无音频连线,未实跑、转换保持关闭。", + "user_overview": "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "versions": [ + "加载10:DJZ f6ca9376132600e6245d3d9d2f1e5d0ffa448d99,cnr djz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", + "解码3:core0.3.57,官方tag v0.3.57→b0338e930bbc1f9d01f005f224573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。", + "合成4:VHS8e4d79471bf1952154768e8435a9300077b534fa准确提交,不套1.7.7/1.7.9发布包或其它commit。", + "源无frontendVersion;UE10/5为7.4.1、3/4为7.1,空映射不等于无影响,身份/恢复/钩子次序未知。", + "DJZ该提交pyproject声明license.file=LICENSE,但完整树未发现LICENSE/其它许可文件(请求LICENSE为404);许可授权未知,不用core/VHS的GPL原文代替。仅静态审查,不安装执行。" + ], + "counts": { + "saved_fields": 13, + "scalar_saved_positions": 12, + "history_objects": 1, + "source_nodes": 4, + "physical_edges": 3, + "source_notes": 0, + "linked_saved_fields": 0, + "frontend_only": 1, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "field": "latent_file", + "label": "latent文件引用", + "type": "COMBO", + "schema_default": "output递归枚举并排序;无文件时仅空字符串;无固定默认", + "unit": "文件引用", + "limits": "仅扫描大小写敏感的.latent后缀;目标动态列表未知", + "effect": "保存latents反斜杠引用原文,仅按output目录拼接;不规范化、不验证可达、不读取latent。准确DJZ用safetensors.torch.load_file(device=cpu),取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在try外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLatent或DJZ V2。", + "evidence": [ + 0, + 1, + 2 + ], + "role": "scalar", + "node_id": "10", + "definition_node_id": "10", + "class_type": "DJZ-LoadLatent", + "scope": "root", + "pointer": "/nodes/0/widgets_values/0", + "value": "latents\\ComfyUI_00001_nmxvu_1762517653.latent", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "frame_rate", + "label": "合成播放帧率", + "type": "floatOrInt", + "schema_default": "8", + "unit": "帧/秒", + "limits": "min1、step1;schema未设max", + "effect": "保存16,无外线覆盖;这是合成时间轴设置,不是原始FPS或实际时长证明。若解码批次可用,时长与输出帧数/16及编码条件有关;实际帧数未知。", + "evidence": [ + 11, + 12, + 19 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/frame_rate", + "value": 16, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "loop_count", + "label": "附加循环次数", + "type": "INT", + "schema_default": "0", + "unit": "次", + "limits": "0~100,step1", + "effect": "保存0;视频分支不额外循环,不将GIF循环语义套给MP4。", + "evidence": [ + 11, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/loop_count", + "value": 0, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "filename_prefix", + "label": "输出文件名前缀", + "type": "STRING", + "schema_default": "AnimateDiff", + "unit": "路径/前缀", + "limits": "目标目录/权限/计数未知", + "effect": "保存video/WanVideo_,仅是输出前缀,不是固定产物文件名,不证明模型家族或源latent来自视频;不访问目录。", + "evidence": [ + 11 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/filename_prefix", + "value": "video/WanVideo_", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "format", + "label": "合成编码格式", + "type": "COMBO", + "schema_default": "schema动态格式列表;函数回退image/gif", + "unit": "格式选择", + "limits": "本图video/h264-mp4;动态编码器/格式列表未知", + "effect": "保存H264 MP4,准确模板使用libx264;音频另有AAC条件。本图无音频输入,不能称保留原视频声音;未执行ffmpeg。", + "evidence": [ + 11, + 12, + 14, + 18 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/format", + "value": "video/h264-mp4", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "pix_fmt", + "label": "像素格式", + "type": "COMBO", + "schema_default": "yuv420p(模板首项)", + "unit": "像素格式", + "limits": "yuv420p或yuv420p10le", + "effect": "保存yuv420p,传给编码模板;编码前可能按格式dim_alignment补边,实际编码器支持及尺寸未知。", + "evidence": [ + 14, + 12, + 18 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/pix_fmt", + "value": "yuv420p", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "crf", + "label": "恒定质量因子", + "type": "INT", + "schema_default": "19", + "unit": "CRF", + "limits": "0~100,step1", + "effect": "保存19传给libx264 -crf;通常数值较低质量较高且文件较大,不保证码率、大小或成功。", + "evidence": [ + 14, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/crf", + "value": 19, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "save_metadata", + "label": "保存视频元数据", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "开关", + "limits": "true/false;prompt/extra_pnginfo与格式模板有条件", + "effect": "保存true,视频元数据按模板条件写入;独立首帧PNG由VHS_MetadataImage(默认开启)另控,不把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。", + "evidence": [ + 13, + 11, + 14 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/save_metadata", + "value": true, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "trim_to_audio", + "label": "音频裁切策略", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "开关", + "limits": "仅audio及有效waveform存在才混流", + "effect": "保存false;本图audio未接,不进入音频混流,不保留原声音。若以后接有效音频,准确本版str(False)条件会采用apad=whole_dur(总帧数/合成帧率+1)与-shortest;不保证同步,本轮不改图或运行。", + "evidence": [ + 13, + 12, + 14 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/trim_to_audio", + "value": false, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "pingpong", + "label": "往返追加", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "开关", + "limits": "true/false", + "effect": "保存false,不追加逆序中间帧;解码批次本身的时序/含义未知,不按名称推断。", + "evidence": [ + 11, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/pingpong", + "value": false, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "save_output", + "label": "保存正式输出", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "开关", + "limits": "true选output,false选temp;目标权限未知", + "effect": "保存true选择正式output目录;可能有独立首帧PNG与无声MP4,存在性未知。VHS_FILENAMES未接,不新增映射或执行出口;中间文件保留受VHS_KeepIntermediate条件影响。", + "evidence": [ + 11, + 12, + 15 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/save_output", + "value": true, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "videopreview", + "label": "历史合成预览对象", + "type": "前端嵌套对象", + "schema_default": "无服务端默认", + "unit": "历史状态", + "limits": "整对象一位置;不递归增加位置", + "effect": "完整保留paused/hidden/params、E盘fullpath、16fps及workflow PNG纯文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。", + "evidence": [ + 17, + 16 + ], + "role": "frontend_history", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/videopreview", + "value": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideo__00001.png", + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4" + } + }, + "json_type": "dict", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "vae_name", + "label": "VAE文件引用", + "type": "COMBO", + "schema_default": "vae_list动态列表,无固定默认", + "unit": "文件引用", + "limits": "配置vae/vae_approx目录与成对近似VAE选项,附pixel_space;目标列表未知", + "effect": "保存Wan2_1_VAE_bf16.safetensors,只是引用。core0.3.68普通分支get_full_path_or_raise(vae,vae_name)→load_torch_file→comfy.sd.VAE→有效性检查;不证明安装、实际dtype、模型架构或与latent兼容。文件名不证明latent来源、分辨率、时间结构或Wan家族;本轮不加载模型。", + "evidence": [ + 5, + 6, + 10, + 7, + 8, + 9 + ], + "role": "scalar", + "node_id": "5", + "definition_node_id": "5", + "class_type": "VAELoader", + "scope": "root", + "pointer": "/nodes/3/widgets_values/0", + "value": "Wan2_1_VAE_bf16.safetensors", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + } + ], + "sources": [ + { + "id": "djz", + "file": "DJZLoadLatent.py", + "local_file": "../latent-reference/djz__DJZLoadLatent.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab", + "lines": [ + 7, + 112 + ], + "claim": "精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证" + }, + { + "id": "djz", + "file": "__init__.py", + "local_file": "../latent-reference/djz____init__.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb", + "lines": [ + 123, + 136 + ], + "claim": "准确DJZ-LoadLatent注册;V2独立注册,不套V2" + }, + { + "id": "djz", + "file": "pyproject.toml", + "local_file": "../latent-reference/djz__pyproject.toml", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5", + "lines": [ + 1, + 15 + ], + "claim": "精确元数据声明LICENSE,但此提交树无该文件,许可授权未知" + }, + { + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 278, + 298 + ], + "claim": "core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次" + }, + { + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 1941, + 1954 + ], + "claim": "core0.3.57准确VAEDecode注册" + }, + { + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 694, + 788 + ], + "claim": "core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查" + }, + { + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 1945, + 1958 + ], + "claim": "core0.3.68准确VAELoader注册" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 277, + 330 + ], + "claim": "core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 582, + 618 + ], + "claim": "core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 695, + 732 + ], + "claim": "core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知" + }, + { + "id": "core68", + "file": "folder_paths.py", + "local_file": "../latent-reference/core68__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a", + "lines": [ + 282, + 308 + ], + "claim": "core0.3.68配置的vae路径解析,目标目录存在性未知" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 234, + 388 + ], + "claim": "精确8e4d7947合成schema、output/temp目录与首帧PNG条件" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 420, + 627 + ], + "claim": "精确8e4d7947视频编码、可选音频waveform条件与预览返回" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 48, + 165 + ], + "claim": "精确8e4d7947格式模板、str(False)及元数据条件" + }, + { + "id": "vhs", + "file": "video_formats/h264-mp4.json", + "local_file": "../latent-reference/vhs__video_formats__h264-mp4.json", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8", + "lines": [ + 1, + 15 + ], + "claim": "精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 1020, + 1032 + ], + "claim": "精确VHS_VideoCombine注册" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 41, + 168 + ], + "claim": "精确VHS序列化/恢复回调,不证明未知宿主与UE次序" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 850, + 918 + ], + "claim": "精确VHS历史预览控件;纯文本保留,不加载预览媒体" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 1160, + 1225 + ], + "claim": "精确VHS格式动态控件;未确证未知宿主恢复" + }, + { + "id": "vhs", + "file": "videohelpersuite/utils.py", + "local_file": "../latent-reference/vhs__videohelpersuite__utils.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504", + "lines": [ + 19, + 56 + ], + "claim": "精确VHS floatOrInt类型与工具常量" + }, + { + "id": "core57", + "file": "LICENSE", + "local_file": "../latent-reference/core57__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "id": "core68", + "file": "LICENSE", + "local_file": "../latent-reference/core68__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "id": "vhs", + "file": "LICENSE", + "local_file": "../latent-reference/vhs__LICENSE", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + } + ], + "comments": [], + "flow": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "DJZ精确实现递归枚举output目录下.latent文件、相对路径排序,无文件提供空选项;加载以output与latent_file拼接,源反斜杠原样保留,不跨平台规范化或验证可达。IS_CHANGED读取文件算SHA256、VALIDATE_INPUTS查存在仅是上游行为描述,本轮不调用。", + "DJZ通过safetensors.torch.load_file(device=cpu)读取,取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择先抛错,try中读取/字段异常却返回(1,4,8,8)零张量;该回退不能证明成功加载或可解码。源张量格式、缩放是否适配所选VAE未知,不执行反序列化。", + "VAE5按core0.3.68动态枚举vae/vae_approx及特殊选项,普通文件分支解析配置vae目录、载入权重、构造VAE并检查有效性。Wan2_1_VAE_bf16.safetensors只是引用,不证明已安装、真实dtype、架构或兼容;不能由Wan文件名或video/WanVideo_前缀猜latent来源、家族、时间结构或分辨率。", + "解码3按core0.3.57调用vae.decode(samples[\"samples\"]);若返回五维则展平为(-1,H,W,C)图像批次。VAE对象按core0.3.68参考实现会选设备/dtype、按显存分批、OOM尝试分块、末尾通道移到最后;默认process_output夹到0~1,但分支可覆盖,不能保证未知实际VAE/输出总在此范围。实际通道、帧数、尺寸、设备/兼容/效果未知,不运行GPU。", + "三条物理边双向核验:10槽0→3.samples;5槽0→3.vae;3槽0→4.images。四节点全mode0,无子图、无注释;3原widgets_values=[]零位置,与缺键/null/{}不同。物理边不证明真实运行或最终prompt。", + "合成4无frame_rate外线,保存16只控制合成播放时间轴,不证明原始FPS、latent帧数或实际时长。images来自解码3,audio/meta_batch/vae均未接,VHS_FILENAMES未接;没有音频节点/连线,不能称保留原声音,不制造输出映射。", + "准确VHS提交按h264-mp4/libx264、yuv420p/crf19、loop0、pingpong=false、save_output=true解释;output/temp按开关选择,独立首帧PNG受VHS_MetadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知,不运行ffmpeg。", + "trim_to_audio=false只有有效audio.waveform时才进入apad/-shortest混流分支;当前无音频输入,不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未请求任何输出文件。", + "一份videopreview完整对象保留历史E盘路径、16fps、workflow PNG、paused/hidden/params,仅纯文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无frontendVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。", + "源物理边:[2, 3, 0, 4, 0, \"IMAGE\"]", + "源物理边:[4, 5, 0, 3, 1, \"VAE\"]", + "源物理边:[5, 10, 0, 3, 0, \"LATENT\"]", + "节点10 DJZ-LoadLatent mode=0;保存位置=1;原properties={\"cnr_id\": \"djz-nodes\", \"ver\": \"f6ca9376132600e6245d3d9d2f1e5d0ffa448d99\", \"Node name for S&R\": \"DJZ-LoadLatent\", \"aux_id\": \"MushroomFleet/DJZ-Nodes\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}", + "节点3 VAEDecode mode=0;保存位置=0;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.57\", \"Node name for S&R\": \"VAEDecode\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点4 VHS_VideoCombine mode=0;保存位置=11;原properties={\"cnr_id\": \"comfyui-videohelpersuite\", \"ver\": \"8e4d79471bf1952154768e8435a9300077b534fa\", \"Node name for S&R\": \"VHS_VideoCombine\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点5 VAELoader mode=0;保存位置=1;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.68\", \"Node name for S&R\": \"VAELoader\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}" + ], + "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 + ], + "zero_saved_nodes": [ + { + "node_id": "3", + "class_type": "VAEDecode", + "evidence": [ + 3, + 4 + ], + "effect": "原widgets_values=[]零位置;两个具名连线输入samples/vae,不是缺键/null/{},五维结果按准确core0.3.57展平成图像批次,实际兼容未知。" + } + ], + "steps": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。", + "操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。", + "操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。", + "操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。", + "常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。", + "常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。" + ] + } }, "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json": { "source_sha": "b09b3d8dfef5f886d1b2f6e9a4ab5d2bb97aee9a", diff --git a/calliope-backend/tests/test_background_fixed_document.py b/calliope-backend/tests/test_background_fixed_document.py index b00844f1..d3cf5e07 100644 --- a/calliope-backend/tests/test_background_fixed_document.py +++ b/calliope-backend/tests/test_background_fixed_document.py @@ -209,10 +209,11 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent(): "加载图片合成视频.json", "双图像或视频合并显示.json", "截取视频每一帧.json", + "加载本地latent解码.json", ) ) ] - assert len(additions) == 11 + assert len(additions) == 12 for p in additions: now[p].pop("fixed_version_document") historical = [p for p in DEFINITIONS if p not in additions] diff --git a/calliope-backend/tests/test_concat_fixed_document.py b/calliope-backend/tests/test_concat_fixed_document.py index 8592bbc9..4bc0ba50 100644 --- a/calliope-backend/tests/test_concat_fixed_document.py +++ b/calliope-backend/tests/test_concat_fixed_document.py @@ -162,11 +162,13 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "d1ba226:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") d = doc(0) - assert now == old and len(DEFINITIONS) == 22 + assert now == old and len(DEFINITIONS) == 23 assert d["fixed_version"]["matched"] and len(b["fields"]) == 42 assert b["comments"] == [] and b["counts"]["history_objects"] == 3 assert b["counts"]["scalar_saved_positions"] == 39 diff --git a/calliope-backend/tests/test_controlnet_fixed_document.py b/calliope-backend/tests/test_controlnet_fixed_document.py index e2e7fc79..d6759daa 100644 --- a/calliope-backend/tests/test_controlnet_fixed_document.py +++ b/calliope-backend/tests/test_controlnet_fixed_document.py @@ -203,7 +203,7 @@ def test_graph_specific_semantics_and_companion(): def test_other_documents_and_block_swaps(): - assert len(DEFINITIONS) == 22 + assert len(DEFINITIONS) == 23 for path in DEFINITIONS: if path == PATH: continue diff --git a/calliope-backend/tests/test_frames_fixed_document.py b/calliope-backend/tests/test_frames_fixed_document.py index 92ba8e04..8dc2aa4a 100644 --- a/calliope-backend/tests/test_frames_fixed_document.py +++ b/calliope-backend/tests/test_frames_fixed_document.py @@ -162,8 +162,10 @@ def test_exact_graph_versions_and_preservation(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "9db8857:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 22 + assert now == old and len(DEFINITIONS) == 23 assert len(b["fields"]) == 31 and b["counts"]["history_objects"] == 3 assert b["counts"]["scalar_saved_positions"] == 28 assert b["comments"] == [] and b["counts"]["linked_saved_fields"] == 0 diff --git a/calliope-backend/tests/test_gemma_fixed_document.py b/calliope-backend/tests/test_gemma_fixed_document.py index 332b3213..104919ff 100644 --- a/calliope-backend/tests/test_gemma_fixed_document.py +++ b/calliope-backend/tests/test_gemma_fixed_document.py @@ -153,6 +153,8 @@ def test_real_document_and_frozen_old_thirteen_blocks(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "9dac1b4:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") for added in [ @@ -172,7 +174,7 @@ def test_real_document_and_frozen_old_thirteen_blocks(): # SDPose is independently frozen against 7291887 in its own suite. sdpose = next(p for p in now if p.endswith("sdpose_视频人物姿势骨架提取.json")) now[sdpose].pop("fixed_version_document") - assert len(now) == 156 and len(DEFINITIONS) == 22 + assert len(now) == 156 and len(DEFINITIONS) == 23 assert len([r for r in old.values() if "fixed_version_document" in r]) == 13 assert ( sum( diff --git a/calliope-backend/tests/test_gif_images_fixed_document.py b/calliope-backend/tests/test_gif_images_fixed_document.py index 3b2936eb..d2ae6e74 100644 --- a/calliope-backend/tests/test_gif_images_fixed_document.py +++ b/calliope-backend/tests/test_gif_images_fixed_document.py @@ -136,6 +136,8 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "ae625ac:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") for i, p in enumerate(PATHS): @@ -153,7 +155,7 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): assert all(step in d["steps"] for step in b["steps"]) added = next(p for p in now if p.endswith("双图像或视频合并显示.json")) now[added].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 22 + assert now == old and len(DEFINITIONS) == 23 blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] assert len(blocks) == 18 and sum(len(b["fields"]) for b in blocks) == 516 gif = doc(0)["fixed_version"] diff --git a/calliope-backend/tests/test_grid_fixed_document.py b/calliope-backend/tests/test_grid_fixed_document.py index 23a367ac..23575d22 100644 --- a/calliope-backend/tests/test_grid_fixed_document.py +++ b/calliope-backend/tests/test_grid_fixed_document.py @@ -171,6 +171,8 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "27e6d56:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") for added in [ @@ -193,7 +195,7 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved(): # Gemma addition is independently protected against 9dac1b4 in its own suite. gemma = next(p for p in now if p.endswith("gemma4_提示词反推(图像视频音频).json")) now[gemma].pop("fixed_version_document") - assert len(DEFINITIONS) == 22 + assert len(DEFINITIONS) == 23 assert ( sum( len(r["fixed_version_document"]["fields"]) diff --git a/calliope-backend/tests/test_latent_fixed_document.py b/calliope-backend/tests/test_latent_fixed_document.py new file mode 100644 index 00000000..31642f19 --- /dev/null +++ b/calliope-backend/tests/test_latent_fixed_document.py @@ -0,0 +1,267 @@ +"""One editorial addition: identity refusal, exact positions and media conditions.""" + +import copy +import hashlib +import json +import subprocess +from pathlib import Path + +import pytest +from calliope.comfyui.fixed_document import DEFINITIONS, canonical +from calliope.comfyui.library import build_document +from calliope.comfyui.source_reviews import review_for + +REPO = Path(__file__).resolve().parents[2] +OUT = REPO / "docs/hel-892/latent-document-evidence" +PATHS = [next(p for p in DEFINITIONS if p.endswith(n + ".json")) for n in ["加载本地latent解码"]] +SOURCES = [json.loads((REPO / p).read_bytes()) for p in PATHS] +REVIEWS = [review_for(p, hashlib.sha1((REPO / p).read_bytes()).hexdigest()) for p in PATHS] +FIELDS = [(i, f) for i, r in enumerate(REVIEWS) for f in r["fixed_version_document"]["fields"]] + + +def pointer(obj, path): + for part in path.strip("/").split("/"): + obj = obj[int(part)] if isinstance(obj, list) else obj[part] + return obj + + +def doc(i, source=None, review=None): + return build_document( + PATHS[i], + SOURCES[i] if source is None else source, + None, + None, + [], + REVIEWS[i] if review is None else review, + ) + + +@pytest.mark.parametrize("i,field", FIELDS) +def test_exact_positions_and_fixed_text_citations(i, field): + value = pointer(SOURCES[i], field["pointer"]) + assert ( + canonical(value) == canonical(field["value"]) and type(value).__name__ == field["json_type"] + ) + for k in [ + "label", + "type", + "schema_default", + "unit", + "limits", + "effect", + "execution_note", + "role", + ]: + assert field[k] + for k in field["evidence"]: + e = REVIEWS[i]["fixed_version_document"]["sources"][k] + raw = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(raw).hexdigest() == e["sha256"] + assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines()) + assert (len(e["commit"]) == 40 and e["commit"] in e["url"]) or e.get( + "git_commit_binding" + ) == "unknown" + + +@pytest.mark.parametrize("i,field", FIELDS) +@pytest.mark.parametrize("variant", ["saved", "type", "text"]) +def test_every_position_refuses_even_recomputed_caller_digest(i, field, variant): + s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i]) + b = r["fixed_version_document"] + f = next(f for f in b["fields"] if f["pointer"] == field["pointer"]) + if variant == "text": + f["schema_default"] = "forged" + else: + parent, _, key = field["pointer"].rpartition("/") + target = pointer(s, parent) + target[int(key) if isinstance(target, list) else key] = ( + "forged" if variant == "type" else ("changed-null" if field["value"] is None else None) + ) + f["value"] = pointer(s, field["pointer"]) + f["json_type"] = type(f["value"]).__name__ + b["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + r["caller_digest"] = hashlib.sha256(canonical(b)).hexdigest() + assert not doc(i, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("i", [0]) +@pytest.mark.parametrize( + "kind", + [ + "edge", + "mode", + "version", + "history", + "missing", + "null", + "list", + "object", + "swap", + "source_sha", + "citation", + "ue", + "empty_node", + "reference", + "preview_missing", + "preview_null", + "preview_object", + ], +) +def test_graph_history_shape_and_binding_refuse(i, kind): + s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i]) + b = r["fixed_version_document"] + if kind == "edge": + s["links"][0][1] = 999 + elif kind == "mode": + s["nodes"][0]["mode"] = 2 + elif kind == "version": + s["nodes"][0]["properties"]["ver"] = "forged" + elif kind == "history": + next(n for n in s["nodes"] if n["id"] == 4)["widgets_values"]["videopreview"]["params"][ + "filename" + ] = "forged" + elif kind in ["missing", "null", "list", "object"]: + values = next(n for n in s["nodes"] if n["id"] == 4)["widgets_values"] + if kind == "missing": + del values["videopreview"] + else: + values["videopreview"] = {"null": None, "list": [], "object": {}}[kind] + elif kind == "swap": + r = copy.deepcopy( + review_for( + next(p for p in DEFINITIONS if p.endswith("视频倒放.json")), + hashlib.sha1( + ( + REPO / next(p for p in DEFINITIONS if p.endswith("视频倒放.json")) + ).read_bytes() + ).hexdigest(), + ) + ) + elif kind == "source_sha": + r["source_sha"] = "0" * 40 + elif kind == "ue": + s["extra"]["ue_links"] = [1] + elif kind == "empty_node": + next(n for n in s["nodes"] if n["id"] == 10)["widgets_values"] = [] + elif kind.startswith("preview_"): + n = next(n for n in s["nodes"] if n["id"] == 3) + if kind == "preview_missing": + del n["widgets_values"] + else: + n["widgets_values"] = None if kind == "preview_null" else {} + elif kind == "reference": + next(n for n in s["nodes"] if n["id"] == 5)["widgets_values"][0] = "forged.safetensors" + else: + b["sources"][0]["sha256"] = "0" * 64 + b["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + r["caller_digest"] = hashlib.sha256(canonical(b)).hexdigest() + assert not doc(i, s, r)["fixed_version"]["matched"] + + +def test_exact_graph_versions_and_preservation(): + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "256e6be:" + resource], cwd=REPO)) + now = json.loads((REPO / resource).read_bytes()) + b = now[PATHS[0]].pop("fixed_version_document") + assert now == old and len(DEFINITIONS) == 23 + assert b["counts"] == dict( + saved_fields=13, + scalar_saved_positions=12, + history_objects=1, + source_nodes=4, + physical_edges=3, + source_notes=0, + linked_saved_fields=0, + frontend_only=1, + final_scalars=0, + final_prompt_constructed=False, + ) + assert b["comments"] == [] + blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] + assert len(blocks) == 22 and sum(len(b["fields"]) for b in blocks) == 649 + assert sum(len(b.get("comments", [])) for b in blocks) == 14 + g = SOURCES[0] + nodes = {n["id"]: n for n in g["nodes"]} + assert len(nodes) == 4 and len(g["links"]) == 3 + assert g["links"] == [ + [2, 3, 0, 4, 0, "IMAGE"], + [4, 5, 0, 3, 1, "VAE"], + [5, 10, 0, 3, 0, "LATENT"], + ] + assert all(n["mode"] == 0 for n in nodes.values()) + for e in g["links"]: + assert e[0] in nodes[e[1]]["outputs"][e[2]]["links"] + assert nodes[e[1]]["outputs"][e[2]]["type"] == e[5] + assert nodes[e[3]]["inputs"][e[4]]["link"] == e[0] + assert nodes[e[3]]["inputs"][e[4]]["type"] == e[5] + assert nodes[3]["widgets_values"] == [] and len(b["zero_saved_nodes"]) == 1 + assert [nodes[i]["properties"]["ver"] for i in [10, 3, 4, 5]] == [ + "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "0.3.57", + "8e4d79471bf1952154768e8435a9300077b534fa", + "0.3.68", + ] + assert [nodes[i]["properties"]["ue_properties"]["version"] for i in [10, 3, 4, 5]] == [ + "7.4.1", + "7.1", + "7.1", + "7.4.1", + ] + assert "frontendVersion" not in g["extra"] + assert set(f["node_id"] for f in b["fields"]) == {"10", "4", "5"} + assert nodes[10]["widgets_values"] == [r"latents\ComfyUI_00001_nmxvu_1762517653.latent"] + assert nodes[5]["widgets_values"] == ["Wan2_1_VAE_bf16.safetensors"] + assert nodes[4]["inputs"][1]["link"] is None + assert nodes[4]["inputs"][4]["link"] is None + assert nodes[4]["outputs"][0]["links"] is None + d = doc(0) + assert d["fixed_version"]["matched"] + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + assert review_for(PATHS[0], "0" * 40) is None + assert all(step in d["steps"] for step in b["steps"]) + text = json.dumps(b, ensure_ascii=False) + for token in [ + "safetensors.torch.load_file", + "latent_tensor", + "latent_format_version_0", + "1/0.18215", + "零张量", + "兼容", + "不证明原始FPS", + "没有音频连线", + "VHS_MetadataImage", + "-shortest", + "许可授权未知", + "恢复/钩子次序", + "五维", + "0~1", + ]: + assert token in text + + +@pytest.mark.parametrize("node", [10, 3, 4, 5]) +@pytest.mark.parametrize("kind", ["mode", "ver", "ue"]) +def test_every_identity_refuses(node, kind): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + n = next(n for n in s["nodes"] if n["id"] == node) + if kind == "ue": + n["properties"]["ue_properties"]["version"] = "forged" + else: + (n if kind == "mode" else n["properties"])[kind] = 2 if kind == "mode" else "forged" + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("index", range(3)) +@pytest.mark.parametrize("side", ["output", "input"]) +def test_every_endpoint_refuses(index, side): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + e = s["links"][index] + nodes = {n["id"]: n for n in s["nodes"]} + if side == "output": + nodes[e[1]]["outputs"][e[2]]["links"].remove(e[0]) + else: + nodes[e[3]]["inputs"][e[4]]["link"] = None + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] diff --git a/calliope-backend/tests/test_nlf_fixed_document.py b/calliope-backend/tests/test_nlf_fixed_document.py index 2a695728..4dbf871b 100644 --- a/calliope-backend/tests/test_nlf_fixed_document.py +++ b/calliope-backend/tests/test_nlf_fixed_document.py @@ -260,6 +260,8 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") for added in [ @@ -273,7 +275,7 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): reverse = next(p for p in now if p.endswith("/视频倒放.json")) now[reverse].pop("fixed_version_document") assert now[PATH].pop("fixed_version_document") == BLOCK - assert now == old and len(DEFINITIONS) == 22 + assert now == old and len(DEFINITIONS) == 23 old_blocks = [ r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r ] @@ -284,7 +286,7 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) assert d["dependencies"]["check_state"] == "unchecked" for p in DEFINITIONS: - if p.endswith("/截取视频每一帧.json"): + if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): continue if p.endswith( ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") diff --git a/calliope-backend/tests/test_openpose_fixed_document.py b/calliope-backend/tests/test_openpose_fixed_document.py index 4a8a1dce..4ac39ec6 100644 --- a/calliope-backend/tests/test_openpose_fixed_document.py +++ b/calliope-backend/tests/test_openpose_fixed_document.py @@ -202,6 +202,8 @@ def test_exact_document_topology_and_preservation(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" previous = json.loads(subprocess.check_output(["git", "show", "fec5cca:" + resource], cwd=REPO)) current = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in current if p.endswith("/加载本地latent解码.json")) + current[latent].pop("fixed_version_document") later = next(p for p in current if p.endswith("/截取视频每一帧.json")) current[later].pop("fixed_version_document") for added in [ @@ -217,7 +219,7 @@ def test_exact_document_topology_and_preservation(): nlf = next(p for p in current if p.endswith("NLF_视频人物动作骨架获取.json")) current[nlf].pop("fixed_version_document") assert current[PATH].pop("fixed_version_document") == BLOCK - assert current == previous and len(DEFINITIONS) == 22 + assert current == previous and len(DEFINITIONS) == 23 old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r] assert len(old) == 15 and sum(len(b["fields"]) for b in old) == 394 assert sum(len(b.get("comments", [])) for b in old) == 13 # one historical ASR flow note @@ -225,7 +227,7 @@ def test_exact_document_topology_and_preservation(): assert d["dependencies"]["check_state"] == "unchecked" assert not doc(path="untrusted.json").get("fixed_version") for p in DEFINITIONS: - if p.endswith("/截取视频每一帧.json"): + if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): continue if p.endswith( ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") diff --git a/calliope-backend/tests/test_reverse_fixed_document.py b/calliope-backend/tests/test_reverse_fixed_document.py index a80d8aeb..9b655b37 100644 --- a/calliope-backend/tests/test_reverse_fixed_document.py +++ b/calliope-backend/tests/test_reverse_fixed_document.py @@ -222,12 +222,13 @@ def test_exact_graph_and_original_seventeen_unchanged(): "加载图片合成视频.json", "双图像或视频合并显示.json", "截取视频每一帧.json", + "加载本地latent解码.json", ) ) ]: now[added].pop("fixed_version_document") assert now[PATH].pop("fixed_version_document") == BLOCK - assert now == old and len(DEFINITIONS) == 22 + assert now == old and len(DEFINITIONS) == 23 blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] assert len(blocks) == 17 and sum(len(b["fields"]) for b in blocks) == 495 assert ( @@ -242,6 +243,7 @@ def test_exact_graph_and_original_seventeen_unchanged(): "加载图片合成视频.json", "双图像或视频合并显示.json", "截取视频每一帧.json", + "加载本地latent解码.json", ) ): continue diff --git a/calliope-backend/tests/test_sdpose_fixed_document.py b/calliope-backend/tests/test_sdpose_fixed_document.py index bf2b96e7..0654b38c 100644 --- a/calliope-backend/tests/test_sdpose_fixed_document.py +++ b/calliope-backend/tests/test_sdpose_fixed_document.py @@ -154,13 +154,15 @@ def test_real_document_and_frozen_old_fourteen_blocks(): p for p in DEFINITIONS if p != PATH - and not p.endswith("/截取视频每一帧.json") + and not p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")) and not p.endswith( ("NLF_视频人物动作骨架获取.json", "/视频倒放.json", "双图像或视频合并显示.json") ) ) resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" now = json.loads((REPO / resource).read_bytes()) + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") later = next(p for p in now if p.endswith("/截取视频每一帧.json")) now[later].pop("fixed_version_document") for added in [ @@ -184,7 +186,7 @@ def test_real_document_and_frozen_old_fourteen_blocks(): assert not doc(review=review)["fixed_version"]["matched"] now[openpose].pop("fixed_version_document") old = json.loads(subprocess.check_output(["git", "show", "7291887:" + resource], cwd=REPO)) - assert len(now) == 156 and len(DEFINITIONS) == 22 + assert len(now) == 156 and len(DEFINITIONS) == 23 old_blocks = [ r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r ] diff --git a/docs/hel-892/latent-document-evidence/actual-加载本地latent解码.json b/docs/hel-892/latent-document-evidence/actual-加载本地latent解码.json new file mode 100644 index 00000000..cb913641 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/actual-加载本地latent解码.json @@ -0,0 +1,1354 @@ +{ + "companion_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "dependencies": { + "check_state": "unchecked", + "checked_at": null, + "missing": [], + "model_locations": "待目标机提供", + "models": [ + "Wan2_1_VAE_bf16.safetensors" + ], + "node_packs": [], + "node_types": [ + "DJZ-LoadLatent", + "VAEDecode", + "VAELoader", + "VHS_VideoCombine" + ], + "source": null + }, + "draft": true, + "errors": [ + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:DJZ-LoadLatent" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:VAEDecode" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:VHS_VideoCombine" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:VAELoader" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "未得到可执行节点" + } + ], + "fixed_version": { + "canonical_sha256": "2d6b85111d5b69339309f3ece0545fed9be15c60893b19c07638bedcf593e287", + "comments": [], + "counts": { + "final_prompt_constructed": false, + "final_scalars": 0, + "frontend_only": 1, + "history_objects": 1, + "linked_saved_fields": 0, + "physical_edges": 3, + "saved_fields": 13, + "scalar_saved_positions": 12, + "source_nodes": 4, + "source_notes": 0 + }, + "fields": [ + { + "class_type": "DJZ-LoadLatent", + "definition_node_id": "10", + "effect": "保存latents反斜杠引用原文,仅按output目录拼接;不规范化、不验证可达、不读取latent。准确DJZ用safetensors.torch.load_file(device=cpu),取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在try外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLatent或DJZ V2。", + "evidence": [ + 0, + 1, + 2 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "latent_file", + "json_type": "str", + "label": "latent文件引用", + "limits": "仅扫描大小写敏感的.latent后缀;目标动态列表未知", + "node_id": "10", + "pointer": "/nodes/0/widgets_values/0", + "role": "scalar", + "schema_default": "output递归枚举并排序;无文件时仅空字符串;无固定默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "latents\\ComfyUI_00001_nmxvu_1762517653.latent" + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存16,无外线覆盖;这是合成时间轴设置,不是原始FPS或实际时长证明。若解码批次可用,时长与输出帧数/16及编码条件有关;实际帧数未知。", + "evidence": [ + 11, + 12, + 19 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "frame_rate", + "json_type": "int", + "label": "合成播放帧率", + "limits": "min1、step1;schema未设max", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/frame_rate", + "role": "scalar", + "schema_default": "8", + "scope": "root", + "type": "floatOrInt", + "unit": "帧/秒", + "value": 16 + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存0;视频分支不额外循环,不将GIF循环语义套给MP4。", + "evidence": [ + 11, + 12 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "loop_count", + "json_type": "int", + "label": "附加循环次数", + "limits": "0~100,step1", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/loop_count", + "role": "scalar", + "schema_default": "0", + "scope": "root", + "type": "INT", + "unit": "次", + "value": 0 + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存video/WanVideo_,仅是输出前缀,不是固定产物文件名,不证明模型家族或源latent来自视频;不访问目录。", + "evidence": [ + 11 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "filename_prefix", + "json_type": "str", + "label": "输出文件名前缀", + "limits": "目标目录/权限/计数未知", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/filename_prefix", + "role": "scalar", + "schema_default": "AnimateDiff", + "scope": "root", + "type": "STRING", + "unit": "路径/前缀", + "value": "video/WanVideo_" + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存H264 MP4,准确模板使用libx264;音频另有AAC条件。本图无音频输入,不能称保留原视频声音;未执行ffmpeg。", + "evidence": [ + 11, + 12, + 14, + 18 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "format", + "json_type": "str", + "label": "合成编码格式", + "limits": "本图video/h264-mp4;动态编码器/格式列表未知", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/format", + "role": "scalar", + "schema_default": "schema动态格式列表;函数回退image/gif", + "scope": "root", + "type": "COMBO", + "unit": "格式选择", + "value": "video/h264-mp4" + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存yuv420p,传给编码模板;编码前可能按格式dim_alignment补边,实际编码器支持及尺寸未知。", + "evidence": [ + 14, + 12, + 18 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "pix_fmt", + "json_type": "str", + "label": "像素格式", + "limits": "yuv420p或yuv420p10le", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/pix_fmt", + "role": "scalar", + "schema_default": "yuv420p(模板首项)", + "scope": "root", + "type": "COMBO", + "unit": "像素格式", + "value": "yuv420p" + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存19传给libx264 -crf;通常数值较低质量较高且文件较大,不保证码率、大小或成功。", + "evidence": [ + 14, + 12 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "crf", + "json_type": "int", + "label": "恒定质量因子", + "limits": "0~100,step1", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/crf", + "role": "scalar", + "schema_default": "19", + "scope": "root", + "type": "INT", + "unit": "CRF", + "value": 19 + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存true,视频元数据按模板条件写入;独立首帧PNG由VHS_MetadataImage(默认开启)另控,不把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。", + "evidence": [ + 13, + 11, + 14 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "save_metadata", + "json_type": "bool", + "label": "保存视频元数据", + "limits": "true/false;prompt/extra_pnginfo与格式模板有条件", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/save_metadata", + "role": "scalar", + "schema_default": "true", + "scope": "root", + "type": "BOOLEAN", + "unit": "开关", + "value": true + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存false;本图audio未接,不进入音频混流,不保留原声音。若以后接有效音频,准确本版str(False)条件会采用apad=whole_dur(总帧数/合成帧率+1)与-shortest;不保证同步,本轮不改图或运行。", + "evidence": [ + 13, + 12, + 14 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "trim_to_audio", + "json_type": "bool", + "label": "音频裁切策略", + "limits": "仅audio及有效waveform存在才混流", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/trim_to_audio", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "开关", + "value": false + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存false,不追加逆序中间帧;解码批次本身的时序/含义未知,不按名称推断。", + "evidence": [ + 11, + 12 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "pingpong", + "json_type": "bool", + "label": "往返追加", + "limits": "true/false", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/pingpong", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "开关", + "value": false + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "保存true选择正式output目录;可能有独立首帧PNG与无声MP4,存在性未知。VHS_FILENAMES未接,不新增映射或执行出口;中间文件保留受VHS_KeepIntermediate条件影响。", + "evidence": [ + 11, + 12, + 15 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "save_output", + "json_type": "bool", + "label": "保存正式输出", + "limits": "true选output,false选temp;目标权限未知", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/save_output", + "role": "scalar", + "schema_default": "true", + "scope": "root", + "type": "BOOLEAN", + "unit": "开关", + "value": true + }, + { + "class_type": "VHS_VideoCombine", + "definition_node_id": "4", + "effect": "完整保留paused/hidden/params、E盘fullpath、16fps及workflow PNG纯文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。", + "evidence": [ + 17, + 16 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "videopreview", + "json_type": "dict", + "label": "历史合成预览对象", + "limits": "整对象一位置;不递归增加位置", + "node_id": "4", + "pointer": "/nodes/2/widgets_values/videopreview", + "role": "frontend_history", + "schema_default": "无服务端默认", + "scope": "root", + "type": "前端嵌套对象", + "unit": "历史状态", + "value": { + "hidden": false, + "params": { + "filename": "WanVideo__00001.mp4", + "format": "video/h264-mp4", + "frame_rate": 16, + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "workflow": "WanVideo__00001.png" + }, + "paused": false + } + }, + { + "class_type": "VAELoader", + "definition_node_id": "5", + "effect": "保存Wan2_1_VAE_bf16.safetensors,只是引用。core0.3.68普通分支get_full_path_or_raise(vae,vae_name)→load_torch_file→comfy.sd.VAE→有效性检查;不证明安装、实际dtype、模型架构或与latent兼容。文件名不证明latent来源、分辨率、时间结构或Wan家族;本轮不加载模型。", + "evidence": [ + 5, + 6, + 10, + 7, + 8, + 9 + ], + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + "field": "vae_name", + "json_type": "str", + "label": "VAE文件引用", + "limits": "配置vae/vae_approx目录与成对近似VAE选项,附pixel_space;目标列表未知", + "node_id": "5", + "pointer": "/nodes/3/widgets_values/0", + "role": "scalar", + "schema_default": "vae_list动态列表,无固定默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "Wan2_1_VAE_bf16.safetensors" + } + ], + "flow": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "DJZ精确实现递归枚举output目录下.latent文件、相对路径排序,无文件提供空选项;加载以output与latent_file拼接,源反斜杠原样保留,不跨平台规范化或验证可达。IS_CHANGED读取文件算SHA256、VALIDATE_INPUTS查存在仅是上游行为描述,本轮不调用。", + "DJZ通过safetensors.torch.load_file(device=cpu)读取,取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择先抛错,try中读取/字段异常却返回(1,4,8,8)零张量;该回退不能证明成功加载或可解码。源张量格式、缩放是否适配所选VAE未知,不执行反序列化。", + "VAE5按core0.3.68动态枚举vae/vae_approx及特殊选项,普通文件分支解析配置vae目录、载入权重、构造VAE并检查有效性。Wan2_1_VAE_bf16.safetensors只是引用,不证明已安装、真实dtype、架构或兼容;不能由Wan文件名或video/WanVideo_前缀猜latent来源、家族、时间结构或分辨率。", + "解码3按core0.3.57调用vae.decode(samples[\"samples\"]);若返回五维则展平为(-1,H,W,C)图像批次。VAE对象按core0.3.68参考实现会选设备/dtype、按显存分批、OOM尝试分块、末尾通道移到最后;默认process_output夹到0~1,但分支可覆盖,不能保证未知实际VAE/输出总在此范围。实际通道、帧数、尺寸、设备/兼容/效果未知,不运行GPU。", + "三条物理边双向核验:10槽0→3.samples;5槽0→3.vae;3槽0→4.images。四节点全mode0,无子图、无注释;3原widgets_values=[]零位置,与缺键/null/{}不同。物理边不证明真实运行或最终prompt。", + "合成4无frame_rate外线,保存16只控制合成播放时间轴,不证明原始FPS、latent帧数或实际时长。images来自解码3,audio/meta_batch/vae均未接,VHS_FILENAMES未接;没有音频节点/连线,不能称保留原声音,不制造输出映射。", + "准确VHS提交按h264-mp4/libx264、yuv420p/crf19、loop0、pingpong=false、save_output=true解释;output/temp按开关选择,独立首帧PNG受VHS_MetadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知,不运行ffmpeg。", + "trim_to_audio=false只有有效audio.waveform时才进入apad/-shortest混流分支;当前无音频输入,不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未请求任何输出文件。", + "一份videopreview完整对象保留历史E盘路径、16fps、workflow PNG、paused/hidden/params,仅纯文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无frontendVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。", + "源物理边:[2, 3, 0, 4, 0, \"IMAGE\"]", + "源物理边:[4, 5, 0, 3, 1, \"VAE\"]", + "源物理边:[5, 10, 0, 3, 0, \"LATENT\"]", + "节点10 DJZ-LoadLatent mode=0;保存位置=1;原properties={\"cnr_id\": \"djz-nodes\", \"ver\": \"f6ca9376132600e6245d3d9d2f1e5d0ffa448d99\", \"Node name for S&R\": \"DJZ-LoadLatent\", \"aux_id\": \"MushroomFleet/DJZ-Nodes\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}", + "节点3 VAEDecode mode=0;保存位置=0;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.57\", \"Node name for S&R\": \"VAEDecode\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点4 VHS_VideoCombine mode=0;保存位置=11;原properties={\"cnr_id\": \"comfyui-videohelpersuite\", \"ver\": \"8e4d79471bf1952154768e8435a9300077b534fa\", \"Node name for S&R\": \"VHS_VideoCombine\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点5 VAELoader mode=0;保存位置=1;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.68\", \"Node name for S&R\": \"VAELoader\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}" + ], + "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 + ], + "matched": true, + "notice": "固定版本仅作参考;latent/VAE兼容、实际尺寸/帧数/效果与环境未知,无音频连线,未实跑、转换保持关闭。", + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "source_sha1": "ad98277e4a2f88a4437d83a94eddf7d6b538f8da", + "source_sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b", + "sources": [ + { + "claim": "精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "file": "DJZLoadLatent.py", + "id": "djz", + "lines": [ + 7, + 112 + ], + "local_file": "../latent-reference/djz__DJZLoadLatent.py", + "sha256": "9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py" + }, + { + "claim": "准确DJZ-LoadLatent注册;V2独立注册,不套V2", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "file": "__init__.py", + "id": "djz", + "lines": [ + 123, + 136 + ], + "local_file": "../latent-reference/djz____init__.py", + "sha256": "3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py" + }, + { + "claim": "精确元数据声明LICENSE,但此提交树无该文件,许可授权未知", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "file": "pyproject.toml", + "id": "djz", + "lines": [ + 1, + 15 + ], + "local_file": "../latent-reference/djz__pyproject.toml", + "sha256": "34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml" + }, + { + "claim": "core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "file": "nodes.py", + "id": "core57", + "lines": [ + 278, + 298 + ], + "local_file": "../latent-reference/core57__nodes.py", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py" + }, + { + "claim": "core0.3.57准确VAEDecode注册", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "file": "nodes.py", + "id": "core57", + "lines": [ + 1941, + 1954 + ], + "local_file": "../latent-reference/core57__nodes.py", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py" + }, + { + "claim": "core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "nodes.py", + "id": "core68", + "lines": [ + 694, + 788 + ], + "local_file": "../latent-reference/core68__nodes.py", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py" + }, + { + "claim": "core0.3.68准确VAELoader注册", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "nodes.py", + "id": "core68", + "lines": [ + 1945, + 1958 + ], + "local_file": "../latent-reference/core68__nodes.py", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py" + }, + { + "claim": "core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "comfy/sd.py", + "id": "core68", + "lines": [ + 277, + 330 + ], + "local_file": "../latent-reference/core68__comfy__sd.py", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py" + }, + { + "claim": "core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "comfy/sd.py", + "id": "core68", + "lines": [ + 582, + 618 + ], + "local_file": "../latent-reference/core68__comfy__sd.py", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py" + }, + { + "claim": "core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "comfy/sd.py", + "id": "core68", + "lines": [ + 695, + 732 + ], + "local_file": "../latent-reference/core68__comfy__sd.py", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py" + }, + { + "claim": "core0.3.68配置的vae路径解析,目标目录存在性未知", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "folder_paths.py", + "id": "core68", + "lines": [ + 282, + 308 + ], + "local_file": "../latent-reference/core68__folder_paths.py", + "sha256": "df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py" + }, + { + "claim": "精确8e4d7947合成schema、output/temp目录与首帧PNG条件", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "videohelpersuite/nodes.py", + "id": "vhs", + "lines": [ + 234, + 388 + ], + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py" + }, + { + "claim": "精确8e4d7947视频编码、可选音频waveform条件与预览返回", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "videohelpersuite/nodes.py", + "id": "vhs", + "lines": [ + 420, + 627 + ], + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py" + }, + { + "claim": "精确8e4d7947格式模板、str(False)及元数据条件", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "videohelpersuite/nodes.py", + "id": "vhs", + "lines": [ + 48, + 165 + ], + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py" + }, + { + "claim": "精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "video_formats/h264-mp4.json", + "id": "vhs", + "lines": [ + 1, + 15 + ], + "local_file": "../latent-reference/vhs__video_formats__h264-mp4.json", + "sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json" + }, + { + "claim": "精确VHS_VideoCombine注册", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "videohelpersuite/nodes.py", + "id": "vhs", + "lines": [ + 1020, + 1032 + ], + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py" + }, + { + "claim": "精确VHS序列化/恢复回调,不证明未知宿主与UE次序", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "web/js/VHS.core.js", + "id": "vhs", + "lines": [ + 41, + 168 + ], + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js" + }, + { + "claim": "精确VHS历史预览控件;纯文本保留,不加载预览媒体", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "web/js/VHS.core.js", + "id": "vhs", + "lines": [ + 850, + 918 + ], + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js" + }, + { + "claim": "精确VHS格式动态控件;未确证未知宿主恢复", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "web/js/VHS.core.js", + "id": "vhs", + "lines": [ + 1160, + 1225 + ], + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js" + }, + { + "claim": "精确VHS floatOrInt类型与工具常量", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "videohelpersuite/utils.py", + "id": "vhs", + "lines": [ + 19, + 56 + ], + "local_file": "../latent-reference/vhs__videohelpersuite__utils.py", + "sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py" + }, + { + "claim": "该准确提交许可原文;不代替DJZ许可", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "file": "LICENSE", + "id": "core57", + "lines": [ + 1, + 674 + ], + "local_file": "../latent-reference/core57__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE" + }, + { + "claim": "该准确提交许可原文;不代替DJZ许可", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "file": "LICENSE", + "id": "core68", + "lines": [ + 1, + 674 + ], + "local_file": "../latent-reference/core68__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE" + }, + { + "claim": "该准确提交许可原文;不代替DJZ许可", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "file": "LICENSE", + "id": "vhs", + "lines": [ + 1, + 674 + ], + "local_file": "../latent-reference/vhs__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE" + } + ], + "steps": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。", + "操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。", + "操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。", + "操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。", + "常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。", + "常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。" + ], + "user_overview": "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "versions": [ + "加载10:DJZ f6ca9376132600e6245d3d9d2f1e5d0ffa448d99,cnr djz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", + "解码3:core0.3.57,官方tag v0.3.57→b0338e930bbc1f9d01f005f224573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。", + "合成4:VHS8e4d79471bf1952154768e8435a9300077b534fa准确提交,不套1.7.7/1.7.9发布包或其它commit。", + "源无frontendVersion;UE10/5为7.4.1、3/4为7.1,空映射不等于无影响,身份/恢复/钩子次序未知。", + "DJZ该提交pyproject声明license.file=LICENSE,但完整树未发现LICENSE/其它许可文件(请求LICENSE为404);许可授权未知,不用core/VHS的GPL原文代替。仅静态审查,不安装执行。" + ], + "zero_saved_nodes": [ + { + "class_type": "VAEDecode", + "effect": "原widgets_values=[]零位置;两个具名连线输入samples/vae,不是缺键/null/{},五维结果按准确core0.3.57展平成图像批次,实际兼容未知。", + "evidence": [ + 3, + 4 + ], + "node_id": "3" + } + ] + }, + "io": { + "inputs": [], + "outputs": [] + }, + "materials": [], + "params": [ + { + "advanced": false, + "default": 16, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "frame_rate", + "max": null, + "min": null, + "name": "frame_rate", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "int", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": 0, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "loop_count", + "max": null, + "min": null, + "name": "loop_count", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "int", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": "video/WanVideo_", + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "filename_prefix", + "max": null, + "min": null, + "name": "filename_prefix", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "str", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": "video/h264-mp4", + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "format", + "max": null, + "min": null, + "name": "format", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "str", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": "yuv420p", + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "pix_fmt", + "max": null, + "min": null, + "name": "pix_fmt", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "str", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": 19, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "crf", + "max": null, + "min": null, + "name": "crf", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "int", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": true, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "save_metadata", + "max": null, + "min": null, + "name": "save_metadata", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "bool", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": false, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "trim_to_audio", + "max": null, + "min": null, + "name": "trim_to_audio", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "bool", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": false, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "pingpong", + "max": null, + "min": null, + "name": "pingpong", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "bool", + "unit": null, + "value_origin": "ui_named_widget" + }, + { + "advanced": false, + "default": true, + "default_source": "source_file", + "effect": "待节点定义及人工核对", + "field": "save_output", + "max": null, + "min": null, + "name": "save_output", + "node_id": "4", + "options": null, + "range_source": "unverified", + "type": "bool", + "unit": null, + "value_origin": "ui_named_widget" + } + ], + "purpose": "本地 latent 经 DJZ-LoadLatent 与 VAEDecode 解码后由 VHS_VideoCombine 合成。", + "snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "source_links": [ + { + "link": [ + 2, + 3, + 0, + 4, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 4, + 5, + 0, + 3, + 1, + "VAE" + ], + "scope": "" + }, + { + "link": [ + 5, + 10, + 0, + 3, + 0, + "LATENT" + ], + "scope": "" + } + ], + "source_nodes": [ + { + "class_type": "DJZ-LoadLatent", + "inputs": [ + { + "label": "latent_file", + "link": null, + "localized_name": "latent_file", + "name": "latent_file", + "type": "COMBO", + "widget": { + "name": "latent_file" + } + } + ], + "mode": 0, + "node_id": "10", + "source_values": [ + "latents\\ComfyUI_00001_nmxvu_1762517653.latent" + ], + "title": null + }, + { + "class_type": "VAEDecode", + "inputs": [ + { + "label": "Latent", + "link": 5, + "localized_name": "Latent", + "name": "samples", + "type": "LATENT" + }, + { + "label": "VAE", + "link": 4, + "localized_name": "vae", + "name": "vae", + "type": "VAE" + } + ], + "mode": 0, + "node_id": "3", + "source_values": [], + "title": null + }, + { + "class_type": "VHS_VideoCombine", + "inputs": [ + { + "label": "图像", + "link": 2, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + }, + { + "label": "音频", + "link": null, + "localized_name": "音频", + "name": "audio", + "shape": 7, + "type": "AUDIO" + }, + { + "label": "批次管理", + "link": null, + "localized_name": "批次管理", + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager" + }, + { + "link": null, + "localized_name": "vae", + "name": "vae", + "shape": 7, + "type": "VAE" + }, + { + "label": "帧率", + "link": null, + "localized_name": "帧率", + "name": "frame_rate", + "type": "FLOAT", + "widget": { + "name": "frame_rate" + } + }, + { + "label": "循环次数", + "link": null, + "localized_name": "循环次数", + "name": "loop_count", + "type": "INT", + "widget": { + "name": "loop_count" + } + }, + { + "label": "文件名前缀", + "link": null, + "localized_name": "文件名前缀", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + } + }, + { + "label": "格式", + "link": null, + "localized_name": "格式", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + } + }, + { + "label": "Ping-Pong", + "link": null, + "localized_name": "Ping-Pong", + "name": "pingpong", + "type": "BOOLEAN", + "widget": { + "name": "pingpong" + } + }, + { + "label": "保存到输出文件夹", + "link": null, + "localized_name": "保存到输出文件夹", + "name": "save_output", + "type": "BOOLEAN", + "widget": { + "name": "save_output" + } + }, + { + "link": null, + "name": "pix_fmt", + "type": [ + "yuv420p", + "yuv420p10le" + ], + "widget": { + "name": "pix_fmt" + } + }, + { + "link": null, + "name": "crf", + "type": "INT", + "widget": { + "name": "crf" + } + }, + { + "label": "保存元数据", + "link": null, + "localized_name": "保存元数据", + "name": "save_metadata", + "type": "BOOLEAN", + "widget": { + "name": "save_metadata" + } + }, + { + "label": "修剪音频", + "link": null, + "localized_name": "修剪音频", + "name": "trim_to_audio", + "type": "BOOLEAN", + "widget": { + "name": "trim_to_audio" + } + } + ], + "mode": 0, + "node_id": "4", + "source_values": { + "crf": 19, + "filename_prefix": "video/WanVideo_", + "format": "video/h264-mp4", + "frame_rate": 16, + "loop_count": 0, + "pingpong": false, + "pix_fmt": "yuv420p", + "save_metadata": true, + "save_output": true, + "trim_to_audio": false, + "videopreview": { + "hidden": false, + "params": { + "filename": "WanVideo__00001.mp4", + "format": "video/h264-mp4", + "frame_rate": 16, + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "workflow": "WanVideo__00001.png" + }, + "paused": false + } + }, + "title": null + }, + { + "class_type": "VAELoader", + "inputs": [ + { + "link": null, + "localized_name": "vae名称", + "name": "vae_name", + "type": "COMBO", + "widget": { + "name": "vae_name" + } + } + ], + "mode": 0, + "node_id": "5", + "source_values": [ + "Wan2_1_VAE_bf16.safetensors" + ], + "title": null + } + ], + "source_notes": [], + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "source_review": { + "complete": false, + "evidence": { + "link_count": 3, + "model_references": [ + "Wan2_1_VAE_bf16.safetensors" + ], + "named_value_count": 10, + "node_count": 4, + "note_node_ids": [], + "unnamed_widget_node_ids": [ + "10", + "5" + ] + }, + "instruction": "先确认源 latent 文件与 Wan2_1_VAE_bf16.safetensors 的配套关系;latent 路径不是可直接上传替代的视频文件。", + "purpose": "本地 latent 经 DJZ-LoadLatent 与 VAEDecode 解码后由 VHS_VideoCombine 合成。", + "reviewed_named_fields": [ + { + "field": "frame_rate", + "label": "合成端帧率现值", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": 16 + }, + { + "field": "loop_count", + "label": "合成循环字段现值", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": 0 + }, + { + "field": "filename_prefix", + "label": "输出文件名前缀", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": "video/WanVideo_" + }, + { + "field": "format", + "label": "该节点格式选择现值(读入与合成不可混用)", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": "video/h264-mp4" + }, + { + "field": "pix_fmt", + "label": "输出像素格式选择", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": "yuv420p" + }, + { + "field": "crf", + "label": "输出编码质量字段现值", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": 19 + }, + { + "field": "save_metadata", + "label": "输出元数据保存开关", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": true + }, + { + "field": "trim_to_audio", + "label": "合成端按音频裁切开关", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": false + }, + { + "field": "pingpong", + "label": "合成端往返字段开关", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": false + }, + { + "field": "save_output", + "label": "合成端保存开关", + "node_id": "4", + "node_type": "VHS_VideoCombine", + "scope": "人工核对源具名字段及现值、所在节点的读入/合成用途;单位、合法范围、插件行为和调整效果未确认", + "source_value": true + } + ], + "scope": [ + "结构及用途局部审校", + "源具名参数/注释/连线/素材模型用途人工语义局部审校" + ], + "semantic_review": { + "batch": "HEL-892-third", + "conclusions": [ + "10的LATENT经连线5进入3解码,5的VAE经4进入3,解码图像再送4合成。4具名frame_rate=16、format=video/h264-mp4、save_output=true属于合成端", + "输入是.latent文件,不能替成普通视频", + "Wan2_1_VAE_bf16.safetensors应与latent配套,本图无注释补充此关系。" + ], + "evidence_refs": { + "nodes": [ + { + "node_id": "10", + "pointer": "/source_nodes/0" + }, + { + "node_id": "3", + "pointer": "/source_nodes/1" + }, + { + "node_id": "4", + "pointer": "/source_nodes/2" + }, + { + "node_id": "5", + "pointer": "/source_nodes/3" + } + ], + "notes": [], + "source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)" + }, + "mechanical_inventory": { + "link_count": 3, + "named_value_count": 10, + "note_count": 0, + "position_widget_node_count": 2 + }, + "named_parameter_finding": "已核对源具名字段及现值,详见reviewed_named_fields", + "operation_check": "10的LATENT经连线5进入3解码,5的VAE经4进入3,解码图像再送4合成。4具名frame_rate=16、format=video/h264-mp4、save_output=true属于合成端;输入是.latent文件,不能替成普通视频;Wan2_1_VAE_bf16.safetensors应与latent配套,本图无注释补充此关系。", + "unknowns": [ + "位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证", + "注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证", + "静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出", + "模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对" + ] + }, + "source_sha": "ad98277e4a2f88a4437d83a94eddf7d6b538f8da", + "unconfirmed": [ + "逐参数语义、单位、范围和调整效果未定稿", + "UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出", + "模型/节点包位置、素材可用性及实际输出未在目标环境核对" + ] + }, + "source_review_sha": "a39240dd78cef1ac4b44121a2b4586d156fb659144b285478d8c1687ff12bd25", + "status": { + "doc_done": false, + "exec_verified": false, + "imported": true + }, + "steps": [ + "先确认源 latent 文件与 Wan2_1_VAE_bf16.safetensors 的配套关系;latent 路径不是可直接上传替代的视频文件。", + "10的LATENT经连线5进入3解码,5的VAE经4进入3,解码图像再送4合成。4具名frame_rate=16、format=video/h264-mp4、save_output=true属于合成端;输入是.latent文件,不能替成普通视频;Wan2_1_VAE_bf16.safetensors应与latent配套,本图无注释补充此关系。", + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。", + "操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。", + "操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。", + "操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。", + "常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。", + "常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。" + ], + "title": "加载本地latent解码" +} diff --git a/docs/hel-892/latent-document-evidence/audit-summary.json b/docs/hel-892/latent-document-evidence/audit-summary.json new file mode 100644 index 00000000..dfd588aa --- /dev/null +++ b/docs/hel-892/latent-document-evidence/audit-summary.json @@ -0,0 +1,24 @@ +{ + "total": 155, + "audit_scope": "current_delivery", + "source_files": 156, + "target_files": 155, + "user_excluded": 1, + "source_structure_purpose_partially_reviewed": 155, + "full_documents_completed": 0, + "files_with_selected_named_fields_reviewed": 41, + "selected_named_fields_reviewed": 1217, + "real_executions": 0, + "states": { + "pending_check": 16, + "needs_conversion": 139 + }, + "named_values_preserved": 1217, + "unnamed_widget_nodes": 3660, + "semantic_batch_files": 139, + "semantic_batch_without_named_fields": 114, + "semantic_batch_named_fields": 490, + "named_values_without_manual_field_review": 0, + "named_values_without_verified_units_ranges_effects": 1217, + "scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿" +} diff --git a/docs/hel-892/latent-document-evidence/boundaries.json b/docs/hel-892/latent-document-evidence/boundaries.json new file mode 100644 index 00000000..51416f25 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/boundaries.json @@ -0,0 +1,728 @@ +{ + "base": "256e6beae0202a89f2c2d18567daee64db6bd918", + "files": [ + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json", + "sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed" + }, + { + "path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json", + "sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json", + "sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49" + }, + { + "path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json", + "sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json", + "sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json", + "sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c" + }, + { + "path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json", + "sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json", + "sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json", + "sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json", + "sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json", + "sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json", + "sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json", + "sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json", + "sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json", + "sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json", + "sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json", + "sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json", + "sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json", + "sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json", + "sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json", + "sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json", + "sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json", + "sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json", + "sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json", + "sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json", + "sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json", + "sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json", + "sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json", + "sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json", + "sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json", + "sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json", + "sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json", + "sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json", + "sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json", + "sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json", + "sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json", + "sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json", + "sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json", + "sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json", + "sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json", + "sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json", + "sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json", + "sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json", + "sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json", + "sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json", + "sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json", + "sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json", + "sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json", + "sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json", + "sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json", + "sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json", + "sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json", + "sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json", + "sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json", + "sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json", + "sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json", + "sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json", + "sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json", + "sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json", + "sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json", + "sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json", + "sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json", + "sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json", + "sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json", + "sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json", + "sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json", + "sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json", + "sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json", + "sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json", + "sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json", + "sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json", + "sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json", + "sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json", + "sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json", + "sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json", + "sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json", + "sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json", + "sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json", + "sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json", + "sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json", + "sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json", + "sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json", + "sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json", + "sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json", + "sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json", + "sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json", + "sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json", + "sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json", + "sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json", + "sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json", + "sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json", + "sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json", + "sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json", + "sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json", + "sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json", + "sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json", + "sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json", + "sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json", + "sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json", + "sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json", + "sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json", + "sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json", + "sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json", + "sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json", + "sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json", + "sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json", + "sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json", + "sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json", + "sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json", + "sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json", + "sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json", + "sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json", + "sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json", + "sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json", + "sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json", + "sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json", + "sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json", + "sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json", + "sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json", + "sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json", + "sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json", + "sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json", + "sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json", + "sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json", + "sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json", + "sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json", + "sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json", + "sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json", + "sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json", + "sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json", + "sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json", + "sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json", + "sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json", + "sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json", + "sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json", + "sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json", + "sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json", + "sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json", + "sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json", + "sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json", + "sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json", + "sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json", + "sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json", + "sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json", + "sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json", + "sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json", + "sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json", + "sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json", + "sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json", + "sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json", + "sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071" + }, + { + "path": "docs/hel-892/supplied-api/02.api.json", + "sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b" + }, + { + "path": "docs/hel-892/supplied-api/01.api.json", + "sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e" + }, + { + "path": "docs/hel-892/supplied-api/07.api.json", + "sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d" + }, + { + "path": "docs/hel-892/supplied-api/06.api.json", + "sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b" + }, + { + "path": "docs/hel-892/supplied-api/04.api.json", + "sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e" + }, + { + "path": "docs/hel-892/supplied-api/03.api.json", + "sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce" + }, + { + "path": "docs/hel-892/supplied-api/05.api.json", + "sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8" + }, + { + "path": "calliope-backend/src/calliope/comfyui/registry.py", + "sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library_cli.py", + "sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380" + }, + { + "path": "calliope-backend/src/calliope/comfyui/client.py", + "sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72" + }, + { + "path": "calliope-backend/src/calliope/comfyui/output_map.py", + "sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.py", + "sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.json", + "sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4" + }, + { + "path": "calliope-backend/src/calliope/routers/workflows.py", + "sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97" + }, + { + "path": "calliope-backend/src/calliope/queue/worker.py", + "sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b" + }, + { + "path": "docs/hel-892/h3-chain-evidence/library.json", + "sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4" + }, + { + "path": "docs/hel-892/media-evidence/protected-six-cases.json", + "sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/structure_reference.py", + "sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb" + }, + { + "path": "calliope-backend/src/calliope/comfyui/serialization_reference.py", + "sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1" + }, + { + "path": "calliope-backend/src/calliope/comfyui/ui2api.py", + "sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py", + "sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py", + "sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c" + } + ], + "originals": 163, + "old_twenty_two_blocks_unchanged": true, + "drawer_css_unchanged": true, + "drawer_whole_file_unchanged": true, + "drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1", + "conversion_rerun": false, + "profiles_28_candidates_9_diffs_6": "unchanged" +} diff --git a/docs/hel-892/latent-document-evidence/browser-initial.txt b/docs/hel-892/latent-document-evidence/browser-initial.txt new file mode 100644 index 00000000..1dbab0e6 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/browser-initial.txt @@ -0,0 +1,777 @@ +PASS 23图662保存位置 +PASS 23图15源注释 +PASS 1440 加载本地latent解码默认中文用途 +PASS 1440 加载本地latent解码源审校默认折叠 +PASS 1440 加载本地latent解码技术范围默认折叠 +PASS 1440 加载本地latent解码默认无执行计数/实现标识 +PASS 1440 加载本地latent解码默认依据限制可见 +PASS 1440 加载本地latent解码 说明未定稿 +PASS 1440 加载本地latent解码 未验证实跑 +PASS 1440 加载本地latent解码 未检查 +PASS 1440 加载本地latent解码停用/时间戳空 +PASS 1440 加载本地latent解码参数全保留 +PASS 1440 加载本地latent解码默认无溢出 +PASS 1440 加载本地latent解码原用途/源路径展开保留 +PASS 1440 加载本地latent解码展开流程 0 +PASS 1440 加载本地latent解码展开流程 1 +PASS 1440 加载本地latent解码展开流程 2 +PASS 1440 加载本地latent解码展开流程 3 +PASS 1440 加载本地latent解码展开流程 4 +PASS 1440 加载本地latent解码展开流程 5 +PASS 1440 加载本地latent解码展开流程 6 +PASS 1440 加载本地latent解码展开流程 7 +PASS 1440 加载本地latent解码展开流程 8 +PASS 1440 加载本地latent解码展开流程 9 +PASS 1440 加载本地latent解码展开流程 10 +PASS 1440 加载本地latent解码展开流程 11 +PASS 1440 加载本地latent解码展开流程 12 +PASS 1440 加载本地latent解码展开流程 13 +PASS 1440 加载本地latent解码展开流程 14 +PASS 1440 加载本地latent解码展开流程 15 +PASS 1440 加载本地latent解码展开流程 16 +PASS 1440 加载本地latent解码原件摘要可展开 +PASS 1440 加载本地latent解码版本 0 +PASS 1440 加载本地latent解码版本 1 +PASS 1440 加载本地latent解码版本 2 +PASS 1440 加载本地latent解码版本 3 +PASS 1440 加载本地latent解码版本 4 +PASS 1440 10.latent_file键盘展开 +PASS 1440 10.latent_file用途/单位/范围/来源条件 +PASS 1440 10.latent_file精确保留现值 +PASS 1440 10.latent_file指针默认折叠 +PASS 1440 10.latent_file精确源码/类型/指针 +PASS 1440 10.latent_file展开无溢出 +PASS 1440 4.frame_rate键盘展开 +PASS 1440 4.frame_rate用途/单位/范围/来源条件 +PASS 1440 4.frame_rate精确保留现值 +PASS 1440 4.frame_rate指针默认折叠 +PASS 1440 4.frame_rate精确源码/类型/指针 +PASS 1440 4.frame_rate展开无溢出 +PASS 1440 4.loop_count键盘展开 +PASS 1440 4.loop_count用途/单位/范围/来源条件 +PASS 1440 4.loop_count精确保留现值 +PASS 1440 4.loop_count指针默认折叠 +PASS 1440 4.loop_count精确源码/类型/指针 +PASS 1440 4.loop_count展开无溢出 +PASS 1440 4.filename_prefix键盘展开 +PASS 1440 4.filename_prefix用途/单位/范围/来源条件 +PASS 1440 4.filename_prefix精确保留现值 +PASS 1440 4.filename_prefix指针默认折叠 +PASS 1440 4.filename_prefix精确源码/类型/指针 +PASS 1440 4.filename_prefix展开无溢出 +PASS 1440 4.format键盘展开 +PASS 1440 4.format用途/单位/范围/来源条件 +PASS 1440 4.format精确保留现值 +PASS 1440 4.format指针默认折叠 +PASS 1440 4.format精确源码/类型/指针 +PASS 1440 4.format展开无溢出 +PASS 1440 4.pix_fmt键盘展开 +PASS 1440 4.pix_fmt用途/单位/范围/来源条件 +PASS 1440 4.pix_fmt精确保留现值 +PASS 1440 4.pix_fmt指针默认折叠 +PASS 1440 4.pix_fmt精确源码/类型/指针 +PASS 1440 4.pix_fmt展开无溢出 +PASS 1440 4.crf键盘展开 +PASS 1440 4.crf用途/单位/范围/来源条件 +PASS 1440 4.crf精确保留现值 +PASS 1440 4.crf指针默认折叠 +PASS 1440 4.crf精确源码/类型/指针 +PASS 1440 4.crf展开无溢出 +PASS 1440 4.save_metadata键盘展开 +PASS 1440 4.save_metadata用途/单位/范围/来源条件 +PASS 1440 4.save_metadata精确保留现值 +PASS 1440 4.save_metadata指针默认折叠 +PASS 1440 4.save_metadata精确源码/类型/指针 +PASS 1440 4.save_metadata展开无溢出 +PASS 1440 4.trim_to_audio键盘展开 +PASS 1440 4.trim_to_audio用途/单位/范围/来源条件 +PASS 1440 4.trim_to_audio精确保留现值 +PASS 1440 4.trim_to_audio指针默认折叠 +PASS 1440 4.trim_to_audio精确源码/类型/指针 +PASS 1440 4.trim_to_audio展开无溢出 +PASS 1440 4.pingpong键盘展开 +PASS 1440 4.pingpong用途/单位/范围/来源条件 +PASS 1440 4.pingpong精确保留现值 +PASS 1440 4.pingpong指针默认折叠 +PASS 1440 4.pingpong精确源码/类型/指针 +PASS 1440 4.pingpong展开无溢出 +PASS 1440 4.save_output键盘展开 +PASS 1440 4.save_output用途/单位/范围/来源条件 +PASS 1440 4.save_output精确保留现值 +PASS 1440 4.save_output指针默认折叠 +PASS 1440 4.save_output精确源码/类型/指针 +PASS 1440 4.save_output展开无溢出 +PASS 1440 4.videopreview键盘展开 +PASS 1440 4.videopreview用途/单位/范围/来源条件 +PASS 1440 4.videopreview精确保留现值 +PASS 1440 4.videopreview指针默认折叠 +PASS 1440 4.videopreview精确源码/类型/指针 +PASS 1440 4.videopreview展开无溢出 +PASS 1440 5.vae_name键盘展开 +PASS 1440 5.vae_name用途/单位/范围/来源条件 +PASS 1440 5.vae_name精确保留现值 +PASS 1440 5.vae_name指针默认折叠 +PASS 1440 5.vae_name精确源码/类型/指针 +PASS 1440 5.vae_name展开无溢出 +PASS 1440Tab焦点保留 +PASS 1440ShiftTab焦点保留 +PASS 1440 加载本地latent解码关闭归还焦点 +PASS 1440 截取视频每一帧默认中文用途 +PASS 1440 截取视频每一帧源审校默认折叠 +PASS 1440 截取视频每一帧技术范围默认折叠 +PASS 1440 截取视频每一帧默认无执行计数/实现标识 +PASS 1440 截取视频每一帧默认依据限制可见 +PASS 1440 截取视频每一帧 说明未定稿 +PASS 1440 截取视频每一帧 未验证实跑 +PASS 1440 截取视频每一帧 未检查 +PASS 1440 截取视频每一帧停用/时间戳空 +PASS 1440 截取视频每一帧参数全保留 +PASS 1440 截取视频每一帧默认无溢出 +PASS 1440 截取视频每一帧旧图归还焦点 +PASS 1440 双图像或视频合并显示默认中文用途 +PASS 1440 双图像或视频合并显示源审校默认折叠 +PASS 1440 双图像或视频合并显示技术范围默认折叠 +PASS 1440 双图像或视频合并显示默认无执行计数/实现标识 +PASS 1440 双图像或视频合并显示默认依据限制可见 +PASS 1440 双图像或视频合并显示 说明未定稿 +PASS 1440 双图像或视频合并显示 未验证实跑 +PASS 1440 双图像或视频合并显示 未检查 +PASS 1440 双图像或视频合并显示停用/时间戳空 +PASS 1440 双图像或视频合并显示参数全保留 +PASS 1440 双图像或视频合并显示默认无溢出 +PASS 1440 双图像或视频合并显示旧图归还焦点 +PASS 1440 视频转gif动图图片默认中文用途 +PASS 1440 视频转gif动图图片源审校默认折叠 +PASS 1440 视频转gif动图图片技术范围默认折叠 +PASS 1440 视频转gif动图图片默认无执行计数/实现标识 +PASS 1440 视频转gif动图图片默认依据限制可见 +PASS 1440 视频转gif动图图片 说明未定稿 +PASS 1440 视频转gif动图图片 未验证实跑 +PASS 1440 视频转gif动图图片 未检查 +PASS 1440 视频转gif动图图片停用/时间戳空 +PASS 1440 视频转gif动图图片参数全保留 +PASS 1440 视频转gif动图图片默认无溢出 +PASS 1440 视频转gif动图图片旧图归还焦点 +PASS 1440 加载图片合成视频默认中文用途 +PASS 1440 加载图片合成视频源审校默认折叠 +PASS 1440 加载图片合成视频技术范围默认折叠 +PASS 1440 加载图片合成视频默认无执行计数/实现标识 +PASS 1440 加载图片合成视频默认依据限制可见 +PASS 1440 加载图片合成视频 说明未定稿 +PASS 1440 加载图片合成视频 未验证实跑 +PASS 1440 加载图片合成视频 未检查 +PASS 1440 加载图片合成视频停用/时间戳空 +PASS 1440 加载图片合成视频参数全保留 +PASS 1440 加载图片合成视频默认无溢出 +PASS 1440 加载图片合成视频旧图归还焦点 +PASS 1440 视频倒放默认中文用途 +PASS 1440 视频倒放源审校默认折叠 +PASS 1440 视频倒放技术范围默认折叠 +PASS 1440 视频倒放默认无执行计数/实现标识 +PASS 1440 视频倒放默认依据限制可见 +PASS 1440 视频倒放 说明未定稿 +PASS 1440 视频倒放 未验证实跑 +PASS 1440 视频倒放 未检查 +PASS 1440 视频倒放停用/时间戳空 +PASS 1440 视频倒放参数全保留 +PASS 1440 视频倒放默认无溢出 +PASS 1440 视频倒放旧图归还焦点 +PASS 1440 NLF_视频人物动作骨架获取默认中文用途 +PASS 1440 NLF_视频人物动作骨架获取源审校默认折叠 +PASS 1440 NLF_视频人物动作骨架获取技术范围默认折叠 +PASS 1440 NLF_视频人物动作骨架获取默认无执行计数/实现标识 +PASS 1440 NLF_视频人物动作骨架获取默认依据限制可见 +PASS 1440 NLF_视频人物动作骨架获取 说明未定稿 +PASS 1440 NLF_视频人物动作骨架获取 未验证实跑 +PASS 1440 NLF_视频人物动作骨架获取 未检查 +PASS 1440 NLF_视频人物动作骨架获取停用/时间戳空 +PASS 1440 NLF_视频人物动作骨架获取参数全保留 +PASS 1440 NLF_视频人物动作骨架获取默认无溢出 +PASS 1440 NLF_视频人物动作骨架获取旧图归还焦点 +PASS 1440 openpose-video-姿态检测默认中文用途 +PASS 1440 openpose-video-姿态检测源审校默认折叠 +PASS 1440 openpose-video-姿态检测技术范围默认折叠 +PASS 1440 openpose-video-姿态检测默认无执行计数/实现标识 +PASS 1440 openpose-video-姿态检测默认依据限制可见 +PASS 1440 openpose-video-姿态检测 说明未定稿 +PASS 1440 openpose-video-姿态检测 未验证实跑 +PASS 1440 openpose-video-姿态检测 未检查 +PASS 1440 openpose-video-姿态检测停用/时间戳空 +PASS 1440 openpose-video-姿态检测参数全保留 +PASS 1440 openpose-video-姿态检测默认无溢出 +PASS 1440 openpose-video-姿态检测旧图归还焦点 +PASS 1440 sdpose_视频人物姿势骨架提取默认中文用途 +PASS 1440 sdpose_视频人物姿势骨架提取源审校默认折叠 +PASS 1440 sdpose_视频人物姿势骨架提取技术范围默认折叠 +PASS 1440 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识 +PASS 1440 sdpose_视频人物姿势骨架提取默认依据限制可见 +PASS 1440 sdpose_视频人物姿势骨架提取 说明未定稿 +PASS 1440 sdpose_视频人物姿势骨架提取 未验证实跑 +PASS 1440 sdpose_视频人物姿势骨架提取 未检查 +PASS 1440 sdpose_视频人物姿势骨架提取停用/时间戳空 +PASS 1440 sdpose_视频人物姿势骨架提取参数全保留 +PASS 1440 sdpose_视频人物姿势骨架提取默认无溢出 +PASS 1440 sdpose_视频人物姿势骨架提取旧图归还焦点 +PASS 1440 gemma4_提示词反推(图像视频音频)默认中文用途 +PASS 1440 gemma4_提示词反推(图像视频音频)源审校默认折叠 +PASS 1440 gemma4_提示词反推(图像视频音频)技术范围默认折叠 +PASS 1440 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识 +PASS 1440 gemma4_提示词反推(图像视频音频)默认依据限制可见 +PASS 1440 gemma4_提示词反推(图像视频音频) 说明未定稿 +PASS 1440 gemma4_提示词反推(图像视频音频) 未验证实跑 +PASS 1440 gemma4_提示词反推(图像视频音频) 未检查 +PASS 1440 gemma4_提示词反推(图像视频音频)停用/时间戳空 +PASS 1440 gemma4_提示词反推(图像视频音频)参数全保留 +PASS 1440 gemma4_提示词反推(图像视频音频)默认无溢出 +PASS 1440 gemma4_提示词反推(图像视频音频)旧图归还焦点 +PASS 1440 图像合并成四宫格默认中文用途 +PASS 1440 图像合并成四宫格源审校默认折叠 +PASS 1440 图像合并成四宫格技术范围默认折叠 +PASS 1440 图像合并成四宫格默认无执行计数/实现标识 +PASS 1440 图像合并成四宫格默认依据限制可见 +PASS 1440 图像合并成四宫格 说明未定稿 +PASS 1440 图像合并成四宫格 未验证实跑 +PASS 1440 图像合并成四宫格 未检查 +PASS 1440 图像合并成四宫格停用/时间戳空 +PASS 1440 图像合并成四宫格参数全保留 +PASS 1440 图像合并成四宫格默认无溢出 +PASS 1440 图像合并成四宫格旧图归还焦点 +PASS 1440 图像分割-多宫格分割默认中文用途 +PASS 1440 图像分割-多宫格分割源审校默认折叠 +PASS 1440 图像分割-多宫格分割技术范围默认折叠 +PASS 1440 图像分割-多宫格分割默认无执行计数/实现标识 +PASS 1440 图像分割-多宫格分割默认依据限制可见 +PASS 1440 图像分割-多宫格分割 说明未定稿 +PASS 1440 图像分割-多宫格分割 未验证实跑 +PASS 1440 图像分割-多宫格分割 未检查 +PASS 1440 图像分割-多宫格分割停用/时间戳空 +PASS 1440 图像分割-多宫格分割参数全保留 +PASS 1440 图像分割-多宫格分割默认无溢出 +PASS 1440 图像分割-多宫格分割旧图归还焦点 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认中文用途 +PASS 1440 Qwen_image2.1_图像编辑_背景移除源审校默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认依据限制可见 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 说明未定稿 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 未验证实跑 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 未检查 +PASS 1440 Qwen_image2.1_图像编辑_背景移除停用/时间戳空 +PASS 1440 Qwen_image2.1_图像编辑_背景移除参数全保留 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认无溢出 +PASS 1440 Qwen_image2.1_图像编辑_背景移除旧图归还焦点 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认中文用途 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 说明未定稿 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 未验证实跑 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 未检查 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强参数全保留 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认无溢出 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认中文用途 +PASS 1440 Qwen_image2.1_文生图_提示词增强源审校默认折叠 +PASS 1440 Qwen_image2.1_文生图_提示词增强技术范围默认折叠 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认依据限制可见 +PASS 1440 Qwen_image2.1_文生图_提示词增强 说明未定稿 +PASS 1440 Qwen_image2.1_文生图_提示词增强 未验证实跑 +PASS 1440 Qwen_image2.1_文生图_提示词增强 未检查 +PASS 1440 Qwen_image2.1_文生图_提示词增强停用/时间戳空 +PASS 1440 Qwen_image2.1_文生图_提示词增强参数全保留 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认无溢出 +PASS 1440 Qwen_image2.1_文生图_提示词增强旧图归还焦点 +PASS 1440 ControlNet_aux_常用样例默认中文用途 +PASS 1440 ControlNet_aux_常用样例源审校默认折叠 +PASS 1440 ControlNet_aux_常用样例技术范围默认折叠 +PASS 1440 ControlNet_aux_常用样例默认无执行计数/实现标识 +PASS 1440 ControlNet_aux_常用样例默认依据限制可见 +PASS 1440 ControlNet_aux_常用样例 说明未定稿 +PASS 1440 ControlNet_aux_常用样例 未验证实跑 +PASS 1440 ControlNet_aux_常用样例 未检查 +PASS 1440 ControlNet_aux_常用样例停用/时间戳空 +PASS 1440 ControlNet_aux_常用样例参数全保留 +PASS 1440 ControlNet_aux_常用样例默认无溢出 +PASS 1440 ControlNet_aux_常用样例旧图归还焦点 +PASS 1440 Qwen3-ASR-语音转文字默认中文用途 +PASS 1440 Qwen3-ASR-语音转文字源审校默认折叠 +PASS 1440 Qwen3-ASR-语音转文字技术范围默认折叠 +PASS 1440 Qwen3-ASR-语音转文字默认无执行计数/实现标识 +PASS 1440 Qwen3-ASR-语音转文字默认依据限制可见 +PASS 1440 Qwen3-ASR-语音转文字 说明未定稿 +PASS 1440 Qwen3-ASR-语音转文字 未验证实跑 +PASS 1440 Qwen3-ASR-语音转文字 未检查 +PASS 1440 Qwen3-ASR-语音转文字停用/时间戳空 +PASS 1440 Qwen3-ASR-语音转文字参数全保留 +PASS 1440 Qwen3-ASR-语音转文字默认无溢出 +PASS 1440 Qwen3-ASR-语音转文字旧图归还焦点 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认中文用途 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 说明未定稿 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 未验证实跑 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 未检查 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕参数全保留 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认无溢出 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点 +PASS 1440 Minimax-H3提示词增强默认中文用途 +PASS 1440 Minimax-H3提示词增强源审校默认折叠 +PASS 1440 Minimax-H3提示词增强技术范围默认折叠 +PASS 1440 Minimax-H3提示词增强默认无执行计数/实现标识 +PASS 1440 Minimax-H3提示词增强默认依据限制可见 +PASS 1440 Minimax-H3提示词增强 说明未定稿 +PASS 1440 Minimax-H3提示词增强 未验证实跑 +PASS 1440 Minimax-H3提示词增强 未检查 +PASS 1440 Minimax-H3提示词增强停用/时间戳空 +PASS 1440 Minimax-H3提示词增强参数全保留 +PASS 1440 Minimax-H3提示词增强默认无溢出 +PASS 1440 Minimax-H3提示词增强旧图归还焦点 +PASS 1440 音频转MP3格式默认中文用途 +PASS 1440 音频转MP3格式源审校默认折叠 +PASS 1440 音频转MP3格式技术范围默认折叠 +PASS 1440 音频转MP3格式默认无执行计数/实现标识 +PASS 1440 音频转MP3格式默认依据限制可见 +PASS 1440 音频转MP3格式 说明未定稿 +PASS 1440 音频转MP3格式 未验证实跑 +PASS 1440 音频转MP3格式 未检查 +PASS 1440 音频转MP3格式停用/时间戳空 +PASS 1440 音频转MP3格式参数全保留 +PASS 1440 音频转MP3格式默认无溢出 +PASS 1440 音频转MP3格式旧图归还焦点 +PASS 1440 音频人声分离默认中文用途 +PASS 1440 音频人声分离源审校默认折叠 +PASS 1440 音频人声分离技术范围默认折叠 +PASS 1440 音频人声分离默认无执行计数/实现标识 +PASS 1440 音频人声分离默认依据限制可见 +PASS 1440 音频人声分离 说明未定稿 +PASS 1440 音频人声分离 未验证实跑 +PASS 1440 音频人声分离 未检查 +PASS 1440 音频人声分离停用/时间戳空 +PASS 1440 音频人声分离参数全保留 +PASS 1440 音频人声分离默认无溢出 +PASS 1440 音频人声分离旧图归还焦点 +PASS 1440 视频-音频分离默认中文用途 +PASS 1440 视频-音频分离源审校默认折叠 +PASS 1440 视频-音频分离技术范围默认折叠 +PASS 1440 视频-音频分离默认无执行计数/实现标识 +PASS 1440 视频-音频分离默认依据限制可见 +PASS 1440 视频-音频分离 说明未定稿 +PASS 1440 视频-音频分离 未验证实跑 +PASS 1440 视频-音频分离 未检查 +PASS 1440 视频-音频分离停用/时间戳空 +PASS 1440 视频-音频分离参数全保留 +PASS 1440 视频-音频分离默认无溢出 +PASS 1440 视频-音频分离旧图归还焦点 +PASS 1440 图像嵌入文字描述默认中文用途 +PASS 1440 图像嵌入文字描述源审校默认折叠 +PASS 1440 图像嵌入文字描述技术范围默认折叠 +PASS 1440 图像嵌入文字描述默认无执行计数/实现标识 +PASS 1440 图像嵌入文字描述默认依据限制可见 +PASS 1440 图像嵌入文字描述 说明未定稿 +PASS 1440 图像嵌入文字描述 未验证实跑 +PASS 1440 图像嵌入文字描述 未检查 +PASS 1440 图像嵌入文字描述停用/时间戳空 +PASS 1440 图像嵌入文字描述参数全保留 +PASS 1440 图像嵌入文字描述默认无溢出 +PASS 1440 图像嵌入文字描述旧图归还焦点 +PASS 390 加载本地latent解码默认中文用途 +PASS 390 加载本地latent解码源审校默认折叠 +PASS 390 加载本地latent解码技术范围默认折叠 +PASS 390 加载本地latent解码默认无执行计数/实现标识 +PASS 390 加载本地latent解码默认依据限制可见 +PASS 390 加载本地latent解码 说明未定稿 +PASS 390 加载本地latent解码 未验证实跑 +PASS 390 加载本地latent解码 未检查 +PASS 390 加载本地latent解码停用/时间戳空 +PASS 390 加载本地latent解码参数全保留 +PASS 390 加载本地latent解码默认无溢出 +PASS 390 加载本地latent解码原用途/源路径展开保留 +PASS 390 加载本地latent解码展开流程 0 +PASS 390 加载本地latent解码展开流程 1 +PASS 390 加载本地latent解码展开流程 2 +PASS 390 加载本地latent解码展开流程 3 +PASS 390 加载本地latent解码展开流程 4 +PASS 390 加载本地latent解码展开流程 5 +PASS 390 加载本地latent解码展开流程 6 +PASS 390 加载本地latent解码展开流程 7 +PASS 390 加载本地latent解码展开流程 8 +PASS 390 加载本地latent解码展开流程 9 +PASS 390 加载本地latent解码展开流程 10 +PASS 390 加载本地latent解码展开流程 11 +PASS 390 加载本地latent解码展开流程 12 +PASS 390 加载本地latent解码展开流程 13 +PASS 390 加载本地latent解码展开流程 14 +PASS 390 加载本地latent解码展开流程 15 +PASS 390 加载本地latent解码展开流程 16 +PASS 390 加载本地latent解码原件摘要可展开 +PASS 390 加载本地latent解码版本 0 +PASS 390 加载本地latent解码版本 1 +PASS 390 加载本地latent解码版本 2 +PASS 390 加载本地latent解码版本 3 +PASS 390 加载本地latent解码版本 4 +PASS 390 10.latent_file键盘展开 +PASS 390 10.latent_file用途/单位/范围/来源条件 +PASS 390 10.latent_file精确保留现值 +PASS 390 10.latent_file指针默认折叠 +PASS 390 10.latent_file精确源码/类型/指针 +PASS 390 10.latent_file展开无溢出 +PASS 390 4.frame_rate键盘展开 +PASS 390 4.frame_rate用途/单位/范围/来源条件 +PASS 390 4.frame_rate精确保留现值 +PASS 390 4.frame_rate指针默认折叠 +PASS 390 4.frame_rate精确源码/类型/指针 +PASS 390 4.frame_rate展开无溢出 +PASS 390 4.loop_count键盘展开 +PASS 390 4.loop_count用途/单位/范围/来源条件 +PASS 390 4.loop_count精确保留现值 +PASS 390 4.loop_count指针默认折叠 +PASS 390 4.loop_count精确源码/类型/指针 +PASS 390 4.loop_count展开无溢出 +PASS 390 4.filename_prefix键盘展开 +PASS 390 4.filename_prefix用途/单位/范围/来源条件 +PASS 390 4.filename_prefix精确保留现值 +PASS 390 4.filename_prefix指针默认折叠 +PASS 390 4.filename_prefix精确源码/类型/指针 +PASS 390 4.filename_prefix展开无溢出 +PASS 390 4.format键盘展开 +PASS 390 4.format用途/单位/范围/来源条件 +PASS 390 4.format精确保留现值 +PASS 390 4.format指针默认折叠 +PASS 390 4.format精确源码/类型/指针 +PASS 390 4.format展开无溢出 +PASS 390 4.pix_fmt键盘展开 +PASS 390 4.pix_fmt用途/单位/范围/来源条件 +PASS 390 4.pix_fmt精确保留现值 +PASS 390 4.pix_fmt指针默认折叠 +PASS 390 4.pix_fmt精确源码/类型/指针 +PASS 390 4.pix_fmt展开无溢出 +PASS 390 4.crf键盘展开 +PASS 390 4.crf用途/单位/范围/来源条件 +PASS 390 4.crf精确保留现值 +PASS 390 4.crf指针默认折叠 +PASS 390 4.crf精确源码/类型/指针 +PASS 390 4.crf展开无溢出 +PASS 390 4.save_metadata键盘展开 +PASS 390 4.save_metadata用途/单位/范围/来源条件 +PASS 390 4.save_metadata精确保留现值 +PASS 390 4.save_metadata指针默认折叠 +PASS 390 4.save_metadata精确源码/类型/指针 +PASS 390 4.save_metadata展开无溢出 +PASS 390 4.trim_to_audio键盘展开 +PASS 390 4.trim_to_audio用途/单位/范围/来源条件 +PASS 390 4.trim_to_audio精确保留现值 +PASS 390 4.trim_to_audio指针默认折叠 +PASS 390 4.trim_to_audio精确源码/类型/指针 +PASS 390 4.trim_to_audio展开无溢出 +PASS 390 4.pingpong键盘展开 +PASS 390 4.pingpong用途/单位/范围/来源条件 +PASS 390 4.pingpong精确保留现值 +PASS 390 4.pingpong指针默认折叠 +PASS 390 4.pingpong精确源码/类型/指针 +PASS 390 4.pingpong展开无溢出 +PASS 390 4.save_output键盘展开 +PASS 390 4.save_output用途/单位/范围/来源条件 +PASS 390 4.save_output精确保留现值 +PASS 390 4.save_output指针默认折叠 +PASS 390 4.save_output精确源码/类型/指针 +PASS 390 4.save_output展开无溢出 +PASS 390 4.videopreview键盘展开 +PASS 390 4.videopreview用途/单位/范围/来源条件 +PASS 390 4.videopreview精确保留现值 +PASS 390 4.videopreview指针默认折叠 +PASS 390 4.videopreview精确源码/类型/指针 +PASS 390 4.videopreview展开无溢出 +PASS 390 5.vae_name键盘展开 +PASS 390 5.vae_name用途/单位/范围/来源条件 +PASS 390 5.vae_name精确保留现值 +PASS 390 5.vae_name指针默认折叠 +PASS 390 5.vae_name精确源码/类型/指针 +PASS 390 5.vae_name展开无溢出 +PASS 390Tab焦点保留 +PASS 390ShiftTab焦点保留 +PASS 390 加载本地latent解码关闭归还焦点 +PASS 390 截取视频每一帧默认中文用途 +PASS 390 截取视频每一帧源审校默认折叠 +PASS 390 截取视频每一帧技术范围默认折叠 +PASS 390 截取视频每一帧默认无执行计数/实现标识 +PASS 390 截取视频每一帧默认依据限制可见 +PASS 390 截取视频每一帧 说明未定稿 +PASS 390 截取视频每一帧 未验证实跑 +PASS 390 截取视频每一帧 未检查 +PASS 390 截取视频每一帧停用/时间戳空 +PASS 390 截取视频每一帧参数全保留 +PASS 390 截取视频每一帧默认无溢出 +PASS 390 截取视频每一帧旧图归还焦点 +PASS 390 双图像或视频合并显示默认中文用途 +PASS 390 双图像或视频合并显示源审校默认折叠 +PASS 390 双图像或视频合并显示技术范围默认折叠 +PASS 390 双图像或视频合并显示默认无执行计数/实现标识 +PASS 390 双图像或视频合并显示默认依据限制可见 +PASS 390 双图像或视频合并显示 说明未定稿 +PASS 390 双图像或视频合并显示 未验证实跑 +PASS 390 双图像或视频合并显示 未检查 +PASS 390 双图像或视频合并显示停用/时间戳空 +PASS 390 双图像或视频合并显示参数全保留 +PASS 390 双图像或视频合并显示默认无溢出 +PASS 390 双图像或视频合并显示旧图归还焦点 +PASS 390 视频转gif动图图片默认中文用途 +PASS 390 视频转gif动图图片源审校默认折叠 +PASS 390 视频转gif动图图片技术范围默认折叠 +PASS 390 视频转gif动图图片默认无执行计数/实现标识 +PASS 390 视频转gif动图图片默认依据限制可见 +PASS 390 视频转gif动图图片 说明未定稿 +PASS 390 视频转gif动图图片 未验证实跑 +PASS 390 视频转gif动图图片 未检查 +PASS 390 视频转gif动图图片停用/时间戳空 +PASS 390 视频转gif动图图片参数全保留 +PASS 390 视频转gif动图图片默认无溢出 +PASS 390 视频转gif动图图片旧图归还焦点 +PASS 390 加载图片合成视频默认中文用途 +PASS 390 加载图片合成视频源审校默认折叠 +PASS 390 加载图片合成视频技术范围默认折叠 +PASS 390 加载图片合成视频默认无执行计数/实现标识 +PASS 390 加载图片合成视频默认依据限制可见 +PASS 390 加载图片合成视频 说明未定稿 +PASS 390 加载图片合成视频 未验证实跑 +PASS 390 加载图片合成视频 未检查 +PASS 390 加载图片合成视频停用/时间戳空 +PASS 390 加载图片合成视频参数全保留 +PASS 390 加载图片合成视频默认无溢出 +PASS 390 加载图片合成视频旧图归还焦点 +PASS 390 视频倒放默认中文用途 +PASS 390 视频倒放源审校默认折叠 +PASS 390 视频倒放技术范围默认折叠 +PASS 390 视频倒放默认无执行计数/实现标识 +PASS 390 视频倒放默认依据限制可见 +PASS 390 视频倒放 说明未定稿 +PASS 390 视频倒放 未验证实跑 +PASS 390 视频倒放 未检查 +PASS 390 视频倒放停用/时间戳空 +PASS 390 视频倒放参数全保留 +PASS 390 视频倒放默认无溢出 +PASS 390 视频倒放旧图归还焦点 +PASS 390 NLF_视频人物动作骨架获取默认中文用途 +PASS 390 NLF_视频人物动作骨架获取源审校默认折叠 +PASS 390 NLF_视频人物动作骨架获取技术范围默认折叠 +PASS 390 NLF_视频人物动作骨架获取默认无执行计数/实现标识 +PASS 390 NLF_视频人物动作骨架获取默认依据限制可见 +PASS 390 NLF_视频人物动作骨架获取 说明未定稿 +PASS 390 NLF_视频人物动作骨架获取 未验证实跑 +PASS 390 NLF_视频人物动作骨架获取 未检查 +PASS 390 NLF_视频人物动作骨架获取停用/时间戳空 +PASS 390 NLF_视频人物动作骨架获取参数全保留 +PASS 390 NLF_视频人物动作骨架获取默认无溢出 +PASS 390 NLF_视频人物动作骨架获取旧图归还焦点 +PASS 390 openpose-video-姿态检测默认中文用途 +PASS 390 openpose-video-姿态检测源审校默认折叠 +PASS 390 openpose-video-姿态检测技术范围默认折叠 +PASS 390 openpose-video-姿态检测默认无执行计数/实现标识 +PASS 390 openpose-video-姿态检测默认依据限制可见 +PASS 390 openpose-video-姿态检测 说明未定稿 +PASS 390 openpose-video-姿态检测 未验证实跑 +PASS 390 openpose-video-姿态检测 未检查 +PASS 390 openpose-video-姿态检测停用/时间戳空 +PASS 390 openpose-video-姿态检测参数全保留 +PASS 390 openpose-video-姿态检测默认无溢出 +PASS 390 openpose-video-姿态检测旧图归还焦点 +PASS 390 sdpose_视频人物姿势骨架提取默认中文用途 +PASS 390 sdpose_视频人物姿势骨架提取源审校默认折叠 +PASS 390 sdpose_视频人物姿势骨架提取技术范围默认折叠 +PASS 390 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识 +PASS 390 sdpose_视频人物姿势骨架提取默认依据限制可见 +PASS 390 sdpose_视频人物姿势骨架提取 说明未定稿 +PASS 390 sdpose_视频人物姿势骨架提取 未验证实跑 +PASS 390 sdpose_视频人物姿势骨架提取 未检查 +PASS 390 sdpose_视频人物姿势骨架提取停用/时间戳空 +PASS 390 sdpose_视频人物姿势骨架提取参数全保留 +PASS 390 sdpose_视频人物姿势骨架提取默认无溢出 +PASS 390 sdpose_视频人物姿势骨架提取旧图归还焦点 +PASS 390 gemma4_提示词反推(图像视频音频)默认中文用途 +PASS 390 gemma4_提示词反推(图像视频音频)源审校默认折叠 +PASS 390 gemma4_提示词反推(图像视频音频)技术范围默认折叠 +PASS 390 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识 +PASS 390 gemma4_提示词反推(图像视频音频)默认依据限制可见 +PASS 390 gemma4_提示词反推(图像视频音频) 说明未定稿 +PASS 390 gemma4_提示词反推(图像视频音频) 未验证实跑 +PASS 390 gemma4_提示词反推(图像视频音频) 未检查 +PASS 390 gemma4_提示词反推(图像视频音频)停用/时间戳空 +PASS 390 gemma4_提示词反推(图像视频音频)参数全保留 +PASS 390 gemma4_提示词反推(图像视频音频)默认无溢出 +PASS 390 gemma4_提示词反推(图像视频音频)旧图归还焦点 +PASS 390 图像合并成四宫格默认中文用途 +PASS 390 图像合并成四宫格源审校默认折叠 +PASS 390 图像合并成四宫格技术范围默认折叠 +PASS 390 图像合并成四宫格默认无执行计数/实现标识 +PASS 390 图像合并成四宫格默认依据限制可见 +PASS 390 图像合并成四宫格 说明未定稿 +PASS 390 图像合并成四宫格 未验证实跑 +PASS 390 图像合并成四宫格 未检查 +PASS 390 图像合并成四宫格停用/时间戳空 +PASS 390 图像合并成四宫格参数全保留 +PASS 390 图像合并成四宫格默认无溢出 +PASS 390 图像合并成四宫格旧图归还焦点 +PASS 390 图像分割-多宫格分割默认中文用途 +PASS 390 图像分割-多宫格分割源审校默认折叠 +PASS 390 图像分割-多宫格分割技术范围默认折叠 +PASS 390 图像分割-多宫格分割默认无执行计数/实现标识 +PASS 390 图像分割-多宫格分割默认依据限制可见 +PASS 390 图像分割-多宫格分割 说明未定稿 +PASS 390 图像分割-多宫格分割 未验证实跑 +PASS 390 图像分割-多宫格分割 未检查 +PASS 390 图像分割-多宫格分割停用/时间戳空 +PASS 390 图像分割-多宫格分割参数全保留 +PASS 390 图像分割-多宫格分割默认无溢出 +PASS 390 图像分割-多宫格分割旧图归还焦点 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认中文用途 +PASS 390 Qwen_image2.1_图像编辑_背景移除源审校默认折叠 +PASS 390 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认依据限制可见 +PASS 390 Qwen_image2.1_图像编辑_背景移除 说明未定稿 +PASS 390 Qwen_image2.1_图像编辑_背景移除 未验证实跑 +PASS 390 Qwen_image2.1_图像编辑_背景移除 未检查 +PASS 390 Qwen_image2.1_图像编辑_背景移除停用/时间戳空 +PASS 390 Qwen_image2.1_图像编辑_背景移除参数全保留 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认无溢出 +PASS 390 Qwen_image2.1_图像编辑_背景移除旧图归还焦点 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认中文用途 +PASS 390 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠 +PASS 390 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 说明未定稿 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 未验证实跑 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 未检查 +PASS 390 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空 +PASS 390 Qwen_image2.1_图像编辑_提示词增强参数全保留 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认无溢出 +PASS 390 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点 +PASS 390 Qwen_image2.1_文生图_提示词增强默认中文用途 +PASS 390 Qwen_image2.1_文生图_提示词增强源审校默认折叠 +PASS 390 Qwen_image2.1_文生图_提示词增强技术范围默认折叠 +PASS 390 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_文生图_提示词增强默认依据限制可见 +PASS 390 Qwen_image2.1_文生图_提示词增强 说明未定稿 +PASS 390 Qwen_image2.1_文生图_提示词增强 未验证实跑 +PASS 390 Qwen_image2.1_文生图_提示词增强 未检查 +PASS 390 Qwen_image2.1_文生图_提示词增强停用/时间戳空 +PASS 390 Qwen_image2.1_文生图_提示词增强参数全保留 +PASS 390 Qwen_image2.1_文生图_提示词增强默认无溢出 +PASS 390 Qwen_image2.1_文生图_提示词增强旧图归还焦点 +PASS 390 ControlNet_aux_常用样例默认中文用途 +PASS 390 ControlNet_aux_常用样例源审校默认折叠 +PASS 390 ControlNet_aux_常用样例技术范围默认折叠 +PASS 390 ControlNet_aux_常用样例默认无执行计数/实现标识 +PASS 390 ControlNet_aux_常用样例默认依据限制可见 +PASS 390 ControlNet_aux_常用样例 说明未定稿 +PASS 390 ControlNet_aux_常用样例 未验证实跑 +PASS 390 ControlNet_aux_常用样例 未检查 +PASS 390 ControlNet_aux_常用样例停用/时间戳空 +PASS 390 ControlNet_aux_常用样例参数全保留 +PASS 390 ControlNet_aux_常用样例默认无溢出 +PASS 390 ControlNet_aux_常用样例旧图归还焦点 +PASS 390 Qwen3-ASR-语音转文字默认中文用途 +PASS 390 Qwen3-ASR-语音转文字源审校默认折叠 +PASS 390 Qwen3-ASR-语音转文字技术范围默认折叠 +PASS 390 Qwen3-ASR-语音转文字默认无执行计数/实现标识 +PASS 390 Qwen3-ASR-语音转文字默认依据限制可见 +PASS 390 Qwen3-ASR-语音转文字 说明未定稿 +PASS 390 Qwen3-ASR-语音转文字 未验证实跑 +PASS 390 Qwen3-ASR-语音转文字 未检查 +PASS 390 Qwen3-ASR-语音转文字停用/时间戳空 +PASS 390 Qwen3-ASR-语音转文字参数全保留 +PASS 390 Qwen3-ASR-语音转文字默认无溢出 +PASS 390 Qwen3-ASR-语音转文字旧图归还焦点 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认中文用途 +PASS 390 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠 +PASS 390 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 说明未定稿 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 未验证实跑 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 未检查 +PASS 390 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空 +PASS 390 Qwen3-ASR-Subtitle语音转字幕参数全保留 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认无溢出 +PASS 390 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点 +PASS 390 Minimax-H3提示词增强默认中文用途 +PASS 390 Minimax-H3提示词增强源审校默认折叠 +PASS 390 Minimax-H3提示词增强技术范围默认折叠 +PASS 390 Minimax-H3提示词增强默认无执行计数/实现标识 +PASS 390 Minimax-H3提示词增强默认依据限制可见 +PASS 390 Minimax-H3提示词增强 说明未定稿 +PASS 390 Minimax-H3提示词增强 未验证实跑 +PASS 390 Minimax-H3提示词增强 未检查 +PASS 390 Minimax-H3提示词增强停用/时间戳空 +PASS 390 Minimax-H3提示词增强参数全保留 +PASS 390 Minimax-H3提示词增强默认无溢出 +PASS 390 Minimax-H3提示词增强旧图归还焦点 +PASS 390 音频转MP3格式默认中文用途 +PASS 390 音频转MP3格式源审校默认折叠 +PASS 390 音频转MP3格式技术范围默认折叠 +PASS 390 音频转MP3格式默认无执行计数/实现标识 +PASS 390 音频转MP3格式默认依据限制可见 +PASS 390 音频转MP3格式 说明未定稿 +PASS 390 音频转MP3格式 未验证实跑 +PASS 390 音频转MP3格式 未检查 +PASS 390 音频转MP3格式停用/时间戳空 +PASS 390 音频转MP3格式参数全保留 +PASS 390 音频转MP3格式默认无溢出 +PASS 390 音频转MP3格式旧图归还焦点 +PASS 390 音频人声分离默认中文用途 +PASS 390 音频人声分离源审校默认折叠 +PASS 390 音频人声分离技术范围默认折叠 +PASS 390 音频人声分离默认无执行计数/实现标识 +PASS 390 音频人声分离默认依据限制可见 +PASS 390 音频人声分离 说明未定稿 +PASS 390 音频人声分离 未验证实跑 +PASS 390 音频人声分离 未检查 +PASS 390 音频人声分离停用/时间戳空 +PASS 390 音频人声分离参数全保留 +PASS 390 音频人声分离默认无溢出 +PASS 390 音频人声分离旧图归还焦点 +PASS 390 视频-音频分离默认中文用途 +PASS 390 视频-音频分离源审校默认折叠 +PASS 390 视频-音频分离技术范围默认折叠 +PASS 390 视频-音频分离默认无执行计数/实现标识 +PASS 390 视频-音频分离默认依据限制可见 +PASS 390 视频-音频分离 说明未定稿 +PASS 390 视频-音频分离 未验证实跑 +PASS 390 视频-音频分离 未检查 +PASS 390 视频-音频分离停用/时间戳空 +PASS 390 视频-音频分离参数全保留 +PASS 390 视频-音频分离默认无溢出 +PASS 390 视频-音频分离旧图归还焦点 +PASS 390 图像嵌入文字描述默认中文用途 +PASS 390 图像嵌入文字描述源审校默认折叠 +PASS 390 图像嵌入文字描述技术范围默认折叠 +PASS 390 图像嵌入文字描述默认无执行计数/实现标识 +PASS 390 图像嵌入文字描述默认依据限制可见 +PASS 390 图像嵌入文字描述 说明未定稿 +PASS 390 图像嵌入文字描述 未验证实跑 +PASS 390 图像嵌入文字描述 未检查 +PASS 390 图像嵌入文字描述停用/时间戳空 +PASS 390 图像嵌入文字描述参数全保留 +PASS 390 图像嵌入文字描述默认无溢出 +PASS 390 图像嵌入文字描述旧图归还焦点 +PASS 旧/空说明回退 旧工作流回退(隔离测试夹具) +PASS 旧/空说明回退 空说明回退(隔离测试夹具) +PASS 缺摘要自然中文回退 +PASS 回退不暴露undefined +PASS 错绑定提示明确且不展示旧字段 +PASS 回退不暴露undefined +PASS 摘要HTML仅纯文本不创建图像或请求 +PASS 回退不暴露undefined +PASS 迟到latent图响应不覆盖旧帧图摘要/31字段 +PASS GET失败显示重试 +PASS 读取失败隐藏旧摘要 +PASS 重试恢复摘要 +PASS 无脚本错误或禁止请求 [] +PASS 全程本地GET无写/生成/目标/历史预览请求 +All owned browser services stopped. diff --git a/docs/hel-892/latent-document-evidence/browser-results.json b/docs/hel-892/latent-document-evidence/browser-results.json new file mode 100644 index 00000000..d627d288 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/browser-results.json @@ -0,0 +1,1187 @@ +{ + "request_accounting": { + "fixed_count": 82, + "fixed_paths": { + "/api/settings": 1, + "/api/workflows": 2, + "/api/workflows/1": 3, + "/api/workflows/10": 3, + "/api/workflows/12": 3, + "/api/workflows/13": 3, + "/api/workflows/14": 3, + "/api/workflows/156": 1, + "/api/workflows/157": 1, + "/api/workflows/16": 4, + "/api/workflows/19": 3, + "/api/workflows/2": 3, + "/api/workflows/21": 3, + "/api/workflows/22": 3, + "/api/workflows/23": 3, + "/api/workflows/24": 3, + "/api/workflows/25": 3, + "/api/workflows/35": 3, + "/api/workflows/36": 3, + "/api/workflows/5": 3, + "/api/workflows/6": 3, + "/api/workflows/62": 3, + "/api/workflows/64": 3, + "/api/workflows/7": 3, + "/api/workflows/70": 3, + "/api/workflows/8": 3, + "/api/workflows/9": 10 + }, + "polling_count": 6, + "polling_paths": { + "/api/jobs": 6 + }, + "polling_tolerance": 1, + "reason": "定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。" + }, + "assertion_count": 776, + "assertionGroups": { + "aggregate": 2, + "new_latent": 232, + "old_twenty_two": 528, + "shared_regressions": 14 + }, + "checks": [ + "23图662保存位置", + "23图15源注释", + "1440 加载本地latent解码默认中文用途", + "1440 加载本地latent解码源审校默认折叠", + "1440 加载本地latent解码技术范围默认折叠", + "1440 加载本地latent解码默认无执行计数/实现标识", + "1440 加载本地latent解码默认依据限制可见", + "1440 加载本地latent解码 说明未定稿", + "1440 加载本地latent解码 未验证实跑", + "1440 加载本地latent解码 未检查", + "1440 加载本地latent解码停用/时间戳空", + "1440 加载本地latent解码参数全保留", + "1440 加载本地latent解码默认无溢出", + "1440 加载本地latent解码原用途/源路径展开保留", + "1440 加载本地latent解码展开流程 0", + "1440 加载本地latent解码展开流程 1", + "1440 加载本地latent解码展开流程 2", + "1440 加载本地latent解码展开流程 3", + "1440 加载本地latent解码展开流程 4", + "1440 加载本地latent解码展开流程 5", + "1440 加载本地latent解码展开流程 6", + "1440 加载本地latent解码展开流程 7", + "1440 加载本地latent解码展开流程 8", + "1440 加载本地latent解码展开流程 9", + "1440 加载本地latent解码展开流程 10", + "1440 加载本地latent解码展开流程 11", + "1440 加载本地latent解码展开流程 12", + "1440 加载本地latent解码展开流程 13", + "1440 加载本地latent解码展开流程 14", + "1440 加载本地latent解码展开流程 15", + "1440 加载本地latent解码展开流程 16", + "1440 加载本地latent解码原件摘要可展开", + "1440 加载本地latent解码版本 0", + "1440 加载本地latent解码版本 1", + "1440 加载本地latent解码版本 2", + "1440 加载本地latent解码版本 3", + "1440 加载本地latent解码版本 4", + "1440 10.latent_file键盘展开", + "1440 10.latent_file用途/单位/范围/来源条件", + "1440 10.latent_file精确保留现值", + "1440 10.latent_file指针默认折叠", + "1440 10.latent_file精确源码/类型/指针", + "1440 10.latent_file展开无溢出", + "1440 4.frame_rate键盘展开", + "1440 4.frame_rate用途/单位/范围/来源条件", + "1440 4.frame_rate精确保留现值", + "1440 4.frame_rate指针默认折叠", + "1440 4.frame_rate精确源码/类型/指针", + "1440 4.frame_rate展开无溢出", + "1440 4.loop_count键盘展开", + "1440 4.loop_count用途/单位/范围/来源条件", + "1440 4.loop_count精确保留现值", + "1440 4.loop_count指针默认折叠", + "1440 4.loop_count精确源码/类型/指针", + "1440 4.loop_count展开无溢出", + "1440 4.filename_prefix键盘展开", + "1440 4.filename_prefix用途/单位/范围/来源条件", + "1440 4.filename_prefix精确保留现值", + "1440 4.filename_prefix指针默认折叠", + "1440 4.filename_prefix精确源码/类型/指针", + "1440 4.filename_prefix展开无溢出", + "1440 4.format键盘展开", + "1440 4.format用途/单位/范围/来源条件", + "1440 4.format精确保留现值", + "1440 4.format指针默认折叠", + "1440 4.format精确源码/类型/指针", + "1440 4.format展开无溢出", + "1440 4.pix_fmt键盘展开", + "1440 4.pix_fmt用途/单位/范围/来源条件", + "1440 4.pix_fmt精确保留现值", + "1440 4.pix_fmt指针默认折叠", + "1440 4.pix_fmt精确源码/类型/指针", + "1440 4.pix_fmt展开无溢出", + "1440 4.crf键盘展开", + "1440 4.crf用途/单位/范围/来源条件", + "1440 4.crf精确保留现值", + "1440 4.crf指针默认折叠", + "1440 4.crf精确源码/类型/指针", + "1440 4.crf展开无溢出", + "1440 4.save_metadata键盘展开", + "1440 4.save_metadata用途/单位/范围/来源条件", + "1440 4.save_metadata精确保留现值", + "1440 4.save_metadata指针默认折叠", + "1440 4.save_metadata精确源码/类型/指针", + "1440 4.save_metadata展开无溢出", + "1440 4.trim_to_audio键盘展开", + "1440 4.trim_to_audio用途/单位/范围/来源条件", + "1440 4.trim_to_audio精确保留现值", + "1440 4.trim_to_audio指针默认折叠", + "1440 4.trim_to_audio精确源码/类型/指针", + "1440 4.trim_to_audio展开无溢出", + "1440 4.pingpong键盘展开", + "1440 4.pingpong用途/单位/范围/来源条件", + "1440 4.pingpong精确保留现值", + "1440 4.pingpong指针默认折叠", + "1440 4.pingpong精确源码/类型/指针", + "1440 4.pingpong展开无溢出", + "1440 4.save_output键盘展开", + "1440 4.save_output用途/单位/范围/来源条件", + "1440 4.save_output精确保留现值", + "1440 4.save_output指针默认折叠", + "1440 4.save_output精确源码/类型/指针", + "1440 4.save_output展开无溢出", + "1440 4.videopreview键盘展开", + "1440 4.videopreview用途/单位/范围/来源条件", + "1440 4.videopreview精确保留现值", + "1440 4.videopreview指针默认折叠", + "1440 4.videopreview精确源码/类型/指针", + "1440 4.videopreview展开无溢出", + "1440 5.vae_name键盘展开", + "1440 5.vae_name用途/单位/范围/来源条件", + "1440 5.vae_name精确保留现值", + "1440 5.vae_name指针默认折叠", + "1440 5.vae_name精确源码/类型/指针", + "1440 5.vae_name展开无溢出", + "1440Tab焦点保留", + "1440ShiftTab焦点保留", + "1440 加载本地latent解码关闭归还焦点", + "1440 截取视频每一帧默认中文用途", + "1440 截取视频每一帧源审校默认折叠", + "1440 截取视频每一帧技术范围默认折叠", + "1440 截取视频每一帧默认无执行计数/实现标识", + "1440 截取视频每一帧默认依据限制可见", + "1440 截取视频每一帧 说明未定稿", + "1440 截取视频每一帧 未验证实跑", + "1440 截取视频每一帧 未检查", + "1440 截取视频每一帧停用/时间戳空", + "1440 截取视频每一帧参数全保留", + "1440 截取视频每一帧默认无溢出", + "1440 截取视频每一帧旧图归还焦点", + "1440 双图像或视频合并显示默认中文用途", + "1440 双图像或视频合并显示源审校默认折叠", + "1440 双图像或视频合并显示技术范围默认折叠", + "1440 双图像或视频合并显示默认无执行计数/实现标识", + "1440 双图像或视频合并显示默认依据限制可见", + "1440 双图像或视频合并显示 说明未定稿", + "1440 双图像或视频合并显示 未验证实跑", + "1440 双图像或视频合并显示 未检查", + "1440 双图像或视频合并显示停用/时间戳空", + "1440 双图像或视频合并显示参数全保留", + "1440 双图像或视频合并显示默认无溢出", + "1440 双图像或视频合并显示旧图归还焦点", + "1440 视频转gif动图图片默认中文用途", + "1440 视频转gif动图图片源审校默认折叠", + "1440 视频转gif动图图片技术范围默认折叠", + "1440 视频转gif动图图片默认无执行计数/实现标识", + "1440 视频转gif动图图片默认依据限制可见", + "1440 视频转gif动图图片 说明未定稿", + "1440 视频转gif动图图片 未验证实跑", + "1440 视频转gif动图图片 未检查", + "1440 视频转gif动图图片停用/时间戳空", + "1440 视频转gif动图图片参数全保留", + "1440 视频转gif动图图片默认无溢出", + "1440 视频转gif动图图片旧图归还焦点", + "1440 加载图片合成视频默认中文用途", + "1440 加载图片合成视频源审校默认折叠", + "1440 加载图片合成视频技术范围默认折叠", + "1440 加载图片合成视频默认无执行计数/实现标识", + "1440 加载图片合成视频默认依据限制可见", + "1440 加载图片合成视频 说明未定稿", + "1440 加载图片合成视频 未验证实跑", + "1440 加载图片合成视频 未检查", + "1440 加载图片合成视频停用/时间戳空", + "1440 加载图片合成视频参数全保留", + "1440 加载图片合成视频默认无溢出", + "1440 加载图片合成视频旧图归还焦点", + "1440 视频倒放默认中文用途", + "1440 视频倒放源审校默认折叠", + "1440 视频倒放技术范围默认折叠", + "1440 视频倒放默认无执行计数/实现标识", + "1440 视频倒放默认依据限制可见", + "1440 视频倒放 说明未定稿", + "1440 视频倒放 未验证实跑", + "1440 视频倒放 未检查", + "1440 视频倒放停用/时间戳空", + "1440 视频倒放参数全保留", + "1440 视频倒放默认无溢出", + "1440 视频倒放旧图归还焦点", + "1440 NLF_视频人物动作骨架获取默认中文用途", + "1440 NLF_视频人物动作骨架获取源审校默认折叠", + "1440 NLF_视频人物动作骨架获取技术范围默认折叠", + "1440 NLF_视频人物动作骨架获取默认无执行计数/实现标识", + "1440 NLF_视频人物动作骨架获取默认依据限制可见", + "1440 NLF_视频人物动作骨架获取 说明未定稿", + "1440 NLF_视频人物动作骨架获取 未验证实跑", + "1440 NLF_视频人物动作骨架获取 未检查", + "1440 NLF_视频人物动作骨架获取停用/时间戳空", + "1440 NLF_视频人物动作骨架获取参数全保留", + "1440 NLF_视频人物动作骨架获取默认无溢出", + "1440 NLF_视频人物动作骨架获取旧图归还焦点", + "1440 openpose-video-姿态检测默认中文用途", + "1440 openpose-video-姿态检测源审校默认折叠", + "1440 openpose-video-姿态检测技术范围默认折叠", + "1440 openpose-video-姿态检测默认无执行计数/实现标识", + "1440 openpose-video-姿态检测默认依据限制可见", + "1440 openpose-video-姿态检测 说明未定稿", + "1440 openpose-video-姿态检测 未验证实跑", + "1440 openpose-video-姿态检测 未检查", + "1440 openpose-video-姿态检测停用/时间戳空", + "1440 openpose-video-姿态检测参数全保留", + "1440 openpose-video-姿态检测默认无溢出", + "1440 openpose-video-姿态检测旧图归还焦点", + "1440 sdpose_视频人物姿势骨架提取默认中文用途", + "1440 sdpose_视频人物姿势骨架提取源审校默认折叠", + "1440 sdpose_视频人物姿势骨架提取技术范围默认折叠", + "1440 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识", + "1440 sdpose_视频人物姿势骨架提取默认依据限制可见", + "1440 sdpose_视频人物姿势骨架提取 说明未定稿", + "1440 sdpose_视频人物姿势骨架提取 未验证实跑", + "1440 sdpose_视频人物姿势骨架提取 未检查", + "1440 sdpose_视频人物姿势骨架提取停用/时间戳空", + "1440 sdpose_视频人物姿势骨架提取参数全保留", + "1440 sdpose_视频人物姿势骨架提取默认无溢出", + "1440 sdpose_视频人物姿势骨架提取旧图归还焦点", + "1440 gemma4_提示词反推(图像视频音频)默认中文用途", + "1440 gemma4_提示词反推(图像视频音频)源审校默认折叠", + "1440 gemma4_提示词反推(图像视频音频)技术范围默认折叠", + "1440 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识", + "1440 gemma4_提示词反推(图像视频音频)默认依据限制可见", + "1440 gemma4_提示词反推(图像视频音频) 说明未定稿", + "1440 gemma4_提示词反推(图像视频音频) 未验证实跑", + "1440 gemma4_提示词反推(图像视频音频) 未检查", + "1440 gemma4_提示词反推(图像视频音频)停用/时间戳空", + "1440 gemma4_提示词反推(图像视频音频)参数全保留", + "1440 gemma4_提示词反推(图像视频音频)默认无溢出", + "1440 gemma4_提示词反推(图像视频音频)旧图归还焦点", + "1440 图像合并成四宫格默认中文用途", + "1440 图像合并成四宫格源审校默认折叠", + "1440 图像合并成四宫格技术范围默认折叠", + "1440 图像合并成四宫格默认无执行计数/实现标识", + "1440 图像合并成四宫格默认依据限制可见", + "1440 图像合并成四宫格 说明未定稿", + "1440 图像合并成四宫格 未验证实跑", + "1440 图像合并成四宫格 未检查", + "1440 图像合并成四宫格停用/时间戳空", + "1440 图像合并成四宫格参数全保留", + "1440 图像合并成四宫格默认无溢出", + "1440 图像合并成四宫格旧图归还焦点", + "1440 图像分割-多宫格分割默认中文用途", + "1440 图像分割-多宫格分割源审校默认折叠", + "1440 图像分割-多宫格分割技术范围默认折叠", + "1440 图像分割-多宫格分割默认无执行计数/实现标识", + "1440 图像分割-多宫格分割默认依据限制可见", + "1440 图像分割-多宫格分割 说明未定稿", + "1440 图像分割-多宫格分割 未验证实跑", + "1440 图像分割-多宫格分割 未检查", + "1440 图像分割-多宫格分割停用/时间戳空", + "1440 图像分割-多宫格分割参数全保留", + "1440 图像分割-多宫格分割默认无溢出", + "1440 图像分割-多宫格分割旧图归还焦点", + "1440 Qwen_image2.1_图像编辑_背景移除默认中文用途", + "1440 Qwen_image2.1_图像编辑_背景移除源审校默认折叠", + "1440 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠", + "1440 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识", + "1440 Qwen_image2.1_图像编辑_背景移除默认依据限制可见", + "1440 Qwen_image2.1_图像编辑_背景移除 说明未定稿", + "1440 Qwen_image2.1_图像编辑_背景移除 未验证实跑", + "1440 Qwen_image2.1_图像编辑_背景移除 未检查", + "1440 Qwen_image2.1_图像编辑_背景移除停用/时间戳空", + "1440 Qwen_image2.1_图像编辑_背景移除参数全保留", + "1440 Qwen_image2.1_图像编辑_背景移除默认无溢出", + "1440 Qwen_image2.1_图像编辑_背景移除旧图归还焦点", + "1440 Qwen_image2.1_图像编辑_提示词增强默认中文用途", + "1440 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠", + "1440 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠", + "1440 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识", + "1440 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见", + "1440 Qwen_image2.1_图像编辑_提示词增强 说明未定稿", + "1440 Qwen_image2.1_图像编辑_提示词增强 未验证实跑", + "1440 Qwen_image2.1_图像编辑_提示词增强 未检查", + "1440 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空", + "1440 Qwen_image2.1_图像编辑_提示词增强参数全保留", + "1440 Qwen_image2.1_图像编辑_提示词增强默认无溢出", + "1440 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点", + "1440 Qwen_image2.1_文生图_提示词增强默认中文用途", + "1440 Qwen_image2.1_文生图_提示词增强源审校默认折叠", + "1440 Qwen_image2.1_文生图_提示词增强技术范围默认折叠", + "1440 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识", + "1440 Qwen_image2.1_文生图_提示词增强默认依据限制可见", + "1440 Qwen_image2.1_文生图_提示词增强 说明未定稿", + "1440 Qwen_image2.1_文生图_提示词增强 未验证实跑", + "1440 Qwen_image2.1_文生图_提示词增强 未检查", + "1440 Qwen_image2.1_文生图_提示词增强停用/时间戳空", + "1440 Qwen_image2.1_文生图_提示词增强参数全保留", + "1440 Qwen_image2.1_文生图_提示词增强默认无溢出", + "1440 Qwen_image2.1_文生图_提示词增强旧图归还焦点", + "1440 ControlNet_aux_常用样例默认中文用途", + "1440 ControlNet_aux_常用样例源审校默认折叠", + "1440 ControlNet_aux_常用样例技术范围默认折叠", + "1440 ControlNet_aux_常用样例默认无执行计数/实现标识", + "1440 ControlNet_aux_常用样例默认依据限制可见", + "1440 ControlNet_aux_常用样例 说明未定稿", + "1440 ControlNet_aux_常用样例 未验证实跑", + "1440 ControlNet_aux_常用样例 未检查", + "1440 ControlNet_aux_常用样例停用/时间戳空", + "1440 ControlNet_aux_常用样例参数全保留", + "1440 ControlNet_aux_常用样例默认无溢出", + "1440 ControlNet_aux_常用样例旧图归还焦点", + "1440 Qwen3-ASR-语音转文字默认中文用途", + "1440 Qwen3-ASR-语音转文字源审校默认折叠", + "1440 Qwen3-ASR-语音转文字技术范围默认折叠", + "1440 Qwen3-ASR-语音转文字默认无执行计数/实现标识", + "1440 Qwen3-ASR-语音转文字默认依据限制可见", + "1440 Qwen3-ASR-语音转文字 说明未定稿", + "1440 Qwen3-ASR-语音转文字 未验证实跑", + "1440 Qwen3-ASR-语音转文字 未检查", + "1440 Qwen3-ASR-语音转文字停用/时间戳空", + "1440 Qwen3-ASR-语音转文字参数全保留", + "1440 Qwen3-ASR-语音转文字默认无溢出", + "1440 Qwen3-ASR-语音转文字旧图归还焦点", + "1440 Qwen3-ASR-Subtitle语音转字幕默认中文用途", + "1440 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠", + "1440 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠", + "1440 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识", + "1440 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见", + "1440 Qwen3-ASR-Subtitle语音转字幕 说明未定稿", + "1440 Qwen3-ASR-Subtitle语音转字幕 未验证实跑", + "1440 Qwen3-ASR-Subtitle语音转字幕 未检查", + "1440 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空", + "1440 Qwen3-ASR-Subtitle语音转字幕参数全保留", + "1440 Qwen3-ASR-Subtitle语音转字幕默认无溢出", + "1440 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点", + "1440 Minimax-H3提示词增强默认中文用途", + "1440 Minimax-H3提示词增强源审校默认折叠", + "1440 Minimax-H3提示词增强技术范围默认折叠", + "1440 Minimax-H3提示词增强默认无执行计数/实现标识", + "1440 Minimax-H3提示词增强默认依据限制可见", + "1440 Minimax-H3提示词增强 说明未定稿", + "1440 Minimax-H3提示词增强 未验证实跑", + "1440 Minimax-H3提示词增强 未检查", + "1440 Minimax-H3提示词增强停用/时间戳空", + "1440 Minimax-H3提示词增强参数全保留", + "1440 Minimax-H3提示词增强默认无溢出", + "1440 Minimax-H3提示词增强旧图归还焦点", + "1440 音频转MP3格式默认中文用途", + "1440 音频转MP3格式源审校默认折叠", + "1440 音频转MP3格式技术范围默认折叠", + "1440 音频转MP3格式默认无执行计数/实现标识", + "1440 音频转MP3格式默认依据限制可见", + "1440 音频转MP3格式 说明未定稿", + "1440 音频转MP3格式 未验证实跑", + "1440 音频转MP3格式 未检查", + "1440 音频转MP3格式停用/时间戳空", + "1440 音频转MP3格式参数全保留", + "1440 音频转MP3格式默认无溢出", + "1440 音频转MP3格式旧图归还焦点", + "1440 音频人声分离默认中文用途", + "1440 音频人声分离源审校默认折叠", + "1440 音频人声分离技术范围默认折叠", + "1440 音频人声分离默认无执行计数/实现标识", + "1440 音频人声分离默认依据限制可见", + "1440 音频人声分离 说明未定稿", + "1440 音频人声分离 未验证实跑", + "1440 音频人声分离 未检查", + "1440 音频人声分离停用/时间戳空", + "1440 音频人声分离参数全保留", + "1440 音频人声分离默认无溢出", + "1440 音频人声分离旧图归还焦点", + "1440 视频-音频分离默认中文用途", + "1440 视频-音频分离源审校默认折叠", + "1440 视频-音频分离技术范围默认折叠", + "1440 视频-音频分离默认无执行计数/实现标识", + "1440 视频-音频分离默认依据限制可见", + "1440 视频-音频分离 说明未定稿", + "1440 视频-音频分离 未验证实跑", + "1440 视频-音频分离 未检查", + "1440 视频-音频分离停用/时间戳空", + "1440 视频-音频分离参数全保留", + "1440 视频-音频分离默认无溢出", + "1440 视频-音频分离旧图归还焦点", + "1440 图像嵌入文字描述默认中文用途", + "1440 图像嵌入文字描述源审校默认折叠", + "1440 图像嵌入文字描述技术范围默认折叠", + "1440 图像嵌入文字描述默认无执行计数/实现标识", + "1440 图像嵌入文字描述默认依据限制可见", + "1440 图像嵌入文字描述 说明未定稿", + "1440 图像嵌入文字描述 未验证实跑", + "1440 图像嵌入文字描述 未检查", + "1440 图像嵌入文字描述停用/时间戳空", + "1440 图像嵌入文字描述参数全保留", + "1440 图像嵌入文字描述默认无溢出", + "1440 图像嵌入文字描述旧图归还焦点", + "390 加载本地latent解码默认中文用途", + "390 加载本地latent解码源审校默认折叠", + "390 加载本地latent解码技术范围默认折叠", + "390 加载本地latent解码默认无执行计数/实现标识", + "390 加载本地latent解码默认依据限制可见", + "390 加载本地latent解码 说明未定稿", + "390 加载本地latent解码 未验证实跑", + "390 加载本地latent解码 未检查", + "390 加载本地latent解码停用/时间戳空", + "390 加载本地latent解码参数全保留", + "390 加载本地latent解码默认无溢出", + "390 加载本地latent解码原用途/源路径展开保留", + "390 加载本地latent解码展开流程 0", + "390 加载本地latent解码展开流程 1", + "390 加载本地latent解码展开流程 2", + "390 加载本地latent解码展开流程 3", + "390 加载本地latent解码展开流程 4", + "390 加载本地latent解码展开流程 5", + "390 加载本地latent解码展开流程 6", + "390 加载本地latent解码展开流程 7", + "390 加载本地latent解码展开流程 8", + "390 加载本地latent解码展开流程 9", + "390 加载本地latent解码展开流程 10", + "390 加载本地latent解码展开流程 11", + "390 加载本地latent解码展开流程 12", + "390 加载本地latent解码展开流程 13", + "390 加载本地latent解码展开流程 14", + "390 加载本地latent解码展开流程 15", + "390 加载本地latent解码展开流程 16", + "390 加载本地latent解码原件摘要可展开", + "390 加载本地latent解码版本 0", + "390 加载本地latent解码版本 1", + "390 加载本地latent解码版本 2", + "390 加载本地latent解码版本 3", + "390 加载本地latent解码版本 4", + "390 10.latent_file键盘展开", + "390 10.latent_file用途/单位/范围/来源条件", + "390 10.latent_file精确保留现值", + "390 10.latent_file指针默认折叠", + "390 10.latent_file精确源码/类型/指针", + "390 10.latent_file展开无溢出", + "390 4.frame_rate键盘展开", + "390 4.frame_rate用途/单位/范围/来源条件", + "390 4.frame_rate精确保留现值", + "390 4.frame_rate指针默认折叠", + "390 4.frame_rate精确源码/类型/指针", + "390 4.frame_rate展开无溢出", + "390 4.loop_count键盘展开", + "390 4.loop_count用途/单位/范围/来源条件", + "390 4.loop_count精确保留现值", + "390 4.loop_count指针默认折叠", + "390 4.loop_count精确源码/类型/指针", + "390 4.loop_count展开无溢出", + "390 4.filename_prefix键盘展开", + "390 4.filename_prefix用途/单位/范围/来源条件", + "390 4.filename_prefix精确保留现值", + "390 4.filename_prefix指针默认折叠", + "390 4.filename_prefix精确源码/类型/指针", + "390 4.filename_prefix展开无溢出", + "390 4.format键盘展开", + "390 4.format用途/单位/范围/来源条件", + "390 4.format精确保留现值", + "390 4.format指针默认折叠", + "390 4.format精确源码/类型/指针", + "390 4.format展开无溢出", + "390 4.pix_fmt键盘展开", + "390 4.pix_fmt用途/单位/范围/来源条件", + "390 4.pix_fmt精确保留现值", + "390 4.pix_fmt指针默认折叠", + "390 4.pix_fmt精确源码/类型/指针", + "390 4.pix_fmt展开无溢出", + "390 4.crf键盘展开", + "390 4.crf用途/单位/范围/来源条件", + "390 4.crf精确保留现值", + "390 4.crf指针默认折叠", + "390 4.crf精确源码/类型/指针", + "390 4.crf展开无溢出", + "390 4.save_metadata键盘展开", + "390 4.save_metadata用途/单位/范围/来源条件", + "390 4.save_metadata精确保留现值", + "390 4.save_metadata指针默认折叠", + "390 4.save_metadata精确源码/类型/指针", + "390 4.save_metadata展开无溢出", + "390 4.trim_to_audio键盘展开", + "390 4.trim_to_audio用途/单位/范围/来源条件", + "390 4.trim_to_audio精确保留现值", + "390 4.trim_to_audio指针默认折叠", + "390 4.trim_to_audio精确源码/类型/指针", + "390 4.trim_to_audio展开无溢出", + "390 4.pingpong键盘展开", + "390 4.pingpong用途/单位/范围/来源条件", + "390 4.pingpong精确保留现值", + "390 4.pingpong指针默认折叠", + "390 4.pingpong精确源码/类型/指针", + "390 4.pingpong展开无溢出", + "390 4.save_output键盘展开", + "390 4.save_output用途/单位/范围/来源条件", + "390 4.save_output精确保留现值", + "390 4.save_output指针默认折叠", + "390 4.save_output精确源码/类型/指针", + "390 4.save_output展开无溢出", + "390 4.videopreview键盘展开", + "390 4.videopreview用途/单位/范围/来源条件", + "390 4.videopreview精确保留现值", + "390 4.videopreview指针默认折叠", + "390 4.videopreview精确源码/类型/指针", + "390 4.videopreview展开无溢出", + "390 5.vae_name键盘展开", + "390 5.vae_name用途/单位/范围/来源条件", + "390 5.vae_name精确保留现值", + "390 5.vae_name指针默认折叠", + "390 5.vae_name精确源码/类型/指针", + "390 5.vae_name展开无溢出", + "390Tab焦点保留", + "390ShiftTab焦点保留", + "390 加载本地latent解码关闭归还焦点", + "390 截取视频每一帧默认中文用途", + "390 截取视频每一帧源审校默认折叠", + "390 截取视频每一帧技术范围默认折叠", + "390 截取视频每一帧默认无执行计数/实现标识", + "390 截取视频每一帧默认依据限制可见", + "390 截取视频每一帧 说明未定稿", + "390 截取视频每一帧 未验证实跑", + "390 截取视频每一帧 未检查", + "390 截取视频每一帧停用/时间戳空", + "390 截取视频每一帧参数全保留", + "390 截取视频每一帧默认无溢出", + "390 截取视频每一帧旧图归还焦点", + "390 双图像或视频合并显示默认中文用途", + "390 双图像或视频合并显示源审校默认折叠", + "390 双图像或视频合并显示技术范围默认折叠", + "390 双图像或视频合并显示默认无执行计数/实现标识", + "390 双图像或视频合并显示默认依据限制可见", + "390 双图像或视频合并显示 说明未定稿", + "390 双图像或视频合并显示 未验证实跑", + "390 双图像或视频合并显示 未检查", + "390 双图像或视频合并显示停用/时间戳空", + "390 双图像或视频合并显示参数全保留", + "390 双图像或视频合并显示默认无溢出", + "390 双图像或视频合并显示旧图归还焦点", + "390 视频转gif动图图片默认中文用途", + "390 视频转gif动图图片源审校默认折叠", + "390 视频转gif动图图片技术范围默认折叠", + "390 视频转gif动图图片默认无执行计数/实现标识", + "390 视频转gif动图图片默认依据限制可见", + "390 视频转gif动图图片 说明未定稿", + "390 视频转gif动图图片 未验证实跑", + "390 视频转gif动图图片 未检查", + "390 视频转gif动图图片停用/时间戳空", + "390 视频转gif动图图片参数全保留", + "390 视频转gif动图图片默认无溢出", + "390 视频转gif动图图片旧图归还焦点", + "390 加载图片合成视频默认中文用途", + "390 加载图片合成视频源审校默认折叠", + "390 加载图片合成视频技术范围默认折叠", + "390 加载图片合成视频默认无执行计数/实现标识", + "390 加载图片合成视频默认依据限制可见", + "390 加载图片合成视频 说明未定稿", + "390 加载图片合成视频 未验证实跑", + "390 加载图片合成视频 未检查", + "390 加载图片合成视频停用/时间戳空", + "390 加载图片合成视频参数全保留", + "390 加载图片合成视频默认无溢出", + "390 加载图片合成视频旧图归还焦点", + "390 视频倒放默认中文用途", + "390 视频倒放源审校默认折叠", + "390 视频倒放技术范围默认折叠", + "390 视频倒放默认无执行计数/实现标识", + "390 视频倒放默认依据限制可见", + "390 视频倒放 说明未定稿", + "390 视频倒放 未验证实跑", + "390 视频倒放 未检查", + "390 视频倒放停用/时间戳空", + "390 视频倒放参数全保留", + "390 视频倒放默认无溢出", + "390 视频倒放旧图归还焦点", + "390 NLF_视频人物动作骨架获取默认中文用途", + "390 NLF_视频人物动作骨架获取源审校默认折叠", + "390 NLF_视频人物动作骨架获取技术范围默认折叠", + "390 NLF_视频人物动作骨架获取默认无执行计数/实现标识", + "390 NLF_视频人物动作骨架获取默认依据限制可见", + "390 NLF_视频人物动作骨架获取 说明未定稿", + "390 NLF_视频人物动作骨架获取 未验证实跑", + "390 NLF_视频人物动作骨架获取 未检查", + "390 NLF_视频人物动作骨架获取停用/时间戳空", + "390 NLF_视频人物动作骨架获取参数全保留", + "390 NLF_视频人物动作骨架获取默认无溢出", + "390 NLF_视频人物动作骨架获取旧图归还焦点", + "390 openpose-video-姿态检测默认中文用途", + "390 openpose-video-姿态检测源审校默认折叠", + "390 openpose-video-姿态检测技术范围默认折叠", + "390 openpose-video-姿态检测默认无执行计数/实现标识", + "390 openpose-video-姿态检测默认依据限制可见", + "390 openpose-video-姿态检测 说明未定稿", + "390 openpose-video-姿态检测 未验证实跑", + "390 openpose-video-姿态检测 未检查", + "390 openpose-video-姿态检测停用/时间戳空", + "390 openpose-video-姿态检测参数全保留", + "390 openpose-video-姿态检测默认无溢出", + "390 openpose-video-姿态检测旧图归还焦点", + "390 sdpose_视频人物姿势骨架提取默认中文用途", + "390 sdpose_视频人物姿势骨架提取源审校默认折叠", + "390 sdpose_视频人物姿势骨架提取技术范围默认折叠", + "390 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识", + "390 sdpose_视频人物姿势骨架提取默认依据限制可见", + "390 sdpose_视频人物姿势骨架提取 说明未定稿", + "390 sdpose_视频人物姿势骨架提取 未验证实跑", + "390 sdpose_视频人物姿势骨架提取 未检查", + "390 sdpose_视频人物姿势骨架提取停用/时间戳空", + "390 sdpose_视频人物姿势骨架提取参数全保留", + "390 sdpose_视频人物姿势骨架提取默认无溢出", + "390 sdpose_视频人物姿势骨架提取旧图归还焦点", + "390 gemma4_提示词反推(图像视频音频)默认中文用途", + "390 gemma4_提示词反推(图像视频音频)源审校默认折叠", + "390 gemma4_提示词反推(图像视频音频)技术范围默认折叠", + "390 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识", + "390 gemma4_提示词反推(图像视频音频)默认依据限制可见", + "390 gemma4_提示词反推(图像视频音频) 说明未定稿", + "390 gemma4_提示词反推(图像视频音频) 未验证实跑", + "390 gemma4_提示词反推(图像视频音频) 未检查", + "390 gemma4_提示词反推(图像视频音频)停用/时间戳空", + "390 gemma4_提示词反推(图像视频音频)参数全保留", + "390 gemma4_提示词反推(图像视频音频)默认无溢出", + "390 gemma4_提示词反推(图像视频音频)旧图归还焦点", + "390 图像合并成四宫格默认中文用途", + "390 图像合并成四宫格源审校默认折叠", + "390 图像合并成四宫格技术范围默认折叠", + "390 图像合并成四宫格默认无执行计数/实现标识", + "390 图像合并成四宫格默认依据限制可见", + "390 图像合并成四宫格 说明未定稿", + "390 图像合并成四宫格 未验证实跑", + "390 图像合并成四宫格 未检查", + "390 图像合并成四宫格停用/时间戳空", + "390 图像合并成四宫格参数全保留", + "390 图像合并成四宫格默认无溢出", + "390 图像合并成四宫格旧图归还焦点", + "390 图像分割-多宫格分割默认中文用途", + "390 图像分割-多宫格分割源审校默认折叠", + "390 图像分割-多宫格分割技术范围默认折叠", + "390 图像分割-多宫格分割默认无执行计数/实现标识", + "390 图像分割-多宫格分割默认依据限制可见", + "390 图像分割-多宫格分割 说明未定稿", + "390 图像分割-多宫格分割 未验证实跑", + "390 图像分割-多宫格分割 未检查", + "390 图像分割-多宫格分割停用/时间戳空", + "390 图像分割-多宫格分割参数全保留", + "390 图像分割-多宫格分割默认无溢出", + "390 图像分割-多宫格分割旧图归还焦点", + "390 Qwen_image2.1_图像编辑_背景移除默认中文用途", + "390 Qwen_image2.1_图像编辑_背景移除源审校默认折叠", + "390 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠", + "390 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识", + "390 Qwen_image2.1_图像编辑_背景移除默认依据限制可见", + "390 Qwen_image2.1_图像编辑_背景移除 说明未定稿", + "390 Qwen_image2.1_图像编辑_背景移除 未验证实跑", + "390 Qwen_image2.1_图像编辑_背景移除 未检查", + "390 Qwen_image2.1_图像编辑_背景移除停用/时间戳空", + "390 Qwen_image2.1_图像编辑_背景移除参数全保留", + "390 Qwen_image2.1_图像编辑_背景移除默认无溢出", + "390 Qwen_image2.1_图像编辑_背景移除旧图归还焦点", + "390 Qwen_image2.1_图像编辑_提示词增强默认中文用途", + "390 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠", + "390 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠", + "390 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识", + "390 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见", + "390 Qwen_image2.1_图像编辑_提示词增强 说明未定稿", + "390 Qwen_image2.1_图像编辑_提示词增强 未验证实跑", + "390 Qwen_image2.1_图像编辑_提示词增强 未检查", + "390 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空", + "390 Qwen_image2.1_图像编辑_提示词增强参数全保留", + "390 Qwen_image2.1_图像编辑_提示词增强默认无溢出", + "390 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点", + "390 Qwen_image2.1_文生图_提示词增强默认中文用途", + "390 Qwen_image2.1_文生图_提示词增强源审校默认折叠", + "390 Qwen_image2.1_文生图_提示词增强技术范围默认折叠", + "390 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识", + "390 Qwen_image2.1_文生图_提示词增强默认依据限制可见", + "390 Qwen_image2.1_文生图_提示词增强 说明未定稿", + "390 Qwen_image2.1_文生图_提示词增强 未验证实跑", + "390 Qwen_image2.1_文生图_提示词增强 未检查", + "390 Qwen_image2.1_文生图_提示词增强停用/时间戳空", + "390 Qwen_image2.1_文生图_提示词增强参数全保留", + "390 Qwen_image2.1_文生图_提示词增强默认无溢出", + "390 Qwen_image2.1_文生图_提示词增强旧图归还焦点", + "390 ControlNet_aux_常用样例默认中文用途", + "390 ControlNet_aux_常用样例源审校默认折叠", + "390 ControlNet_aux_常用样例技术范围默认折叠", + "390 ControlNet_aux_常用样例默认无执行计数/实现标识", + "390 ControlNet_aux_常用样例默认依据限制可见", + "390 ControlNet_aux_常用样例 说明未定稿", + "390 ControlNet_aux_常用样例 未验证实跑", + "390 ControlNet_aux_常用样例 未检查", + "390 ControlNet_aux_常用样例停用/时间戳空", + "390 ControlNet_aux_常用样例参数全保留", + "390 ControlNet_aux_常用样例默认无溢出", + "390 ControlNet_aux_常用样例旧图归还焦点", + "390 Qwen3-ASR-语音转文字默认中文用途", + "390 Qwen3-ASR-语音转文字源审校默认折叠", + "390 Qwen3-ASR-语音转文字技术范围默认折叠", + "390 Qwen3-ASR-语音转文字默认无执行计数/实现标识", + "390 Qwen3-ASR-语音转文字默认依据限制可见", + "390 Qwen3-ASR-语音转文字 说明未定稿", + "390 Qwen3-ASR-语音转文字 未验证实跑", + "390 Qwen3-ASR-语音转文字 未检查", + "390 Qwen3-ASR-语音转文字停用/时间戳空", + "390 Qwen3-ASR-语音转文字参数全保留", + "390 Qwen3-ASR-语音转文字默认无溢出", + "390 Qwen3-ASR-语音转文字旧图归还焦点", + "390 Qwen3-ASR-Subtitle语音转字幕默认中文用途", + "390 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠", + "390 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠", + "390 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识", + "390 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见", + "390 Qwen3-ASR-Subtitle语音转字幕 说明未定稿", + "390 Qwen3-ASR-Subtitle语音转字幕 未验证实跑", + "390 Qwen3-ASR-Subtitle语音转字幕 未检查", + "390 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空", + "390 Qwen3-ASR-Subtitle语音转字幕参数全保留", + "390 Qwen3-ASR-Subtitle语音转字幕默认无溢出", + "390 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点", + "390 Minimax-H3提示词增强默认中文用途", + "390 Minimax-H3提示词增强源审校默认折叠", + "390 Minimax-H3提示词增强技术范围默认折叠", + "390 Minimax-H3提示词增强默认无执行计数/实现标识", + "390 Minimax-H3提示词增强默认依据限制可见", + "390 Minimax-H3提示词增强 说明未定稿", + "390 Minimax-H3提示词增强 未验证实跑", + "390 Minimax-H3提示词增强 未检查", + "390 Minimax-H3提示词增强停用/时间戳空", + "390 Minimax-H3提示词增强参数全保留", + "390 Minimax-H3提示词增强默认无溢出", + "390 Minimax-H3提示词增强旧图归还焦点", + "390 音频转MP3格式默认中文用途", + "390 音频转MP3格式源审校默认折叠", + "390 音频转MP3格式技术范围默认折叠", + "390 音频转MP3格式默认无执行计数/实现标识", + "390 音频转MP3格式默认依据限制可见", + "390 音频转MP3格式 说明未定稿", + "390 音频转MP3格式 未验证实跑", + "390 音频转MP3格式 未检查", + "390 音频转MP3格式停用/时间戳空", + "390 音频转MP3格式参数全保留", + "390 音频转MP3格式默认无溢出", + "390 音频转MP3格式旧图归还焦点", + "390 音频人声分离默认中文用途", + "390 音频人声分离源审校默认折叠", + "390 音频人声分离技术范围默认折叠", + "390 音频人声分离默认无执行计数/实现标识", + "390 音频人声分离默认依据限制可见", + "390 音频人声分离 说明未定稿", + "390 音频人声分离 未验证实跑", + "390 音频人声分离 未检查", + "390 音频人声分离停用/时间戳空", + "390 音频人声分离参数全保留", + "390 音频人声分离默认无溢出", + "390 音频人声分离旧图归还焦点", + "390 视频-音频分离默认中文用途", + "390 视频-音频分离源审校默认折叠", + "390 视频-音频分离技术范围默认折叠", + "390 视频-音频分离默认无执行计数/实现标识", + "390 视频-音频分离默认依据限制可见", + "390 视频-音频分离 说明未定稿", + "390 视频-音频分离 未验证实跑", + "390 视频-音频分离 未检查", + "390 视频-音频分离停用/时间戳空", + "390 视频-音频分离参数全保留", + "390 视频-音频分离默认无溢出", + "390 视频-音频分离旧图归还焦点", + "390 图像嵌入文字描述默认中文用途", + "390 图像嵌入文字描述源审校默认折叠", + "390 图像嵌入文字描述技术范围默认折叠", + "390 图像嵌入文字描述默认无执行计数/实现标识", + "390 图像嵌入文字描述默认依据限制可见", + "390 图像嵌入文字描述 说明未定稿", + "390 图像嵌入文字描述 未验证实跑", + "390 图像嵌入文字描述 未检查", + "390 图像嵌入文字描述停用/时间戳空", + "390 图像嵌入文字描述参数全保留", + "390 图像嵌入文字描述默认无溢出", + "390 图像嵌入文字描述旧图归还焦点", + "旧/空说明回退 旧工作流回退(隔离测试夹具)", + "旧/空说明回退 空说明回退(隔离测试夹具)", + "缺摘要自然中文回退", + "回退不暴露undefined", + "错绑定提示明确且不展示旧字段", + "回退不暴露undefined", + "摘要HTML仅纯文本不创建图像或请求", + "回退不暴露undefined", + "迟到latent图响应不覆盖旧帧图摘要/31字段", + "GET失败显示重试", + "读取失败隐藏旧摘要", + "重试恢复摘要", + "无脚本错误或禁止请求 []", + "全程本地GET无写/生成/目标/历史预览请求" + ], + "requests": [ + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/settings" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/156" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/157" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + } + ], + "errors": [], + "blockedFonts": [ + "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600&display=swap" + ], + "viewports": [ + 1440, + 390 + ] +} \ No newline at end of file diff --git a/docs/hel-892/latent-document-evidence/build.txt b/docs/hel-892/latent-document-evidence/build.txt new file mode 100644 index 00000000..ae5fa5cc --- /dev/null +++ b/docs/hel-892/latent-document-evidence/build.txt @@ -0,0 +1,4 @@ +Building source distribution... +Building wheel from source distribution... +Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz +Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl diff --git a/docs/hel-892/latent-document-evidence/build_definition.py b/docs/hel-892/latent-document-evidence/build_definition.py new file mode 100644 index 00000000..d8b2b820 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/build_definition.py @@ -0,0 +1,461 @@ +"""Exact source-bound latent reading notes; never load tensors or run upstream code.""" + +from __future__ import annotations + +import hashlib +import json +from pathlib import Path + +REPO = Path(__file__).resolve().parents[3] +OUT = Path(__file__).resolve().parent +PATHS = [ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json" +] + + +def canonical(value): + return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode() + + +def build(index=0): + path = PATHS[index] + raw = (REPO / path).read_bytes() + graph = json.loads(raw) + root = OUT.parent / "latent-reference" + entries = json.loads((root / "sources.json").read_bytes())["sources"] + refs = [] + + def ref(key, file, first, last, claim): + e = next(e for e in entries if e["id"] == key and e["file"] == file) + data = (root / e["local_file"]).read_bytes() + assert hashlib.sha256(data).hexdigest() == e["sha256"] + assert 1 <= first <= last <= len(data.decode().splitlines()) + refs.append( + { + **e, + "local_file": "../latent-reference/" + e["local_file"], + "lines": [first, last], + "claim": claim, + } + ) + return len(refs) - 1 + + djz = ref( + "djz", + "DJZLoadLatent.py", + 7, + 112, + "精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证", + ) + djzreg = ref("djz", "__init__.py", 123, 136, "准确DJZ-LoadLatent注册;V2独立注册,不套V2") + djzmeta = ref( + "djz", "pyproject.toml", 1, 15, "精确元数据声明LICENSE,但此提交树无该文件,许可授权未知" + ) + decode = ref( + "core57", + "nodes.py", + 278, + 298, + "core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次", + ) + dreg = ref("core57", "nodes.py", 1941, 1954, "core0.3.57准确VAEDecode注册") + loader = ref( + "core68", + "nodes.py", + 694, + 788, + "core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查", + ) + lreg = ref("core68", "nodes.py", 1945, 1958, "core0.3.68准确VAELoader注册") + vae = ref( + "core68", + "comfy/sd.py", + 277, + 330, + "core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型", + ) + dtype = ref( + "core68", + "comfy/sd.py", + 582, + 618, + "core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查", + ) + operation = ref( + "core68", + "comfy/sd.py", + 695, + 732, + "core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知", + ) + folder = ref( + "core68", "folder_paths.py", 282, 308, "core0.3.68配置的vae路径解析,目标目录存在性未知" + ) + combine = ref( + "vhs", + "videohelpersuite/nodes.py", + 234, + 388, + "精确8e4d7947合成schema、output/temp目录与首帧PNG条件", + ) + video = ref( + "vhs", + "videohelpersuite/nodes.py", + 420, + 627, + "精确8e4d7947视频编码、可选音频waveform条件与预览返回", + ) + template = ref( + "vhs", "videohelpersuite/nodes.py", 48, 165, "精确8e4d7947格式模板、str(False)及元数据条件" + ) + fmt = ref( + "vhs", + "video_formats/h264-mp4.json", + 1, + 15, + "精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认", + ) + creg = ref("vhs", "videohelpersuite/nodes.py", 1020, 1032, "精确VHS_VideoCombine注册") + js = ref("vhs", "web/js/VHS.core.js", 41, 168, "精确VHS序列化/恢复回调,不证明未知宿主与UE次序") + preview = ref( + "vhs", "web/js/VHS.core.js", 850, 918, "精确VHS历史预览控件;纯文本保留,不加载预览媒体" + ) + dynamic = ref( + "vhs", "web/js/VHS.core.js", 1160, 1225, "精确VHS格式动态控件;未确证未知宿主恢复" + ) + utils = ref("vhs", "videohelpersuite/utils.py", 19, 56, "精确VHS floatOrInt类型与工具常量") + for key in ["core57", "core68", "vhs"]: + e = next(e for e in entries if e["id"] == key and e["file"] == "LICENSE") + ref( + key, + "LICENSE", + 1, + len((root / e["local_file"]).read_text().splitlines()), + "该准确提交许可原文;不代替DJZ许可", + ) + + specs = { + "latent_file": ( + "latent文件引用", + "COMBO", + "output递归枚举并排序;无文件时仅空字符串;无固定默认", + "文件引用", + "仅扫描大小写敏感的.latent后缀;目标动态列表未知", + ( + "保存latents反斜杠引用原文,仅按output目录拼接;不规范化、不验证可达、不读取latent。准确DJ" + "Z用safetensors.torch.load_file(device=cpu),取latent_tenso" + "r转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在tr" + "y外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLat" + "ent或DJZ V2。" + ), + [djz, djzreg, djzmeta], + "scalar", + ), + "vae_name": ( + "VAE文件引用", + "COMBO", + "vae_list动态列表,无固定默认", + "文件引用", + "配置vae/vae_approx目录与成对近似VAE选项,附pixel_space;目标列表未知", + ( + "保存Wan2_1_VAE_bf16.safetensors,只是引用。core0.3.68普通分支get_fu" + "ll_path_or_raise(vae,vae_name)→load_torch_file→comfy.sd" + ".VAE→有效性检查;不证明安装、实际dtype、模型架构或与latent兼容。文件名不证明latent来源、" + "分辨率、时间结构或Wan家族;本轮不加载模型。" + ), + [loader, lreg, folder, vae, dtype, operation], + "scalar", + ), + "frame_rate": ( + "合成播放帧率", + "floatOrInt", + "8", + "帧/秒", + "min1、step1;schema未设max", + "保存16,无外线覆盖;这是合成时间轴设置,不是原始FPS或实际时长证明。若解码批次可用,时长与输出帧数/16及编码条件有关;实际帧数未知。", + [combine, video, utils], + "scalar", + ), + "loop_count": ( + "附加循环次数", + "INT", + "0", + "次", + "0~100,step1", + "保存0;视频分支不额外循环,不将GIF循环语义套给MP4。", + [combine, video], + "scalar", + ), + "filename_prefix": ( + "输出文件名前缀", + "STRING", + "AnimateDiff", + "路径/前缀", + "目标目录/权限/计数未知", + "保存video/WanVideo_,仅是输出前缀,不是固定产物文件名,不证明模型家族或源latent来自视频;不访问目录。", + [combine], + "scalar", + ), + "format": ( + "合成编码格式", + "COMBO", + "schema动态格式列表;函数回退image/gif", + "格式选择", + "本图video/h264-mp4;动态编码器/格式列表未知", + ( + "保存H264 MP4,准确模板使用libx264;音频另有AAC条件。" + # Keep exact text while keeping display-width checks readable. + "本图无音频输入,不能称保留原视频声音;未执行ffmpeg。" + ), + [combine, video, fmt, dynamic], + "scalar", + ), + "pix_fmt": ( + "像素格式", + "COMBO", + "yuv420p(模板首项)", + "像素格式", + "yuv420p或yuv420p10le", + "保存yuv420p,传给编码模板;编码前可能按格式dim_alignment补边,实际编码器支持及尺寸未知。", + [fmt, video, dynamic], + "scalar", + ), + "crf": ( + "恒定质量因子", + "INT", + "19", + "CRF", + "0~100,step1", + "保存19传给libx264 -crf;通常数值较低质量较高且文件较大,不保证码率、大小或成功。", + [fmt, video], + "scalar", + ), + "save_metadata": ( + "保存视频元数据", + "BOOLEAN", + "true", + "开关", + "true/false;prompt/extra_pnginfo与格式模板有条件", + ( + "保存true,视频元数据按模板条件写入;独立首帧PNG由VHS_MetadataImage(默认开启)另控,不" + "把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。" + ), + [template, combine, fmt], + "scalar", + ), + "trim_to_audio": ( + "音频裁切策略", + "BOOLEAN", + "false", + "开关", + "仅audio及有效waveform存在才混流", + ( + "保存false;本图audio未接,不进入音频混流,不保留原声音。若以后接有效音频,准确本版str(False" + ")条件会采用apad=whole_dur(总帧数/合成帧率+1)与-shortest;不保证同步,本轮不改图或" + "运行。" + ), + [template, video, fmt], + "scalar", + ), + "pingpong": ( + "往返追加", + "BOOLEAN", + "false", + "开关", + "true/false", + "保存false,不追加逆序中间帧;解码批次本身的时序/含义未知,不按名称推断。", + [combine, video], + "scalar", + ), + "save_output": ( + "保存正式输出", + "BOOLEAN", + "true", + "开关", + "true选output,false选temp;目标权限未知", + ( + "保存true选择正式output目录;可能有独立首帧PNG与无声MP4,存在性未知。VHS_FILENAMES" + "未接,不新增映射或执行出口;中间文件保留受VHS_KeepIntermediate条件影响。" + ), + [combine, video, creg], + "scalar", + ), + "videopreview": ( + "历史合成预览对象", + "前端嵌套对象", + "无服务端默认", + "历史状态", + "整对象一位置;不递归增加位置", + ( + "完整保留paused/hidden/params、E盘fullpath、16fps及workflow PNG纯" + "文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。" + ), + [preview, js], + "frontend_history", + ), + } + fields = [] + for i, n in enumerate(graph["nodes"]): + values = n["widgets_values"] + for key, value in values.items() if isinstance(values, dict) else enumerate(values): + name = key if isinstance(values, dict) else {10: "latent_file", 5: "vae_name"}[n["id"]] + label, typ, default, unit, limits, effect, evidence, role = specs[name] + fields.append( + dict( + field=name, + label=label, + type=typ, + schema_default=default, + unit=unit, + limits=limits, + effect=effect, + evidence=evidence, + role=role, + node_id=str(n["id"]), + definition_node_id=str(n["id"]), + class_type=n["type"], + scope="root", + pointer=f"/nodes/{i}/widgets_values/{key}", + value=value, + json_type=type(value).__name__, + execution_note=f"源mode={n['mode']};该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。", + ) + ) + assert len(fields) == 13 + overview = ( + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中" + "没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参" + "考,未实跑、转换保持关闭。" + ) + versions = [ + ( + "加载10:DJZ f6ca9376132600e6245d3d9d2f1e5d0ffa448d99,cnr d" + "jz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心Load" + "Latent或V2。" + ), + ( + "解码3:core0.3.57,官方tag v0.3.57→b0338e930bbc1f9d01f005f224" + "573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858" + "e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。" + ), + "合成4:VHS8e4d79471bf1952154768e8435a9300077b534fa准确提交,不套1.7.7/1.7.9发布包或其它commit。", + "源无frontendVersion;UE10/5为7.4.1、3/4为7.1,空映射不等于无影响,身份/恢复/钩子次序未知。", + ( + "DJZ该提交pyproject声明license.file=LICENSE,但完整树未发现LICENSE/其它" + "许可文件(请求LICENSE为404);许可授权未知,不用core/VHS的GPL原文代替。仅静态审查,不安装" + "执行。" + ), + ] + flow = [ + overview, + ( + "DJZ精确实现递归枚举output目录下.latent文件、相对路径排序,无文件提供空选项;加载以output" + "与latent_file拼接,源反斜杠原样保留,不跨平台规范化或验证可达。IS_CHANGED读取文件算SHA" + "256、VALIDATE_INPUTS查存在仅是上游行为描述,本轮不调用。" + ), + ( + "DJZ通过safetensors.torch.load_file(device=cpu)读取,取latent_" + "tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空" + "选择先抛错,try中读取/字段异常却返回(1,4,8,8)零张量;该回退不能证明成功加载或可解码。源张量格式、" + "缩放是否适配所选VAE未知,不执行反序列化。" + ), + ( + "VAE5按core0.3.68动态枚举vae/vae_approx及特殊选项,普通文件分支解析配置vae目录、" + "载入权重、构造VAE并检查有效性。Wan2_1_VAE_bf16.safetensors只是引用,不证明已安装" + "、真实dtype、架构或兼容;不能由Wan文件名或video/WanVideo_前缀猜latent来源、家族、" + "时间结构或分辨率。" + ), + ( + '解码3按core0.3.57调用vae.decode(samples["samples"]);若返回五维则展平' + "为(-1,H,W,C)图像批次。VAE对象按core0.3.68参考实现会选设备/dtype、按显存分批、OO" + "M尝试分块、末尾通道移到最后;默认process_output夹到0~1,但分支可覆盖,不能保证未知实际VAE" + "/输出总在此范围。实际通道、帧数、尺寸、设备/兼容/效果未知,不运行GPU。" + ), + ( + "三条物理边双向核验:10槽0→3.samples;5槽0→3.vae;3槽0→4.images。四节点全mod" + "e0,无子图、无注释;3原widgets_values=[]零位置,与缺键/null/{}不同。物理边不证明真" + "实运行或最终prompt。" + ), + ( + "合成4无frame_rate外线,保存16只控制合成播放时间轴,不证明原始FPS、latent帧数或实际时长。" + "images来自解码3,audio/meta_batch/vae均未接,VHS_FILENAMES未接;没有音" + "频节点/连线,不能称保留原声音,不制造输出映射。" + ), + ( + "准确VHS提交按h264-mp4/libx264、yuv420p/crf19、loop0、pingpong=f" + "alse、save_output=true解释;output/temp按开关选择,独立首帧PNG受VHS_Me" + "tadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知," + "不运行ffmpeg。" + ), + ( + "trim_to_audio=false只有有效audio.waveform时才进入apad/-shortest" + "混流分支;当前无音频输入,不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未" + "请求任何输出文件。" + ), + ( + "一份videopreview完整对象保留历史E盘路径、16fps、workflow PNG、paused/hi" + "dden/params,仅纯文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无front" + "endVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。" + ), + ] + flow += ["源物理边:" + json.dumps(e, ensure_ascii=False) for e in graph["links"]] + flow += [ + f"节点{n['id']} {n['type']} mode={n['mode']};" + f"保存位置={len(n['widgets_values'])};原properties=" + + json.dumps(n["properties"], ensure_ascii=False) + for n in graph["nodes"] + ] + return dict( + source_path=path, + source_sha1=hashlib.sha1(raw).hexdigest(), + source_sha256=hashlib.sha256(raw).hexdigest(), + canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(), + notice="固定版本仅作参考;latent/VAE兼容、实际尺寸/帧数/效果与环境未知,无音频连线,未实跑、转换保持关闭。", + user_overview=overview, + versions=versions, + counts=dict( + saved_fields=13, + scalar_saved_positions=12, + history_objects=1, + source_nodes=4, + physical_edges=3, + source_notes=0, + linked_saved_fields=0, + frontend_only=1, + final_scalars=0, + final_prompt_constructed=False, + ), + fields=fields, + sources=refs, + comments=[], + flow=flow, + flow_evidence=list(range(len(refs))), + zero_saved_nodes=[ + dict( + node_id="3", + class_type="VAEDecode", + evidence=[decode, dreg], + effect=( + "原widgets_values=[]零位置;两个具名连线输入samples/vae,不是缺键/null/{}," + "五维结果按准确core0.3.57展平成图像批次,实际兼容未知。" + ), + ) + ], + steps=[ + overview, + "素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。", + "操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。", + "操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。", + "操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。", + ( + "常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核lat" + "ent_tensor、格式标记、VAE架构与输入维度,当前均未实测。" + ), + ( + "常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和" + # Adjacent fragments preserve the reviewed definition byte for byte. + "workflow PNG不是当前输出证明。" + "正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。" + ), + ], + ) diff --git a/docs/hel-892/latent-document-evidence/definition-0.json b/docs/hel-892/latent-document-evidence/definition-0.json new file mode 100644 index 00000000..45b7ced2 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/definition-0.json @@ -0,0 +1,704 @@ +{ + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "source_sha1": "ad98277e4a2f88a4437d83a94eddf7d6b538f8da", + "source_sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b", + "canonical_sha256": "2d6b85111d5b69339309f3ece0545fed9be15c60893b19c07638bedcf593e287", + "notice": "固定版本仅作参考;latent/VAE兼容、实际尺寸/帧数/效果与环境未知,无音频连线,未实跑、转换保持关闭。", + "user_overview": "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "versions": [ + "加载10:DJZ f6ca9376132600e6245d3d9d2f1e5d0ffa448d99,cnr djz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", + "解码3:core0.3.57,官方tag v0.3.57→b0338e930bbc1f9d01f005f224573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。", + "合成4:VHS8e4d79471bf1952154768e8435a9300077b534fa准确提交,不套1.7.7/1.7.9发布包或其它commit。", + "源无frontendVersion;UE10/5为7.4.1、3/4为7.1,空映射不等于无影响,身份/恢复/钩子次序未知。", + "DJZ该提交pyproject声明license.file=LICENSE,但完整树未发现LICENSE/其它许可文件(请求LICENSE为404);许可授权未知,不用core/VHS的GPL原文代替。仅静态审查,不安装执行。" + ], + "counts": { + "saved_fields": 13, + "scalar_saved_positions": 12, + "history_objects": 1, + "source_nodes": 4, + "physical_edges": 3, + "source_notes": 0, + "linked_saved_fields": 0, + "frontend_only": 1, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "field": "latent_file", + "label": "latent文件引用", + "type": "COMBO", + "schema_default": "output递归枚举并排序;无文件时仅空字符串;无固定默认", + "unit": "文件引用", + "limits": "仅扫描大小写敏感的.latent后缀;目标动态列表未知", + "effect": "保存latents反斜杠引用原文,仅按output目录拼接;不规范化、不验证可达、不读取latent。准确DJZ用safetensors.torch.load_file(device=cpu),取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在try外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLatent或DJZ V2。", + "evidence": [ + 0, + 1, + 2 + ], + "role": "scalar", + "node_id": "10", + "definition_node_id": "10", + "class_type": "DJZ-LoadLatent", + "scope": "root", + "pointer": "/nodes/0/widgets_values/0", + "value": "latents\\ComfyUI_00001_nmxvu_1762517653.latent", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "frame_rate", + "label": "合成播放帧率", + "type": "floatOrInt", + "schema_default": "8", + "unit": "帧/秒", + "limits": "min1、step1;schema未设max", + "effect": "保存16,无外线覆盖;这是合成时间轴设置,不是原始FPS或实际时长证明。若解码批次可用,时长与输出帧数/16及编码条件有关;实际帧数未知。", + "evidence": [ + 11, + 12, + 19 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/frame_rate", + "value": 16, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "loop_count", + "label": "附加循环次数", + "type": "INT", + "schema_default": "0", + "unit": "次", + "limits": "0~100,step1", + "effect": "保存0;视频分支不额外循环,不将GIF循环语义套给MP4。", + "evidence": [ + 11, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/loop_count", + "value": 0, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "filename_prefix", + "label": "输出文件名前缀", + "type": "STRING", + "schema_default": "AnimateDiff", + "unit": "路径/前缀", + "limits": "目标目录/权限/计数未知", + "effect": "保存video/WanVideo_,仅是输出前缀,不是固定产物文件名,不证明模型家族或源latent来自视频;不访问目录。", + "evidence": [ + 11 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/filename_prefix", + "value": "video/WanVideo_", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "format", + "label": "合成编码格式", + "type": "COMBO", + "schema_default": "schema动态格式列表;函数回退image/gif", + "unit": "格式选择", + "limits": "本图video/h264-mp4;动态编码器/格式列表未知", + "effect": "保存H264 MP4,准确模板使用libx264;音频另有AAC条件。本图无音频输入,不能称保留原视频声音;未执行ffmpeg。", + "evidence": [ + 11, + 12, + 14, + 18 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/format", + "value": "video/h264-mp4", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "pix_fmt", + "label": "像素格式", + "type": "COMBO", + "schema_default": "yuv420p(模板首项)", + "unit": "像素格式", + "limits": "yuv420p或yuv420p10le", + "effect": "保存yuv420p,传给编码模板;编码前可能按格式dim_alignment补边,实际编码器支持及尺寸未知。", + "evidence": [ + 14, + 12, + 18 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/pix_fmt", + "value": "yuv420p", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "crf", + "label": "恒定质量因子", + "type": "INT", + "schema_default": "19", + "unit": "CRF", + "limits": "0~100,step1", + "effect": "保存19传给libx264 -crf;通常数值较低质量较高且文件较大,不保证码率、大小或成功。", + "evidence": [ + 14, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/crf", + "value": 19, + "json_type": "int", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "save_metadata", + "label": "保存视频元数据", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "开关", + "limits": "true/false;prompt/extra_pnginfo与格式模板有条件", + "effect": "保存true,视频元数据按模板条件写入;独立首帧PNG由VHS_MetadataImage(默认开启)另控,不把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。", + "evidence": [ + 13, + 11, + 14 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/save_metadata", + "value": true, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "trim_to_audio", + "label": "音频裁切策略", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "开关", + "limits": "仅audio及有效waveform存在才混流", + "effect": "保存false;本图audio未接,不进入音频混流,不保留原声音。若以后接有效音频,准确本版str(False)条件会采用apad=whole_dur(总帧数/合成帧率+1)与-shortest;不保证同步,本轮不改图或运行。", + "evidence": [ + 13, + 12, + 14 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/trim_to_audio", + "value": false, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "pingpong", + "label": "往返追加", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "开关", + "limits": "true/false", + "effect": "保存false,不追加逆序中间帧;解码批次本身的时序/含义未知,不按名称推断。", + "evidence": [ + 11, + 12 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/pingpong", + "value": false, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "save_output", + "label": "保存正式输出", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "开关", + "limits": "true选output,false选temp;目标权限未知", + "effect": "保存true选择正式output目录;可能有独立首帧PNG与无声MP4,存在性未知。VHS_FILENAMES未接,不新增映射或执行出口;中间文件保留受VHS_KeepIntermediate条件影响。", + "evidence": [ + 11, + 12, + 15 + ], + "role": "scalar", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/save_output", + "value": true, + "json_type": "bool", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "videopreview", + "label": "历史合成预览对象", + "type": "前端嵌套对象", + "schema_default": "无服务端默认", + "unit": "历史状态", + "limits": "整对象一位置;不递归增加位置", + "effect": "完整保留paused/hidden/params、E盘fullpath、16fps及workflow PNG纯文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。", + "evidence": [ + 17, + 16 + ], + "role": "frontend_history", + "node_id": "4", + "definition_node_id": "4", + "class_type": "VHS_VideoCombine", + "scope": "root", + "pointer": "/nodes/2/widgets_values/videopreview", + "value": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideo__00001.png", + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4" + } + }, + "json_type": "dict", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + }, + { + "field": "vae_name", + "label": "VAE文件引用", + "type": "COMBO", + "schema_default": "vae_list动态列表,无固定默认", + "unit": "文件引用", + "limits": "配置vae/vae_approx目录与成对近似VAE选项,附pixel_space;目标列表未知", + "effect": "保存Wan2_1_VAE_bf16.safetensors,只是引用。core0.3.68普通分支get_full_path_or_raise(vae,vae_name)→load_torch_file→comfy.sd.VAE→有效性检查;不证明安装、实际dtype、模型架构或与latent兼容。文件名不证明latent来源、分辨率、时间结构或Wan家族;本轮不加载模型。", + "evidence": [ + 5, + 6, + 10, + 7, + 8, + 9 + ], + "role": "scalar", + "node_id": "5", + "definition_node_id": "5", + "class_type": "VAELoader", + "scope": "root", + "pointer": "/nodes/3/widgets_values/0", + "value": "Wan2_1_VAE_bf16.safetensors", + "json_type": "str", + "execution_note": "源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。" + } + ], + "sources": [ + { + "id": "djz", + "file": "DJZLoadLatent.py", + "local_file": "../latent-reference/djz__DJZLoadLatent.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab", + "lines": [ + 7, + 112 + ], + "claim": "精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证" + }, + { + "id": "djz", + "file": "__init__.py", + "local_file": "../latent-reference/djz____init__.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb", + "lines": [ + 123, + 136 + ], + "claim": "准确DJZ-LoadLatent注册;V2独立注册,不套V2" + }, + { + "id": "djz", + "file": "pyproject.toml", + "local_file": "../latent-reference/djz__pyproject.toml", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5", + "lines": [ + 1, + 15 + ], + "claim": "精确元数据声明LICENSE,但此提交树无该文件,许可授权未知" + }, + { + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 278, + 298 + ], + "claim": "core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次" + }, + { + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 1941, + 1954 + ], + "claim": "core0.3.57准确VAEDecode注册" + }, + { + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 694, + 788 + ], + "claim": "core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查" + }, + { + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 1945, + 1958 + ], + "claim": "core0.3.68准确VAELoader注册" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 277, + 330 + ], + "claim": "core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 582, + 618 + ], + "claim": "core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 695, + 732 + ], + "claim": "core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知" + }, + { + "id": "core68", + "file": "folder_paths.py", + "local_file": "../latent-reference/core68__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a", + "lines": [ + 282, + 308 + ], + "claim": "core0.3.68配置的vae路径解析,目标目录存在性未知" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 234, + 388 + ], + "claim": "精确8e4d7947合成schema、output/temp目录与首帧PNG条件" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 420, + 627 + ], + "claim": "精确8e4d7947视频编码、可选音频waveform条件与预览返回" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 48, + 165 + ], + "claim": "精确8e4d7947格式模板、str(False)及元数据条件" + }, + { + "id": "vhs", + "file": "video_formats/h264-mp4.json", + "local_file": "../latent-reference/vhs__video_formats__h264-mp4.json", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8", + "lines": [ + 1, + 15 + ], + "claim": "精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 1020, + 1032 + ], + "claim": "精确VHS_VideoCombine注册" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 41, + 168 + ], + "claim": "精确VHS序列化/恢复回调,不证明未知宿主与UE次序" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 850, + 918 + ], + "claim": "精确VHS历史预览控件;纯文本保留,不加载预览媒体" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 1160, + 1225 + ], + "claim": "精确VHS格式动态控件;未确证未知宿主恢复" + }, + { + "id": "vhs", + "file": "videohelpersuite/utils.py", + "local_file": "../latent-reference/vhs__videohelpersuite__utils.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504", + "lines": [ + 19, + 56 + ], + "claim": "精确VHS floatOrInt类型与工具常量" + }, + { + "id": "core57", + "file": "LICENSE", + "local_file": "../latent-reference/core57__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "id": "core68", + "file": "LICENSE", + "local_file": "../latent-reference/core68__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "id": "vhs", + "file": "LICENSE", + "local_file": "../latent-reference/vhs__LICENSE", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + } + ], + "comments": [], + "flow": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "DJZ精确实现递归枚举output目录下.latent文件、相对路径排序,无文件提供空选项;加载以output与latent_file拼接,源反斜杠原样保留,不跨平台规范化或验证可达。IS_CHANGED读取文件算SHA256、VALIDATE_INPUTS查存在仅是上游行为描述,本轮不调用。", + "DJZ通过safetensors.torch.load_file(device=cpu)读取,取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择先抛错,try中读取/字段异常却返回(1,4,8,8)零张量;该回退不能证明成功加载或可解码。源张量格式、缩放是否适配所选VAE未知,不执行反序列化。", + "VAE5按core0.3.68动态枚举vae/vae_approx及特殊选项,普通文件分支解析配置vae目录、载入权重、构造VAE并检查有效性。Wan2_1_VAE_bf16.safetensors只是引用,不证明已安装、真实dtype、架构或兼容;不能由Wan文件名或video/WanVideo_前缀猜latent来源、家族、时间结构或分辨率。", + "解码3按core0.3.57调用vae.decode(samples[\"samples\"]);若返回五维则展平为(-1,H,W,C)图像批次。VAE对象按core0.3.68参考实现会选设备/dtype、按显存分批、OOM尝试分块、末尾通道移到最后;默认process_output夹到0~1,但分支可覆盖,不能保证未知实际VAE/输出总在此范围。实际通道、帧数、尺寸、设备/兼容/效果未知,不运行GPU。", + "三条物理边双向核验:10槽0→3.samples;5槽0→3.vae;3槽0→4.images。四节点全mode0,无子图、无注释;3原widgets_values=[]零位置,与缺键/null/{}不同。物理边不证明真实运行或最终prompt。", + "合成4无frame_rate外线,保存16只控制合成播放时间轴,不证明原始FPS、latent帧数或实际时长。images来自解码3,audio/meta_batch/vae均未接,VHS_FILENAMES未接;没有音频节点/连线,不能称保留原声音,不制造输出映射。", + "准确VHS提交按h264-mp4/libx264、yuv420p/crf19、loop0、pingpong=false、save_output=true解释;output/temp按开关选择,独立首帧PNG受VHS_MetadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知,不运行ffmpeg。", + "trim_to_audio=false只有有效audio.waveform时才进入apad/-shortest混流分支;当前无音频输入,不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未请求任何输出文件。", + "一份videopreview完整对象保留历史E盘路径、16fps、workflow PNG、paused/hidden/params,仅纯文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无frontendVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。", + "源物理边:[2, 3, 0, 4, 0, \"IMAGE\"]", + "源物理边:[4, 5, 0, 3, 1, \"VAE\"]", + "源物理边:[5, 10, 0, 3, 0, \"LATENT\"]", + "节点10 DJZ-LoadLatent mode=0;保存位置=1;原properties={\"cnr_id\": \"djz-nodes\", \"ver\": \"f6ca9376132600e6245d3d9d2f1e5d0ffa448d99\", \"Node name for S&R\": \"DJZ-LoadLatent\", \"aux_id\": \"MushroomFleet/DJZ-Nodes\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}", + "节点3 VAEDecode mode=0;保存位置=0;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.57\", \"Node name for S&R\": \"VAEDecode\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点4 VHS_VideoCombine mode=0;保存位置=11;原properties={\"cnr_id\": \"comfyui-videohelpersuite\", \"ver\": \"8e4d79471bf1952154768e8435a9300077b534fa\", \"Node name for S&R\": \"VHS_VideoCombine\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.1\", \"input_ue_unconnectable\": {}}}", + "节点5 VAELoader mode=0;保存位置=1;原properties={\"cnr_id\": \"comfy-core\", \"ver\": \"0.3.68\", \"Node name for S&R\": \"VAELoader\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"input_ue_unconnectable\": {}, \"version\": \"7.4.1\"}}" + ], + "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 + ], + "zero_saved_nodes": [ + { + "node_id": "3", + "class_type": "VAEDecode", + "evidence": [ + 3, + 4 + ], + "effect": "原widgets_values=[]零位置;两个具名连线输入samples/vae,不是缺键/null/{},五维结果按准确core0.3.57展平成图像批次,实际兼容未知。" + } + ], + "steps": [ + "这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。", + "素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。", + "操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。", + "操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。", + "操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。", + "常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。", + "常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。" + ] +} diff --git a/docs/hel-892/latent-document-evidence/diff-check-note.txt b/docs/hel-892/latent-document-evidence/diff-check-note.txt new file mode 100644 index 00000000..a019a159 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/diff-check-note.txt @@ -0,0 +1 @@ +自写改动git diff --cached --check通过;准确上游原件保留原始CRLF/尾空白以维持成员SHA256,未格式化上游。原件索引全部staged blob哈希与来源SHA256一致。 diff --git a/docs/hel-892/latent-document-evidence/diff-check.txt b/docs/hel-892/latent-document-evidence/diff-check.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/latent-document-evidence/fetch_sources.py b/docs/hel-892/latent-document-evidence/fetch_sources.py new file mode 100644 index 00000000..f943348c --- /dev/null +++ b/docs/hel-892/latent-document-evidence/fetch_sources.py @@ -0,0 +1,27 @@ +"""Refetch only the pinned textual originals; never import plugins or request media.""" + +import hashlib +import json +import urllib.request +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] / "latent-reference" + + +def main(): + sources = json.loads((ROOT / "sources.json").read_bytes())["sources"] + for e in sources: + assert len(e["commit"]) == 40 and e["commit"] in e["url"] + with urllib.request.urlopen(e["url"], timeout=30) as response: + raw = response.read() + assert hashlib.sha256(raw).hexdigest() == e["sha256"] + (ROOT / e["local_file"]).write_bytes(raw) + tree = json.loads((ROOT / "djz-tree.json").read_bytes()) + assert tree["sha"] == "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99" + assert not tree["truncated"] + assert not any("licen" in e["path"].lower() for e in tree["tree"]) + print(f"PASS {len(sources)} exact textual originals; DJZ license remains unknown") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/fixed-source-index.json b/docs/hel-892/latent-document-evidence/fixed-source-index.json new file mode 100644 index 00000000..4419d5b1 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/fixed-source-index.json @@ -0,0 +1,324 @@ +[ + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "djz", + "file": "DJZLoadLatent.py", + "local_file": "../latent-reference/djz__DJZLoadLatent.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab", + "lines": [ + 7, + 112 + ], + "claim": "精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "djz", + "file": "__init__.py", + "local_file": "../latent-reference/djz____init__.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb", + "lines": [ + 123, + 136 + ], + "claim": "准确DJZ-LoadLatent注册;V2独立注册,不套V2" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "djz", + "file": "pyproject.toml", + "local_file": "../latent-reference/djz__pyproject.toml", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5", + "lines": [ + 1, + 15 + ], + "claim": "精确元数据声明LICENSE,但此提交树无该文件,许可授权未知" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 278, + 298 + ], + "claim": "core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core57", + "file": "nodes.py", + "local_file": "../latent-reference/core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36", + "lines": [ + 1941, + 1954 + ], + "claim": "core0.3.57准确VAEDecode注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 694, + 788 + ], + "claim": "core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "nodes.py", + "local_file": "../latent-reference/core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3", + "lines": [ + 1945, + 1958 + ], + "claim": "core0.3.68准确VAELoader注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 277, + 330 + ], + "claim": "core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 582, + 618 + ], + "claim": "core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "comfy/sd.py", + "local_file": "../latent-reference/core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2", + "lines": [ + 695, + 732 + ], + "claim": "core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "folder_paths.py", + "local_file": "../latent-reference/core68__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a", + "lines": [ + 282, + 308 + ], + "claim": "core0.3.68配置的vae路径解析,目标目录存在性未知" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 234, + 388 + ], + "claim": "精确8e4d7947合成schema、output/temp目录与首帧PNG条件" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 420, + 627 + ], + "claim": "精确8e4d7947视频编码、可选音频waveform条件与预览返回" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 48, + 165 + ], + "claim": "精确8e4d7947格式模板、str(False)及元数据条件" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "video_formats/h264-mp4.json", + "local_file": "../latent-reference/vhs__video_formats__h264-mp4.json", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8", + "lines": [ + 1, + 15 + ], + "claim": "精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "../latent-reference/vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365", + "lines": [ + 1020, + 1032 + ], + "claim": "精确VHS_VideoCombine注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 41, + 168 + ], + "claim": "精确VHS序列化/恢复回调,不证明未知宿主与UE次序" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 850, + 918 + ], + "claim": "精确VHS历史预览控件;纯文本保留,不加载预览媒体" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "../latent-reference/vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e", + "lines": [ + 1160, + 1225 + ], + "claim": "精确VHS格式动态控件;未确证未知宿主恢复" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "videohelpersuite/utils.py", + "local_file": "../latent-reference/vhs__videohelpersuite__utils.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504", + "lines": [ + 19, + 56 + ], + "claim": "精确VHS floatOrInt类型与工具常量" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core57", + "file": "LICENSE", + "local_file": "../latent-reference/core57__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "core68", + "file": "LICENSE", + "local_file": "../latent-reference/core68__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "id": "vhs", + "file": "LICENSE", + "local_file": "../latent-reference/vhs__LICENSE", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "该准确提交许可原文;不代替DJZ许可" + } +] diff --git a/docs/hel-892/latent-document-evidence/format-fix-final.txt b/docs/hel-892/latent-document-evidence/format-fix-final.txt new file mode 100644 index 00000000..28bf190e --- /dev/null +++ b/docs/hel-892/latent-document-evidence/format-fix-final.txt @@ -0,0 +1 @@ +6 files left unchanged diff --git a/docs/hel-892/latent-document-evidence/format-fix-second.txt b/docs/hel-892/latent-document-evidence/format-fix-second.txt new file mode 100644 index 00000000..de52b86f --- /dev/null +++ b/docs/hel-892/latent-document-evidence/format-fix-second.txt @@ -0,0 +1 @@ +1 file reformatted, 5 files left unchanged diff --git a/docs/hel-892/latent-document-evidence/format-fix.txt b/docs/hel-892/latent-document-evidence/format-fix.txt new file mode 100644 index 00000000..a99d1147 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/format-fix.txt @@ -0,0 +1 @@ +3 files reformatted, 17 files left unchanged diff --git a/docs/hel-892/latent-document-evidence/format.txt b/docs/hel-892/latent-document-evidence/format.txt new file mode 100644 index 00000000..2408f3aa --- /dev/null +++ b/docs/hel-892/latent-document-evidence/format.txt @@ -0,0 +1 @@ +21 files already formatted diff --git a/docs/hel-892/latent-document-evidence/frozen-resource-check.json b/docs/hel-892/latent-document-evidence/frozen-resource-check.json new file mode 100644 index 00000000..9eddfd4c --- /dev/null +++ b/docs/hel-892/latent-document-evidence/frozen-resource-check.json @@ -0,0 +1,771 @@ +{ + "base": "256e6beae0202a89f2c2d18567daee64db6bd918", + "files": [ + { + "path": "calliope-backend/src/calliope/comfyui/__init__.py", + "sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543" + }, + { + "path": "calliope-backend/src/calliope/comfyui/client.py", + "sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72" + }, + { + "path": "calliope-backend/src/calliope/comfyui/companions.py", + "sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04" + }, + { + "path": "calliope-backend/src/calliope/comfyui/delivery_scope.json", + "sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6" + }, + { + "path": "calliope-backend/src/calliope/comfyui/delivery_scope.py", + "sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867" + }, + { + "path": "calliope-backend/src/calliope/comfyui/dry_run.py", + "sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7" + }, + { + "path": "calliope-backend/src/calliope/comfyui/endpoints.py", + "sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py", + "sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py", + "sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library_cli.py", + "sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380" + }, + { + "path": "calliope-backend/src/calliope/comfyui/lint.py", + "sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3" + }, + { + "path": "calliope-backend/src/calliope/comfyui/output_map.py", + "sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e" + }, + { + "path": "calliope-backend/src/calliope/comfyui/parser.py", + "sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0" + }, + { + "path": "calliope-backend/src/calliope/comfyui/patcher.py", + "sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/preflight.py", + "sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec" + }, + { + "path": "calliope-backend/src/calliope/comfyui/profiles.py", + "sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.json", + "sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.py", + "sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916" + }, + { + "path": "calliope-backend/src/calliope/comfyui/registry.py", + "sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/roles.py", + "sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4" + }, + { + "path": "calliope-backend/src/calliope/comfyui/serialization_reference.py", + "sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1" + }, + { + "path": "calliope-backend/src/calliope/comfyui/smart_fill.py", + "sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.py", + "sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419" + }, + { + "path": "calliope-backend/src/calliope/comfyui/structure_reference.py", + "sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb" + }, + { + "path": "calliope-backend/src/calliope/comfyui/ui2api.py", + "sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/validate.py", + "sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d" + }, + { + "path": "docs/hel-892/supplied-api/01.api.json", + "sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e" + }, + { + "path": "docs/hel-892/supplied-api/02.api.json", + "sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b" + }, + { + "path": "docs/hel-892/supplied-api/03.api.json", + "sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce" + }, + { + "path": "docs/hel-892/supplied-api/04.api.json", + "sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e" + }, + { + "path": "docs/hel-892/supplied-api/05.api.json", + "sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8" + }, + { + "path": "docs/hel-892/supplied-api/06.api.json", + "sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b" + }, + { + "path": "docs/hel-892/supplied-api/07.api.json", + "sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d" + }, + { + "path": "docs/hel-892/supplied-api/manifest.json", + "sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json", + "sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json", + "sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json", + "sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json", + "sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json", + "sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json", + "sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json", + "sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json", + "sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json", + "sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json", + "sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json", + "sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json", + "sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json", + "sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json", + "sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json", + "sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json", + "sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json", + "sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json", + "sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json", + "sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json", + "sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json", + "sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json", + "sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json", + "sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json", + "sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json", + "sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json", + "sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json", + "sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json", + "sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json", + "sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json", + "sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json", + "sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json", + "sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json", + "sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json", + "sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json", + "sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json", + "sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json", + "sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json", + "sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json", + "sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json", + "sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json", + "sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json", + "sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json", + "sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json", + "sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json", + "sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json", + "sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json", + "sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json", + "sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json", + "sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json", + "sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json", + "sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json", + "sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json", + "sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json", + "sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json", + "sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json", + "sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json", + "sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json", + "sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json", + "sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json", + "sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json", + "sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json", + "sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json", + "sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json", + "sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json", + "sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json", + "sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json", + "sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json", + "sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json", + "sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json", + "sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json", + "sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json", + "sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json", + "sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json", + "sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json", + "sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json", + "sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json", + "sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json", + "sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json", + "sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json", + "sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json", + "sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json", + "sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json", + "sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json", + "sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json", + "sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json", + "sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json", + "sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json", + "sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json", + "sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json", + "sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json", + "sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json", + "sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json", + "sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json", + "sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json", + "sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json", + "sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json", + "sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json", + "sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json", + "sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json", + "sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json", + "sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json", + "sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json", + "sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json", + "sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json", + "sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json", + "sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json", + "sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json", + "sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json", + "sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json", + "sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json", + "sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json", + "sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json", + "sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json", + "sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json", + "sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json", + "sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json", + "sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json", + "sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json", + "sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json", + "sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json", + "sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json", + "sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json", + "sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json", + "sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json", + "sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json", + "sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json", + "sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json", + "sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json", + "sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json", + "sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json", + "sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json", + "sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json", + "sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json", + "sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json", + "sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json", + "sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json", + "sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json", + "sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json", + "sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json", + "sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json", + "sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b" + }, + { + "path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json", + "sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313" + }, + { + "path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json", + "sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757" + }, + { + "path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json", + "sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json", + "sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json", + "sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json", + "sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json", + "sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json", + "sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json", + "sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json", + "sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c" + } + ], + "original_files": 156, + "all_unchanged": true +} diff --git a/docs/hel-892/latent-document-evidence/import-protection.json b/docs/hel-892/latent-document-evidence/import-protection.json new file mode 100644 index 00000000..fd88c413 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/import-protection.json @@ -0,0 +1,69 @@ +{ + "base": "256e6beae0202a89f2c2d18567daee64db6bd918", + "first": { + "imported": 155, + "user_excluded": 1 + }, + "upgrade": { + "skipped": 154, + "updated": 1, + "user_excluded": 1 + }, + "repeat": { + "skipped": 155, + "user_excluded": 1 + }, + "restored_rows": 1, + "untouched_whole_rows": 154, + "eligibility_unchanged": true, + "redo": { + "skipped": 154, + "updated": 1, + "user_excluded": 1 + }, + "user_protection": [ + { + "phase": "user-before", + "counts": { + "skipped": 154, + "conflict": 1, + "user_excluded": 1 + }, + "whole_rows": 1, + "columns": 29 + }, + { + "phase": "user-after", + "counts": { + "skipped": 154, + "conflict": 1, + "user_excluded": 1 + }, + "whole_rows": 1, + "columns": 29 + } + ], + "fresh": { + "imported": 155, + "user_excluded": 1 + }, + "fresh_repeat": { + "skipped": 155, + "user_excluded": 1 + }, + "states": { + "pending_check": 16, + "needs_conversion": 139 + }, + "source_named_fields": 1217, + "positional_widgets": 3660, + "companion_values": 294, + "new_saved": 13, + "new_notes": 0, + "old_saved": 649, + "old_notes": 15, + "overviews": 23, + "all_disabled": true, + "doc_done": 0, + "executed": 0 +} diff --git a/docs/hel-892/latent-document-evidence/js-syntax.txt b/docs/hel-892/latent-document-evidence/js-syntax.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/latent-document-evidence/lint-initial.txt b/docs/hel-892/latent-document-evidence/lint-initial.txt new file mode 100644 index 00000000..5dcd8d23 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/lint-initial.txt @@ -0,0 +1,111 @@ +E501 Line too long (336 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:144:67 + | +142 | … +143 | … +144 | … 准确DJZ用safetensors.torch.load_file(device=cpu),取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在try外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLatent或DJZ V2。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +145 | … +146 | … + | + +E501 Line too long (119 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:194:67 + | +192 | "格式选择", +193 | "本图video/h264-mp4;动态编码器/格式列表未知", +194 | "保存H264 MP4,准确模板使用libx264;音频另有AAC条件。本图无音频输入,不能称保留原视频声音;未执行ffmpeg。", + | ^^^^^^^^^^^^^^^^^^ +195 | [combine, video, fmt, dynamic], +196 | "scalar", + | + +E501 Line too long (164 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:224:70 + | +222 | … +223 | … +224 | …etadataImage(默认开启)另控,不把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +225 | … +226 | … + | + +E501 Line too long (148 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:264:85 + | +262 | … +263 | … +264 | …ps及workflow PNG纯文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +265 | … +266 | … + | + +E501 Line too long (235 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:297:68 + | +295 | … +296 | … +297 | … 成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +298 | … +299 | …/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", + | + +E501 Line too long (151 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:299:96 + | +297 | …E解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;… +298 | … +299 | …9,cnr djz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +300 | …01f005f224573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿… +301 | … 确提交,不套1.7.7/1.7.9发布包或其它commit。", + | + +E501 Line too long (204 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:300:91 + | +298 | … +299 | …roomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。", +300 | … 载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +301 | … 包或其它commit。", +302 | … 子次序未知。", + | + +E501 Line too long (225 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:315:81 + | +313 | … ;output/temp按开关选择,独立首帧PNG受VHS_MetadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知,不运… +314 | … 不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未请求任何输出文件。", +315 | … 文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无frontendVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +316 | … +317 | … + | + +E501 Line too long (105 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:319:92 + | +317 | flow += ["源物理边:" + json.dumps(e, ensure_ascii=False) for e in graph["links"]] +318 | flow += [ +319 | f"节点{n['id']} {n['type']} mode={n['mode']};保存位置={len(n['widgets_values'])};原properties=" + | ^^^^^ +320 | + json.dumps(n["properties"], ensure_ascii=False) +321 | for n in graph["nodes"] + | + +E501 Line too long (166 > 100) + --> docs/hel-892/latent-document-evidence/build_definition.py:363:68 + | +361 | … 16且无外线。当前无音频连线,不承诺原声音或原时长。", +362 | … 张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。", +363 | … 径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +364 | … +365 | … + | + +Found 10 errors. diff --git a/docs/hel-892/latent-document-evidence/lint.txt b/docs/hel-892/latent-document-evidence/lint.txt new file mode 100644 index 00000000..1f5f344d --- /dev/null +++ b/docs/hel-892/latent-document-evidence/lint.txt @@ -0,0 +1 @@ +All checks passed! diff --git a/docs/hel-892/latent-document-evidence/package-check.json b/docs/hel-892/latent-document-evidence/package-check.json new file mode 100644 index 00000000..220584e4 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/package-check.json @@ -0,0 +1,23 @@ +[ + { + "file": "fixed_document.py", + "sha256": "a210ab39c69df70561da29035cb999a9678d62f2ee1cd26076cc22d4a65e7c20", + "wheel": true, + "sdist": true, + "definitions": 23 + }, + { + "file": "source_reviews.json", + "sha256": "eae51223a42daea53db182075288a7d4852f325059b681895b542604a869656d", + "wheel": true, + "sdist": true, + "definitions": 23 + }, + { + "file": "library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c", + "wheel": true, + "sdist": true, + "definitions": 23 + } +] diff --git a/docs/hel-892/latent-document-evidence/pins.json b/docs/hel-892/latent-document-evidence/pins.json new file mode 100644 index 00000000..02153d32 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/pins.json @@ -0,0 +1,3 @@ +{ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json": "945a5c92e09bdd2e9ee5915c2a9c977bfd3324bbd78677a2fd6bae91ca958b47" +} diff --git a/docs/hel-892/latent-document-evidence/pr-before.json b/docs/hel-892/latent-document-evidence/pr-before.json new file mode 100644 index 00000000..591ff79c --- /dev/null +++ b/docs/hel-892/latent-document-evidence/pr-before.json @@ -0,0 +1,14 @@ +{ + "number": 25, + "state": "open", + "merged": false, + "html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25", + "head": { + "ref": "agent/agent/a64a969a6a44", + "sha": "256e6beae0202a89f2c2d18567daee64db6bd918" + }, + "base": { + "ref": "main", + "sha": "1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532" + } +} diff --git a/docs/hel-892/latent-document-evidence/rebuild.py b/docs/hel-892/latent-document-evidence/rebuild.py new file mode 100644 index 00000000..16d3c3db --- /dev/null +++ b/docs/hel-892/latent-document-evidence/rebuild.py @@ -0,0 +1,64 @@ +"""Add one reviewed definition; preserve every other review object exactly.""" + +from __future__ import annotations + +import hashlib +import json +import subprocess + +from build_definition import OUT, PATHS, REPO, build, canonical + +BASE = "256e6beae0202a89f2c2d18567daee64db6bd918" +RESOURCE = "calliope-backend/src/calliope/comfyui/source_reviews.json" + + +def build_all(): + previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)) + reviews = json.loads(json.dumps(previous, ensure_ascii=False)) + for i, path in enumerate(PATHS): + block = build(i) + assert reviews[path]["source_sha"] == block["source_sha1"] + assert "fixed_version_document" not in previous[path] + reviews[path]["fixed_version_document"] = block + return reviews, previous + + +def main(): + current = json.loads((REPO / RESOURCE).read_bytes()) + reviews, previous = build_all() + (REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n") + pins = {} + for i, path in enumerate(PATHS): + block = reviews[path]["fixed_version_document"] + pins[path] = hashlib.sha256(canonical(block)).hexdigest() + (OUT / f"definition-{i}.json").write_text( + json.dumps(block, ensure_ascii=False, indent=2) + "\n" + ) + # Explicit maintenance of the code-owned allowlist, never trust runtime caller digests. + module = REPO / "calliope-backend/src/calliope/comfyui/fixed_document.py" + text = module.read_text() + for path, digest in pins.items(): + old_block = current[path].get("fixed_version_document") + old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None + if old_digest and old_digest in text: + text = text.replace(old_digest, digest) + elif digest in text: + pass + else: + text = text.replace( + "DEFINITIONS = {", + "DEFINITIONS = {\n (\n" + + "".join( + " " + repr(path[i : i + 40]) + "\n" for i in range(0, len(path), 40) + ) + + " ): " + + repr(digest) + + ",", + ) + module.write_text(text) + (OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n") + print("PASS one definition; other 155 reviews and old 22 blocks unchanged") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/recompute-final.txt b/docs/hel-892/latent-document-evidence/recompute-final.txt new file mode 100644 index 00000000..4e2ee954 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/recompute-final.txt @@ -0,0 +1 @@ +PASS actual 256e6be upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 23 definitions, frozen boundaries, wheel/sdist diff --git a/docs/hel-892/latent-document-evidence/recompute-initial.txt b/docs/hel-892/latent-document-evidence/recompute-initial.txt new file mode 100644 index 00000000..4e2ee954 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/recompute-initial.txt @@ -0,0 +1 @@ +PASS actual 256e6be upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 23 definitions, frozen boundaries, wheel/sdist diff --git a/docs/hel-892/latent-document-evidence/recompute.py b/docs/hel-892/latent-document-evidence/recompute.py new file mode 100644 index 00000000..84cad242 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/recompute.py @@ -0,0 +1,391 @@ +"""Actual 256e6be upgrade, one-row protection/rollback, frozen boundaries and packages.""" + +from __future__ import annotations + +import hashlib +import io +import json +import os +import sqlite3 +import subprocess +import sys +import tarfile +import tempfile +import zipfile +from pathlib import Path + +from build_definition import OUT, PATHS, REPO, canonical +from rebuild import BASE, RESOURCE, build_all + +sys.path.insert(0, str(REPO / "calliope-backend")) + + +def write(name, value): + (OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n") + + +def require_packages(): + dist = REPO / "calliope-backend/dist" + w = sorted(dist.glob("*.whl")) + s = sorted(dist.glob("*.tar.gz")) + if not w or not s: + raise SystemExit( + ( + "缺少wheel/sdist包产物,请先在仓库根执行:" + "uv build --project calliop" + "e-backend --offline" + ) + ) + return w[-1], s[-1] + + +def main(): + from calliope.comfyui.fixed_document import DEFINITIONS + from calliope.comfyui.library import rollback_batch + from scripts.audit_library_documents import audit + + wheels, sdists = require_packages() + reference = OUT.parent / "latent-reference" + entries = json.loads((reference / "sources.json").read_bytes())["sources"] + for e in entries: + assert hashlib.sha256((reference / e["local_file"]).read_bytes()).hexdigest() == e["sha256"] + tree = json.loads((reference / "djz-tree.json").read_bytes()) + assert tree["sha"] == "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99" + assert not any("licen" in e["path"].lower() for e in tree["tree"]) + write( + "source-check.json", + dict( + fixed_originals=len(entries), + local_file_base="docs/hel-892/latent-reference", + imported_upstream=False, + target_installation=False, + djz_license="unknown: declared LICENSE absent from exact tree", + exact_tree_sha=tree["sha"], + ), + ) + assert (reference / "core-tags.txt").read_text().split() == [ + "b0338e930bbc1f9d01f005f224573d5994732932", + "refs/tags/v0.3.57", + "265adad858e1f31b66cd3523a02b16f5d34ced52", + "refs/tags/v0.3.68", + ] + graphs = [] + for path in PATHS: + raw = (REPO / path).read_bytes() + g = json.loads(raw) + by_id = {n["id"]: n for n in g["nodes"]} + assert len(g["nodes"]) == 4 and len(g["links"]) == 3 + assert sum(len(n["widgets_values"]) for n in g["nodes"]) == 13 + assert "frontendVersion" not in g["extra"] + assert {n["id"]: n["mode"] for n in g["nodes"]} == {10: 0, 3: 0, 4: 0, 5: 0} + assert by_id[3]["widgets_values"] == [] + assert by_id[10]["widgets_values"] == [r"latents\ComfyUI_00001_nmxvu_1762517653.latent"] + assert by_id[5]["widgets_values"] == ["Wan2_1_VAE_bf16.safetensors"] + assert [by_id[i]["properties"]["ver"] for i in [10, 3, 4, 5]] == [ + "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "0.3.57", + "8e4d79471bf1952154768e8435a9300077b534fa", + "0.3.68", + ] + assert g["links"] == [ + [2, 3, 0, 4, 0, "IMAGE"], + [4, 5, 0, 3, 1, "VAE"], + [5, 10, 0, 3, 0, "LATENT"], + ] + for eid, origin, slot, target, inp, typ in g["links"]: + assert eid in by_id[origin]["outputs"][slot]["links"] + assert by_id[origin]["outputs"][slot]["type"] == typ + assert by_id[target]["inputs"][inp]["link"] == eid + assert by_id[target]["inputs"][inp]["type"] == typ + graphs.append( + dict( + source_path=path, + sha1=hashlib.sha1(raw).hexdigest(), + raw_sha256=hashlib.sha256(raw).hexdigest(), + canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(), + nodes=g["nodes"], + links=g["links"], + saved_fields=13, + history_objects=1, + ) + ) + write("source-graphs.json", graphs) + rebuilt, previous = build_all() + assert rebuilt == json.loads((REPO / RESOURCE).read_bytes()) + old_blocks = { + p: r["fixed_version_document"] for p, r in previous.items() if "fixed_version_document" in r + } + assert len(old_blocks) == 22 + assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items()) + write( + "review-delta.json", + dict( + base=BASE, + changed_paths=PATHS, + other_reviews_unchanged=len(previous) - 1, + old_blocks_unchanged=22, + old_saved=649, + old_notes=15, + new_saved=13, + new_notes=0, + total_documents=23, + total_saved=662, + total_notes=15, + ), + ) + for p, d in DEFINITIONS.items(): + assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d + with tempfile.TemporaryDirectory() as directory: + work = Path(directory) + old = work / "old" + old.mkdir() + data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO) + with tarfile.open(fileobj=io.BytesIO(data)) as a: + a.extractall(old, filter="data") + db = work / "library.db" + + def run(name, historical=False): + out = work / name + env = { + **os.environ, + "PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"), + } + subprocess.run( + [ + sys.executable, + "-m", + "calliope.comfyui.library_cli", + "import", + "--root", + str(REPO / "example_ComfyUI_workflows"), + "--db", + str(db), + "--source-commit", + BASE, + "--companions", + str(REPO / "docs/hel-892/supplied-api/manifest.json"), + "--output-dir", + str(out), + ], + cwd=REPO, + env=env, + check=True, + stdout=subprocess.DEVNULL, + ) + return json.loads((out / "import_report.json").read_bytes()), out + + def rows(): + with sqlite3.connect(db) as c: + c.row_factory = sqlite3.Row + return { + r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows") + } + + first, _ = run("historical", True) + before = rows() + assert first["counts"] == {"imported": 155, "user_excluded": 1} + assert all("fixed_version" not in json.loads(before[p]["doc_json"]) for p in PATHS) + assert all( + json.loads(before[p]["doc_json"])["fixed_version"]["matched"] + for p in DEFINITIONS + if p not in PATHS + ) + original = db + protected = [] + + def protect(name): + nonlocal db + db = work / (name + ".db") + with sqlite3.connect(original) as src, sqlite3.connect(db) as dst: + src.backup(dst) + for p in PATHS: + dst.execute( + "UPDATE workflows SET description=? WHERE source_repo_path=?", + (name, p), + ) + snapshot = rows() + r, _ = run(name) + assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1} + assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS) + protected.append(dict(phase=name, counts=r["counts"], whole_rows=1, columns=29)) + db = original + + protect("user-before") + upgrade, exported = run("upgrade") + after = rows() + assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1} + for p, row in after.items(): + if p not in PATHS: + assert row == before[p] + continue + assert len(row) == 29 + assert all( + row[k] == before[p][k] + for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"} + ) + d = json.loads(row["doc_json"]) + assert d["fixed_version"]["matched"] + old_doc = json.loads(before[p]["doc_json"]) + without = dict(d) + fixed = without.pop("fixed_version") + assert without["steps"] == old_doc["steps"][:-3] + fixed["steps"] + without["steps"] = old_doc["steps"] + assert without.pop("source_review_sha") != old_doc.pop("source_review_sha") + assert without == old_doc + write("actual-" + Path(p).stem + ".json", d) + repeat, _ = run("repeat") + assert repeat["counts"] == {"skipped": 155, "user_excluded": 1} + with sqlite3.connect(db) as c: + c.row_factory = sqlite3.Row + r = rollback_batch(c, upgrade["batch_id"]) + assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"]) + assert rows() == before + redo, _ = run("redo") + assert redo["counts"] == upgrade["counts"] + protect("user-after") + db = work / "fresh.db" + fresh, exported = run("fresh") + fresh_repeat, _ = run("fresh-repeat") + assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"] + assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139} + companion = 0 + for row in rows().values(): + d = json.loads(row["doc_json"]) + companion += sum(p.get("value_origin") == "supplied_api_companion" for p in d["params"]) + assert ( + not row["is_enabled"] + and row["doc_completed_at"] is None + and row["exec_verified_at"] is None + ) + assert not d["status"]["doc_done"] and not d["status"]["exec_verified"] + assert d["dependencies"]["check_state"] == "unchecked" + report = audit(REPO, exported) + assert ( + report["named_values_preserved"] == 1217 + and report["unnamed_widget_nodes"] == 3660 + and companion == 294 + ) + assert report["full_documents_completed"] == report["real_executions"] == 0 + write("audit-summary.json", {k: v for k, v in report.items() if k != "files"}) + write( + "import-protection.json", + dict( + base=BASE, + first=first["counts"], + upgrade=upgrade["counts"], + repeat=repeat["counts"], + restored_rows=1, + untouched_whole_rows=154, + eligibility_unchanged=True, + redo=redo["counts"], + user_protection=protected, + fresh=fresh["counts"], + fresh_repeat=fresh_repeat["counts"], + states=fresh["states"], + source_named_fields=1217, + positional_widgets=3660, + companion_values=companion, + new_saved=13, + new_notes=0, + old_saved=649, + old_notes=15, + overviews=23, + all_disabled=True, + doc_done=0, + executed=0, + ), + ) + old_reviews = json.loads( + subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO) + ) + current = json.loads((REPO / RESOURCE).read_bytes()) + for p in PATHS: + current[p].pop("fixed_version_document") + assert current == old_reviews + boundaries = json.loads( + (REPO / "docs/hel-892/h3-document-evidence/unchanged-boundaries.json").read_bytes() + ) + paths = ( + [f["path"] for f in boundaries["files"]] + + boundaries["frozen_conversion_and_audits"] + + ["calliope-backend/src/calliope/comfyui/library.py"] + ) + kept = [] + for p in paths: + raw = (REPO / p).read_bytes() + assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO) + kept.append(dict(path=p, sha256=hashlib.sha256(raw).hexdigest())) + ui = "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte" + drawer_bytes = (REPO / ui).read_bytes() + assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO) + + write( + "boundaries.json", + dict( + base=BASE, + files=kept, + originals=163, + old_twenty_two_blocks_unchanged=True, + drawer_css_unchanged=True, + drawer_whole_file_unchanged=True, + drawer_sha256=hashlib.sha256(drawer_bytes).hexdigest(), + conversion_rerun=False, + profiles_28_candidates_9_diffs_6="unchanged", + ), + ) + tracked = ( + subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO) + .decode() + .rstrip("\0") + .split("\0") + ) + frozen = [ + p + for p in tracked + if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/")) + or p.startswith("calliope-backend/src/calliope/comfyui/") + and p not in [RESOURCE, "calliope-backend/src/calliope/comfyui/fixed_document.py"] + ] + for p in frozen: + assert (REPO / p).read_bytes() == subprocess.check_output( + ["git", "show", f"{BASE}:{p}"], cwd=REPO + ) + write( + "frozen-resource-check.json", + dict( + base=BASE, + files=[ + dict(path=p, sha256=hashlib.sha256((REPO / p).read_bytes()).hexdigest()) + for p in frozen + ], + original_files=sum(p.startswith("example_ComfyUI_workflows/") for p in frozen), + all_unchanged=True, + ), + ) + packages = [] + with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s: + for name in ["fixed_document.py", "source_reviews.json", "library.py"]: + raw = (REPO / "calliope-backend/src/calliope/comfyui" / name).read_bytes() + assert w.read("calliope/comfyui/" + name) == raw + member = next(n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name)) + assert s.extractfile(member).read() == raw + packages.append( + dict( + file=name, + sha256=hashlib.sha256(raw).hexdigest(), + wheel=True, + sdist=True, + definitions=23, + ) + ) + write("package-check.json", packages) + print( + "PASS actual 256e6be upgrade1/skip154, repe" + "at155, rollback1, edits1/29cols, fresh155," + " 1217/3660/294, 23 definitions, frozen bou" + "ndaries, wheel/sdist" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/render_report.py b/docs/hel-892/latent-document-evidence/render_report.py new file mode 100644 index 00000000..7d1f3f65 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/render_report.py @@ -0,0 +1,111 @@ +"""Readable complete Chinese definitions and fixed source index from delivered data.""" + +from __future__ import annotations + +import hashlib +import json +from pathlib import Path + +OUT = Path(__file__).resolve().parent + + +def main(): + lines = [ + "# 加载本地latent解码固定参考中文说明", + "", + "13新顶层保存位置(12标量+1历史对象)+0新注释;旧22图649保存位置+15注释逐对象不变。23图662位置+15注释展示,155定稿0、实跑0、新增转换0。", + "", + "复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说明块和显式受信摘要,不改变转换/执行链。来源索引local_file以docs/hel-892/latent-document-evidence为解析基准。", + "", + ] + index = [] + for i in range(1): + b = json.loads((OUT / f"definition-{i}.json").read_bytes()) + lines += [ + "## " + Path(b["source_path"]).stem, + "", + b["user_overview"], + "", + b["notice"], + "", + "源路径:`" + b["source_path"] + "`", + "", + "SHA1:" + b["source_sha1"], + "", + "原字节SHA256:" + b["source_sha256"], + "", + "规范全图SHA256:" + b["canonical_sha256"], + "", + *[v + "\n" for v in b["versions"]], + "### 具体连线与处理条件", + "", + *[v + "\n" for v in b["flow"]], + "### 使用与核对", + "", + *[v + "\n" for v in b["steps"]], + "### 逐保存位置说明", + "", + ] + for j, f in enumerate(b["fields"], 1): + lines += [ + f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})", + "", + f["effect"], + "", + "```json", + json.dumps(f["value"], ensure_ascii=False, indent=2), + "```", + "", + f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。", + "", + "源位置:`" + f["pointer"] + "`", + "", + "定义默认:" + f["schema_default"] + ";单位:" + f["unit"], + "", + "范围/条件:" + f["limits"], + "", + f["execution_note"], + "", + "依据:", + ] + for k in f["evidence"]: + e = b["sources"][k] + lines += [ + f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;" + f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}" + ] + lines += [""] + lines += ["### 零保存节点与源注释", ""] + for z in b["zero_saved_nodes"]: + lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""] + for n in b["comments"]: + lines += [ + "节点" + n["node_id"] + ",位置`" + n["pointer"] + "`", + "", + n["meaning"], + "", + "```text", + n["text"], + "```", + "", + ] + lines += ["### 固定原件索引", ""] + for k, e in enumerate(b["sources"]): + data = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(data).hexdigest() == e["sha256"] + lines += [ + f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;" + f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}", + "", + ] + index.append(dict(document=b["source_path"], **e)) + (OUT.parent / "加载本地latent解码固定参考中文说明.md").write_text( + "\n".join(lines).rstrip() + "\n" + ) + (OUT / "fixed-source-index.json").write_text( + json.dumps(index, ensure_ascii=False, indent=2) + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/repeat-final.txt b/docs/hel-892/latent-document-evidence/repeat-final.txt new file mode 100644 index 00000000..df043325 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/repeat-final.txt @@ -0,0 +1 @@ +PASS deterministic definitions and rendered artifacts: zero difference diff --git a/docs/hel-892/latent-document-evidence/repeat.py b/docs/hel-892/latent-document-evidence/repeat.py new file mode 100644 index 00000000..8579811e --- /dev/null +++ b/docs/hel-892/latent-document-evidence/repeat.py @@ -0,0 +1,42 @@ +"""Compare deterministic definitions and rendered artifacts without repeating unrelated tests.""" + +import hashlib +import json + +from build_definition import OUT, REPO, canonical +from rebuild import RESOURCE, build_all +from render_report import main as render + + +def main(): + a, old = build_all() + b, previous = build_all() + assert a == b and old == previous + assert a == json.loads((REPO / RESOURCE).read_bytes()) + render() + paths = [ + OUT / "fixed-source-index.json", + OUT.parent / "加载本地latent解码固定参考中文说明.md", + ] + before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths} + render() + assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths} + (OUT / "repeatability.json").write_text( + json.dumps( + dict( + definitions=23, + repeated_build_equal=True, + repeated_render_equal=True, + resource_sha256=hashlib.sha256(canonical(a)).hexdigest(), + artifacts=before, + ), + ensure_ascii=False, + indent=2, + ) + + "\n" + ) + print("PASS deterministic definitions and rendered artifacts: zero difference") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/repeat.txt b/docs/hel-892/latent-document-evidence/repeat.txt new file mode 100644 index 00000000..df043325 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/repeat.txt @@ -0,0 +1 @@ +PASS deterministic definitions and rendered artifacts: zero difference diff --git a/docs/hel-892/latent-document-evidence/repeatability.json b/docs/hel-892/latent-document-evidence/repeatability.json new file mode 100644 index 00000000..64c6f633 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/repeatability.json @@ -0,0 +1,10 @@ +{ + "definitions": 23, + "repeated_build_equal": true, + "repeated_render_equal": true, + "resource_sha256": "7765e2c926f167a3a1f300291da5d634f93adbeb0a8acefebec0027b3b1b98d0", + "artifacts": { + "fixed-source-index.json": "60283065f3008c969fe7c89b001ca4d9420b4905f4a7000ffc5a1979a42009f5", + "加载本地latent解码固定参考中文说明.md": "1143a237fdb9226305e7fdfd5d3b18b5dfd9b0d3af9537871ae81948e0151cbf" + } +} diff --git a/docs/hel-892/latent-document-evidence/request-counts.txt b/docs/hel-892/latent-document-evidence/request-counts.txt new file mode 100644 index 00000000..339a6452 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/request-counts.txt @@ -0,0 +1 @@ +{"total": 83, "fixed_count": 77, "polling_count": 6, "paths": {"/api/workflows": 3, "/api/workflows/9": 4, "/api/workflows/16": 4, "/api/workflows/10": 3, "/api/workflows/23": 3, "/api/workflows/8": 3, "/api/workflows/22": 3, "/api/workflows/5": 3, "/api/workflows/6": 3, "/api/workflows/7": 3, "/api/workflows/19": 3, "/api/workflows/13": 3, "/api/workflows/12": 3, "/api/workflows/64": 3, "/api/workflows/62": 3, "/api/workflows/70": 3, "/api/workflows/1": 3, "/api/workflows/36": 3, "/api/workflows/35": 3, "/api/workflows/2": 3, "/api/workflows/25": 3, "/api/workflows/24": 3, "/api/workflows/21": 3, "/api/workflows/14": 3, "/api/jobs": 6, "/api/settings": 1, "/api/workflows/156": 1, "/api/workflows/157": 1}, "readiness_included": 1, "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"} diff --git a/docs/hel-892/latent-document-evidence/request_counts.py b/docs/hel-892/latent-document-evidence/request_counts.py new file mode 100644 index 00000000..f471c9f8 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/request_counts.py @@ -0,0 +1,39 @@ +"""Count actual local server GETs separately from browser intercepted requests.""" + +import collections +import json +import re +from pathlib import Path + +OUT = Path(__file__).resolve().parent + + +def main(): + text = (OUT / "service-0.txt").read_text() + gets = re.findall(r'"GET ([^ ]+) HTTP/', text) + polling = [p for p in gets if p in ["/api/jobs", "/api/events"]] + result = dict( + total=len(gets), + fixed_count=len(gets) - len(polling), + polling_count=len(polling), + paths=dict(collections.Counter(gets)), + readiness_included=1, + reason=( + "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET," + "服务日志只含真正到后端者,不机械等同。" + "轮询可随计时边界±1,禁止请求始终零容忍。" + ), + ) + browser = json.loads((OUT / "browser-results.json").read_bytes()) + assert browser["errors"] == [] + assert all(r["method"] == "GET" for r in browser["requests"]) + assert all(not p.startswith("/api/view") for p in gets) + assert abs(result["polling_count"] - browser["request_accounting"]["polling_count"]) <= 1 + (OUT / "server-request-accounting.json").write_text( + json.dumps(result, ensure_ascii=False, indent=2) + "\n" + ) + print(json.dumps(result, ensure_ascii=False)) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/latent-document-evidence/review-delta.json b/docs/hel-892/latent-document-evidence/review-delta.json new file mode 100644 index 00000000..4b743692 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/review-delta.json @@ -0,0 +1,15 @@ +{ + "base": "256e6beae0202a89f2c2d18567daee64db6bd918", + "changed_paths": [ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json" + ], + "other_reviews_unchanged": 155, + "old_blocks_unchanged": 22, + "old_saved": 649, + "old_notes": 15, + "new_saved": 13, + "new_notes": 0, + "total_documents": 23, + "total_saved": 662, + "total_notes": 15 +} diff --git a/docs/hel-892/latent-document-evidence/server-request-accounting.json b/docs/hel-892/latent-document-evidence/server-request-accounting.json new file mode 100644 index 00000000..8c9fa7e3 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/server-request-accounting.json @@ -0,0 +1,37 @@ +{ + "total": 83, + "fixed_count": 77, + "polling_count": 6, + "paths": { + "/api/workflows": 3, + "/api/workflows/9": 4, + "/api/workflows/16": 4, + "/api/workflows/10": 3, + "/api/workflows/23": 3, + "/api/workflows/8": 3, + "/api/workflows/22": 3, + "/api/workflows/5": 3, + "/api/workflows/6": 3, + "/api/workflows/7": 3, + "/api/workflows/19": 3, + "/api/workflows/13": 3, + "/api/workflows/12": 3, + "/api/workflows/64": 3, + "/api/workflows/62": 3, + "/api/workflows/70": 3, + "/api/workflows/1": 3, + "/api/workflows/36": 3, + "/api/workflows/35": 3, + "/api/workflows/2": 3, + "/api/workflows/25": 3, + "/api/workflows/24": 3, + "/api/workflows/21": 3, + "/api/workflows/14": 3, + "/api/jobs": 6, + "/api/settings": 1, + "/api/workflows/156": 1, + "/api/workflows/157": 1 + }, + "readiness_included": 1, + "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。" +} diff --git a/docs/hel-892/latent-document-evidence/service-0.txt b/docs/hel-892/latent-document-evidence/service-0.txt new file mode 100644 index 00000000..83a72afd --- /dev/null +++ b/docs/hel-892/latent-document-evidence/service-0.txt @@ -0,0 +1,92 @@ +INFO: Started server process [624572] +INFO: Waiting for application startup. +INFO: Application startup complete. +INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit) +{'counts': {'imported': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}} +INFO: 127.0.0.1:59794 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59810 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59818 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59834 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:59824 - "GET /api/settings HTTP/1.1" 200 OK +INFO: 127.0.0.1:59838 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:59854 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59868 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:59882 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59886 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56106 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56114 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56130 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56142 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56156 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56160 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56166 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56178 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56180 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56184 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56188 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56196 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56202 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56216 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56228 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56234 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:56244 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56250 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56254 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56260 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:56276 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56280 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56288 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56302 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:56306 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33122 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33132 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33148 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33164 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33174 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33184 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33188 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33200 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33206 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33222 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33234 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33246 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:33258 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33260 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33266 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33276 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:33284 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33288 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33292 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33300 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33306 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33310 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33326 - "GET /api/workflows/156 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33330 - "GET /api/workflows/157 HTTP/1.1" 200 OK +INFO: 127.0.0.1:33338 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:49886 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: Shutting down +INFO: Waiting for application shutdown. +INFO: Application shutdown complete. +INFO: Finished server process [624572] diff --git a/docs/hel-892/latent-document-evidence/service-1.txt b/docs/hel-892/latent-document-evidence/service-1.txt new file mode 100644 index 00000000..07352060 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/service-1.txt @@ -0,0 +1,11 @@ +▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] + + tsconfig.json:2:12: + 2 │ "extends": "./.svelte-kit/tsconfig.json", + ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +8:11:13 PM [vite] (client) Forced re-optimization of dependencies + + VITE v6.4.3 ready in 421 ms + + ➜ Local: http://127.0.0.1:5173/ diff --git a/docs/hel-892/latent-document-evidence/service-stop.json b/docs/hel-892/latent-document-evidence/service-stop.json new file mode 100644 index 00000000..6e7febcd --- /dev/null +++ b/docs/hel-892/latent-document-evidence/service-stop.json @@ -0,0 +1,8 @@ +{ + "owned_services_stopped": true, + "ports_rebind_verified": [ + 8247, + 5173 + ], + "runner_finally_completed": true +} diff --git a/docs/hel-892/latent-document-evidence/source-check.json b/docs/hel-892/latent-document-evidence/source-check.json new file mode 100644 index 00000000..a0da252c --- /dev/null +++ b/docs/hel-892/latent-document-evidence/source-check.json @@ -0,0 +1,8 @@ +{ + "fixed_originals": 15, + "local_file_base": "docs/hel-892/latent-reference", + "imported_upstream": false, + "target_installation": false, + "djz_license": "unknown: declared LICENSE absent from exact tree", + "exact_tree_sha": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99" +} diff --git a/docs/hel-892/latent-document-evidence/source-graphs.json b/docs/hel-892/latent-document-evidence/source-graphs.json new file mode 100644 index 00000000..fc3bce9f --- /dev/null +++ b/docs/hel-892/latent-document-evidence/source-graphs.json @@ -0,0 +1,382 @@ +[ + { + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "sha1": "ad98277e4a2f88a4437d83a94eddf7d6b538f8da", + "raw_sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b", + "canonical_sha256": "2d6b85111d5b69339309f3ece0545fed9be15c60893b19c07638bedcf593e287", + "nodes": [ + { + "id": 10, + "type": "DJZ-LoadLatent", + "pos": [ + 960, + 680 + ], + "size": [ + 390, + 60 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "label": "latent_file", + "localized_name": "latent_file", + "name": "latent_file", + "type": "COMBO", + "widget": { + "name": "latent_file" + }, + "link": null + } + ], + "outputs": [ + { + "label": "LATENT", + "localized_name": "Latent", + "name": "LATENT", + "type": "LATENT", + "links": [ + 5 + ] + } + ], + "properties": { + "cnr_id": "djz-nodes", + "ver": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "Node name for S&R": "DJZ-LoadLatent", + "aux_id": "MushroomFleet/DJZ-Nodes", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.4.1" + } + }, + "widgets_values": [ + "latents\\ComfyUI_00001_nmxvu_1762517653.latent" + ] + }, + { + "id": 3, + "type": "VAEDecode", + "pos": [ + 1460, + 760 + ], + "size": [ + 140, + 50 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "label": "Latent", + "localized_name": "Latent", + "name": "samples", + "type": "LATENT", + "link": 5 + }, + { + "label": "VAE", + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 4 + } + ], + "outputs": [ + { + "label": "图像", + "localized_name": "图像", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.57", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 4, + "type": "VHS_VideoCombine", + "pos": [ + 1680, + 750 + ], + "size": [ + 400, + 334 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "label": "图像", + "localized_name": "图像", + "name": "images", + "type": "IMAGE", + "link": 2 + }, + { + "label": "音频", + "localized_name": "音频", + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "label": "批次管理", + "localized_name": "批次管理", + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "localized_name": "vae", + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + }, + { + "label": "帧率", + "localized_name": "帧率", + "name": "frame_rate", + "type": "FLOAT", + "widget": { + "name": "frame_rate" + }, + "link": null + }, + { + "label": "循环次数", + "localized_name": "循环次数", + "name": "loop_count", + "type": "INT", + "widget": { + "name": "loop_count" + }, + "link": null + }, + { + "label": "文件名前缀", + "localized_name": "文件名前缀", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + }, + "link": null + }, + { + "label": "格式", + "localized_name": "格式", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + }, + "link": null + }, + { + "label": "Ping-Pong", + "localized_name": "Ping-Pong", + "name": "pingpong", + "type": "BOOLEAN", + "widget": { + "name": "pingpong" + }, + "link": null + }, + { + "label": "保存到输出文件夹", + "localized_name": "保存到输出文件夹", + "name": "save_output", + "type": "BOOLEAN", + "widget": { + "name": "save_output" + }, + "link": null + }, + { + "name": "pix_fmt", + "type": [ + "yuv420p", + "yuv420p10le" + ], + "widget": { + "name": "pix_fmt" + }, + "link": null + }, + { + "name": "crf", + "type": "INT", + "widget": { + "name": "crf" + }, + "link": null + }, + { + "label": "保存元数据", + "localized_name": "保存元数据", + "name": "save_metadata", + "type": "BOOLEAN", + "widget": { + "name": "save_metadata" + }, + "link": null + }, + { + "label": "修剪音频", + "localized_name": "修剪音频", + "name": "trim_to_audio", + "type": "BOOLEAN", + "widget": { + "name": "trim_to_audio" + }, + "link": null + } + ], + "outputs": [ + { + "label": "文件名", + "localized_name": "文件名", + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "8e4d79471bf1952154768e8435a9300077b534fa", + "Node name for S&R": "VHS_VideoCombine", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.1", + "input_ue_unconnectable": {} + } + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "video/WanVideo_", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideo__00001.png", + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4" + } + } + } + }, + { + "id": 5, + "type": "VAELoader", + "pos": [ + 980, + 820 + ], + "size": [ + 360, + 60 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "localized_name": "vae名称", + "name": "vae_name", + "type": "COMBO", + "widget": { + "name": "vae_name" + }, + "link": null + } + ], + "outputs": [ + { + "localized_name": "VAE", + "name": "VAE", + "type": "VAE", + "links": [ + 4 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "VAELoader", + "ue_properties": { + "widget_ue_connectable": {}, + "input_ue_unconnectable": {}, + "version": "7.4.1" + } + }, + "widgets_values": [ + "Wan2_1_VAE_bf16.safetensors" + ] + } + ], + "links": [ + [ + 2, + 3, + 0, + 4, + 0, + "IMAGE" + ], + [ + 4, + 5, + 0, + 3, + 1, + "VAE" + ], + [ + 5, + 10, + 0, + 3, + 0, + "LATENT" + ] + ], + "saved_fields": 13, + "history_objects": 1 + } +] diff --git a/docs/hel-892/latent-document-evidence/tested-source-files.json b/docs/hel-892/latent-document-evidence/tested-source-files.json new file mode 100644 index 00000000..db5de264 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/tested-source-files.json @@ -0,0 +1,94 @@ +[ + { + "path": "calliope-backend/src/calliope/comfyui/fixed_document.py", + "sha256": "a210ab39c69df70561da29035cb999a9678d62f2ee1cd26076cc22d4a65e7c20" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.json", + "sha256": "eae51223a42daea53db182075288a7d4852f325059b681895b542604a869656d" + }, + { + "path": "e2e/latent-document.mjs", + "sha256": "e1ca664ca0dcb8f12d46694623820655499ba4fcdb904c2010a51933752625fa" + }, + { + "path": "e2e/run-latent-document.py", + "sha256": "dc1d15a1fd3d7cf9ac88de975d7f2e0ce483d1bd1179063ee5a5b9e36f31a822" + }, + { + "path": "docs/hel-892/latent-document-evidence/build_definition.py", + "sha256": "0f107b187d51587ce4517d0daa16dda56535765a05be48c4754eaee1e6ee20ad" + }, + { + "path": "docs/hel-892/latent-document-evidence/fetch_sources.py", + "sha256": "2a3343345ca03b24232501c0ff55db26ed95b80ac28bbbfd9dd2e8bc2e86fc12" + }, + { + "path": "docs/hel-892/latent-document-evidence/rebuild.py", + "sha256": "a754b03309b0f5c786fbfd1d45d6a0b8f9886aa5ca1f5db97b8367876df17b5b" + }, + { + "path": "docs/hel-892/latent-document-evidence/recompute.py", + "sha256": "09db82743c66e79f97f5ea2ff73d5a3de8d10096cd04d5d349d85c330d22a162" + }, + { + "path": "docs/hel-892/latent-document-evidence/render_report.py", + "sha256": "a77657666451a0c10af25ac374e25505777b8a5a1ebcffcea2610ffca0b56b57" + }, + { + "path": "docs/hel-892/latent-document-evidence/repeat.py", + "sha256": "50914ffd90641dd72122450b18d382fa703d36ad8b5c4403a80781e055d62119" + }, + { + "path": "docs/hel-892/latent-document-evidence/request_counts.py", + "sha256": "16fb2ba598a5b58f0704cc4535bfdd1d6ba8ade927db81f7f48875b23b83b020" + }, + { + "path": "calliope-backend/tests/test_background_fixed_document.py", + "sha256": "b3b3dc939ac66534214231abdba862ae070a73b924de38d9e88899af543f59c8" + }, + { + "path": "calliope-backend/tests/test_concat_fixed_document.py", + "sha256": "089fa7b7d269e73b58c584f3c9114dc86b78fef127a9d67b26d54999435e8c5a" + }, + { + "path": "calliope-backend/tests/test_controlnet_fixed_document.py", + "sha256": "cdf86505caafed2b0f6af652cdd83cdb2c2e05bd289fe75bfa6550616c04b49a" + }, + { + "path": "calliope-backend/tests/test_frames_fixed_document.py", + "sha256": "736f634088a46aa7b1b85950a6a47c2f1753bbae3ee83bdc49d03abf0bae4c65" + }, + { + "path": "calliope-backend/tests/test_gemma_fixed_document.py", + "sha256": "e4f16446876fd91069ee6f79a1a1ab85c3dc77ad32fe09857a2e1a9435ac750c" + }, + { + "path": "calliope-backend/tests/test_gif_images_fixed_document.py", + "sha256": "ff3b4ea2a78723ab6fb7dba91936b2cbda641af24a38cd6c1fc7001184033fe5" + }, + { + "path": "calliope-backend/tests/test_grid_fixed_document.py", + "sha256": "ff5402d050bad62c3af1f7b4cf8d1263b5e8c0a6f2fa03b06c330426fb1640f6" + }, + { + "path": "calliope-backend/tests/test_latent_fixed_document.py", + "sha256": "cbf3bbd709e0f6472c7195c6ad208757f2799d1c631c4a7c83f06d4dcb7d24c5" + }, + { + "path": "calliope-backend/tests/test_nlf_fixed_document.py", + "sha256": "78682a7e155b1f3095abb9c34eef6d1d8dfc1102bfdc2279a714496c790ee27b" + }, + { + "path": "calliope-backend/tests/test_openpose_fixed_document.py", + "sha256": "c415c19996e382900c254734701c7e2a3ba5ffc3db9d931a5ce31fd5ed086880" + }, + { + "path": "calliope-backend/tests/test_reverse_fixed_document.py", + "sha256": "716a896ea8bb1b7826cb01a4b5e7246fb20c4a9316a29508c453663b06d0c8eb" + }, + { + "path": "calliope-backend/tests/test_sdpose_fixed_document.py", + "sha256": "40e885f84ce2606893e828970991d80689968530a8e8c7f52c26f1d12843c7d3" + } +] diff --git a/docs/hel-892/latent-document-evidence/tests-final.txt b/docs/hel-892/latent-document-evidence/tests-final.txt new file mode 100644 index 00000000..00202486 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/tests-final.txt @@ -0,0 +1,17 @@ +........................................................................ [ 6%] +........................................................................ [ 12%] +........................................................................ [ 19%] +........................................................................ [ 25%] +........................................................................ [ 31%] +........................................................................ [ 38%] +........................................................................ [ 44%] +........................................................................ [ 51%] +........................................................................ [ 57%] +........................................................................ [ 63%] +........................................................................ [ 70%] +........................................................................ [ 76%] +........................................................................ [ 82%] +........................................................................ [ 89%] +........................................................................ [ 95%] +................................................ [100%] +1128 passed, 1 warning in 6.79s diff --git a/docs/hel-892/latent-document-evidence/tests-initial.txt b/docs/hel-892/latent-document-evidence/tests-initial.txt new file mode 100644 index 00000000..3109cc65 --- /dev/null +++ b/docs/hel-892/latent-document-evidence/tests-initial.txt @@ -0,0 +1,73 @@ +................................................................F....... [ 81%] +................ [100%] +=================================== FAILURES =================================== +__________ test_graph_history_shape_and_binding_refuse[empty_node-0] ___________ + +i = 0, kind = 'empty_node' + + @pytest.mark.parametrize("i", [0]) + @pytest.mark.parametrize( + "kind", + [ + "edge", + "mode", + "version", + "history", + "missing", + "null", + "list", + "object", + "swap", + "source_sha", + "citation", + "ue", + "empty_node", + "reference", + "preview_missing", + "preview_null", + "preview_object", + ], + ) + def test_graph_history_shape_and_binding_refuse(i, kind): + s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i]) + b = r["fixed_version_document"] + if kind == "edge": + s["links"][0][1] = 999 + elif kind == "mode": + s["nodes"][0]["mode"] = 2 + elif kind == "version": + s["nodes"][0]["properties"]["ver"] = "forged" + elif kind == "history": + next(n for n in s["nodes"] if n["id"] == 4)["widgets_values"]["videopreview"]["params"][ + "filename" + ] = "forged" + elif kind in ["missing", "null", "list", "object"]: + values = next(n for n in s["nodes"] if n["id"] == 4)["widgets_values"] + if kind == "missing": + del values["videopreview"] + else: + values["videopreview"] = {"null": None, "list": [], "object": {}}[kind] + elif kind == "swap": + r = copy.deepcopy( + review_for( + next(p for p in DEFINITIONS if p.endswith("视频倒放.json")), + hashlib.sha1( + ( + REPO / next(p for p in DEFINITIONS if p.endswith("视频倒放.json")) + ).read_bytes() + ).hexdigest(), + ) + ) + elif kind == "source_sha": + r["source_sha"] = "0" * 40 + elif kind == "ue": + s["extra"]["ue_links"] = [1] + elif kind == "empty_node": +> next(n for n in s["nodes"] if n["id"] == 50)["widgets_values"] = [] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E StopIteration + +calliope-backend/tests/test_latent_fixed_document.py:145: StopIteration +=========================== short test summary info ============================ +FAILED calliope-backend/tests/test_latent_fixed_document.py::test_graph_history_shape_and_binding_refuse[empty_node-0] +1 failed, 87 passed, 1 warning in 0.25s diff --git a/docs/hel-892/latent-document-evidence/validation-commands.txt b/docs/hel-892/latent-document-evidence/validation-commands.txt new file mode 100644 index 00000000..52de224f --- /dev/null +++ b/docs/hel-892/latent-document-evidence/validation-commands.txt @@ -0,0 +1,18 @@ +# 仓库根;既有Python3.11/锁定依赖;不执行上游插件,不读取媒体/目标机。 +uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline +npm ci --prefix calliope-web --ignore-scripts --offline +python3 docs/hel-892/latent-document-evidence/rebuild.py +uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py +uv build --project calliope-backend --offline +uv run --project calliope-backend --offline python docs/hel-892/latent-document-evidence/recompute.py +python3 docs/hel-892/latent-document-evidence/repeat.py +uv run --project calliope-backend --offline pytest calliope-backend/tests/test_latent_fixed_document.py calliope-backend/tests/test_frames_fixed_document.py calliope-backend/tests/test_concat_fixed_document.py calliope-backend/tests/test_gif_images_fixed_document.py calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_nlf_fixed_document.py::test_exact_topology_counts_modes_unknowns_and_old_objects calliope-backend/tests/test_openpose_fixed_document.py::test_exact_document_topology_and_preservation calliope-backend/tests/test_grid_fixed_document.py::test_only_two_reviews_change_and_all_old_blocks_preserved calliope-backend/tests/test_gemma_fixed_document.py::test_real_document_and_frozen_old_thirteen_blocks calliope-backend/tests/test_sdpose_fixed_document.py::test_real_document_and_frozen_old_fourteen_blocks calliope-backend/tests/test_background_fixed_document.py::test_ten_documents_only_gain_overview_and_new_block_is_independent calliope-backend/tests/test_controlnet_fixed_document.py::test_other_documents_and_block_swaps -q --disable-warnings +uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/latent-document-evidence e2e/run-latent-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_{latent,frames,concat,gif_images,reverse,nlf,openpose,grid,gemma,sdpose,background,controlnet}_fixed_document.py +uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/latent-document-evidence e2e/run-latent-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_{latent,frames,concat,gif_images,reverse,nlf,openpose,grid,gemma,sdpose,background,controlnet}_fixed_document.py +node --check e2e/latent-document.mjs +LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-latent-document.py +# 浏览runner finally终止两个本地服务;产物按下列精确路径复制后复算请求: +cp .local-evidence/latent-document/browser/browser-results.json docs/hel-892/latent-document-evidence/browser-results.json +cp .local-evidence/latent-document/browser/service-0.log docs/hel-892/latent-document-evidence/service-0.txt +cp .local-evidence/latent-document/browser/service-1.log docs/hel-892/latent-document-evidence/service-1.txt +python3 docs/hel-892/latent-document-evidence/request_counts.py diff --git a/docs/hel-892/latent-reference/core-tags.txt b/docs/hel-892/latent-reference/core-tags.txt new file mode 100644 index 00000000..a680253a --- /dev/null +++ b/docs/hel-892/latent-reference/core-tags.txt @@ -0,0 +1,2 @@ +b0338e930bbc1f9d01f005f224573d5994732932 refs/tags/v0.3.57 +265adad858e1f31b66cd3523a02b16f5d34ced52 refs/tags/v0.3.68 diff --git a/docs/hel-892/latent-reference/core57__LICENSE b/docs/hel-892/latent-reference/core57__LICENSE new file mode 100644 index 00000000..f288702d --- /dev/null +++ b/docs/hel-892/latent-reference/core57__LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/docs/hel-892/latent-reference/core57__nodes.py b/docs/hel-892/latent-reference/core57__nodes.py new file mode 100644 index 00000000..6c2f9dd1 --- /dev/null +++ b/docs/hel-892/latent-reference/core57__nodes.py @@ -0,0 +1,2415 @@ +from __future__ import annotations +import torch + + +import os +import sys +import json +import hashlib +import inspect +import traceback +import math +import time +import random +import logging + +from PIL import Image, ImageOps, ImageSequence +from PIL.PngImagePlugin import PngInfo + +import numpy as np +import safetensors.torch + +sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy")) + +import comfy.diffusers_load +import comfy.samplers +import comfy.sample +import comfy.sd +import comfy.utils +import comfy.controlnet +from comfy.comfy_types import IO, ComfyNodeABC, InputTypeDict, FileLocator +from comfy_api.internal import register_versions, ComfyAPIWithVersion +from comfy_api.version_list import supported_versions +from comfy_api.latest import io, ComfyExtension + +import comfy.clip_vision + +import comfy.model_management +from comfy.cli_args import args + +import importlib + +import folder_paths +import latent_preview +import node_helpers + +def before_node_execution(): + comfy.model_management.throw_exception_if_processing_interrupted() + +def interrupt_processing(value=True): + comfy.model_management.interrupt_current_processing(value) + +MAX_RESOLUTION=16384 + +class CLIPTextEncode(ComfyNodeABC): + @classmethod + def INPUT_TYPES(s) -> InputTypeDict: + return { + "required": { + "text": (IO.STRING, {"multiline": True, "dynamicPrompts": True, "tooltip": "The text to be encoded."}), + "clip": (IO.CLIP, {"tooltip": "The CLIP model used for encoding the text."}) + } + } + RETURN_TYPES = (IO.CONDITIONING,) + OUTPUT_TOOLTIPS = ("A conditioning containing the embedded text used to guide the diffusion model.",) + FUNCTION = "encode" + + CATEGORY = "conditioning" + DESCRIPTION = "Encodes a text prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images." + + def encode(self, clip, text): + if clip is None: + raise RuntimeError("ERROR: clip input is invalid: None\n\nIf the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.") + tokens = clip.tokenize(text) + return (clip.encode_from_tokens_scheduled(tokens), ) + + +class ConditioningCombine: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_1": ("CONDITIONING", ), "conditioning_2": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "combine" + + CATEGORY = "conditioning" + + def combine(self, conditioning_1, conditioning_2): + return (conditioning_1 + conditioning_2, ) + +class ConditioningAverage : + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), "conditioning_from": ("CONDITIONING", ), + "conditioning_to_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "addWeighted" + + CATEGORY = "conditioning" + + def addWeighted(self, conditioning_to, conditioning_from, conditioning_to_strength): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningAverage conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + pooled_output_from = conditioning_from[0][1].get("pooled_output", None) + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + pooled_output_to = conditioning_to[i][1].get("pooled_output", pooled_output_from) + t0 = cond_from[:,:t1.shape[1]] + if t0.shape[1] < t1.shape[1]: + t0 = torch.cat([t0] + [torch.zeros((1, (t1.shape[1] - t0.shape[1]), t1.shape[2]))], dim=1) + + tw = torch.mul(t1, conditioning_to_strength) + torch.mul(t0, (1.0 - conditioning_to_strength)) + t_to = conditioning_to[i][1].copy() + if pooled_output_from is not None and pooled_output_to is not None: + t_to["pooled_output"] = torch.mul(pooled_output_to, conditioning_to_strength) + torch.mul(pooled_output_from, (1.0 - conditioning_to_strength)) + elif pooled_output_from is not None: + t_to["pooled_output"] = pooled_output_from + + n = [tw, t_to] + out.append(n) + return (out, ) + +class ConditioningConcat: + @classmethod + def INPUT_TYPES(s): + return {"required": { + "conditioning_to": ("CONDITIONING",), + "conditioning_from": ("CONDITIONING",), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "concat" + + CATEGORY = "conditioning" + + def concat(self, conditioning_to, conditioning_from): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningConcat conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + tw = torch.cat((t1, cond_from),1) + n = [tw, conditioning_to[i][1].copy()] + out.append(n) + + return (out, ) + +class ConditioningSetArea: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": (height // 8, width // 8, y // 8, x // 8), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaPercentage: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "height": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "x": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "y": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": ("percentage", height, width, y, x), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaStrength: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, strength): + c = node_helpers.conditioning_set_values(conditioning, {"strength": strength}) + return (c, ) + + +class ConditioningSetMask: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "mask": ("MASK", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "set_cond_area": (["default", "mask bounds"],), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, mask, set_cond_area, strength): + set_area_to_bounds = False + if set_cond_area != "default": + set_area_to_bounds = True + if len(mask.shape) < 3: + mask = mask.unsqueeze(0) + + c = node_helpers.conditioning_set_values(conditioning, {"mask": mask, + "set_area_to_bounds": set_area_to_bounds, + "mask_strength": strength}) + return (c, ) + +class ConditioningZeroOut: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "zero_out" + + CATEGORY = "advanced/conditioning" + + def zero_out(self, conditioning): + c = [] + for t in conditioning: + d = t[1].copy() + pooled_output = d.get("pooled_output", None) + if pooled_output is not None: + d["pooled_output"] = torch.zeros_like(pooled_output) + conditioning_lyrics = d.get("conditioning_lyrics", None) + if conditioning_lyrics is not None: + d["conditioning_lyrics"] = torch.zeros_like(conditioning_lyrics) + n = [torch.zeros_like(t[0]), d] + c.append(n) + return (c, ) + +class ConditioningSetTimestepRange: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "start": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "set_range" + + CATEGORY = "advanced/conditioning" + + def set_range(self, conditioning, start, end): + c = node_helpers.conditioning_set_values(conditioning, {"start_percent": start, + "end_percent": end}) + return (c, ) + +class VAEDecode: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "samples": ("LATENT", {"tooltip": "The latent to be decoded."}), + "vae": ("VAE", {"tooltip": "The VAE model used for decoding the latent."}) + } + } + RETURN_TYPES = ("IMAGE",) + OUTPUT_TOOLTIPS = ("The decoded image.",) + FUNCTION = "decode" + + CATEGORY = "latent" + DESCRIPTION = "Decodes latent images back into pixel space images." + + def decode(self, vae, samples): + images = vae.decode(samples["samples"]) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEDecodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"samples": ("LATENT", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 32}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to decode at a time."}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap."}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "decode" + + CATEGORY = "_for_testing" + + def decode(self, vae, samples, tile_size, overlap=64, temporal_size=64, temporal_overlap=8): + if tile_size < overlap * 4: + overlap = tile_size // 4 + if temporal_size < temporal_overlap * 2: + temporal_overlap = temporal_overlap // 2 + temporal_compression = vae.temporal_compression_decode() + if temporal_compression is not None: + temporal_size = max(2, temporal_size // temporal_compression) + temporal_overlap = max(1, min(temporal_size // 2, temporal_overlap // temporal_compression)) + else: + temporal_size = None + temporal_overlap = None + + compression = vae.spacial_compression_decode() + images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", )}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "latent" + + def encode(self, vae, pixels): + t = vae.encode(pixels[:,:,:,:3]) + return ({"samples":t}, ) + +class VAEEncodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"pixels": ("IMAGE", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 64}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to encode at a time."}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap."}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "_for_testing" + + def encode(self, vae, pixels, tile_size, overlap, temporal_size=64, temporal_overlap=8): + t = vae.encode_tiled(pixels[:,:,:,:3], tile_x=tile_size, tile_y=tile_size, overlap=overlap, tile_t=temporal_size, overlap_t=temporal_overlap) + return ({"samples": t}, ) + +class VAEEncodeForInpaint: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", ), "mask": ("MASK", ), "grow_mask_by": ("INT", {"default": 6, "min": 0, "max": 64, "step": 1}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "latent/inpaint" + + def encode(self, vae, pixels, mask, grow_mask_by=6): + x = (pixels.shape[1] // vae.downscale_ratio) * vae.downscale_ratio + y = (pixels.shape[2] // vae.downscale_ratio) * vae.downscale_ratio + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + pixels = pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % vae.downscale_ratio) // 2 + y_offset = (pixels.shape[2] % vae.downscale_ratio) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + #grow mask by a few pixels to keep things seamless in latent space + if grow_mask_by == 0: + mask_erosion = mask + else: + kernel_tensor = torch.ones((1, 1, grow_mask_by, grow_mask_by)) + padding = math.ceil((grow_mask_by - 1) / 2) + + mask_erosion = torch.clamp(torch.nn.functional.conv2d(mask.round(), kernel_tensor, padding=padding), 0, 1) + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + t = vae.encode(pixels) + + return ({"samples":t, "noise_mask": (mask_erosion[:,:,:x,:y].round())}, ) + + +class InpaintModelConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "vae": ("VAE", ), + "pixels": ("IMAGE", ), + "mask": ("MASK", ), + "noise_mask": ("BOOLEAN", {"default": True, "tooltip": "Add a noise mask to the latent so sampling will only happen within the mask. Might improve results or completely break things depending on the model."}), + }} + + RETURN_TYPES = ("CONDITIONING","CONDITIONING","LATENT") + RETURN_NAMES = ("positive", "negative", "latent") + FUNCTION = "encode" + + CATEGORY = "conditioning/inpaint" + + def encode(self, positive, negative, pixels, vae, mask, noise_mask=True): + x = (pixels.shape[1] // 8) * 8 + y = (pixels.shape[2] // 8) * 8 + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + orig_pixels = pixels + pixels = orig_pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % 8) // 2 + y_offset = (pixels.shape[2] % 8) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + concat_latent = vae.encode(pixels) + orig_latent = vae.encode(orig_pixels) + + out_latent = {} + + out_latent["samples"] = orig_latent + if noise_mask: + out_latent["noise_mask"] = mask + + out = [] + for conditioning in [positive, negative]: + c = node_helpers.conditioning_set_values(conditioning, {"concat_latent_image": concat_latent, + "concat_mask": mask}) + out.append(c) + return (out[0], out[1], out_latent) + + +class SaveLatent: + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT", ), + "filename_prefix": ("STRING", {"default": "latents/ComfyUI"})}, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + RETURN_TYPES = () + FUNCTION = "save" + + OUTPUT_NODE = True + + CATEGORY = "_for_testing" + + def save(self, samples, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir) + + # support save metadata for latent sharing + prompt_info = "" + if prompt is not None: + prompt_info = json.dumps(prompt) + + metadata = None + if not args.disable_metadata: + metadata = {"prompt": prompt_info} + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata[x] = json.dumps(extra_pnginfo[x]) + + file = f"{filename}_{counter:05}_.latent" + + results: list[FileLocator] = [] + results.append({ + "filename": file, + "subfolder": subfolder, + "type": "output" + }) + + file = os.path.join(full_output_folder, file) + + output = {} + output["latent_tensor"] = samples["samples"].contiguous() + output["latent_format_version_0"] = torch.tensor([]) + + comfy.utils.save_torch_file(output, file, metadata=metadata) + return { "ui": { "latents": results } } + + +class LoadLatent: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f)) and f.endswith(".latent")] + return {"required": {"latent": [sorted(files), ]}, } + + CATEGORY = "_for_testing" + + RETURN_TYPES = ("LATENT", ) + FUNCTION = "load" + + def load(self, latent): + latent_path = folder_paths.get_annotated_filepath(latent) + latent = safetensors.torch.load_file(latent_path, device="cpu") + multiplier = 1.0 + if "latent_format_version_0" not in latent: + multiplier = 1.0 / 0.18215 + samples = {"samples": latent["latent_tensor"].float() * multiplier} + return (samples, ) + + @classmethod + def IS_CHANGED(s, latent): + image_path = folder_paths.get_annotated_filepath(latent) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, latent): + if not folder_paths.exists_annotated_filepath(latent): + return "Invalid latent file: {}".format(latent) + return True + + +class CheckpointLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "config_name": (folder_paths.get_filename_list("configs"), ), + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), )}} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders" + DEPRECATED = True + + def load_checkpoint(self, config_name, ckpt_name): + config_path = folder_paths.get_full_path("configs", config_name) + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + return comfy.sd.load_checkpoint(config_path, ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + +class CheckpointLoaderSimple: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), {"tooltip": "The name of the checkpoint (model) to load."}), + } + } + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + OUTPUT_TOOLTIPS = ("The model used for denoising latents.", + "The CLIP model used for encoding text prompts.", + "The VAE model used for encoding and decoding images to and from latent space.") + FUNCTION = "load_checkpoint" + + CATEGORY = "loaders" + DESCRIPTION = "Loads a diffusion model checkpoint, diffusion models are used to denoise latents." + + def load_checkpoint(self, ckpt_name): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out[:3] + +class DiffusersLoader: + @classmethod + def INPUT_TYPES(cls): + paths = [] + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + for root, subdir, files in os.walk(search_path, followlinks=True): + if "model_index.json" in files: + paths.append(os.path.relpath(root, start=search_path)) + + return {"required": {"model_path": (paths,), }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders/deprecated" + + def load_checkpoint(self, model_path, output_vae=True, output_clip=True): + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + path = os.path.join(search_path, model_path) + if os.path.exists(path): + model_path = path + break + + return comfy.diffusers_load.load_diffusers(model_path, output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings")) + + +class unCLIPCheckpointLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "ckpt_name": (folder_paths.get_filename_list("checkpoints"), ), + }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE", "CLIP_VISION") + FUNCTION = "load_checkpoint" + + CATEGORY = "loaders" + + def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, output_clipvision=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out + +class CLIPSetLastLayer: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip": ("CLIP", ), + "stop_at_clip_layer": ("INT", {"default": -1, "min": -24, "max": -1, "step": 1}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "set_last_layer" + + CATEGORY = "conditioning" + + def set_last_layer(self, clip, stop_at_clip_layer): + clip = clip.clone() + clip.clip_layer(stop_at_clip_layer) + return (clip,) + +class LoraLoader: + def __init__(self): + self.loaded_lora = None + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The diffusion model the LoRA will be applied to."}), + "clip": ("CLIP", {"tooltip": "The CLIP model the LoRA will be applied to."}), + "lora_name": (folder_paths.get_filename_list("loras"), {"tooltip": "The name of the LoRA."}), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the diffusion model. This value can be negative."}), + "strength_clip": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the CLIP model. This value can be negative."}), + } + } + + RETURN_TYPES = ("MODEL", "CLIP") + OUTPUT_TOOLTIPS = ("The modified diffusion model.", "The modified CLIP model.") + FUNCTION = "load_lora" + + CATEGORY = "loaders" + DESCRIPTION = "LoRAs are used to modify diffusion and CLIP models, altering the way in which latents are denoised such as applying styles. Multiple LoRA nodes can be linked together." + + def load_lora(self, model, clip, lora_name, strength_model, strength_clip): + if strength_model == 0 and strength_clip == 0: + return (model, clip) + + lora_path = folder_paths.get_full_path_or_raise("loras", lora_name) + lora = None + if self.loaded_lora is not None: + if self.loaded_lora[0] == lora_path: + lora = self.loaded_lora[1] + else: + self.loaded_lora = None + + if lora is None: + lora = comfy.utils.load_torch_file(lora_path, safe_load=True) + self.loaded_lora = (lora_path, lora) + + model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora, strength_model, strength_clip) + return (model_lora, clip_lora) + +class LoraLoaderModelOnly(LoraLoader): + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "lora_name": (folder_paths.get_filename_list("loras"), ), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01}), + }} + RETURN_TYPES = ("MODEL",) + FUNCTION = "load_lora_model_only" + + def load_lora_model_only(self, model, lora_name, strength_model): + return (self.load_lora(model, None, lora_name, strength_model, 0)[0],) + +class VAELoader: + @staticmethod + def vae_list(): + vaes = folder_paths.get_filename_list("vae") + approx_vaes = folder_paths.get_filename_list("vae_approx") + sdxl_taesd_enc = False + sdxl_taesd_dec = False + sd1_taesd_enc = False + sd1_taesd_dec = False + sd3_taesd_enc = False + sd3_taesd_dec = False + f1_taesd_enc = False + f1_taesd_dec = False + + for v in approx_vaes: + if v.startswith("taesd_decoder."): + sd1_taesd_dec = True + elif v.startswith("taesd_encoder."): + sd1_taesd_enc = True + elif v.startswith("taesdxl_decoder."): + sdxl_taesd_dec = True + elif v.startswith("taesdxl_encoder."): + sdxl_taesd_enc = True + elif v.startswith("taesd3_decoder."): + sd3_taesd_dec = True + elif v.startswith("taesd3_encoder."): + sd3_taesd_enc = True + elif v.startswith("taef1_encoder."): + f1_taesd_dec = True + elif v.startswith("taef1_decoder."): + f1_taesd_enc = True + if sd1_taesd_dec and sd1_taesd_enc: + vaes.append("taesd") + if sdxl_taesd_dec and sdxl_taesd_enc: + vaes.append("taesdxl") + if sd3_taesd_dec and sd3_taesd_enc: + vaes.append("taesd3") + if f1_taesd_dec and f1_taesd_enc: + vaes.append("taef1") + return vaes + + @staticmethod + def load_taesd(name): + sd = {} + approx_vaes = folder_paths.get_filename_list("vae_approx") + + encoder = next(filter(lambda a: a.startswith("{}_encoder.".format(name)), approx_vaes)) + decoder = next(filter(lambda a: a.startswith("{}_decoder.".format(name)), approx_vaes)) + + enc = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", encoder)) + for k in enc: + sd["taesd_encoder.{}".format(k)] = enc[k] + + dec = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", decoder)) + for k in dec: + sd["taesd_decoder.{}".format(k)] = dec[k] + + if name == "taesd": + sd["vae_scale"] = torch.tensor(0.18215) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesdxl": + sd["vae_scale"] = torch.tensor(0.13025) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesd3": + sd["vae_scale"] = torch.tensor(1.5305) + sd["vae_shift"] = torch.tensor(0.0609) + elif name == "taef1": + sd["vae_scale"] = torch.tensor(0.3611) + sd["vae_shift"] = torch.tensor(0.1159) + return sd + + @classmethod + def INPUT_TYPES(s): + return {"required": { "vae_name": (s.vae_list(), )}} + RETURN_TYPES = ("VAE",) + FUNCTION = "load_vae" + + CATEGORY = "loaders" + + #TODO: scale factor? + def load_vae(self, vae_name): + if vae_name in ["taesd", "taesdxl", "taesd3", "taef1"]: + sd = self.load_taesd(vae_name) + else: + vae_path = folder_paths.get_full_path_or_raise("vae", vae_name) + sd = comfy.utils.load_torch_file(vae_path) + vae = comfy.sd.VAE(sd=sd) + vae.throw_exception_if_invalid() + return (vae,) + +class ControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "loaders" + + def load_controlnet(self, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path) + if controlnet is None: + raise RuntimeError("ERROR: controlnet file is invalid and does not contain a valid controlnet model.") + return (controlnet,) + +class DiffControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "loaders" + + def load_controlnet(self, model, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path, model) + return (controlnet,) + + +class ControlNetApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_controlnet" + + DEPRECATED = True + CATEGORY = "conditioning/controlnet" + + def apply_controlnet(self, conditioning, control_net, image, strength): + if strength == 0: + return (conditioning, ) + + c = [] + control_hint = image.movedim(-1,1) + for t in conditioning: + n = [t[0], t[1].copy()] + c_net = control_net.copy().set_cond_hint(control_hint, strength) + if 'control' in t[1]: + c_net.set_previous_controlnet(t[1]['control']) + n[1]['control'] = c_net + n[1]['control_apply_to_uncond'] = True + c.append(n) + return (c, ) + + +class ControlNetApplyAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }, + "optional": {"vae": ("VAE", ), + } + } + + RETURN_TYPES = ("CONDITIONING","CONDITIONING") + RETURN_NAMES = ("positive", "negative") + FUNCTION = "apply_controlnet" + + CATEGORY = "conditioning/controlnet" + + def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None, extra_concat=[]): + if strength == 0: + return (positive, negative) + + control_hint = image.movedim(-1,1) + cnets = {} + + out = [] + for conditioning in [positive, negative]: + c = [] + for t in conditioning: + d = t[1].copy() + + prev_cnet = d.get('control', None) + if prev_cnet in cnets: + c_net = cnets[prev_cnet] + else: + c_net = control_net.copy().set_cond_hint(control_hint, strength, (start_percent, end_percent), vae=vae, extra_concat=extra_concat) + c_net.set_previous_controlnet(prev_cnet) + cnets[prev_cnet] = c_net + + d['control'] = c_net + d['control_apply_to_uncond'] = False + n = [t[0], d] + c.append(n) + out.append(c) + return (out[0], out[1]) + + +class UNETLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "unet_name": (folder_paths.get_filename_list("diffusion_models"), ), + "weight_dtype": (["default", "fp8_e4m3fn", "fp8_e4m3fn_fast", "fp8_e5m2"],) + }} + RETURN_TYPES = ("MODEL",) + FUNCTION = "load_unet" + + CATEGORY = "advanced/loaders" + + def load_unet(self, unet_name, weight_dtype): + model_options = {} + if weight_dtype == "fp8_e4m3fn": + model_options["dtype"] = torch.float8_e4m3fn + elif weight_dtype == "fp8_e4m3fn_fast": + model_options["dtype"] = torch.float8_e4m3fn + model_options["fp8_optimizations"] = True + elif weight_dtype == "fp8_e5m2": + model_options["dtype"] = torch.float8_e5m2 + + unet_path = folder_paths.get_full_path_or_raise("diffusion_models", unet_name) + model = comfy.sd.load_diffusion_model(unet_path, model_options=model_options) + return (model,) + +class CLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["stable_diffusion", "stable_cascade", "sd3", "stable_audio", "mochi", "ltxv", "pixart", "cosmos", "lumina2", "wan", "hidream", "chroma", "ace", "omnigen2", "qwen_image"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nstable_diffusion: clip-l\nstable_cascade: clip-g\nsd3: t5 xxl/ clip-g / clip-l\nstable_audio: t5 base\nmochi: t5 xxl\ncosmos: old t5 xxl\nlumina2: gemma 2 2B\nwan: umt5 xxl\n hidream: llama-3.1 (Recommend) or t5\nomnigen2: qwen vl 2.5 3B" + + def load_clip(self, clip_name, type="stable_diffusion", device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip_path = folder_paths.get_full_path_or_raise("text_encoders", clip_name) + clip = comfy.sd.load_clip(ckpt_paths=[clip_path], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class DualCLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name1": (folder_paths.get_filename_list("text_encoders"), ), + "clip_name2": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["sdxl", "sd3", "flux", "hunyuan_video", "hidream"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nsdxl: clip-l, clip-g\nsd3: clip-l, clip-g / clip-l, t5 / clip-g, t5\nflux: clip-l, t5\nhidream: at least one of t5 or llama, recommended t5 and llama" + + def load_clip(self, clip_name1, clip_name2, type, device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + clip_path1 = folder_paths.get_full_path_or_raise("text_encoders", clip_name1) + clip_path2 = folder_paths.get_full_path_or_raise("text_encoders", clip_name2) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip = comfy.sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class CLIPVisionLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("clip_vision"), ), + }} + RETURN_TYPES = ("CLIP_VISION",) + FUNCTION = "load_clip" + + CATEGORY = "loaders" + + def load_clip(self, clip_name): + clip_path = folder_paths.get_full_path_or_raise("clip_vision", clip_name) + clip_vision = comfy.clip_vision.load(clip_path) + if clip_vision is None: + raise RuntimeError("ERROR: clip vision file is invalid and does not contain a valid vision model.") + return (clip_vision,) + +class CLIPVisionEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_vision": ("CLIP_VISION",), + "image": ("IMAGE",), + "crop": (["center", "none"],) + }} + RETURN_TYPES = ("CLIP_VISION_OUTPUT",) + FUNCTION = "encode" + + CATEGORY = "conditioning" + + def encode(self, clip_vision, image, crop): + crop_image = True + if crop != "center": + crop_image = False + output = clip_vision.encode_image(image, crop=crop_image) + return (output,) + +class StyleModelLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "style_model_name": (folder_paths.get_filename_list("style_models"), )}} + + RETURN_TYPES = ("STYLE_MODEL",) + FUNCTION = "load_style_model" + + CATEGORY = "loaders" + + def load_style_model(self, style_model_name): + style_model_path = folder_paths.get_full_path_or_raise("style_models", style_model_name) + style_model = comfy.sd.load_style_model(style_model_path) + return (style_model,) + + +class StyleModelApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "style_model": ("STYLE_MODEL", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}), + "strength_type": (["multiply", "attn_bias"], ), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_stylemodel" + + CATEGORY = "conditioning/style_model" + + def apply_stylemodel(self, conditioning, style_model, clip_vision_output, strength, strength_type): + cond = style_model.get_cond(clip_vision_output).flatten(start_dim=0, end_dim=1).unsqueeze(dim=0) + if strength_type == "multiply": + cond *= strength + + n = cond.shape[1] + c_out = [] + for t in conditioning: + (txt, keys) = t + keys = keys.copy() + # even if the strength is 1.0 (i.e, no change), if there's already a mask, we have to add to it + if "attention_mask" in keys or (strength_type == "attn_bias" and strength != 1.0): + # math.log raises an error if the argument is zero + # torch.log returns -inf, which is what we want + attn_bias = torch.log(torch.Tensor([strength if strength_type == "attn_bias" else 1.0])) + # get the size of the mask image + mask_ref_size = keys.get("attention_mask_img_shape", (1, 1)) + n_ref = mask_ref_size[0] * mask_ref_size[1] + n_txt = txt.shape[1] + # grab the existing mask + mask = keys.get("attention_mask", None) + # create a default mask if it doesn't exist + if mask is None: + mask = torch.zeros((txt.shape[0], n_txt + n_ref, n_txt + n_ref), dtype=torch.float16) + # convert the mask dtype, because it might be boolean + # we want it to be interpreted as a bias + if mask.dtype == torch.bool: + # log(True) = log(1) = 0 + # log(False) = log(0) = -inf + mask = torch.log(mask.to(dtype=torch.float16)) + # now we make the mask bigger to add space for our new tokens + new_mask = torch.zeros((txt.shape[0], n_txt + n + n_ref, n_txt + n + n_ref), dtype=torch.float16) + # copy over the old mask, in quandrants + new_mask[:, :n_txt, :n_txt] = mask[:, :n_txt, :n_txt] + new_mask[:, :n_txt, n_txt+n:] = mask[:, :n_txt, n_txt:] + new_mask[:, n_txt+n:, :n_txt] = mask[:, n_txt:, :n_txt] + new_mask[:, n_txt+n:, n_txt+n:] = mask[:, n_txt:, n_txt:] + # now fill in the attention bias to our redux tokens + new_mask[:, :n_txt, n_txt:n_txt+n] = attn_bias + new_mask[:, n_txt+n:, n_txt:n_txt+n] = attn_bias + keys["attention_mask"] = new_mask.to(txt.device) + keys["attention_mask_img_shape"] = mask_ref_size + + c_out.append([torch.cat((txt, cond), dim=1), keys]) + + return (c_out,) + +class unCLIPConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}), + "noise_augmentation": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_adm" + + CATEGORY = "conditioning" + + def apply_adm(self, conditioning, clip_vision_output, strength, noise_augmentation): + if strength == 0: + return (conditioning, ) + + c = node_helpers.conditioning_set_values(conditioning, {"unclip_conditioning": [{"clip_vision_output": clip_vision_output, "strength": strength, "noise_augmentation": noise_augmentation}]}, append=True) + return (c, ) + +class GLIGENLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "gligen_name": (folder_paths.get_filename_list("gligen"), )}} + + RETURN_TYPES = ("GLIGEN",) + FUNCTION = "load_gligen" + + CATEGORY = "loaders" + + def load_gligen(self, gligen_name): + gligen_path = folder_paths.get_full_path_or_raise("gligen", gligen_name) + gligen = comfy.sd.load_gligen(gligen_path) + return (gligen,) + +class GLIGENTextBoxApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), + "clip": ("CLIP", ), + "gligen_textbox_model": ("GLIGEN", ), + "text": ("STRING", {"multiline": True, "dynamicPrompts": True}), + "width": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning/gligen" + + def append(self, conditioning_to, clip, gligen_textbox_model, text, width, height, x, y): + c = [] + cond, cond_pooled = clip.encode_from_tokens(clip.tokenize(text), return_pooled="unprojected") + for t in conditioning_to: + n = [t[0], t[1].copy()] + position_params = [(cond_pooled, height // 8, width // 8, y // 8, x // 8)] + prev = [] + if "gligen" in n[1]: + prev = n[1]['gligen'][2] + + n[1]['gligen'] = ("position", gligen_textbox_model, prev + position_params) + c.append(n) + return (c, ) + +class EmptyLatentImage: + def __init__(self): + self.device = comfy.model_management.intermediate_device() + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The width of the latent images in pixels."}), + "height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The height of the latent images in pixels."}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096, "tooltip": "The number of latent images in the batch."}) + } + } + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The empty latent image batch.",) + FUNCTION = "generate" + + CATEGORY = "latent" + DESCRIPTION = "Create a new batch of empty latent images to be denoised via sampling." + + def generate(self, width, height, batch_size=1): + latent = torch.zeros([batch_size, 4, height // 8, width // 8], device=self.device) + return ({"samples":latent}, ) + + +class LatentFromBatch: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "batch_index": ("INT", {"default": 0, "min": 0, "max": 63}), + "length": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "frombatch" + + CATEGORY = "latent/batch" + + def frombatch(self, samples, batch_index, length): + s = samples.copy() + s_in = samples["samples"] + batch_index = min(s_in.shape[0] - 1, batch_index) + length = min(s_in.shape[0] - batch_index, length) + s["samples"] = s_in[batch_index:batch_index + length].clone() + if "noise_mask" in samples: + masks = samples["noise_mask"] + if masks.shape[0] == 1: + s["noise_mask"] = masks.clone() + else: + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat(math.ceil(s_in.shape[0] / masks.shape[0]), 1, 1, 1)[:s_in.shape[0]] + s["noise_mask"] = masks[batch_index:batch_index + length].clone() + if "batch_index" not in s: + s["batch_index"] = [x for x in range(batch_index, batch_index+length)] + else: + s["batch_index"] = samples["batch_index"][batch_index:batch_index + length] + return (s,) + +class RepeatLatentBatch: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "amount": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "repeat" + + CATEGORY = "latent/batch" + + def repeat(self, samples, amount): + s = samples.copy() + s_in = samples["samples"] + + s["samples"] = s_in.repeat((amount,) + ((1,) * (s_in.ndim - 1))) + if "noise_mask" in samples and samples["noise_mask"].shape[0] > 1: + masks = samples["noise_mask"] + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat((math.ceil(s_in.shape[0] / masks.shape[0]),) + ((1,) * (masks.ndim - 1)))[:s_in.shape[0]] + s["noise_mask"] = samples["noise_mask"].repeat((amount,) + ((1,) * (samples["noise_mask"].ndim - 1))) + if "batch_index" in s: + offset = max(s["batch_index"]) - min(s["batch_index"]) + 1 + s["batch_index"] = s["batch_index"] + [x + (i * offset) for i in range(1, amount) for x in s["batch_index"]] + return (s,) + +class LatentUpscale: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "latent" + + def upscale(self, samples, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = samples + else: + s = samples.copy() + + if width == 0: + height = max(64, height) + width = max(64, round(samples["samples"].shape[-1] * height / samples["samples"].shape[-2])) + elif height == 0: + width = max(64, width) + height = max(64, round(samples["samples"].shape[-2] * width / samples["samples"].shape[-1])) + else: + width = max(64, width) + height = max(64, height) + + s["samples"] = comfy.utils.common_upscale(samples["samples"], width // 8, height // 8, upscale_method, crop) + return (s,) + +class LatentUpscaleBy: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.5, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "latent" + + def upscale(self, samples, upscale_method, scale_by): + s = samples.copy() + width = round(samples["samples"].shape[-1] * scale_by) + height = round(samples["samples"].shape[-2] * scale_by) + s["samples"] = comfy.utils.common_upscale(samples["samples"], width, height, upscale_method, "disabled") + return (s,) + +class LatentRotate: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "rotation": (["none", "90 degrees", "180 degrees", "270 degrees"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "rotate" + + CATEGORY = "latent/transform" + + def rotate(self, samples, rotation): + s = samples.copy() + rotate_by = 0 + if rotation.startswith("90"): + rotate_by = 1 + elif rotation.startswith("180"): + rotate_by = 2 + elif rotation.startswith("270"): + rotate_by = 3 + + s["samples"] = torch.rot90(samples["samples"], k=rotate_by, dims=[3, 2]) + return (s,) + +class LatentFlip: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "flip_method": (["x-axis: vertically", "y-axis: horizontally"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "flip" + + CATEGORY = "latent/transform" + + def flip(self, samples, flip_method): + s = samples.copy() + if flip_method.startswith("x"): + s["samples"] = torch.flip(samples["samples"], dims=[2]) + elif flip_method.startswith("y"): + s["samples"] = torch.flip(samples["samples"], dims=[3]) + + return (s,) + +class LatentComposite: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples_to": ("LATENT",), + "samples_from": ("LATENT",), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feather": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "composite" + + CATEGORY = "latent" + + def composite(self, samples_to, samples_from, x, y, composite_method="normal", feather=0): + x = x // 8 + y = y // 8 + feather = feather // 8 + samples_out = samples_to.copy() + s = samples_to["samples"].clone() + samples_to = samples_to["samples"] + samples_from = samples_from["samples"] + if feather == 0: + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + else: + samples_from = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + mask = torch.ones_like(samples_from) + for t in range(feather): + if y != 0: + mask[:,:,t:1+t,:] *= ((1.0/feather) * (t + 1)) + + if y + samples_from.shape[2] < samples_to.shape[2]: + mask[:,:,mask.shape[2] -1 -t: mask.shape[2]-t,:] *= ((1.0/feather) * (t + 1)) + if x != 0: + mask[:,:,:,t:1+t] *= ((1.0/feather) * (t + 1)) + if x + samples_from.shape[3] < samples_to.shape[3]: + mask[:,:,:,mask.shape[3]- 1 - t: mask.shape[3]- t] *= ((1.0/feather) * (t + 1)) + rev_mask = torch.ones_like(mask) - mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] * mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] * rev_mask + samples_out["samples"] = s + return (samples_out,) + +class LatentBlend: + @classmethod + def INPUT_TYPES(s): + return {"required": { + "samples1": ("LATENT",), + "samples2": ("LATENT",), + "blend_factor": ("FLOAT", { + "default": 0.5, + "min": 0, + "max": 1, + "step": 0.01 + }), + }} + + RETURN_TYPES = ("LATENT",) + FUNCTION = "blend" + + CATEGORY = "_for_testing" + + def blend(self, samples1, samples2, blend_factor:float, blend_mode: str="normal"): + + samples_out = samples1.copy() + samples1 = samples1["samples"] + samples2 = samples2["samples"] + + if samples1.shape != samples2.shape: + samples2.permute(0, 3, 1, 2) + samples2 = comfy.utils.common_upscale(samples2, samples1.shape[3], samples1.shape[2], 'bicubic', crop='center') + samples2.permute(0, 2, 3, 1) + + samples_blended = self.blend_mode(samples1, samples2, blend_mode) + samples_blended = samples1 * blend_factor + samples_blended * (1 - blend_factor) + samples_out["samples"] = samples_blended + return (samples_out,) + + def blend_mode(self, img1, img2, mode): + if mode == "normal": + return img2 + else: + raise ValueError(f"Unsupported blend mode: {mode}") + +class LatentCrop: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "width": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "crop" + + CATEGORY = "latent/transform" + + def crop(self, samples, width, height, x, y): + s = samples.copy() + samples = samples['samples'] + x = x // 8 + y = y // 8 + + #enfonce minimum size of 64 + if x > (samples.shape[3] - 8): + x = samples.shape[3] - 8 + if y > (samples.shape[2] - 8): + y = samples.shape[2] - 8 + + new_height = height // 8 + new_width = width // 8 + to_x = new_width + x + to_y = new_height + y + s['samples'] = samples[:,:,y:to_y, x:to_x] + return (s,) + +class SetLatentNoiseMask: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "mask": ("MASK",), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "set_mask" + + CATEGORY = "latent/inpaint" + + def set_mask(self, samples, mask): + s = samples.copy() + s["noise_mask"] = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])) + return (s,) + +def common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent, denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False): + latent_image = latent["samples"] + latent_image = comfy.sample.fix_empty_latent_channels(model, latent_image) + + if disable_noise: + noise = torch.zeros(latent_image.size(), dtype=latent_image.dtype, layout=latent_image.layout, device="cpu") + else: + batch_inds = latent["batch_index"] if "batch_index" in latent else None + noise = comfy.sample.prepare_noise(latent_image, seed, batch_inds) + + noise_mask = None + if "noise_mask" in latent: + noise_mask = latent["noise_mask"] + + callback = latent_preview.prepare_callback(model, steps) + disable_pbar = not comfy.utils.PROGRESS_BAR_ENABLED + samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, + denoise=denoise, disable_noise=disable_noise, start_step=start_step, last_step=last_step, + force_full_denoise=force_full_denoise, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed) + out = latent.copy() + out["samples"] = samples + return (out, ) + +class KSampler: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The model used for denoising the input latent."}), + "seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True, "tooltip": "The random seed used for creating the noise."}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000, "tooltip": "The number of steps used in the denoising process."}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01, "tooltip": "The Classifier-Free Guidance scale balances creativity and adherence to the prompt. Higher values result in images more closely matching the prompt however too high values will negatively impact quality."}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, {"tooltip": "The algorithm used when sampling, this can affect the quality, speed, and style of the generated output."}), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, {"tooltip": "The scheduler controls how noise is gradually removed to form the image."}), + "positive": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to include in the image."}), + "negative": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to exclude from the image."}), + "latent_image": ("LATENT", {"tooltip": "The latent image to denoise."}), + "denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "The amount of denoising applied, lower values will maintain the structure of the initial image allowing for image to image sampling."}), + } + } + + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The denoised latent.",) + FUNCTION = "sample" + + CATEGORY = "sampling" + DESCRIPTION = "Uses the provided model, positive and negative conditioning to denoise the latent image." + + def sample(self, model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0): + return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) + +class KSamplerAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": + {"model": ("MODEL",), + "add_noise": (["enable", "disable"], ), + "noise_seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, ), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, ), + "positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "latent_image": ("LATENT", ), + "start_at_step": ("INT", {"default": 0, "min": 0, "max": 10000}), + "end_at_step": ("INT", {"default": 10000, "min": 0, "max": 10000}), + "return_with_leftover_noise": (["disable", "enable"], ), + } + } + + RETURN_TYPES = ("LATENT",) + FUNCTION = "sample" + + CATEGORY = "sampling" + + def sample(self, model, add_noise, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, start_at_step, end_at_step, return_with_leftover_noise, denoise=1.0): + force_full_denoise = True + if return_with_leftover_noise == "enable": + force_full_denoise = False + disable_noise = False + if add_noise == "disable": + disable_noise = True + return common_ksampler(model, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise, disable_noise=disable_noise, start_step=start_at_step, last_step=end_at_step, force_full_denoise=force_full_denoise) + +class SaveImage: + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + self.type = "output" + self.prefix_append = "" + self.compress_level = 4 + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "images": ("IMAGE", {"tooltip": "The images to save."}), + "filename_prefix": ("STRING", {"default": "ComfyUI", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."}) + }, + "hidden": { + "prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO" + }, + } + + RETURN_TYPES = () + FUNCTION = "save_images" + + OUTPUT_NODE = True + + CATEGORY = "image" + DESCRIPTION = "Saves the input images to your ComfyUI output directory." + + def save_images(self, images, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + filename_prefix += self.prefix_append + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0]) + results = list() + for (batch_number, image) in enumerate(images): + i = 255. * image.cpu().numpy() + img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8)) + metadata = None + if not args.disable_metadata: + metadata = PngInfo() + if prompt is not None: + metadata.add_text("prompt", json.dumps(prompt)) + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata.add_text(x, json.dumps(extra_pnginfo[x])) + + filename_with_batch_num = filename.replace("%batch_num%", str(batch_number)) + file = f"{filename_with_batch_num}_{counter:05}_.png" + img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level) + results.append({ + "filename": file, + "subfolder": subfolder, + "type": self.type + }) + counter += 1 + + return { "ui": { "images": results } } + +class PreviewImage(SaveImage): + def __init__(self): + self.output_dir = folder_paths.get_temp_directory() + self.type = "temp" + self.prefix_append = "_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for x in range(5)) + self.compress_level = 1 + + @classmethod + def INPUT_TYPES(s): + return {"required": + {"images": ("IMAGE", ), }, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + +class LoadImage: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] + files = folder_paths.filter_files_content_types(files, ["image"]) + return {"required": + {"image": (sorted(files), {"image_upload": True})}, + } + + CATEGORY = "image" + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "load_image" + def load_image(self, image): + image_path = folder_paths.get_annotated_filepath(image) + + img = node_helpers.pillow(Image.open, image_path) + + output_images = [] + output_masks = [] + w, h = None, None + + excluded_formats = ['MPO'] + + for i in ImageSequence.Iterator(img): + i = node_helpers.pillow(ImageOps.exif_transpose, i) + + if i.mode == 'I': + i = i.point(lambda i: i * (1 / 255)) + image = i.convert("RGB") + + if len(output_images) == 0: + w = image.size[0] + h = image.size[1] + + if image.size[0] != w or image.size[1] != h: + continue + + image = np.array(image).astype(np.float32) / 255.0 + image = torch.from_numpy(image)[None,] + if 'A' in i.getbands(): + mask = np.array(i.getchannel('A')).astype(np.float32) / 255.0 + mask = 1. - torch.from_numpy(mask) + elif i.mode == 'P' and 'transparency' in i.info: + mask = np.array(i.convert('RGBA').getchannel('A')).astype(np.float32) / 255.0 + mask = 1. - torch.from_numpy(mask) + else: + mask = torch.zeros((64,64), dtype=torch.float32, device="cpu") + output_images.append(image) + output_masks.append(mask.unsqueeze(0)) + + if len(output_images) > 1 and img.format not in excluded_formats: + output_image = torch.cat(output_images, dim=0) + output_mask = torch.cat(output_masks, dim=0) + else: + output_image = output_images[0] + output_mask = output_masks[0] + + return (output_image, output_mask) + + @classmethod + def IS_CHANGED(s, image): + image_path = folder_paths.get_annotated_filepath(image) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, image): + if not folder_paths.exists_annotated_filepath(image): + return "Invalid image file: {}".format(image) + + return True + +class LoadImageMask: + _color_channels = ["alpha", "red", "green", "blue"] + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] + return {"required": + {"image": (sorted(files), {"image_upload": True}), + "channel": (s._color_channels, ), } + } + + CATEGORY = "mask" + + RETURN_TYPES = ("MASK",) + FUNCTION = "load_image" + def load_image(self, image, channel): + image_path = folder_paths.get_annotated_filepath(image) + i = node_helpers.pillow(Image.open, image_path) + i = node_helpers.pillow(ImageOps.exif_transpose, i) + if i.getbands() != ("R", "G", "B", "A"): + if i.mode == 'I': + i = i.point(lambda i: i * (1 / 255)) + i = i.convert("RGBA") + mask = None + c = channel[0].upper() + if c in i.getbands(): + mask = np.array(i.getchannel(c)).astype(np.float32) / 255.0 + mask = torch.from_numpy(mask) + if c == 'A': + mask = 1. - mask + else: + mask = torch.zeros((64,64), dtype=torch.float32, device="cpu") + return (mask.unsqueeze(0),) + + @classmethod + def IS_CHANGED(s, image, channel): + image_path = folder_paths.get_annotated_filepath(image) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, image): + if not folder_paths.exists_annotated_filepath(image): + return "Invalid image file: {}".format(image) + + return True + + +class LoadImageOutput(LoadImage): + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("COMBO", { + "image_upload": True, + "image_folder": "output", + "remote": { + "route": "/internal/files/output", + "refresh_button": True, + "control_after_refresh": "first", + }, + }), + } + } + + DESCRIPTION = "Load an image from the output folder. When the refresh button is clicked, the node will update the image list and automatically select the first image, allowing for easy iteration." + EXPERIMENTAL = True + FUNCTION = "load_image" + + +class ImageScale: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + + def upscale(self, image, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = image + else: + samples = image.movedim(-1,1) + + if width == 0: + width = max(1, round(samples.shape[3] * height / samples.shape[2])) + elif height == 0: + height = max(1, round(samples.shape[2] * width / samples.shape[3])) + + s = comfy.utils.common_upscale(samples, width, height, upscale_method, crop) + s = s.movedim(1,-1) + return (s,) + +class ImageScaleBy: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.0, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + + def upscale(self, image, upscale_method, scale_by): + samples = image.movedim(-1,1) + width = round(samples.shape[3] * scale_by) + height = round(samples.shape[2] * scale_by) + s = comfy.utils.common_upscale(samples, width, height, upscale_method, "disabled") + s = s.movedim(1,-1) + return (s,) + +class ImageInvert: + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "invert" + + CATEGORY = "image" + + def invert(self, image): + s = 1.0 - image + return (s,) + +class ImageBatch: + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image1": ("IMAGE",), "image2": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "batch" + + CATEGORY = "image" + + def batch(self, image1, image2): + if image1.shape[1:] != image2.shape[1:]: + image2 = comfy.utils.common_upscale(image2.movedim(-1,1), image1.shape[2], image1.shape[1], "bilinear", "center").movedim(1,-1) + s = torch.cat((image1, image2), dim=0) + return (s,) + +class EmptyImage: + def __init__(self, device="cpu"): + self.device = device + + @classmethod + def INPUT_TYPES(s): + return {"required": { "width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096}), + "color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "generate" + + CATEGORY = "image" + + def generate(self, width, height, batch_size=1, color=0): + r = torch.full([batch_size, height, width, 1], ((color >> 16) & 0xFF) / 0xFF) + g = torch.full([batch_size, height, width, 1], ((color >> 8) & 0xFF) / 0xFF) + b = torch.full([batch_size, height, width, 1], ((color) & 0xFF) / 0xFF) + return (torch.cat((r, g, b), dim=-1), ) + +class ImagePadForOutpaint: + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("IMAGE",), + "left": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "top": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "right": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "bottom": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feathering": ("INT", {"default": 40, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + } + } + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "expand_image" + + CATEGORY = "image" + + def expand_image(self, image, left, top, right, bottom, feathering): + d1, d2, d3, d4 = image.size() + + new_image = torch.ones( + (d1, d2 + top + bottom, d3 + left + right, d4), + dtype=torch.float32, + ) * 0.5 + + new_image[:, top:top + d2, left:left + d3, :] = image + + mask = torch.ones( + (d2 + top + bottom, d3 + left + right), + dtype=torch.float32, + ) + + t = torch.zeros( + (d2, d3), + dtype=torch.float32 + ) + + if feathering > 0 and feathering * 2 < d2 and feathering * 2 < d3: + + for i in range(d2): + for j in range(d3): + dt = i if top != 0 else d2 + db = d2 - i if bottom != 0 else d2 + + dl = j if left != 0 else d3 + dr = d3 - j if right != 0 else d3 + + d = min(dt, db, dl, dr) + + if d >= feathering: + continue + + v = (feathering - d) / feathering + + t[i, j] = v * v + + mask[top:top + d2, left:left + d3] = t + + return (new_image, mask.unsqueeze(0)) + + +NODE_CLASS_MAPPINGS = { + "KSampler": KSampler, + "CheckpointLoaderSimple": CheckpointLoaderSimple, + "CLIPTextEncode": CLIPTextEncode, + "CLIPSetLastLayer": CLIPSetLastLayer, + "VAEDecode": VAEDecode, + "VAEEncode": VAEEncode, + "VAEEncodeForInpaint": VAEEncodeForInpaint, + "VAELoader": VAELoader, + "EmptyLatentImage": EmptyLatentImage, + "LatentUpscale": LatentUpscale, + "LatentUpscaleBy": LatentUpscaleBy, + "LatentFromBatch": LatentFromBatch, + "RepeatLatentBatch": RepeatLatentBatch, + "SaveImage": SaveImage, + "PreviewImage": PreviewImage, + "LoadImage": LoadImage, + "LoadImageMask": LoadImageMask, + "LoadImageOutput": LoadImageOutput, + "ImageScale": ImageScale, + "ImageScaleBy": ImageScaleBy, + "ImageInvert": ImageInvert, + "ImageBatch": ImageBatch, + "ImagePadForOutpaint": ImagePadForOutpaint, + "EmptyImage": EmptyImage, + "ConditioningAverage": ConditioningAverage , + "ConditioningCombine": ConditioningCombine, + "ConditioningConcat": ConditioningConcat, + "ConditioningSetArea": ConditioningSetArea, + "ConditioningSetAreaPercentage": ConditioningSetAreaPercentage, + "ConditioningSetAreaStrength": ConditioningSetAreaStrength, + "ConditioningSetMask": ConditioningSetMask, + "KSamplerAdvanced": KSamplerAdvanced, + "SetLatentNoiseMask": SetLatentNoiseMask, + "LatentComposite": LatentComposite, + "LatentBlend": LatentBlend, + "LatentRotate": LatentRotate, + "LatentFlip": LatentFlip, + "LatentCrop": LatentCrop, + "LoraLoader": LoraLoader, + "CLIPLoader": CLIPLoader, + "UNETLoader": UNETLoader, + "DualCLIPLoader": DualCLIPLoader, + "CLIPVisionEncode": CLIPVisionEncode, + "StyleModelApply": StyleModelApply, + "unCLIPConditioning": unCLIPConditioning, + "ControlNetApply": ControlNetApply, + "ControlNetApplyAdvanced": ControlNetApplyAdvanced, + "ControlNetLoader": ControlNetLoader, + "DiffControlNetLoader": DiffControlNetLoader, + "StyleModelLoader": StyleModelLoader, + "CLIPVisionLoader": CLIPVisionLoader, + "VAEDecodeTiled": VAEDecodeTiled, + "VAEEncodeTiled": VAEEncodeTiled, + "unCLIPCheckpointLoader": unCLIPCheckpointLoader, + "GLIGENLoader": GLIGENLoader, + "GLIGENTextBoxApply": GLIGENTextBoxApply, + "InpaintModelConditioning": InpaintModelConditioning, + + "CheckpointLoader": CheckpointLoader, + "DiffusersLoader": DiffusersLoader, + + "LoadLatent": LoadLatent, + "SaveLatent": SaveLatent, + + "ConditioningZeroOut": ConditioningZeroOut, + "ConditioningSetTimestepRange": ConditioningSetTimestepRange, + "LoraLoaderModelOnly": LoraLoaderModelOnly, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + # Sampling + "KSampler": "KSampler", + "KSamplerAdvanced": "KSampler (Advanced)", + # Loaders + "CheckpointLoader": "Load Checkpoint With Config (DEPRECATED)", + "CheckpointLoaderSimple": "Load Checkpoint", + "VAELoader": "Load VAE", + "LoraLoader": "Load LoRA", + "CLIPLoader": "Load CLIP", + "ControlNetLoader": "Load ControlNet Model", + "DiffControlNetLoader": "Load ControlNet Model (diff)", + "StyleModelLoader": "Load Style Model", + "CLIPVisionLoader": "Load CLIP Vision", + "UpscaleModelLoader": "Load Upscale Model", + "UNETLoader": "Load Diffusion Model", + # Conditioning + "CLIPVisionEncode": "CLIP Vision Encode", + "StyleModelApply": "Apply Style Model", + "CLIPTextEncode": "CLIP Text Encode (Prompt)", + "CLIPSetLastLayer": "CLIP Set Last Layer", + "ConditioningCombine": "Conditioning (Combine)", + "ConditioningAverage ": "Conditioning (Average)", + "ConditioningConcat": "Conditioning (Concat)", + "ConditioningSetArea": "Conditioning (Set Area)", + "ConditioningSetAreaPercentage": "Conditioning (Set Area with Percentage)", + "ConditioningSetMask": "Conditioning (Set Mask)", + "ControlNetApply": "Apply ControlNet (OLD)", + "ControlNetApplyAdvanced": "Apply ControlNet", + # Latent + "VAEEncodeForInpaint": "VAE Encode (for Inpainting)", + "SetLatentNoiseMask": "Set Latent Noise Mask", + "VAEDecode": "VAE Decode", + "VAEEncode": "VAE Encode", + "LatentRotate": "Rotate Latent", + "LatentFlip": "Flip Latent", + "LatentCrop": "Crop Latent", + "EmptyLatentImage": "Empty Latent Image", + "LatentUpscale": "Upscale Latent", + "LatentUpscaleBy": "Upscale Latent By", + "LatentComposite": "Latent Composite", + "LatentBlend": "Latent Blend", + "LatentFromBatch" : "Latent From Batch", + "RepeatLatentBatch": "Repeat Latent Batch", + # Image + "SaveImage": "Save Image", + "PreviewImage": "Preview Image", + "LoadImage": "Load Image", + "LoadImageMask": "Load Image (as Mask)", + "LoadImageOutput": "Load Image (from Outputs)", + "ImageScale": "Upscale Image", + "ImageScaleBy": "Upscale Image By", + "ImageUpscaleWithModel": "Upscale Image (using Model)", + "ImageInvert": "Invert Image", + "ImagePadForOutpaint": "Pad Image for Outpainting", + "ImageBatch": "Batch Images", + "ImageCrop": "Image Crop", + "ImageStitch": "Image Stitch", + "ImageBlend": "Image Blend", + "ImageBlur": "Image Blur", + "ImageQuantize": "Image Quantize", + "ImageSharpen": "Image Sharpen", + "ImageScaleToTotalPixels": "Scale Image to Total Pixels", + "GetImageSize": "Get Image Size", + # _for_testing + "VAEDecodeTiled": "VAE Decode (Tiled)", + "VAEEncodeTiled": "VAE Encode (Tiled)", +} + +EXTENSION_WEB_DIRS = {} + +# Dictionary of successfully loaded module names and associated directories. +LOADED_MODULE_DIRS = {} + + +def get_module_name(module_path: str) -> str: + """ + Returns the module name based on the given module path. + Examples: + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.disabled") -> "custom_nodes + Args: + module_path (str): The path of the module. + Returns: + str: The module name. + """ + base_path = os.path.basename(module_path) + if os.path.isfile(module_path): + base_path = os.path.splitext(base_path)[0] + return base_path + + +async def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes") -> bool: + module_name = get_module_name(module_path) + if os.path.isfile(module_path): + sp = os.path.splitext(module_path) + module_name = sp[0] + sys_module_name = module_name + elif os.path.isdir(module_path): + sys_module_name = module_path.replace(".", "_x_") + + try: + logging.debug("Trying to load custom node {}".format(module_path)) + if os.path.isfile(module_path): + module_spec = importlib.util.spec_from_file_location(sys_module_name, module_path) + module_dir = os.path.split(module_path)[0] + else: + module_spec = importlib.util.spec_from_file_location(sys_module_name, os.path.join(module_path, "__init__.py")) + module_dir = module_path + + module = importlib.util.module_from_spec(module_spec) + sys.modules[sys_module_name] = module + module_spec.loader.exec_module(module) + + LOADED_MODULE_DIRS[module_name] = os.path.abspath(module_dir) + + try: + from comfy_config import config_parser + + project_config = config_parser.extract_node_configuration(module_path) + + web_dir_name = project_config.tool_comfy.web + + if web_dir_name: + web_dir_path = os.path.join(module_path, web_dir_name) + + if os.path.isdir(web_dir_path): + project_name = project_config.project.name + + EXTENSION_WEB_DIRS[project_name] = web_dir_path + + logging.info("Automatically register web folder {} for {}".format(web_dir_name, project_name)) + except Exception as e: + logging.warning(f"Unable to parse pyproject.toml due to lack dependency pydantic-settings, please run 'pip install -r requirements.txt': {e}") + + if hasattr(module, "WEB_DIRECTORY") and getattr(module, "WEB_DIRECTORY") is not None: + web_dir = os.path.abspath(os.path.join(module_dir, getattr(module, "WEB_DIRECTORY"))) + if os.path.isdir(web_dir): + EXTENSION_WEB_DIRS[module_name] = web_dir + + # V1 node definition + if hasattr(module, "NODE_CLASS_MAPPINGS") and getattr(module, "NODE_CLASS_MAPPINGS") is not None: + for name, node_cls in module.NODE_CLASS_MAPPINGS.items(): + if name not in ignore: + NODE_CLASS_MAPPINGS[name] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS") and getattr(module, "NODE_DISPLAY_NAME_MAPPINGS") is not None: + NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS) + return True + # V3 Extension Definition + elif hasattr(module, "comfy_entrypoint"): + entrypoint = getattr(module, "comfy_entrypoint") + if not callable(entrypoint): + logging.warning(f"comfy_entrypoint in {module_path} is not callable, skipping.") + return False + try: + if inspect.iscoroutinefunction(entrypoint): + extension = await entrypoint() + else: + extension = entrypoint() + if not isinstance(extension, ComfyExtension): + logging.warning(f"comfy_entrypoint in {module_path} did not return a ComfyExtension, skipping.") + return False + node_list = await extension.get_node_list() + if not isinstance(node_list, list): + logging.warning(f"comfy_entrypoint in {module_path} did not return a list of nodes, skipping.") + return False + for node_cls in node_list: + node_cls: io.ComfyNode + schema = node_cls.GET_SCHEMA() + if schema.node_id not in ignore: + NODE_CLASS_MAPPINGS[schema.node_id] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if schema.display_name is not None: + NODE_DISPLAY_NAME_MAPPINGS[schema.node_id] = schema.display_name + return True + except Exception as e: + logging.warning(f"Error while calling comfy_entrypoint in {module_path}: {e}") + return False + else: + logging.warning(f"Skip {module_path} module for custom nodes due to the lack of NODE_CLASS_MAPPINGS or NODES_LIST (need one).") + return False + except Exception as e: + logging.warning(traceback.format_exc()) + logging.warning(f"Cannot import {module_path} module for custom nodes: {e}") + return False + +async def init_external_custom_nodes(): + """ + Initializes the external custom nodes. + + This function loads custom nodes from the specified folder paths and imports them into the application. + It measures the import times for each custom node and logs the results. + + Returns: + None + """ + base_node_names = set(NODE_CLASS_MAPPINGS.keys()) + node_paths = folder_paths.get_folder_paths("custom_nodes") + node_import_times = [] + for custom_node_path in node_paths: + possible_modules = os.listdir(os.path.realpath(custom_node_path)) + if "__pycache__" in possible_modules: + possible_modules.remove("__pycache__") + + for possible_module in possible_modules: + module_path = os.path.join(custom_node_path, possible_module) + if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue + if module_path.endswith(".disabled"): continue + if args.disable_all_custom_nodes and possible_module not in args.whitelist_custom_nodes: + logging.info(f"Skipping {possible_module} due to disable_all_custom_nodes and whitelist_custom_nodes") + continue + time_before = time.perf_counter() + success = await load_custom_node(module_path, base_node_names, module_parent="custom_nodes") + node_import_times.append((time.perf_counter() - time_before, module_path, success)) + + if len(node_import_times) > 0: + logging.info("\nImport times for custom nodes:") + for n in sorted(node_import_times): + if n[2]: + import_message = "" + else: + import_message = " (IMPORT FAILED)" + logging.info("{:6.1f} seconds{}: {}".format(n[0], import_message, n[1])) + logging.info("") + +async def init_builtin_extra_nodes(): + """ + Initializes the built-in extra nodes in ComfyUI. + + This function loads the extra node files located in the "comfy_extras" directory and imports them into ComfyUI. + If any of the extra node files fail to import, a warning message is logged. + + Returns: + None + """ + extras_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_extras") + extras_files = [ + "nodes_latent.py", + "nodes_hypernetwork.py", + "nodes_upscale_model.py", + "nodes_post_processing.py", + "nodes_mask.py", + "nodes_compositing.py", + "nodes_rebatch.py", + "nodes_model_merging.py", + "nodes_tomesd.py", + "nodes_clip_sdxl.py", + "nodes_canny.py", + "nodes_freelunch.py", + "nodes_custom_sampler.py", + "nodes_hypertile.py", + "nodes_model_advanced.py", + "nodes_model_downscale.py", + "nodes_images.py", + "nodes_video_model.py", + "nodes_train.py", + "nodes_sag.py", + "nodes_perpneg.py", + "nodes_stable3d.py", + "nodes_sdupscale.py", + "nodes_photomaker.py", + "nodes_pixart.py", + "nodes_cond.py", + "nodes_morphology.py", + "nodes_stable_cascade.py", + "nodes_differential_diffusion.py", + "nodes_ip2p.py", + "nodes_model_merging_model_specific.py", + "nodes_pag.py", + "nodes_align_your_steps.py", + "nodes_attention_multiply.py", + "nodes_advanced_samplers.py", + "nodes_webcam.py", + "nodes_audio.py", + "nodes_sd3.py", + "nodes_gits.py", + "nodes_controlnet.py", + "nodes_hunyuan.py", + "nodes_flux.py", + "nodes_lora_extract.py", + "nodes_torch_compile.py", + "nodes_mochi.py", + "nodes_slg.py", + "nodes_mahiro.py", + "nodes_lt.py", + "nodes_hooks.py", + "nodes_load_3d.py", + "nodes_cosmos.py", + "nodes_video.py", + "nodes_lumina2.py", + "nodes_wan.py", + "nodes_lotus.py", + "nodes_hunyuan3d.py", + "nodes_primitive.py", + "nodes_cfg.py", + "nodes_optimalsteps.py", + "nodes_hidream.py", + "nodes_fresca.py", + "nodes_apg.py", + "nodes_preview_any.py", + "nodes_ace.py", + "nodes_string.py", + "nodes_camera_trajectory.py", + "nodes_edit_model.py", + "nodes_tcfg.py", + "nodes_context_windows.py", + "nodes_qwen.py", + "nodes_model_patch.py", + "nodes_easycache.py", + "nodes_audio_encoder.py", + ] + + import_failed = [] + for node_file in extras_files: + if not await load_custom_node(os.path.join(extras_dir, node_file), module_parent="comfy_extras"): + import_failed.append(node_file) + + return import_failed + + +async def init_builtin_api_nodes(): + api_nodes_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_api_nodes") + api_nodes_files = [ + "nodes_ideogram.py", + "nodes_openai.py", + "nodes_minimax.py", + "nodes_veo2.py", + "nodes_kling.py", + "nodes_bfl.py", + "nodes_bytedance.py", + "nodes_luma.py", + "nodes_recraft.py", + "nodes_pixverse.py", + "nodes_stability.py", + "nodes_pika.py", + "nodes_runway.py", + "nodes_tripo.py", + "nodes_moonvalley.py", + "nodes_rodin.py", + "nodes_gemini.py", + "nodes_vidu.py", + ] + + if not await load_custom_node(os.path.join(api_nodes_dir, "canary.py"), module_parent="comfy_api_nodes"): + return api_nodes_files + + import_failed = [] + for node_file in api_nodes_files: + if not await load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"): + import_failed.append(node_file) + + return import_failed + +async def init_public_apis(): + register_versions([ + ComfyAPIWithVersion( + version=getattr(v, "VERSION"), + api_class=v + ) for v in supported_versions + ]) + +async def init_extra_nodes(init_custom_nodes=True, init_api_nodes=True): + await init_public_apis() + + import_failed = await init_builtin_extra_nodes() + + import_failed_api = [] + if init_api_nodes: + import_failed_api = await init_builtin_api_nodes() + + if init_custom_nodes: + await init_external_custom_nodes() + else: + logging.info("Skipping loading of custom nodes") + + if len(import_failed_api) > 0: + logging.warning("WARNING: some comfy_api_nodes/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed_api: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + if len(import_failed) > 0: + logging.warning("WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + return import_failed diff --git a/docs/hel-892/latent-reference/core68__LICENSE b/docs/hel-892/latent-reference/core68__LICENSE new file mode 100644 index 00000000..f288702d --- /dev/null +++ b/docs/hel-892/latent-reference/core68__LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/docs/hel-892/latent-reference/core68__comfy__sd.py b/docs/hel-892/latent-reference/core68__comfy__sd.py new file mode 100644 index 00000000..9e5ebbf1 --- /dev/null +++ b/docs/hel-892/latent-reference/core68__comfy__sd.py @@ -0,0 +1,1402 @@ +from __future__ import annotations +import json +import torch +from enum import Enum +import logging + +from comfy import model_management +from comfy.utils import ProgressBar +from .ldm.models.autoencoder import AutoencoderKL, AutoencodingEngine +from .ldm.cascade.stage_a import StageA +from .ldm.cascade.stage_c_coder import StageC_coder +from .ldm.audio.autoencoder import AudioOobleckVAE +import comfy.ldm.genmo.vae.model +import comfy.ldm.lightricks.vae.causal_video_autoencoder +import comfy.ldm.cosmos.vae +import comfy.ldm.wan.vae +import comfy.ldm.wan.vae2_2 +import comfy.ldm.hunyuan3d.vae +import comfy.ldm.ace.vae.music_dcae_pipeline +import comfy.ldm.hunyuan_video.vae +import comfy.ldm.mmaudio.vae.autoencoder +import comfy.pixel_space_convert +import yaml +import math +import os + +import comfy.utils + +from . import clip_vision +from . import gligen +from . import diffusers_convert +from . import model_detection + +from . import sd1_clip +from . import sdxl_clip +import comfy.text_encoders.sd2_clip +import comfy.text_encoders.sd3_clip +import comfy.text_encoders.sa_t5 +import comfy.text_encoders.aura_t5 +import comfy.text_encoders.pixart_t5 +import comfy.text_encoders.hydit +import comfy.text_encoders.flux +import comfy.text_encoders.long_clipl +import comfy.text_encoders.genmo +import comfy.text_encoders.lt +import comfy.text_encoders.hunyuan_video +import comfy.text_encoders.cosmos +import comfy.text_encoders.lumina2 +import comfy.text_encoders.wan +import comfy.text_encoders.hidream +import comfy.text_encoders.ace +import comfy.text_encoders.omnigen2 +import comfy.text_encoders.qwen_image +import comfy.text_encoders.hunyuan_image + +import comfy.model_patcher +import comfy.lora +import comfy.lora_convert +import comfy.hooks +import comfy.t2i_adapter.adapter +import comfy.taesd.taesd + +import comfy.ldm.flux.redux + +def load_lora_for_models(model, clip, lora, strength_model, strength_clip): + key_map = {} + if model is not None: + key_map = comfy.lora.model_lora_keys_unet(model.model, key_map) + if clip is not None: + key_map = comfy.lora.model_lora_keys_clip(clip.cond_stage_model, key_map) + + lora = comfy.lora_convert.convert_lora(lora) + loaded = comfy.lora.load_lora(lora, key_map) + if model is not None: + new_modelpatcher = model.clone() + k = new_modelpatcher.add_patches(loaded, strength_model) + else: + k = () + new_modelpatcher = None + + if clip is not None: + new_clip = clip.clone() + k1 = new_clip.add_patches(loaded, strength_clip) + else: + k1 = () + new_clip = None + k = set(k) + k1 = set(k1) + for x in loaded: + if (x not in k) and (x not in k1): + logging.warning("NOT LOADED {}".format(x)) + + return (new_modelpatcher, new_clip) + + +class CLIP: + def __init__(self, target=None, embedding_directory=None, no_init=False, tokenizer_data={}, parameters=0, model_options={}): + if no_init: + return + params = target.params.copy() + clip = target.clip + tokenizer = target.tokenizer + + load_device = model_options.get("load_device", model_management.text_encoder_device()) + offload_device = model_options.get("offload_device", model_management.text_encoder_offload_device()) + dtype = model_options.get("dtype", None) + if dtype is None: + dtype = model_management.text_encoder_dtype(load_device) + + params['dtype'] = dtype + params['device'] = model_options.get("initial_device", model_management.text_encoder_initial_device(load_device, offload_device, parameters * model_management.dtype_size(dtype))) + params['model_options'] = model_options + + self.cond_stage_model = clip(**(params)) + + for dt in self.cond_stage_model.dtypes: + if not model_management.supports_cast(load_device, dt): + load_device = offload_device + if params['device'] != offload_device: + self.cond_stage_model.to(offload_device) + logging.warning("Had to shift TE back.") + + self.tokenizer = tokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data) + self.patcher = comfy.model_patcher.ModelPatcher(self.cond_stage_model, load_device=load_device, offload_device=offload_device) + self.patcher.hook_mode = comfy.hooks.EnumHookMode.MinVram + self.patcher.is_clip = True + self.apply_hooks_to_conds = None + if params['device'] == load_device: + model_management.load_models_gpu([self.patcher], force_full_load=True) + self.layer_idx = None + self.use_clip_schedule = False + logging.info("CLIP/text encoder model load device: {}, offload device: {}, current: {}, dtype: {}".format(load_device, offload_device, params['device'], dtype)) + self.tokenizer_options = {} + + def clone(self): + n = CLIP(no_init=True) + n.patcher = self.patcher.clone() + n.cond_stage_model = self.cond_stage_model + n.tokenizer = self.tokenizer + n.layer_idx = self.layer_idx + n.tokenizer_options = self.tokenizer_options.copy() + n.use_clip_schedule = self.use_clip_schedule + n.apply_hooks_to_conds = self.apply_hooks_to_conds + return n + + def get_ram_usage(self): + return self.patcher.get_ram_usage() + + def add_patches(self, patches, strength_patch=1.0, strength_model=1.0): + return self.patcher.add_patches(patches, strength_patch, strength_model) + + def set_tokenizer_option(self, option_name, value): + self.tokenizer_options[option_name] = value + + def clip_layer(self, layer_idx): + self.layer_idx = layer_idx + + def tokenize(self, text, return_word_ids=False, **kwargs): + tokenizer_options = kwargs.get("tokenizer_options", {}) + if len(self.tokenizer_options) > 0: + tokenizer_options = {**self.tokenizer_options, **tokenizer_options} + if len(tokenizer_options) > 0: + kwargs["tokenizer_options"] = tokenizer_options + return self.tokenizer.tokenize_with_weights(text, return_word_ids, **kwargs) + + def add_hooks_to_dict(self, pooled_dict: dict[str]): + if self.apply_hooks_to_conds: + pooled_dict["hooks"] = self.apply_hooks_to_conds + return pooled_dict + + def encode_from_tokens_scheduled(self, tokens, unprojected=False, add_dict: dict[str]={}, show_pbar=True): + all_cond_pooled: list[tuple[torch.Tensor, dict[str]]] = [] + all_hooks = self.patcher.forced_hooks + if all_hooks is None or not self.use_clip_schedule: + # if no hooks or shouldn't use clip schedule, do unscheduled encode_from_tokens and perform add_dict + return_pooled = "unprojected" if unprojected else True + pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True) + cond = pooled_dict.pop("cond") + # add/update any keys with the provided add_dict + pooled_dict.update(add_dict) + all_cond_pooled.append([cond, pooled_dict]) + else: + scheduled_keyframes = all_hooks.get_hooks_for_clip_schedule() + + self.cond_stage_model.reset_clip_options() + if self.layer_idx is not None: + self.cond_stage_model.set_clip_options({"layer": self.layer_idx}) + if unprojected: + self.cond_stage_model.set_clip_options({"projected_pooled": False}) + + self.load_model() + all_hooks.reset() + self.patcher.patch_hooks(None) + if show_pbar: + pbar = ProgressBar(len(scheduled_keyframes)) + + for scheduled_opts in scheduled_keyframes: + t_range = scheduled_opts[0] + # don't bother encoding any conds outside of start_percent and end_percent bounds + if "start_percent" in add_dict: + if t_range[1] < add_dict["start_percent"]: + continue + if "end_percent" in add_dict: + if t_range[0] > add_dict["end_percent"]: + continue + hooks_keyframes = scheduled_opts[1] + for hook, keyframe in hooks_keyframes: + hook.hook_keyframe._current_keyframe = keyframe + # apply appropriate hooks with values that match new hook_keyframe + self.patcher.patch_hooks(all_hooks) + # perform encoding as normal + o = self.cond_stage_model.encode_token_weights(tokens) + cond, pooled = o[:2] + pooled_dict = {"pooled_output": pooled} + # add clip_start_percent and clip_end_percent in pooled + pooled_dict["clip_start_percent"] = t_range[0] + pooled_dict["clip_end_percent"] = t_range[1] + # add/update any keys with the provided add_dict + pooled_dict.update(add_dict) + # add hooks stored on clip + self.add_hooks_to_dict(pooled_dict) + all_cond_pooled.append([cond, pooled_dict]) + if show_pbar: + pbar.update(1) + model_management.throw_exception_if_processing_interrupted() + all_hooks.reset() + return all_cond_pooled + + def encode_from_tokens(self, tokens, return_pooled=False, return_dict=False): + self.cond_stage_model.reset_clip_options() + + if self.layer_idx is not None: + self.cond_stage_model.set_clip_options({"layer": self.layer_idx}) + + if return_pooled == "unprojected": + self.cond_stage_model.set_clip_options({"projected_pooled": False}) + + self.load_model() + o = self.cond_stage_model.encode_token_weights(tokens) + cond, pooled = o[:2] + if return_dict: + out = {"cond": cond, "pooled_output": pooled} + if len(o) > 2: + for k in o[2]: + out[k] = o[2][k] + self.add_hooks_to_dict(out) + return out + + if return_pooled: + return cond, pooled + return cond + + def encode(self, text): + tokens = self.tokenize(text) + return self.encode_from_tokens(tokens) + + def load_sd(self, sd, full_model=False): + if full_model: + return self.cond_stage_model.load_state_dict(sd, strict=False) + else: + return self.cond_stage_model.load_sd(sd) + + def get_sd(self): + sd_clip = self.cond_stage_model.state_dict() + sd_tokenizer = self.tokenizer.state_dict() + for k in sd_tokenizer: + sd_clip[k] = sd_tokenizer[k] + return sd_clip + + def load_model(self): + model_management.load_model_gpu(self.patcher) + return self.patcher + + def get_key_patches(self): + return self.patcher.get_key_patches() + +class VAE: + def __init__(self, sd=None, device=None, config=None, dtype=None, metadata=None): + if 'decoder.up_blocks.0.resnets.0.norm1.weight' in sd.keys(): #diffusers format + sd = diffusers_convert.convert_vae_state_dict(sd) + + if model_management.is_amd(): + VAE_KL_MEM_RATIO = 2.73 + else: + VAE_KL_MEM_RATIO = 1.0 + + self.memory_used_encode = lambda shape, dtype: (1767 * shape[2] * shape[3]) * model_management.dtype_size(dtype) * VAE_KL_MEM_RATIO #These are for AutoencoderKL and need tweaking (should be lower) + self.memory_used_decode = lambda shape, dtype: (2178 * shape[2] * shape[3] * 64) * model_management.dtype_size(dtype) * VAE_KL_MEM_RATIO + self.downscale_ratio = 8 + self.upscale_ratio = 8 + self.latent_channels = 4 + self.latent_dim = 2 + self.output_channels = 3 + self.process_input = lambda image: image * 2.0 - 1.0 + self.process_output = lambda image: torch.clamp((image + 1.0) / 2.0, min=0.0, max=1.0) + self.working_dtypes = [torch.bfloat16, torch.float32] + self.disable_offload = False + self.not_video = False + self.size = None + + self.downscale_index_formula = None + self.upscale_index_formula = None + self.extra_1d_channel = None + self.crop_input = True + + if config is None: + if "decoder.mid.block_1.mix_factor" in sd: + encoder_config = {'double_z': True, 'z_channels': 4, 'resolution': 256, 'in_channels': 3, 'out_ch': 3, 'ch': 128, 'ch_mult': [1, 2, 4, 4], 'num_res_blocks': 2, 'attn_resolutions': [], 'dropout': 0.0} + decoder_config = encoder_config.copy() + decoder_config["video_kernel_size"] = [3, 1, 1] + decoder_config["alpha"] = 0.0 + self.first_stage_model = AutoencodingEngine(regularizer_config={'target': "comfy.ldm.models.autoencoder.DiagonalGaussianRegularizer"}, + encoder_config={'target': "comfy.ldm.modules.diffusionmodules.model.Encoder", 'params': encoder_config}, + decoder_config={'target': "comfy.ldm.modules.temporal_ae.VideoDecoder", 'params': decoder_config}) + elif "taesd_decoder.1.weight" in sd: + self.latent_channels = sd["taesd_decoder.1.weight"].shape[1] + self.first_stage_model = comfy.taesd.taesd.TAESD(latent_channels=self.latent_channels) + elif "vquantizer.codebook.weight" in sd: #VQGan: stage a of stable cascade + self.first_stage_model = StageA() + self.downscale_ratio = 4 + self.upscale_ratio = 4 + #TODO + #self.memory_used_encode + #self.memory_used_decode + self.process_input = lambda image: image + self.process_output = lambda image: image + elif "backbone.1.0.block.0.1.num_batches_tracked" in sd: #effnet: encoder for stage c latent of stable cascade + self.first_stage_model = StageC_coder() + self.downscale_ratio = 32 + self.latent_channels = 16 + new_sd = {} + for k in sd: + new_sd["encoder.{}".format(k)] = sd[k] + sd = new_sd + elif "blocks.11.num_batches_tracked" in sd: #previewer: decoder for stage c latent of stable cascade + self.first_stage_model = StageC_coder() + self.latent_channels = 16 + new_sd = {} + for k in sd: + new_sd["previewer.{}".format(k)] = sd[k] + sd = new_sd + elif "encoder.backbone.1.0.block.0.1.num_batches_tracked" in sd: #combined effnet and previewer for stable cascade + self.first_stage_model = StageC_coder() + self.downscale_ratio = 32 + self.latent_channels = 16 + elif "decoder.conv_in.weight" in sd: + if sd['decoder.conv_in.weight'].shape[1] == 64: + ddconfig = {"block_out_channels": [128, 256, 512, 512, 1024, 1024], "in_channels": 3, "out_channels": 3, "num_res_blocks": 2, "ffactor_spatial": 32, "downsample_match_channel": True, "upsample_match_channel": True} + self.latent_channels = ddconfig['z_channels'] = sd["decoder.conv_in.weight"].shape[1] + self.downscale_ratio = 32 + self.upscale_ratio = 32 + self.working_dtypes = [torch.float16, torch.bfloat16, torch.float32] + self.first_stage_model = AutoencodingEngine(regularizer_config={'target': "comfy.ldm.models.autoencoder.DiagonalGaussianRegularizer"}, + encoder_config={'target': "comfy.ldm.hunyuan_video.vae.Encoder", 'params': ddconfig}, + decoder_config={'target': "comfy.ldm.hunyuan_video.vae.Decoder", 'params': ddconfig}) + + self.memory_used_encode = lambda shape, dtype: (700 * shape[2] * shape[3]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (700 * shape[2] * shape[3] * 32 * 32) * model_management.dtype_size(dtype) + elif sd['decoder.conv_in.weight'].shape[1] == 32: + ddconfig = {"block_out_channels": [128, 256, 512, 1024, 1024], "in_channels": 3, "out_channels": 3, "num_res_blocks": 2, "ffactor_spatial": 16, "ffactor_temporal": 4, "downsample_match_channel": True, "upsample_match_channel": True, "refiner_vae": False} + self.latent_channels = ddconfig['z_channels'] = sd["decoder.conv_in.weight"].shape[1] + self.working_dtypes = [torch.float16, torch.bfloat16, torch.float32] + self.upscale_ratio = (lambda a: max(0, a * 4 - 3), 16, 16) + self.upscale_index_formula = (4, 16, 16) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 3) / 4)), 16, 16) + self.downscale_index_formula = (4, 16, 16) + self.latent_dim = 3 + self.not_video = True + self.first_stage_model = AutoencodingEngine(regularizer_config={'target': "comfy.ldm.models.autoencoder.DiagonalGaussianRegularizer"}, + encoder_config={'target': "comfy.ldm.hunyuan_video.vae_refiner.Encoder", 'params': ddconfig}, + decoder_config={'target': "comfy.ldm.hunyuan_video.vae_refiner.Decoder", 'params': ddconfig}) + + self.memory_used_encode = lambda shape, dtype: (2800 * shape[-2] * shape[-1]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (2800 * shape[-3] * shape[-2] * shape[-1] * 16 * 16) * model_management.dtype_size(dtype) + else: + #default SD1.x/SD2.x VAE parameters + ddconfig = {'double_z': True, 'z_channels': 4, 'resolution': 256, 'in_channels': 3, 'out_ch': 3, 'ch': 128, 'ch_mult': [1, 2, 4, 4], 'num_res_blocks': 2, 'attn_resolutions': [], 'dropout': 0.0} + + if 'encoder.down.2.downsample.conv.weight' not in sd and 'decoder.up.3.upsample.conv.weight' not in sd: #Stable diffusion x4 upscaler VAE + ddconfig['ch_mult'] = [1, 2, 4] + self.downscale_ratio = 4 + self.upscale_ratio = 4 + + self.latent_channels = ddconfig['z_channels'] = sd["decoder.conv_in.weight"].shape[1] + if 'post_quant_conv.weight' in sd: + self.first_stage_model = AutoencoderKL(ddconfig=ddconfig, embed_dim=sd['post_quant_conv.weight'].shape[1]) + else: + self.first_stage_model = AutoencodingEngine(regularizer_config={'target': "comfy.ldm.models.autoencoder.DiagonalGaussianRegularizer"}, + encoder_config={'target': "comfy.ldm.modules.diffusionmodules.model.Encoder", 'params': ddconfig}, + decoder_config={'target': "comfy.ldm.modules.diffusionmodules.model.Decoder", 'params': ddconfig}) + elif "decoder.layers.1.layers.0.beta" in sd: + self.first_stage_model = AudioOobleckVAE() + self.memory_used_encode = lambda shape, dtype: (1000 * shape[2]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (1000 * shape[2] * 2048) * model_management.dtype_size(dtype) + self.latent_channels = 64 + self.output_channels = 2 + self.upscale_ratio = 2048 + self.downscale_ratio = 2048 + self.latent_dim = 1 + self.process_output = lambda audio: audio + self.process_input = lambda audio: audio + self.working_dtypes = [torch.float16, torch.bfloat16, torch.float32] + self.disable_offload = True + elif "blocks.2.blocks.3.stack.5.weight" in sd or "decoder.blocks.2.blocks.3.stack.5.weight" in sd or "layers.4.layers.1.attn_block.attn.qkv.weight" in sd or "encoder.layers.4.layers.1.attn_block.attn.qkv.weight" in sd: #genmo mochi vae + if "blocks.2.blocks.3.stack.5.weight" in sd: + sd = comfy.utils.state_dict_prefix_replace(sd, {"": "decoder."}) + if "layers.4.layers.1.attn_block.attn.qkv.weight" in sd: + sd = comfy.utils.state_dict_prefix_replace(sd, {"": "encoder."}) + self.first_stage_model = comfy.ldm.genmo.vae.model.VideoVAE() + self.latent_channels = 12 + self.latent_dim = 3 + self.memory_used_decode = lambda shape, dtype: (1000 * shape[2] * shape[3] * shape[4] * (6 * 8 * 8)) * model_management.dtype_size(dtype) + self.memory_used_encode = lambda shape, dtype: (1.5 * max(shape[2], 7) * shape[3] * shape[4] * (6 * 8 * 8)) * model_management.dtype_size(dtype) + self.upscale_ratio = (lambda a: max(0, a * 6 - 5), 8, 8) + self.upscale_index_formula = (6, 8, 8) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 5) / 6)), 8, 8) + self.downscale_index_formula = (6, 8, 8) + self.working_dtypes = [torch.float16, torch.float32] + elif "decoder.up_blocks.0.res_blocks.0.conv1.conv.weight" in sd: #lightricks ltxv + tensor_conv1 = sd["decoder.up_blocks.0.res_blocks.0.conv1.conv.weight"] + version = 0 + if tensor_conv1.shape[0] == 512: + version = 0 + elif tensor_conv1.shape[0] == 1024: + version = 1 + if "encoder.down_blocks.1.conv.conv.bias" in sd: + version = 2 + vae_config = None + if metadata is not None and "config" in metadata: + vae_config = json.loads(metadata["config"]).get("vae", None) + self.first_stage_model = comfy.ldm.lightricks.vae.causal_video_autoencoder.VideoVAE(version=version, config=vae_config) + self.latent_channels = 128 + self.latent_dim = 3 + self.memory_used_decode = lambda shape, dtype: (900 * shape[2] * shape[3] * shape[4] * (8 * 8 * 8)) * model_management.dtype_size(dtype) + self.memory_used_encode = lambda shape, dtype: (70 * max(shape[2], 7) * shape[3] * shape[4]) * model_management.dtype_size(dtype) + self.upscale_ratio = (lambda a: max(0, a * 8 - 7), 32, 32) + self.upscale_index_formula = (8, 32, 32) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 7) / 8)), 32, 32) + self.downscale_index_formula = (8, 32, 32) + self.working_dtypes = [torch.bfloat16, torch.float32] + elif "decoder.conv_in.conv.weight" in sd and sd['decoder.conv_in.conv.weight'].shape[1] == 32: + ddconfig = {"block_out_channels": [128, 256, 512, 1024, 1024], "in_channels": 3, "out_channels": 3, "num_res_blocks": 2, "ffactor_spatial": 16, "ffactor_temporal": 4, "downsample_match_channel": True, "upsample_match_channel": True} + ddconfig['z_channels'] = sd["decoder.conv_in.conv.weight"].shape[1] + self.latent_channels = 64 + self.upscale_ratio = (lambda a: max(0, a * 4 - 3), 16, 16) + self.upscale_index_formula = (4, 16, 16) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 3) / 4)), 16, 16) + self.downscale_index_formula = (4, 16, 16) + self.latent_dim = 3 + self.not_video = True + self.working_dtypes = [torch.float16, torch.bfloat16, torch.float32] + self.first_stage_model = AutoencodingEngine(regularizer_config={'target': "comfy.ldm.models.autoencoder.EmptyRegularizer"}, + encoder_config={'target': "comfy.ldm.hunyuan_video.vae_refiner.Encoder", 'params': ddconfig}, + decoder_config={'target': "comfy.ldm.hunyuan_video.vae_refiner.Decoder", 'params': ddconfig}) + + self.memory_used_encode = lambda shape, dtype: (1400 * shape[-2] * shape[-1]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (1400 * shape[-3] * shape[-2] * shape[-1] * 16 * 16) * model_management.dtype_size(dtype) + elif "decoder.conv_in.conv.weight" in sd: + ddconfig = {'double_z': True, 'z_channels': 4, 'resolution': 256, 'in_channels': 3, 'out_ch': 3, 'ch': 128, 'ch_mult': [1, 2, 4, 4], 'num_res_blocks': 2, 'attn_resolutions': [], 'dropout': 0.0} + ddconfig["conv3d"] = True + ddconfig["time_compress"] = 4 + self.upscale_ratio = (lambda a: max(0, a * 4 - 3), 8, 8) + self.upscale_index_formula = (4, 8, 8) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 3) / 4)), 8, 8) + self.downscale_index_formula = (4, 8, 8) + self.latent_dim = 3 + self.latent_channels = ddconfig['z_channels'] = sd["decoder.conv_in.conv.weight"].shape[1] + self.first_stage_model = AutoencoderKL(ddconfig=ddconfig, embed_dim=sd['post_quant_conv.weight'].shape[1]) + self.memory_used_decode = lambda shape, dtype: (1500 * shape[2] * shape[3] * shape[4] * (4 * 8 * 8)) * model_management.dtype_size(dtype) + self.memory_used_encode = lambda shape, dtype: (900 * max(shape[2], 2) * shape[3] * shape[4]) * model_management.dtype_size(dtype) + self.working_dtypes = [torch.bfloat16, torch.float16, torch.float32] + elif "decoder.unpatcher3d.wavelets" in sd: + self.upscale_ratio = (lambda a: max(0, a * 8 - 7), 8, 8) + self.upscale_index_formula = (8, 8, 8) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 7) / 8)), 8, 8) + self.downscale_index_formula = (8, 8, 8) + self.latent_dim = 3 + self.latent_channels = 16 + ddconfig = {'z_channels': 16, 'latent_channels': self.latent_channels, 'z_factor': 1, 'resolution': 1024, 'in_channels': 3, 'out_channels': 3, 'channels': 128, 'channels_mult': [2, 4, 4], 'num_res_blocks': 2, 'attn_resolutions': [32], 'dropout': 0.0, 'patch_size': 4, 'num_groups': 1, 'temporal_compression': 8, 'spacial_compression': 8} + self.first_stage_model = comfy.ldm.cosmos.vae.CausalContinuousVideoTokenizer(**ddconfig) + #TODO: these values are a bit off because this is not a standard VAE + self.memory_used_decode = lambda shape, dtype: (50 * shape[2] * shape[3] * shape[4] * (8 * 8 * 8)) * model_management.dtype_size(dtype) + self.memory_used_encode = lambda shape, dtype: (50 * (round((shape[2] + 7) / 8) * 8) * shape[3] * shape[4]) * model_management.dtype_size(dtype) + self.working_dtypes = [torch.bfloat16, torch.float32] + elif "decoder.middle.0.residual.0.gamma" in sd: + if "decoder.upsamples.0.upsamples.0.residual.2.weight" in sd: # Wan 2.2 VAE + self.upscale_ratio = (lambda a: max(0, a * 4 - 3), 16, 16) + self.upscale_index_formula = (4, 16, 16) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 3) / 4)), 16, 16) + self.downscale_index_formula = (4, 16, 16) + self.latent_dim = 3 + self.latent_channels = 48 + ddconfig = {"dim": 160, "z_dim": self.latent_channels, "dim_mult": [1, 2, 4, 4], "num_res_blocks": 2, "attn_scales": [], "temperal_downsample": [False, True, True], "dropout": 0.0} + self.first_stage_model = comfy.ldm.wan.vae2_2.WanVAE(**ddconfig) + self.working_dtypes = [torch.bfloat16, torch.float16, torch.float32] + self.memory_used_encode = lambda shape, dtype: 3300 * shape[3] * shape[4] * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: 8000 * shape[3] * shape[4] * (16 * 16) * model_management.dtype_size(dtype) + else: # Wan 2.1 VAE + self.upscale_ratio = (lambda a: max(0, a * 4 - 3), 8, 8) + self.upscale_index_formula = (4, 8, 8) + self.downscale_ratio = (lambda a: max(0, math.floor((a + 3) / 4)), 8, 8) + self.downscale_index_formula = (4, 8, 8) + self.latent_dim = 3 + self.latent_channels = 16 + ddconfig = {"dim": 96, "z_dim": self.latent_channels, "dim_mult": [1, 2, 4, 4], "num_res_blocks": 2, "attn_scales": [], "temperal_downsample": [False, True, True], "dropout": 0.0} + self.first_stage_model = comfy.ldm.wan.vae.WanVAE(**ddconfig) + self.working_dtypes = [torch.bfloat16, torch.float16, torch.float32] + self.memory_used_encode = lambda shape, dtype: 6000 * shape[3] * shape[4] * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: 7000 * shape[3] * shape[4] * (8 * 8) * model_management.dtype_size(dtype) + # Hunyuan 3d v2 2.0 & 2.1 + elif "geo_decoder.cross_attn_decoder.ln_1.bias" in sd: + + self.latent_dim = 1 + + def estimate_memory(shape, dtype, num_layers = 16, kv_cache_multiplier = 2): + batch, num_tokens, hidden_dim = shape + dtype_size = model_management.dtype_size(dtype) + + total_mem = batch * num_tokens * hidden_dim * dtype_size * (1 + kv_cache_multiplier * num_layers) + return total_mem + + # better memory estimations + self.memory_used_encode = lambda shape, dtype, num_layers = 8, kv_cache_multiplier = 0:\ + estimate_memory(shape, dtype, num_layers, kv_cache_multiplier) + + self.memory_used_decode = lambda shape, dtype, num_layers = 16, kv_cache_multiplier = 2: \ + estimate_memory(shape, dtype, num_layers, kv_cache_multiplier) + + self.first_stage_model = comfy.ldm.hunyuan3d.vae.ShapeVAE() + self.working_dtypes = [torch.float16, torch.bfloat16, torch.float32] + + + elif "vocoder.backbone.channel_layers.0.0.bias" in sd: #Ace Step Audio + self.first_stage_model = comfy.ldm.ace.vae.music_dcae_pipeline.MusicDCAE(source_sample_rate=44100) + self.memory_used_encode = lambda shape, dtype: (shape[2] * 330) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (shape[2] * shape[3] * 87000) * model_management.dtype_size(dtype) + self.latent_channels = 8 + self.output_channels = 2 + self.upscale_ratio = 4096 + self.downscale_ratio = 4096 + self.latent_dim = 2 + self.process_output = lambda audio: audio + self.process_input = lambda audio: audio + self.working_dtypes = [torch.bfloat16, torch.float16, torch.float32] + self.disable_offload = True + self.extra_1d_channel = 16 + elif "pixel_space_vae" in sd: + self.first_stage_model = comfy.pixel_space_convert.PixelspaceConversionVAE() + self.memory_used_encode = lambda shape, dtype: (1 * shape[2] * shape[3]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (1 * shape[2] * shape[3]) * model_management.dtype_size(dtype) + self.downscale_ratio = 1 + self.upscale_ratio = 1 + self.latent_channels = 3 + self.latent_dim = 2 + self.output_channels = 3 + elif "vocoder.activation_post.downsample.lowpass.filter" in sd: #MMAudio VAE + sample_rate = 16000 + if sample_rate == 16000: + mode = '16k' + else: + mode = '44k' + + self.first_stage_model = comfy.ldm.mmaudio.vae.autoencoder.AudioAutoencoder(mode=mode) + self.memory_used_encode = lambda shape, dtype: (30 * shape[2]) * model_management.dtype_size(dtype) + self.memory_used_decode = lambda shape, dtype: (90 * shape[2] * 1411.2) * model_management.dtype_size(dtype) + self.latent_channels = 20 + self.output_channels = 2 + self.upscale_ratio = 512 * (44100 / sample_rate) + self.downscale_ratio = 512 * (44100 / sample_rate) + self.latent_dim = 1 + self.process_output = lambda audio: audio + self.process_input = lambda audio: audio + self.working_dtypes = [torch.float32] + self.crop_input = False + else: + logging.warning("WARNING: No VAE weights detected, VAE not initalized.") + self.first_stage_model = None + return + else: + self.first_stage_model = AutoencoderKL(**(config['params'])) + self.first_stage_model = self.first_stage_model.eval() + + m, u = self.first_stage_model.load_state_dict(sd, strict=False) + if len(m) > 0: + logging.warning("Missing VAE keys {}".format(m)) + + if len(u) > 0: + logging.debug("Leftover VAE keys {}".format(u)) + + if device is None: + device = model_management.vae_device() + self.device = device + offload_device = model_management.vae_offload_device() + if dtype is None: + dtype = model_management.vae_dtype(self.device, self.working_dtypes) + self.vae_dtype = dtype + self.first_stage_model.to(self.vae_dtype) + self.output_device = model_management.intermediate_device() + + self.patcher = comfy.model_patcher.ModelPatcher(self.first_stage_model, load_device=self.device, offload_device=offload_device) + logging.info("VAE load device: {}, offload device: {}, dtype: {}".format(self.device, offload_device, self.vae_dtype)) + self.model_size() + + def model_size(self): + if self.size is not None: + return self.size + self.size = comfy.model_management.module_size(self.first_stage_model) + return self.size + + def get_ram_usage(self): + return self.model_size() + + def throw_exception_if_invalid(self): + if self.first_stage_model is None: + raise RuntimeError("ERROR: VAE is invalid: None\n\nIf the VAE is from a checkpoint loader node your checkpoint does not contain a valid VAE.") + + def vae_encode_crop_pixels(self, pixels): + if not self.crop_input: + return pixels + + downscale_ratio = self.spacial_compression_encode() + + dims = pixels.shape[1:-1] + for d in range(len(dims)): + x = (dims[d] // downscale_ratio) * downscale_ratio + x_offset = (dims[d] % downscale_ratio) // 2 + if x != dims[d]: + pixels = pixels.narrow(d + 1, x_offset, x) + return pixels + + def decode_tiled_(self, samples, tile_x=64, tile_y=64, overlap = 16): + steps = samples.shape[0] * comfy.utils.get_tiled_scale_steps(samples.shape[3], samples.shape[2], tile_x, tile_y, overlap) + steps += samples.shape[0] * comfy.utils.get_tiled_scale_steps(samples.shape[3], samples.shape[2], tile_x // 2, tile_y * 2, overlap) + steps += samples.shape[0] * comfy.utils.get_tiled_scale_steps(samples.shape[3], samples.shape[2], tile_x * 2, tile_y // 2, overlap) + pbar = comfy.utils.ProgressBar(steps) + + decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float() + output = self.process_output( + (comfy.utils.tiled_scale(samples, decode_fn, tile_x // 2, tile_y * 2, overlap, upscale_amount = self.upscale_ratio, output_device=self.output_device, pbar = pbar) + + comfy.utils.tiled_scale(samples, decode_fn, tile_x * 2, tile_y // 2, overlap, upscale_amount = self.upscale_ratio, output_device=self.output_device, pbar = pbar) + + comfy.utils.tiled_scale(samples, decode_fn, tile_x, tile_y, overlap, upscale_amount = self.upscale_ratio, output_device=self.output_device, pbar = pbar)) + / 3.0) + return output + + def decode_tiled_1d(self, samples, tile_x=128, overlap=32): + if samples.ndim == 3: + decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float() + else: + og_shape = samples.shape + samples = samples.reshape((og_shape[0], og_shape[1] * og_shape[2], -1)) + decode_fn = lambda a: self.first_stage_model.decode(a.reshape((-1, og_shape[1], og_shape[2], a.shape[-1])).to(self.vae_dtype).to(self.device)).float() + + return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_x,), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, output_device=self.output_device)) + + def decode_tiled_3d(self, samples, tile_t=999, tile_x=32, tile_y=32, overlap=(1, 8, 8)): + decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float() + return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device)) + + def encode_tiled_(self, pixel_samples, tile_x=512, tile_y=512, overlap = 64): + steps = pixel_samples.shape[0] * comfy.utils.get_tiled_scale_steps(pixel_samples.shape[3], pixel_samples.shape[2], tile_x, tile_y, overlap) + steps += pixel_samples.shape[0] * comfy.utils.get_tiled_scale_steps(pixel_samples.shape[3], pixel_samples.shape[2], tile_x // 2, tile_y * 2, overlap) + steps += pixel_samples.shape[0] * comfy.utils.get_tiled_scale_steps(pixel_samples.shape[3], pixel_samples.shape[2], tile_x * 2, tile_y // 2, overlap) + pbar = comfy.utils.ProgressBar(steps) + + encode_fn = lambda a: self.first_stage_model.encode((self.process_input(a)).to(self.vae_dtype).to(self.device)).float() + samples = comfy.utils.tiled_scale(pixel_samples, encode_fn, tile_x, tile_y, overlap, upscale_amount = (1/self.downscale_ratio), out_channels=self.latent_channels, output_device=self.output_device, pbar=pbar) + samples += comfy.utils.tiled_scale(pixel_samples, encode_fn, tile_x * 2, tile_y // 2, overlap, upscale_amount = (1/self.downscale_ratio), out_channels=self.latent_channels, output_device=self.output_device, pbar=pbar) + samples += comfy.utils.tiled_scale(pixel_samples, encode_fn, tile_x // 2, tile_y * 2, overlap, upscale_amount = (1/self.downscale_ratio), out_channels=self.latent_channels, output_device=self.output_device, pbar=pbar) + samples /= 3.0 + return samples + + def encode_tiled_1d(self, samples, tile_x=256 * 2048, overlap=64 * 2048): + if self.latent_dim == 1: + encode_fn = lambda a: self.first_stage_model.encode((self.process_input(a)).to(self.vae_dtype).to(self.device)).float() + out_channels = self.latent_channels + upscale_amount = 1 / self.downscale_ratio + else: + extra_channel_size = self.extra_1d_channel + out_channels = self.latent_channels * extra_channel_size + tile_x = tile_x // extra_channel_size + overlap = overlap // extra_channel_size + upscale_amount = 1 / self.downscale_ratio + encode_fn = lambda a: self.first_stage_model.encode((self.process_input(a)).to(self.vae_dtype).to(self.device)).reshape(1, out_channels, -1).float() + + out = comfy.utils.tiled_scale_multidim(samples, encode_fn, tile=(tile_x,), overlap=overlap, upscale_amount=upscale_amount, out_channels=out_channels, output_device=self.output_device) + if self.latent_dim == 1: + return out + else: + return out.reshape(samples.shape[0], self.latent_channels, extra_channel_size, -1) + + def encode_tiled_3d(self, samples, tile_t=9999, tile_x=512, tile_y=512, overlap=(1, 64, 64)): + encode_fn = lambda a: self.first_stage_model.encode((self.process_input(a)).to(self.vae_dtype).to(self.device)).float() + return comfy.utils.tiled_scale_multidim(samples, encode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.downscale_ratio, out_channels=self.latent_channels, downscale=True, index_formulas=self.downscale_index_formula, output_device=self.output_device) + + def decode(self, samples_in, vae_options={}): + self.throw_exception_if_invalid() + pixel_samples = None + do_tile = False + try: + memory_used = self.memory_used_decode(samples_in.shape, self.vae_dtype) + model_management.load_models_gpu([self.patcher], memory_required=memory_used, force_full_load=self.disable_offload) + free_memory = model_management.get_free_memory(self.device) + batch_number = int(free_memory / memory_used) + batch_number = max(1, batch_number) + + for x in range(0, samples_in.shape[0], batch_number): + samples = samples_in[x:x+batch_number].to(self.vae_dtype).to(self.device) + out = self.process_output(self.first_stage_model.decode(samples, **vae_options).to(self.output_device).float()) + if pixel_samples is None: + pixel_samples = torch.empty((samples_in.shape[0],) + tuple(out.shape[1:]), device=self.output_device) + pixel_samples[x:x+batch_number] = out + except model_management.OOM_EXCEPTION: + logging.warning("Warning: Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding.") + #NOTE: We don't know what tensors were allocated to stack variables at the time of the + #exception and the exception itself refs them all until we get out of this except block. + #So we just set a flag for tiler fallback so that tensor gc can happen once the + #exception is fully off the books. + do_tile = True + + if do_tile: + dims = samples_in.ndim - 2 + if dims == 1 or self.extra_1d_channel is not None: + pixel_samples = self.decode_tiled_1d(samples_in) + elif dims == 2: + pixel_samples = self.decode_tiled_(samples_in) + elif dims == 3: + tile = 256 // self.spacial_compression_decode() + overlap = tile // 4 + pixel_samples = self.decode_tiled_3d(samples_in, tile_x=tile, tile_y=tile, overlap=(1, overlap, overlap)) + + pixel_samples = pixel_samples.to(self.output_device).movedim(1,-1) + return pixel_samples + + def decode_tiled(self, samples, tile_x=None, tile_y=None, overlap=None, tile_t=None, overlap_t=None): + self.throw_exception_if_invalid() + memory_used = self.memory_used_decode(samples.shape, self.vae_dtype) #TODO: calculate mem required for tile + model_management.load_models_gpu([self.patcher], memory_required=memory_used, force_full_load=self.disable_offload) + dims = samples.ndim - 2 + args = {} + if tile_x is not None: + args["tile_x"] = tile_x + if tile_y is not None: + args["tile_y"] = tile_y + if overlap is not None: + args["overlap"] = overlap + + if dims == 1: + args.pop("tile_y") + output = self.decode_tiled_1d(samples, **args) + elif dims == 2: + output = self.decode_tiled_(samples, **args) + elif dims == 3: + if overlap_t is None: + args["overlap"] = (1, overlap, overlap) + else: + args["overlap"] = (max(1, overlap_t), overlap, overlap) + if tile_t is not None: + args["tile_t"] = max(2, tile_t) + + output = self.decode_tiled_3d(samples, **args) + return output.movedim(1, -1) + + def encode(self, pixel_samples): + self.throw_exception_if_invalid() + pixel_samples = self.vae_encode_crop_pixels(pixel_samples) + pixel_samples = pixel_samples.movedim(-1, 1) + do_tile = False + if self.latent_dim == 3 and pixel_samples.ndim < 5: + if not self.not_video: + pixel_samples = pixel_samples.movedim(1, 0).unsqueeze(0) + else: + pixel_samples = pixel_samples.unsqueeze(2) + try: + memory_used = self.memory_used_encode(pixel_samples.shape, self.vae_dtype) + model_management.load_models_gpu([self.patcher], memory_required=memory_used, force_full_load=self.disable_offload) + free_memory = model_management.get_free_memory(self.device) + batch_number = int(free_memory / max(1, memory_used)) + batch_number = max(1, batch_number) + samples = None + for x in range(0, pixel_samples.shape[0], batch_number): + pixels_in = self.process_input(pixel_samples[x:x + batch_number]).to(self.vae_dtype).to(self.device) + out = self.first_stage_model.encode(pixels_in).to(self.output_device).float() + if samples is None: + samples = torch.empty((pixel_samples.shape[0],) + tuple(out.shape[1:]), device=self.output_device) + samples[x:x + batch_number] = out + + except model_management.OOM_EXCEPTION: + logging.warning("Warning: Ran out of memory when regular VAE encoding, retrying with tiled VAE encoding.") + #NOTE: We don't know what tensors were allocated to stack variables at the time of the + #exception and the exception itself refs them all until we get out of this except block. + #So we just set a flag for tiler fallback so that tensor gc can happen once the + #exception is fully off the books. + do_tile = True + + if do_tile: + if self.latent_dim == 3: + tile = 256 + overlap = tile // 4 + samples = self.encode_tiled_3d(pixel_samples, tile_x=tile, tile_y=tile, overlap=(1, overlap, overlap)) + elif self.latent_dim == 1 or self.extra_1d_channel is not None: + samples = self.encode_tiled_1d(pixel_samples) + else: + samples = self.encode_tiled_(pixel_samples) + + return samples + + def encode_tiled(self, pixel_samples, tile_x=None, tile_y=None, overlap=None, tile_t=None, overlap_t=None): + self.throw_exception_if_invalid() + pixel_samples = self.vae_encode_crop_pixels(pixel_samples) + dims = self.latent_dim + pixel_samples = pixel_samples.movedim(-1, 1) + if dims == 3: + if not self.not_video: + pixel_samples = pixel_samples.movedim(1, 0).unsqueeze(0) + else: + pixel_samples = pixel_samples.unsqueeze(2) + + memory_used = self.memory_used_encode(pixel_samples.shape, self.vae_dtype) # TODO: calculate mem required for tile + model_management.load_models_gpu([self.patcher], memory_required=memory_used, force_full_load=self.disable_offload) + + args = {} + if tile_x is not None: + args["tile_x"] = tile_x + if tile_y is not None: + args["tile_y"] = tile_y + if overlap is not None: + args["overlap"] = overlap + + if dims == 1: + args.pop("tile_y") + samples = self.encode_tiled_1d(pixel_samples, **args) + elif dims == 2: + samples = self.encode_tiled_(pixel_samples, **args) + elif dims == 3: + if tile_t is not None: + tile_t_latent = max(2, self.downscale_ratio[0](tile_t)) + else: + tile_t_latent = 9999 + args["tile_t"] = self.upscale_ratio[0](tile_t_latent) + + if overlap_t is None: + args["overlap"] = (1, overlap, overlap) + else: + args["overlap"] = (self.upscale_ratio[0](max(1, min(tile_t_latent // 2, self.downscale_ratio[0](overlap_t)))), overlap, overlap) + maximum = pixel_samples.shape[2] + maximum = self.upscale_ratio[0](self.downscale_ratio[0](maximum)) + + samples = self.encode_tiled_3d(pixel_samples[:,:,:maximum], **args) + + return samples + + def get_sd(self): + return self.first_stage_model.state_dict() + + def spacial_compression_decode(self): + try: + return self.upscale_ratio[-1] + except: + return self.upscale_ratio + + def spacial_compression_encode(self): + try: + return self.downscale_ratio[-1] + except: + return self.downscale_ratio + + def temporal_compression_decode(self): + try: + return round(self.upscale_ratio[0](8192) / 8192) + except: + return None + + +class StyleModel: + def __init__(self, model, device="cpu"): + self.model = model + + def get_cond(self, input): + return self.model(input.last_hidden_state) + + +def load_style_model(ckpt_path): + model_data = comfy.utils.load_torch_file(ckpt_path, safe_load=True) + keys = model_data.keys() + if "style_embedding" in keys: + model = comfy.t2i_adapter.adapter.StyleAdapter(width=1024, context_dim=768, num_head=8, n_layes=3, num_token=8) + elif "redux_down.weight" in keys: + model = comfy.ldm.flux.redux.ReduxImageEncoder() + else: + raise Exception("invalid style model {}".format(ckpt_path)) + model.load_state_dict(model_data) + return StyleModel(model) + +class CLIPType(Enum): + STABLE_DIFFUSION = 1 + STABLE_CASCADE = 2 + SD3 = 3 + STABLE_AUDIO = 4 + HUNYUAN_DIT = 5 + FLUX = 6 + MOCHI = 7 + LTXV = 8 + HUNYUAN_VIDEO = 9 + PIXART = 10 + COSMOS = 11 + LUMINA2 = 12 + WAN = 13 + HIDREAM = 14 + CHROMA = 15 + ACE = 16 + OMNIGEN2 = 17 + QWEN_IMAGE = 18 + HUNYUAN_IMAGE = 19 + + +def load_clip(ckpt_paths, embedding_directory=None, clip_type=CLIPType.STABLE_DIFFUSION, model_options={}): + clip_data = [] + for p in ckpt_paths: + clip_data.append(comfy.utils.load_torch_file(p, safe_load=True)) + return load_text_encoder_state_dicts(clip_data, embedding_directory=embedding_directory, clip_type=clip_type, model_options=model_options) + + +class TEModel(Enum): + CLIP_L = 1 + CLIP_H = 2 + CLIP_G = 3 + T5_XXL = 4 + T5_XL = 5 + T5_BASE = 6 + LLAMA3_8 = 7 + T5_XXL_OLD = 8 + GEMMA_2_2B = 9 + QWEN25_3B = 10 + QWEN25_7B = 11 + BYT5_SMALL_GLYPH = 12 + GEMMA_3_4B = 13 + +def detect_te_model(sd): + if "text_model.encoder.layers.30.mlp.fc1.weight" in sd: + return TEModel.CLIP_G + if "text_model.encoder.layers.22.mlp.fc1.weight" in sd: + return TEModel.CLIP_H + if "text_model.encoder.layers.0.mlp.fc1.weight" in sd: + return TEModel.CLIP_L + if "encoder.block.23.layer.1.DenseReluDense.wi_1.weight" in sd: + weight = sd["encoder.block.23.layer.1.DenseReluDense.wi_1.weight"] + if weight.shape[-1] == 4096: + return TEModel.T5_XXL + elif weight.shape[-1] == 2048: + return TEModel.T5_XL + if 'encoder.block.23.layer.1.DenseReluDense.wi.weight' in sd: + return TEModel.T5_XXL_OLD + if "encoder.block.0.layer.0.SelfAttention.k.weight" in sd: + weight = sd['encoder.block.0.layer.0.SelfAttention.k.weight'] + if weight.shape[0] == 384: + return TEModel.BYT5_SMALL_GLYPH + return TEModel.T5_BASE + if 'model.layers.0.post_feedforward_layernorm.weight' in sd: + if 'model.layers.0.self_attn.q_norm.weight' in sd: + return TEModel.GEMMA_3_4B + return TEModel.GEMMA_2_2B + if 'model.layers.0.self_attn.k_proj.bias' in sd: + weight = sd['model.layers.0.self_attn.k_proj.bias'] + if weight.shape[0] == 256: + return TEModel.QWEN25_3B + if weight.shape[0] == 512: + return TEModel.QWEN25_7B + if "model.layers.0.post_attention_layernorm.weight" in sd: + return TEModel.LLAMA3_8 + return None + + +def t5xxl_detect(clip_data): + weight_name = "encoder.block.23.layer.1.DenseReluDense.wi_1.weight" + weight_name_old = "encoder.block.23.layer.1.DenseReluDense.wi.weight" + + for sd in clip_data: + if weight_name in sd or weight_name_old in sd: + return comfy.text_encoders.sd3_clip.t5_xxl_detect(sd) + + return {} + +def llama_detect(clip_data): + weight_name = "model.layers.0.self_attn.k_proj.weight" + + for sd in clip_data: + if weight_name in sd: + return comfy.text_encoders.hunyuan_video.llama_detect(sd) + + return {} + +def load_text_encoder_state_dicts(state_dicts=[], embedding_directory=None, clip_type=CLIPType.STABLE_DIFFUSION, model_options={}): + clip_data = state_dicts + + class EmptyClass: + pass + + for i in range(len(clip_data)): + if "transformer.resblocks.0.ln_1.weight" in clip_data[i]: + clip_data[i] = comfy.utils.clip_text_transformers_convert(clip_data[i], "", "") + else: + if "text_projection" in clip_data[i]: + clip_data[i]["text_projection.weight"] = clip_data[i]["text_projection"].transpose(0, 1) #old models saved with the CLIPSave node + + tokenizer_data = {} + clip_target = EmptyClass() + clip_target.params = {} + if len(clip_data) == 1: + te_model = detect_te_model(clip_data[0]) + if te_model == TEModel.CLIP_G: + if clip_type == CLIPType.STABLE_CASCADE: + clip_target.clip = sdxl_clip.StableCascadeClipModel + clip_target.tokenizer = sdxl_clip.StableCascadeTokenizer + elif clip_type == CLIPType.SD3: + clip_target.clip = comfy.text_encoders.sd3_clip.sd3_clip(clip_l=False, clip_g=True, t5=False) + clip_target.tokenizer = comfy.text_encoders.sd3_clip.SD3Tokenizer + elif clip_type == CLIPType.HIDREAM: + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(clip_l=False, clip_g=True, t5=False, llama=False, dtype_t5=None, dtype_llama=None, t5xxl_scaled_fp8=None, llama_scaled_fp8=None) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + else: + clip_target.clip = sdxl_clip.SDXLRefinerClipModel + clip_target.tokenizer = sdxl_clip.SDXLTokenizer + elif te_model == TEModel.CLIP_H: + clip_target.clip = comfy.text_encoders.sd2_clip.SD2ClipModel + clip_target.tokenizer = comfy.text_encoders.sd2_clip.SD2Tokenizer + elif te_model == TEModel.T5_XXL: + if clip_type == CLIPType.SD3: + clip_target.clip = comfy.text_encoders.sd3_clip.sd3_clip(clip_l=False, clip_g=False, t5=True, **t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.sd3_clip.SD3Tokenizer + elif clip_type == CLIPType.LTXV: + clip_target.clip = comfy.text_encoders.lt.ltxv_te(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.lt.LTXVT5Tokenizer + elif clip_type == CLIPType.PIXART or clip_type == CLIPType.CHROMA: + clip_target.clip = comfy.text_encoders.pixart_t5.pixart_te(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.pixart_t5.PixArtTokenizer + elif clip_type == CLIPType.WAN: + clip_target.clip = comfy.text_encoders.wan.te(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.wan.WanT5Tokenizer + tokenizer_data["spiece_model"] = clip_data[0].get("spiece_model", None) + elif clip_type == CLIPType.HIDREAM: + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(**t5xxl_detect(clip_data), + clip_l=False, clip_g=False, t5=True, llama=False, dtype_llama=None, llama_scaled_fp8=None) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + else: #CLIPType.MOCHI + clip_target.clip = comfy.text_encoders.genmo.mochi_te(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.genmo.MochiT5Tokenizer + elif te_model == TEModel.T5_XXL_OLD: + clip_target.clip = comfy.text_encoders.cosmos.te(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.cosmos.CosmosT5Tokenizer + elif te_model == TEModel.T5_XL: + clip_target.clip = comfy.text_encoders.aura_t5.AuraT5Model + clip_target.tokenizer = comfy.text_encoders.aura_t5.AuraT5Tokenizer + elif te_model == TEModel.T5_BASE: + if clip_type == CLIPType.ACE or "spiece_model" in clip_data[0]: + clip_target.clip = comfy.text_encoders.ace.AceT5Model + clip_target.tokenizer = comfy.text_encoders.ace.AceT5Tokenizer + tokenizer_data["spiece_model"] = clip_data[0].get("spiece_model", None) + else: + clip_target.clip = comfy.text_encoders.sa_t5.SAT5Model + clip_target.tokenizer = comfy.text_encoders.sa_t5.SAT5Tokenizer + elif te_model == TEModel.GEMMA_2_2B: + clip_target.clip = comfy.text_encoders.lumina2.te(**llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.lumina2.LuminaTokenizer + tokenizer_data["spiece_model"] = clip_data[0].get("spiece_model", None) + elif te_model == TEModel.GEMMA_3_4B: + clip_target.clip = comfy.text_encoders.lumina2.te(**llama_detect(clip_data), model_type="gemma3_4b") + clip_target.tokenizer = comfy.text_encoders.lumina2.NTokenizer + tokenizer_data["spiece_model"] = clip_data[0].get("spiece_model", None) + elif te_model == TEModel.LLAMA3_8: + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(**llama_detect(clip_data), + clip_l=False, clip_g=False, t5=False, llama=True, dtype_t5=None, t5xxl_scaled_fp8=None) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + elif te_model == TEModel.QWEN25_3B: + clip_target.clip = comfy.text_encoders.omnigen2.te(**llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.omnigen2.Omnigen2Tokenizer + elif te_model == TEModel.QWEN25_7B: + if clip_type == CLIPType.HUNYUAN_IMAGE: + clip_target.clip = comfy.text_encoders.hunyuan_image.te(byt5=False, **llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.hunyuan_image.HunyuanImageTokenizer + else: + clip_target.clip = comfy.text_encoders.qwen_image.te(**llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.qwen_image.QwenImageTokenizer + else: + # clip_l + if clip_type == CLIPType.SD3: + clip_target.clip = comfy.text_encoders.sd3_clip.sd3_clip(clip_l=True, clip_g=False, t5=False) + clip_target.tokenizer = comfy.text_encoders.sd3_clip.SD3Tokenizer + elif clip_type == CLIPType.HIDREAM: + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(clip_l=True, clip_g=False, t5=False, llama=False, dtype_t5=None, dtype_llama=None, t5xxl_scaled_fp8=None, llama_scaled_fp8=None) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + else: + clip_target.clip = sd1_clip.SD1ClipModel + clip_target.tokenizer = sd1_clip.SD1Tokenizer + elif len(clip_data) == 2: + if clip_type == CLIPType.SD3: + te_models = [detect_te_model(clip_data[0]), detect_te_model(clip_data[1])] + clip_target.clip = comfy.text_encoders.sd3_clip.sd3_clip(clip_l=TEModel.CLIP_L in te_models, clip_g=TEModel.CLIP_G in te_models, t5=TEModel.T5_XXL in te_models, **t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.sd3_clip.SD3Tokenizer + elif clip_type == CLIPType.HUNYUAN_DIT: + clip_target.clip = comfy.text_encoders.hydit.HyditModel + clip_target.tokenizer = comfy.text_encoders.hydit.HyditTokenizer + elif clip_type == CLIPType.FLUX: + clip_target.clip = comfy.text_encoders.flux.flux_clip(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.flux.FluxTokenizer + elif clip_type == CLIPType.HUNYUAN_VIDEO: + clip_target.clip = comfy.text_encoders.hunyuan_video.hunyuan_video_clip(**llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.hunyuan_video.HunyuanVideoTokenizer + elif clip_type == CLIPType.HIDREAM: + # Detect + hidream_dualclip_classes = [] + for hidream_te in clip_data: + te_model = detect_te_model(hidream_te) + hidream_dualclip_classes.append(te_model) + + clip_l = TEModel.CLIP_L in hidream_dualclip_classes + clip_g = TEModel.CLIP_G in hidream_dualclip_classes + t5 = TEModel.T5_XXL in hidream_dualclip_classes + llama = TEModel.LLAMA3_8 in hidream_dualclip_classes + + # Initialize t5xxl_detect and llama_detect kwargs if needed + t5_kwargs = t5xxl_detect(clip_data) if t5 else {} + llama_kwargs = llama_detect(clip_data) if llama else {} + + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(clip_l=clip_l, clip_g=clip_g, t5=t5, llama=llama, **t5_kwargs, **llama_kwargs) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + elif clip_type == CLIPType.HUNYUAN_IMAGE: + clip_target.clip = comfy.text_encoders.hunyuan_image.te(**llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.hunyuan_image.HunyuanImageTokenizer + else: + clip_target.clip = sdxl_clip.SDXLClipModel + clip_target.tokenizer = sdxl_clip.SDXLTokenizer + elif len(clip_data) == 3: + clip_target.clip = comfy.text_encoders.sd3_clip.sd3_clip(**t5xxl_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.sd3_clip.SD3Tokenizer + elif len(clip_data) == 4: + clip_target.clip = comfy.text_encoders.hidream.hidream_clip(**t5xxl_detect(clip_data), **llama_detect(clip_data)) + clip_target.tokenizer = comfy.text_encoders.hidream.HiDreamTokenizer + + parameters = 0 + for c in clip_data: + parameters += comfy.utils.calculate_parameters(c) + tokenizer_data, model_options = comfy.text_encoders.long_clipl.model_options_long_clip(c, tokenizer_data, model_options) + + clip = CLIP(clip_target, embedding_directory=embedding_directory, parameters=parameters, tokenizer_data=tokenizer_data, model_options=model_options) + for c in clip_data: + m, u = clip.load_sd(c) + if len(m) > 0: + logging.warning("clip missing: {}".format(m)) + + if len(u) > 0: + logging.debug("clip unexpected: {}".format(u)) + return clip + +def load_gligen(ckpt_path): + data = comfy.utils.load_torch_file(ckpt_path, safe_load=True) + model = gligen.load_gligen(data) + if model_management.should_use_fp16(): + model = model.half() + return comfy.model_patcher.ModelPatcher(model, load_device=model_management.get_torch_device(), offload_device=model_management.unet_offload_device()) + +def model_detection_error_hint(path, state_dict): + filename = os.path.basename(path) + if 'lora' in filename.lower(): + return "\nHINT: This seems to be a Lora file and Lora files should be put in the lora folder and loaded with a lora loader node.." + return "" + +def load_checkpoint(config_path=None, ckpt_path=None, output_vae=True, output_clip=True, embedding_directory=None, state_dict=None, config=None): + logging.warning("Warning: The load checkpoint with config function is deprecated and will eventually be removed, please use the other one.") + model, clip, vae, _ = load_checkpoint_guess_config(ckpt_path, output_vae=output_vae, output_clip=output_clip, output_clipvision=False, embedding_directory=embedding_directory, output_model=True) + #TODO: this function is a mess and should be removed eventually + if config is None: + with open(config_path, 'r') as stream: + config = yaml.safe_load(stream) + model_config_params = config['model']['params'] + clip_config = model_config_params['cond_stage_config'] + + if "parameterization" in model_config_params: + if model_config_params["parameterization"] == "v": + m = model.clone() + class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingDiscrete, comfy.model_sampling.V_PREDICTION): + pass + m.add_object_patch("model_sampling", ModelSamplingAdvanced(model.model.model_config)) + model = m + + layer_idx = clip_config.get("params", {}).get("layer_idx", None) + if layer_idx is not None: + clip.clip_layer(layer_idx) + + return (model, clip, vae) + +def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, output_clipvision=False, embedding_directory=None, output_model=True, model_options={}, te_model_options={}): + sd, metadata = comfy.utils.load_torch_file(ckpt_path, return_metadata=True) + out = load_state_dict_guess_config(sd, output_vae, output_clip, output_clipvision, embedding_directory, output_model, model_options, te_model_options=te_model_options, metadata=metadata) + if out is None: + raise RuntimeError("ERROR: Could not detect model type of: {}\n{}".format(ckpt_path, model_detection_error_hint(ckpt_path, sd))) + return out + +def load_state_dict_guess_config(sd, output_vae=True, output_clip=True, output_clipvision=False, embedding_directory=None, output_model=True, model_options={}, te_model_options={}, metadata=None): + clip = None + clipvision = None + vae = None + model = None + model_patcher = None + + diffusion_model_prefix = model_detection.unet_prefix_from_state_dict(sd) + parameters = comfy.utils.calculate_parameters(sd, diffusion_model_prefix) + weight_dtype = comfy.utils.weight_dtype(sd, diffusion_model_prefix) + load_device = model_management.get_torch_device() + + model_config = model_detection.model_config_from_unet(sd, diffusion_model_prefix, metadata=metadata) + if model_config is None: + logging.warning("Warning, This is not a checkpoint file, trying to load it as a diffusion model only.") + diffusion_model = load_diffusion_model_state_dict(sd, model_options={}) + if diffusion_model is None: + return None + return (diffusion_model, None, VAE(sd={}), None) # The VAE object is there to throw an exception if it's actually used' + + + unet_weight_dtype = list(model_config.supported_inference_dtypes) + if model_config.scaled_fp8 is not None: + weight_dtype = None + + model_config.custom_operations = model_options.get("custom_operations", None) + unet_dtype = model_options.get("dtype", model_options.get("weight_dtype", None)) + + if unet_dtype is None: + unet_dtype = model_management.unet_dtype(model_params=parameters, supported_dtypes=unet_weight_dtype, weight_dtype=weight_dtype) + + manual_cast_dtype = model_management.unet_manual_cast(unet_dtype, load_device, model_config.supported_inference_dtypes) + model_config.set_inference_dtype(unet_dtype, manual_cast_dtype) + + if model_config.clip_vision_prefix is not None: + if output_clipvision: + clipvision = clip_vision.load_clipvision_from_sd(sd, model_config.clip_vision_prefix, True) + + if output_model: + inital_load_device = model_management.unet_inital_load_device(parameters, unet_dtype) + model = model_config.get_model(sd, diffusion_model_prefix, device=inital_load_device) + model.load_model_weights(sd, diffusion_model_prefix) + + if output_vae: + vae_sd = comfy.utils.state_dict_prefix_replace(sd, {k: "" for k in model_config.vae_key_prefix}, filter_keys=True) + vae_sd = model_config.process_vae_state_dict(vae_sd) + vae = VAE(sd=vae_sd, metadata=metadata) + + if output_clip: + clip_target = model_config.clip_target(state_dict=sd) + if clip_target is not None: + clip_sd = model_config.process_clip_state_dict(sd) + if len(clip_sd) > 0: + parameters = comfy.utils.calculate_parameters(clip_sd) + clip = CLIP(clip_target, embedding_directory=embedding_directory, tokenizer_data=clip_sd, parameters=parameters, model_options=te_model_options) + m, u = clip.load_sd(clip_sd, full_model=True) + if len(m) > 0: + m_filter = list(filter(lambda a: ".logit_scale" not in a and ".transformer.text_projection.weight" not in a, m)) + if len(m_filter) > 0: + logging.warning("clip missing: {}".format(m)) + else: + logging.debug("clip missing: {}".format(m)) + + if len(u) > 0: + logging.debug("clip unexpected {}:".format(u)) + else: + logging.warning("no CLIP/text encoder weights in checkpoint, the text encoder model will not be loaded.") + + left_over = sd.keys() + if len(left_over) > 0: + logging.debug("left over keys: {}".format(left_over)) + + if output_model: + model_patcher = comfy.model_patcher.ModelPatcher(model, load_device=load_device, offload_device=model_management.unet_offload_device()) + if inital_load_device != torch.device("cpu"): + logging.info("loaded diffusion model directly to GPU") + model_management.load_models_gpu([model_patcher], force_full_load=True) + + return (model_patcher, clip, vae, clipvision) + + +def load_diffusion_model_state_dict(sd, model_options={}, metadata=None): + """ + Loads a UNet diffusion model from a state dictionary, supporting both diffusers and regular formats. + + Args: + sd (dict): State dictionary containing model weights and configuration + model_options (dict, optional): Additional options for model loading. Supports: + - dtype: Override model data type + - custom_operations: Custom model operations + - fp8_optimizations: Enable FP8 optimizations + + Returns: + ModelPatcher: A wrapped model instance that handles device management and weight loading. + Returns None if the model configuration cannot be detected. + + The function: + 1. Detects and handles different model formats (regular, diffusers, mmdit) + 2. Configures model dtype based on parameters and device capabilities + 3. Handles weight conversion and device placement + 4. Manages model optimization settings + 5. Loads weights and returns a device-managed model instance + """ + dtype = model_options.get("dtype", None) + + #Allow loading unets from checkpoint files + diffusion_model_prefix = model_detection.unet_prefix_from_state_dict(sd) + temp_sd = comfy.utils.state_dict_prefix_replace(sd, {diffusion_model_prefix: ""}, filter_keys=True) + if len(temp_sd) > 0: + sd = temp_sd + + parameters = comfy.utils.calculate_parameters(sd) + weight_dtype = comfy.utils.weight_dtype(sd) + + load_device = model_management.get_torch_device() + model_config = model_detection.model_config_from_unet(sd, "", metadata=metadata) + + if model_config is not None: + new_sd = sd + else: + new_sd = model_detection.convert_diffusers_mmdit(sd, "") + if new_sd is not None: #diffusers mmdit + model_config = model_detection.model_config_from_unet(new_sd, "") + if model_config is None: + return None + else: #diffusers unet + model_config = model_detection.model_config_from_diffusers_unet(sd) + if model_config is None: + return None + + diffusers_keys = comfy.utils.unet_to_diffusers(model_config.unet_config) + + new_sd = {} + for k in diffusers_keys: + if k in sd: + new_sd[diffusers_keys[k]] = sd.pop(k) + else: + logging.warning("{} {}".format(diffusers_keys[k], k)) + + offload_device = model_management.unet_offload_device() + unet_weight_dtype = list(model_config.supported_inference_dtypes) + if model_config.scaled_fp8 is not None: + weight_dtype = None + + if dtype is None: + unet_dtype = model_management.unet_dtype(model_params=parameters, supported_dtypes=unet_weight_dtype, weight_dtype=weight_dtype) + else: + unet_dtype = dtype + + if model_config.layer_quant_config is not None: + manual_cast_dtype = model_management.unet_manual_cast(None, load_device, model_config.supported_inference_dtypes) + else: + manual_cast_dtype = model_management.unet_manual_cast(unet_dtype, load_device, model_config.supported_inference_dtypes) + model_config.set_inference_dtype(unet_dtype, manual_cast_dtype) + model_config.custom_operations = model_options.get("custom_operations", model_config.custom_operations) + if model_options.get("fp8_optimizations", False): + model_config.optimizations["fp8"] = True + + model = model_config.get_model(new_sd, "") + model = model.to(offload_device) + model.load_model_weights(new_sd, "") + left_over = sd.keys() + if len(left_over) > 0: + logging.info("left over keys in diffusion model: {}".format(left_over)) + return comfy.model_patcher.ModelPatcher(model, load_device=load_device, offload_device=offload_device) + + +def load_diffusion_model(unet_path, model_options={}): + sd, metadata = comfy.utils.load_torch_file(unet_path, return_metadata=True) + model = load_diffusion_model_state_dict(sd, model_options=model_options, metadata=metadata) + if model is None: + logging.error("ERROR UNSUPPORTED DIFFUSION MODEL {}".format(unet_path)) + raise RuntimeError("ERROR: Could not detect model type of: {}\n{}".format(unet_path, model_detection_error_hint(unet_path, sd))) + return model + +def load_unet(unet_path, dtype=None): + logging.warning("The load_unet function has been deprecated and will be removed please switch to: load_diffusion_model") + return load_diffusion_model(unet_path, model_options={"dtype": dtype}) + +def load_unet_state_dict(sd, dtype=None): + logging.warning("The load_unet_state_dict function has been deprecated and will be removed please switch to: load_diffusion_model_state_dict") + return load_diffusion_model_state_dict(sd, model_options={"dtype": dtype}) + +def save_checkpoint(output_path, model, clip=None, vae=None, clip_vision=None, metadata=None, extra_keys={}): + clip_sd = None + load_models = [model] + if clip is not None: + load_models.append(clip.load_model()) + clip_sd = clip.get_sd() + vae_sd = None + if vae is not None: + vae_sd = vae.get_sd() + + model_management.load_models_gpu(load_models, force_patch_weights=True) + clip_vision_sd = clip_vision.get_sd() if clip_vision is not None else None + sd = model.model.state_dict_for_saving(clip_sd, vae_sd, clip_vision_sd) + for k in extra_keys: + sd[k] = extra_keys[k] + + for k in sd: + t = sd[k] + if not t.is_contiguous(): + sd[k] = t.contiguous() + + comfy.utils.save_torch_file(sd, output_path, metadata=metadata) diff --git a/docs/hel-892/latent-reference/core68__folder_paths.py b/docs/hel-892/latent-reference/core68__folder_paths.py new file mode 100644 index 00000000..f110d832 --- /dev/null +++ b/docs/hel-892/latent-reference/core68__folder_paths.py @@ -0,0 +1,429 @@ +from __future__ import annotations + +import os +import time +import mimetypes +import logging +from typing import Literal, List +from collections.abc import Collection + +from comfy.cli_args import args + +supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'} + +folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {} + +# --base-directory - Resets all default paths configured in folder_paths with a new base path +if args.base_directory: + base_path = os.path.abspath(args.base_directory) +else: + base_path = os.path.dirname(os.path.realpath(__file__)) + +models_dir = os.path.join(base_path, "models") +folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions) +folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"]) + +folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions) +folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions) +folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions) +folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions) +folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions) +folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions) +folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions) +folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"]) +folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions) + +folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions) +folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions) + +folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions) + +folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set()) + +folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions) + +folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions) + +folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""}) + +folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions) + +folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions) + +output_directory = os.path.join(base_path, "output") +temp_directory = os.path.join(base_path, "temp") +input_directory = os.path.join(base_path, "input") +user_directory = os.path.join(base_path, "user") + +filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {} + +class CacheHelper: + """ + Helper class for managing file list cache data. + """ + def __init__(self): + self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {} + self.active = False + + def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]: + if not self.active: + return default + return self.cache.get(key, default) + + def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None: + if self.active: + self.cache[key] = value + + def clear(self): + self.cache.clear() + + def __enter__(self): + self.active = True + return self + + def __exit__(self, exc_type, exc_value, traceback): + self.active = False + self.clear() + +cache_helper = CacheHelper() + +extension_mimetypes_cache = { + "webp" : "image", + "fbx" : "model", +} + +def map_legacy(folder_name: str) -> str: + legacy = {"unet": "diffusion_models", + "clip": "text_encoders"} + return legacy.get(folder_name, folder_name) + +if not os.path.exists(input_directory): + try: + os.makedirs(input_directory) + except: + logging.error("Failed to create input directory") + +def set_output_directory(output_dir: str) -> None: + global output_directory + output_directory = output_dir + +def set_temp_directory(temp_dir: str) -> None: + global temp_directory + temp_directory = temp_dir + +def set_input_directory(input_dir: str) -> None: + global input_directory + input_directory = input_dir + +def get_output_directory() -> str: + global output_directory + return output_directory + +def get_temp_directory() -> str: + global temp_directory + return temp_directory + +def get_input_directory() -> str: + global input_directory + return input_directory + +def get_user_directory() -> str: + return user_directory + +def set_user_directory(user_dir: str) -> None: + global user_directory + user_directory = user_dir + + +#NOTE: used in http server so don't put folders that should not be accessed remotely +def get_directory_by_type(type_name: str) -> str | None: + if type_name == "output": + return get_output_directory() + if type_name == "temp": + return get_temp_directory() + if type_name == "input": + return get_input_directory() + return None + +def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]: + """ + Example: + files = os.listdir(folder_paths.get_input_directory()) + videos = filter_files_content_types(files, ["video"]) + + Note: + - 'model' in MIME context refers to 3D models, not files containing trained weights and parameters + """ + global extension_mimetypes_cache + result = [] + for file in files: + extension = file.split('.')[-1] + if extension not in extension_mimetypes_cache: + mime_type, _ = mimetypes.guess_type(file, strict=False) + if not mime_type: + continue + content_type = mime_type.split('/')[0] + extension_mimetypes_cache[extension] = content_type + else: + content_type = extension_mimetypes_cache[extension] + + if content_type in content_types: + result.append(file) + return result + +# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format +# otherwise use default_path as base_dir +def annotated_filepath(name: str) -> tuple[str, str | None]: + if name.endswith("[output]"): + base_dir = get_output_directory() + name = name[:-9] + elif name.endswith("[input]"): + base_dir = get_input_directory() + name = name[:-8] + elif name.endswith("[temp]"): + base_dir = get_temp_directory() + name = name[:-7] + else: + return name, None + + return name, base_dir + + +def get_annotated_filepath(name: str, default_dir: str | None=None) -> str: + name, base_dir = annotated_filepath(name) + + if base_dir is None: + if default_dir is not None: + base_dir = default_dir + else: + base_dir = get_input_directory() # fallback path + + return os.path.join(base_dir, name) + + +def exists_annotated_filepath(name) -> bool: + name, base_dir = annotated_filepath(name) + + if base_dir is None: + base_dir = get_input_directory() # fallback path + + filepath = os.path.join(base_dir, name) + return os.path.exists(filepath) + + +def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None: + global folder_names_and_paths + folder_name = map_legacy(folder_name) + if folder_name in folder_names_and_paths: + paths, _exts = folder_names_and_paths[folder_name] + if full_folder_path in paths: + if is_default and paths[0] != full_folder_path: + # If the path to the folder is not the first in the list, move it to the beginning. + paths.remove(full_folder_path) + paths.insert(0, full_folder_path) + else: + if is_default: + paths.insert(0, full_folder_path) + else: + paths.append(full_folder_path) + else: + folder_names_and_paths[folder_name] = ([full_folder_path], set()) + +def get_folder_paths(folder_name: str) -> list[str]: + folder_name = map_legacy(folder_name) + return folder_names_and_paths[folder_name][0][:] + +def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]: + if not os.path.isdir(directory): + return [], {} + + if excluded_dir_names is None: + excluded_dir_names = [] + + result = [] + dirs = {} + + # Attempt to add the initial directory to dirs with error handling + try: + dirs[directory] = os.path.getmtime(directory) + except FileNotFoundError: + logging.warning(f"Warning: Unable to access {directory}. Skipping this path.") + + logging.debug("recursive file list on directory {}".format(directory)) + dirpath: str + subdirs: list[str] + filenames: list[str] + + for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True): + subdirs[:] = [d for d in subdirs if d not in excluded_dir_names] + for file_name in filenames: + try: + relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory) + result.append(relative_path) + except: + logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.") + continue + + for d in subdirs: + path: str = os.path.join(dirpath, d) + try: + dirs[path] = os.path.getmtime(path) + except FileNotFoundError: + logging.warning(f"Warning: Unable to access {path}. Skipping this path.") + continue + logging.debug("found {} files".format(len(result))) + return result, dirs + +def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]: + return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files))) + + + +def get_full_path(folder_name: str, filename: str) -> str | None: + """ + Get the full path of a file in a folder, has to be a file + """ + global folder_names_and_paths + folder_name = map_legacy(folder_name) + if folder_name not in folder_names_and_paths: + return None + folders = folder_names_and_paths[folder_name] + filename = os.path.relpath(os.path.join("/", filename), "/") + for x in folders[0]: + full_path = os.path.join(x, filename) + if os.path.isfile(full_path): + return full_path + elif os.path.islink(full_path): + logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path)) + + return None + + +def get_full_path_or_raise(folder_name: str, filename: str) -> str: + """ + Get the full path of a file in a folder, has to be a file + """ + full_path = get_full_path(folder_name, filename) + if full_path is None: + raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.") + return full_path + + +def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]: + folder_name = map_legacy(folder_name) + global folder_names_and_paths + output_list = set() + folders = folder_names_and_paths[folder_name] + output_folders = {} + for x in folders[0]: + files, folders_all = recursive_search(x, excluded_dir_names=[".git"]) + output_list.update(filter_files_extensions(files, folders[1])) + output_folders = {**output_folders, **folders_all} + + return sorted(list(output_list)), output_folders, time.perf_counter() + +def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None: + strong_cache = cache_helper.get(folder_name) + if strong_cache is not None: + return strong_cache + + global filename_list_cache + global folder_names_and_paths + folder_name = map_legacy(folder_name) + if folder_name not in filename_list_cache: + return None + out = filename_list_cache[folder_name] + + for x in out[1]: + time_modified = out[1][x] + folder = x + if os.path.getmtime(folder) != time_modified: + return None + + folders = folder_names_and_paths[folder_name] + for x in folders[0]: + if os.path.isdir(x): + if x not in out[1]: + return None + + return out + +def get_filename_list(folder_name: str) -> list[str]: + folder_name = map_legacy(folder_name) + out = cached_filename_list_(folder_name) + if out is None: + out = get_filename_list_(folder_name) + global filename_list_cache + filename_list_cache[folder_name] = out + cache_helper.set(folder_name, out) + return list(out[0]) + +def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]: + def map_filename(filename: str) -> tuple[int, str]: + prefix_len = len(os.path.basename(filename_prefix)) + prefix = filename[:prefix_len + 1] + try: + digits = int(filename[prefix_len + 1:].split('_')[0]) + except: + digits = 0 + return digits, prefix + + def compute_vars(input: str, image_width: int, image_height: int) -> str: + input = input.replace("%width%", str(image_width)) + input = input.replace("%height%", str(image_height)) + now = time.localtime() + input = input.replace("%year%", str(now.tm_year)) + input = input.replace("%month%", str(now.tm_mon).zfill(2)) + input = input.replace("%day%", str(now.tm_mday).zfill(2)) + input = input.replace("%hour%", str(now.tm_hour).zfill(2)) + input = input.replace("%minute%", str(now.tm_min).zfill(2)) + input = input.replace("%second%", str(now.tm_sec).zfill(2)) + return input + + if "%" in filename_prefix: + filename_prefix = compute_vars(filename_prefix, image_width, image_height) + + subfolder = os.path.dirname(os.path.normpath(filename_prefix)) + filename = os.path.basename(os.path.normpath(filename_prefix)) + + full_output_folder = os.path.join(output_dir, subfolder) + + if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir: + err = "**** ERROR: Saving image outside the output folder is not allowed." + \ + "\n full_output_folder: " + os.path.abspath(full_output_folder) + \ + "\n output_dir: " + output_dir + \ + "\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) + logging.error(err) + raise Exception(err) + + try: + counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1 + except ValueError: + counter = 1 + except FileNotFoundError: + os.makedirs(full_output_folder, exist_ok=True) + counter = 1 + return full_output_folder, filename, counter, subfolder, filename_prefix + +def get_input_subfolders() -> list[str]: + """Returns a list of all subfolder paths in the input directory, recursively. + + Returns: + List of folder paths relative to the input directory, excluding the root directory + """ + input_dir = get_input_directory() + folders = [] + + try: + if not os.path.exists(input_dir): + return [] + + for root, dirs, _ in os.walk(input_dir): + rel_path = os.path.relpath(root, input_dir) + if rel_path != ".": # Only include non-root directories + # Normalize path separators to forward slashes + folders.append(rel_path.replace(os.sep, '/')) + + return sorted(folders) + except FileNotFoundError: + return [] diff --git a/docs/hel-892/latent-reference/core68__nodes.py b/docs/hel-892/latent-reference/core68__nodes.py new file mode 100644 index 00000000..5689f6fe --- /dev/null +++ b/docs/hel-892/latent-reference/core68__nodes.py @@ -0,0 +1,2423 @@ +from __future__ import annotations +import torch + + +import os +import sys +import json +import hashlib +import inspect +import traceback +import math +import time +import random +import logging + +from PIL import Image, ImageOps, ImageSequence +from PIL.PngImagePlugin import PngInfo + +import numpy as np +import safetensors.torch + +sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy")) + +import comfy.diffusers_load +import comfy.samplers +import comfy.sample +import comfy.sd +import comfy.utils +import comfy.controlnet +from comfy.comfy_types import IO, ComfyNodeABC, InputTypeDict, FileLocator +from comfy_api.internal import register_versions, ComfyAPIWithVersion +from comfy_api.version_list import supported_versions +from comfy_api.latest import io, ComfyExtension + +import comfy.clip_vision + +import comfy.model_management +from comfy.cli_args import args + +import importlib + +import folder_paths +import latent_preview +import node_helpers + +def before_node_execution(): + comfy.model_management.throw_exception_if_processing_interrupted() + +def interrupt_processing(value=True): + comfy.model_management.interrupt_current_processing(value) + +MAX_RESOLUTION=16384 + +class CLIPTextEncode(ComfyNodeABC): + @classmethod + def INPUT_TYPES(s) -> InputTypeDict: + return { + "required": { + "text": (IO.STRING, {"multiline": True, "dynamicPrompts": True, "tooltip": "The text to be encoded."}), + "clip": (IO.CLIP, {"tooltip": "The CLIP model used for encoding the text."}) + } + } + RETURN_TYPES = (IO.CONDITIONING,) + OUTPUT_TOOLTIPS = ("A conditioning containing the embedded text used to guide the diffusion model.",) + FUNCTION = "encode" + + CATEGORY = "conditioning" + DESCRIPTION = "Encodes a text prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images." + + def encode(self, clip, text): + if clip is None: + raise RuntimeError("ERROR: clip input is invalid: None\n\nIf the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.") + tokens = clip.tokenize(text) + return (clip.encode_from_tokens_scheduled(tokens), ) + + +class ConditioningCombine: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_1": ("CONDITIONING", ), "conditioning_2": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "combine" + + CATEGORY = "conditioning" + + def combine(self, conditioning_1, conditioning_2): + return (conditioning_1 + conditioning_2, ) + +class ConditioningAverage : + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), "conditioning_from": ("CONDITIONING", ), + "conditioning_to_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "addWeighted" + + CATEGORY = "conditioning" + + def addWeighted(self, conditioning_to, conditioning_from, conditioning_to_strength): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningAverage conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + pooled_output_from = conditioning_from[0][1].get("pooled_output", None) + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + pooled_output_to = conditioning_to[i][1].get("pooled_output", pooled_output_from) + t0 = cond_from[:,:t1.shape[1]] + if t0.shape[1] < t1.shape[1]: + t0 = torch.cat([t0] + [torch.zeros((1, (t1.shape[1] - t0.shape[1]), t1.shape[2]))], dim=1) + + tw = torch.mul(t1, conditioning_to_strength) + torch.mul(t0, (1.0 - conditioning_to_strength)) + t_to = conditioning_to[i][1].copy() + if pooled_output_from is not None and pooled_output_to is not None: + t_to["pooled_output"] = torch.mul(pooled_output_to, conditioning_to_strength) + torch.mul(pooled_output_from, (1.0 - conditioning_to_strength)) + elif pooled_output_from is not None: + t_to["pooled_output"] = pooled_output_from + + n = [tw, t_to] + out.append(n) + return (out, ) + +class ConditioningConcat: + @classmethod + def INPUT_TYPES(s): + return {"required": { + "conditioning_to": ("CONDITIONING",), + "conditioning_from": ("CONDITIONING",), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "concat" + + CATEGORY = "conditioning" + + def concat(self, conditioning_to, conditioning_from): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningConcat conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + tw = torch.cat((t1, cond_from),1) + n = [tw, conditioning_to[i][1].copy()] + out.append(n) + + return (out, ) + +class ConditioningSetArea: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": (height // 8, width // 8, y // 8, x // 8), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaPercentage: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "height": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "x": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "y": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": ("percentage", height, width, y, x), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaStrength: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, strength): + c = node_helpers.conditioning_set_values(conditioning, {"strength": strength}) + return (c, ) + + +class ConditioningSetMask: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "mask": ("MASK", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "set_cond_area": (["default", "mask bounds"],), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning" + + def append(self, conditioning, mask, set_cond_area, strength): + set_area_to_bounds = False + if set_cond_area != "default": + set_area_to_bounds = True + if len(mask.shape) < 3: + mask = mask.unsqueeze(0) + + c = node_helpers.conditioning_set_values(conditioning, {"mask": mask, + "set_area_to_bounds": set_area_to_bounds, + "mask_strength": strength}) + return (c, ) + +class ConditioningZeroOut: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "zero_out" + + CATEGORY = "advanced/conditioning" + + def zero_out(self, conditioning): + c = [] + for t in conditioning: + d = t[1].copy() + pooled_output = d.get("pooled_output", None) + if pooled_output is not None: + d["pooled_output"] = torch.zeros_like(pooled_output) + conditioning_lyrics = d.get("conditioning_lyrics", None) + if conditioning_lyrics is not None: + d["conditioning_lyrics"] = torch.zeros_like(conditioning_lyrics) + n = [torch.zeros_like(t[0]), d] + c.append(n) + return (c, ) + +class ConditioningSetTimestepRange: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "start": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "set_range" + + CATEGORY = "advanced/conditioning" + + def set_range(self, conditioning, start, end): + c = node_helpers.conditioning_set_values(conditioning, {"start_percent": start, + "end_percent": end}) + return (c, ) + +class VAEDecode: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "samples": ("LATENT", {"tooltip": "The latent to be decoded."}), + "vae": ("VAE", {"tooltip": "The VAE model used for decoding the latent."}) + } + } + RETURN_TYPES = ("IMAGE",) + OUTPUT_TOOLTIPS = ("The decoded image.",) + FUNCTION = "decode" + + CATEGORY = "latent" + DESCRIPTION = "Decodes latent images back into pixel space images." + + def decode(self, vae, samples): + images = vae.decode(samples["samples"]) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEDecodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"samples": ("LATENT", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 32}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to decode at a time."}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap."}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "decode" + + CATEGORY = "_for_testing" + + def decode(self, vae, samples, tile_size, overlap=64, temporal_size=64, temporal_overlap=8): + if tile_size < overlap * 4: + overlap = tile_size // 4 + if temporal_size < temporal_overlap * 2: + temporal_overlap = temporal_overlap // 2 + temporal_compression = vae.temporal_compression_decode() + if temporal_compression is not None: + temporal_size = max(2, temporal_size // temporal_compression) + temporal_overlap = max(1, min(temporal_size // 2, temporal_overlap // temporal_compression)) + else: + temporal_size = None + temporal_overlap = None + + compression = vae.spacial_compression_decode() + images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", )}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "latent" + + def encode(self, vae, pixels): + t = vae.encode(pixels[:,:,:,:3]) + return ({"samples":t}, ) + +class VAEEncodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"pixels": ("IMAGE", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 64}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to encode at a time."}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap."}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "_for_testing" + + def encode(self, vae, pixels, tile_size, overlap, temporal_size=64, temporal_overlap=8): + t = vae.encode_tiled(pixels[:,:,:,:3], tile_x=tile_size, tile_y=tile_size, overlap=overlap, tile_t=temporal_size, overlap_t=temporal_overlap) + return ({"samples": t}, ) + +class VAEEncodeForInpaint: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", ), "mask": ("MASK", ), "grow_mask_by": ("INT", {"default": 6, "min": 0, "max": 64, "step": 1}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "latent/inpaint" + + def encode(self, vae, pixels, mask, grow_mask_by=6): + x = (pixels.shape[1] // vae.downscale_ratio) * vae.downscale_ratio + y = (pixels.shape[2] // vae.downscale_ratio) * vae.downscale_ratio + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + pixels = pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % vae.downscale_ratio) // 2 + y_offset = (pixels.shape[2] % vae.downscale_ratio) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + #grow mask by a few pixels to keep things seamless in latent space + if grow_mask_by == 0: + mask_erosion = mask + else: + kernel_tensor = torch.ones((1, 1, grow_mask_by, grow_mask_by)) + padding = math.ceil((grow_mask_by - 1) / 2) + + mask_erosion = torch.clamp(torch.nn.functional.conv2d(mask.round(), kernel_tensor, padding=padding), 0, 1) + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + t = vae.encode(pixels) + + return ({"samples":t, "noise_mask": (mask_erosion[:,:,:x,:y].round())}, ) + + +class InpaintModelConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "vae": ("VAE", ), + "pixels": ("IMAGE", ), + "mask": ("MASK", ), + "noise_mask": ("BOOLEAN", {"default": True, "tooltip": "Add a noise mask to the latent so sampling will only happen within the mask. Might improve results or completely break things depending on the model."}), + }} + + RETURN_TYPES = ("CONDITIONING","CONDITIONING","LATENT") + RETURN_NAMES = ("positive", "negative", "latent") + FUNCTION = "encode" + + CATEGORY = "conditioning/inpaint" + + def encode(self, positive, negative, pixels, vae, mask, noise_mask=True): + x = (pixels.shape[1] // 8) * 8 + y = (pixels.shape[2] // 8) * 8 + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + orig_pixels = pixels + pixels = orig_pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % 8) // 2 + y_offset = (pixels.shape[2] % 8) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + concat_latent = vae.encode(pixels) + orig_latent = vae.encode(orig_pixels) + + out_latent = {} + + out_latent["samples"] = orig_latent + if noise_mask: + out_latent["noise_mask"] = mask + + out = [] + for conditioning in [positive, negative]: + c = node_helpers.conditioning_set_values(conditioning, {"concat_latent_image": concat_latent, + "concat_mask": mask}) + out.append(c) + return (out[0], out[1], out_latent) + + +class SaveLatent: + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT", ), + "filename_prefix": ("STRING", {"default": "latents/ComfyUI"})}, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + RETURN_TYPES = () + FUNCTION = "save" + + OUTPUT_NODE = True + + CATEGORY = "_for_testing" + + def save(self, samples, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir) + + # support save metadata for latent sharing + prompt_info = "" + if prompt is not None: + prompt_info = json.dumps(prompt) + + metadata = None + if not args.disable_metadata: + metadata = {"prompt": prompt_info} + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata[x] = json.dumps(extra_pnginfo[x]) + + file = f"{filename}_{counter:05}_.latent" + + results: list[FileLocator] = [] + results.append({ + "filename": file, + "subfolder": subfolder, + "type": "output" + }) + + file = os.path.join(full_output_folder, file) + + output = {} + output["latent_tensor"] = samples["samples"].contiguous() + output["latent_format_version_0"] = torch.tensor([]) + + comfy.utils.save_torch_file(output, file, metadata=metadata) + return { "ui": { "latents": results } } + + +class LoadLatent: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f)) and f.endswith(".latent")] + return {"required": {"latent": [sorted(files), ]}, } + + CATEGORY = "_for_testing" + + RETURN_TYPES = ("LATENT", ) + FUNCTION = "load" + + def load(self, latent): + latent_path = folder_paths.get_annotated_filepath(latent) + latent = safetensors.torch.load_file(latent_path, device="cpu") + multiplier = 1.0 + if "latent_format_version_0" not in latent: + multiplier = 1.0 / 0.18215 + samples = {"samples": latent["latent_tensor"].float() * multiplier} + return (samples, ) + + @classmethod + def IS_CHANGED(s, latent): + image_path = folder_paths.get_annotated_filepath(latent) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, latent): + if not folder_paths.exists_annotated_filepath(latent): + return "Invalid latent file: {}".format(latent) + return True + + +class CheckpointLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "config_name": (folder_paths.get_filename_list("configs"), ), + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), )}} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders" + DEPRECATED = True + + def load_checkpoint(self, config_name, ckpt_name): + config_path = folder_paths.get_full_path("configs", config_name) + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + return comfy.sd.load_checkpoint(config_path, ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + +class CheckpointLoaderSimple: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), {"tooltip": "The name of the checkpoint (model) to load."}), + } + } + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + OUTPUT_TOOLTIPS = ("The model used for denoising latents.", + "The CLIP model used for encoding text prompts.", + "The VAE model used for encoding and decoding images to and from latent space.") + FUNCTION = "load_checkpoint" + + CATEGORY = "loaders" + DESCRIPTION = "Loads a diffusion model checkpoint, diffusion models are used to denoise latents." + + def load_checkpoint(self, ckpt_name): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out[:3] + +class DiffusersLoader: + @classmethod + def INPUT_TYPES(cls): + paths = [] + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + for root, subdir, files in os.walk(search_path, followlinks=True): + if "model_index.json" in files: + paths.append(os.path.relpath(root, start=search_path)) + + return {"required": {"model_path": (paths,), }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders/deprecated" + + def load_checkpoint(self, model_path, output_vae=True, output_clip=True): + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + path = os.path.join(search_path, model_path) + if os.path.exists(path): + model_path = path + break + + return comfy.diffusers_load.load_diffusers(model_path, output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings")) + + +class unCLIPCheckpointLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "ckpt_name": (folder_paths.get_filename_list("checkpoints"), ), + }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE", "CLIP_VISION") + FUNCTION = "load_checkpoint" + + CATEGORY = "loaders" + + def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, output_clipvision=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out + +class CLIPSetLastLayer: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip": ("CLIP", ), + "stop_at_clip_layer": ("INT", {"default": -1, "min": -24, "max": -1, "step": 1}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "set_last_layer" + + CATEGORY = "conditioning" + + def set_last_layer(self, clip, stop_at_clip_layer): + clip = clip.clone() + clip.clip_layer(stop_at_clip_layer) + return (clip,) + +class LoraLoader: + def __init__(self): + self.loaded_lora = None + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The diffusion model the LoRA will be applied to."}), + "clip": ("CLIP", {"tooltip": "The CLIP model the LoRA will be applied to."}), + "lora_name": (folder_paths.get_filename_list("loras"), {"tooltip": "The name of the LoRA."}), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the diffusion model. This value can be negative."}), + "strength_clip": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the CLIP model. This value can be negative."}), + } + } + + RETURN_TYPES = ("MODEL", "CLIP") + OUTPUT_TOOLTIPS = ("The modified diffusion model.", "The modified CLIP model.") + FUNCTION = "load_lora" + + CATEGORY = "loaders" + DESCRIPTION = "LoRAs are used to modify diffusion and CLIP models, altering the way in which latents are denoised such as applying styles. Multiple LoRA nodes can be linked together." + + def load_lora(self, model, clip, lora_name, strength_model, strength_clip): + if strength_model == 0 and strength_clip == 0: + return (model, clip) + + lora_path = folder_paths.get_full_path_or_raise("loras", lora_name) + lora = None + if self.loaded_lora is not None: + if self.loaded_lora[0] == lora_path: + lora = self.loaded_lora[1] + else: + self.loaded_lora = None + + if lora is None: + lora = comfy.utils.load_torch_file(lora_path, safe_load=True) + self.loaded_lora = (lora_path, lora) + + model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora, strength_model, strength_clip) + return (model_lora, clip_lora) + +class LoraLoaderModelOnly(LoraLoader): + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "lora_name": (folder_paths.get_filename_list("loras"), ), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01}), + }} + RETURN_TYPES = ("MODEL",) + FUNCTION = "load_lora_model_only" + + def load_lora_model_only(self, model, lora_name, strength_model): + return (self.load_lora(model, None, lora_name, strength_model, 0)[0],) + +class VAELoader: + @staticmethod + def vae_list(): + vaes = folder_paths.get_filename_list("vae") + approx_vaes = folder_paths.get_filename_list("vae_approx") + sdxl_taesd_enc = False + sdxl_taesd_dec = False + sd1_taesd_enc = False + sd1_taesd_dec = False + sd3_taesd_enc = False + sd3_taesd_dec = False + f1_taesd_enc = False + f1_taesd_dec = False + + for v in approx_vaes: + if v.startswith("taesd_decoder."): + sd1_taesd_dec = True + elif v.startswith("taesd_encoder."): + sd1_taesd_enc = True + elif v.startswith("taesdxl_decoder."): + sdxl_taesd_dec = True + elif v.startswith("taesdxl_encoder."): + sdxl_taesd_enc = True + elif v.startswith("taesd3_decoder."): + sd3_taesd_dec = True + elif v.startswith("taesd3_encoder."): + sd3_taesd_enc = True + elif v.startswith("taef1_encoder."): + f1_taesd_dec = True + elif v.startswith("taef1_decoder."): + f1_taesd_enc = True + if sd1_taesd_dec and sd1_taesd_enc: + vaes.append("taesd") + if sdxl_taesd_dec and sdxl_taesd_enc: + vaes.append("taesdxl") + if sd3_taesd_dec and sd3_taesd_enc: + vaes.append("taesd3") + if f1_taesd_dec and f1_taesd_enc: + vaes.append("taef1") + vaes.append("pixel_space") + return vaes + + @staticmethod + def load_taesd(name): + sd = {} + approx_vaes = folder_paths.get_filename_list("vae_approx") + + encoder = next(filter(lambda a: a.startswith("{}_encoder.".format(name)), approx_vaes)) + decoder = next(filter(lambda a: a.startswith("{}_decoder.".format(name)), approx_vaes)) + + enc = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", encoder)) + for k in enc: + sd["taesd_encoder.{}".format(k)] = enc[k] + + dec = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", decoder)) + for k in dec: + sd["taesd_decoder.{}".format(k)] = dec[k] + + if name == "taesd": + sd["vae_scale"] = torch.tensor(0.18215) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesdxl": + sd["vae_scale"] = torch.tensor(0.13025) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesd3": + sd["vae_scale"] = torch.tensor(1.5305) + sd["vae_shift"] = torch.tensor(0.0609) + elif name == "taef1": + sd["vae_scale"] = torch.tensor(0.3611) + sd["vae_shift"] = torch.tensor(0.1159) + return sd + + @classmethod + def INPUT_TYPES(s): + return {"required": { "vae_name": (s.vae_list(), )}} + RETURN_TYPES = ("VAE",) + FUNCTION = "load_vae" + + CATEGORY = "loaders" + + #TODO: scale factor? + def load_vae(self, vae_name): + if vae_name == "pixel_space": + sd = {} + sd["pixel_space_vae"] = torch.tensor(1.0) + elif vae_name in ["taesd", "taesdxl", "taesd3", "taef1"]: + sd = self.load_taesd(vae_name) + else: + vae_path = folder_paths.get_full_path_or_raise("vae", vae_name) + sd = comfy.utils.load_torch_file(vae_path) + vae = comfy.sd.VAE(sd=sd) + vae.throw_exception_if_invalid() + return (vae,) + +class ControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "loaders" + + def load_controlnet(self, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path) + if controlnet is None: + raise RuntimeError("ERROR: controlnet file is invalid and does not contain a valid controlnet model.") + return (controlnet,) + +class DiffControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "loaders" + + def load_controlnet(self, model, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path, model) + return (controlnet,) + + +class ControlNetApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_controlnet" + + DEPRECATED = True + CATEGORY = "conditioning/controlnet" + + def apply_controlnet(self, conditioning, control_net, image, strength): + if strength == 0: + return (conditioning, ) + + c = [] + control_hint = image.movedim(-1,1) + for t in conditioning: + n = [t[0], t[1].copy()] + c_net = control_net.copy().set_cond_hint(control_hint, strength) + if 'control' in t[1]: + c_net.set_previous_controlnet(t[1]['control']) + n[1]['control'] = c_net + n[1]['control_apply_to_uncond'] = True + c.append(n) + return (c, ) + + +class ControlNetApplyAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }, + "optional": {"vae": ("VAE", ), + } + } + + RETURN_TYPES = ("CONDITIONING","CONDITIONING") + RETURN_NAMES = ("positive", "negative") + FUNCTION = "apply_controlnet" + + CATEGORY = "conditioning/controlnet" + + def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None, extra_concat=[]): + if strength == 0: + return (positive, negative) + + control_hint = image.movedim(-1,1) + cnets = {} + + out = [] + for conditioning in [positive, negative]: + c = [] + for t in conditioning: + d = t[1].copy() + + prev_cnet = d.get('control', None) + if prev_cnet in cnets: + c_net = cnets[prev_cnet] + else: + c_net = control_net.copy().set_cond_hint(control_hint, strength, (start_percent, end_percent), vae=vae, extra_concat=extra_concat) + c_net.set_previous_controlnet(prev_cnet) + cnets[prev_cnet] = c_net + + d['control'] = c_net + d['control_apply_to_uncond'] = False + n = [t[0], d] + c.append(n) + out.append(c) + return (out[0], out[1]) + + +class UNETLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "unet_name": (folder_paths.get_filename_list("diffusion_models"), ), + "weight_dtype": (["default", "fp8_e4m3fn", "fp8_e4m3fn_fast", "fp8_e5m2"],) + }} + RETURN_TYPES = ("MODEL",) + FUNCTION = "load_unet" + + CATEGORY = "advanced/loaders" + + def load_unet(self, unet_name, weight_dtype): + model_options = {} + if weight_dtype == "fp8_e4m3fn": + model_options["dtype"] = torch.float8_e4m3fn + elif weight_dtype == "fp8_e4m3fn_fast": + model_options["dtype"] = torch.float8_e4m3fn + model_options["fp8_optimizations"] = True + elif weight_dtype == "fp8_e5m2": + model_options["dtype"] = torch.float8_e5m2 + + unet_path = folder_paths.get_full_path_or_raise("diffusion_models", unet_name) + model = comfy.sd.load_diffusion_model(unet_path, model_options=model_options) + return (model,) + +class CLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["stable_diffusion", "stable_cascade", "sd3", "stable_audio", "mochi", "ltxv", "pixart", "cosmos", "lumina2", "wan", "hidream", "chroma", "ace", "omnigen2", "qwen_image", "hunyuan_image"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nstable_diffusion: clip-l\nstable_cascade: clip-g\nsd3: t5 xxl/ clip-g / clip-l\nstable_audio: t5 base\nmochi: t5 xxl\ncosmos: old t5 xxl\nlumina2: gemma 2 2B\nwan: umt5 xxl\n hidream: llama-3.1 (Recommend) or t5\nomnigen2: qwen vl 2.5 3B" + + def load_clip(self, clip_name, type="stable_diffusion", device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip_path = folder_paths.get_full_path_or_raise("text_encoders", clip_name) + clip = comfy.sd.load_clip(ckpt_paths=[clip_path], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class DualCLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name1": (folder_paths.get_filename_list("text_encoders"), ), + "clip_name2": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["sdxl", "sd3", "flux", "hunyuan_video", "hidream", "hunyuan_image"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nsdxl: clip-l, clip-g\nsd3: clip-l, clip-g / clip-l, t5 / clip-g, t5\nflux: clip-l, t5\nhidream: at least one of t5 or llama, recommended t5 and llama\nhunyuan_image: qwen2.5vl 7b and byt5 small" + + def load_clip(self, clip_name1, clip_name2, type, device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + clip_path1 = folder_paths.get_full_path_or_raise("text_encoders", clip_name1) + clip_path2 = folder_paths.get_full_path_or_raise("text_encoders", clip_name2) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip = comfy.sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class CLIPVisionLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("clip_vision"), ), + }} + RETURN_TYPES = ("CLIP_VISION",) + FUNCTION = "load_clip" + + CATEGORY = "loaders" + + def load_clip(self, clip_name): + clip_path = folder_paths.get_full_path_or_raise("clip_vision", clip_name) + clip_vision = comfy.clip_vision.load(clip_path) + if clip_vision is None: + raise RuntimeError("ERROR: clip vision file is invalid and does not contain a valid vision model.") + return (clip_vision,) + +class CLIPVisionEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_vision": ("CLIP_VISION",), + "image": ("IMAGE",), + "crop": (["center", "none"],) + }} + RETURN_TYPES = ("CLIP_VISION_OUTPUT",) + FUNCTION = "encode" + + CATEGORY = "conditioning" + + def encode(self, clip_vision, image, crop): + crop_image = True + if crop != "center": + crop_image = False + output = clip_vision.encode_image(image, crop=crop_image) + return (output,) + +class StyleModelLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "style_model_name": (folder_paths.get_filename_list("style_models"), )}} + + RETURN_TYPES = ("STYLE_MODEL",) + FUNCTION = "load_style_model" + + CATEGORY = "loaders" + + def load_style_model(self, style_model_name): + style_model_path = folder_paths.get_full_path_or_raise("style_models", style_model_name) + style_model = comfy.sd.load_style_model(style_model_path) + return (style_model,) + + +class StyleModelApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "style_model": ("STYLE_MODEL", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}), + "strength_type": (["multiply", "attn_bias"], ), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_stylemodel" + + CATEGORY = "conditioning/style_model" + + def apply_stylemodel(self, conditioning, style_model, clip_vision_output, strength, strength_type): + cond = style_model.get_cond(clip_vision_output).flatten(start_dim=0, end_dim=1).unsqueeze(dim=0) + if strength_type == "multiply": + cond *= strength + + n = cond.shape[1] + c_out = [] + for t in conditioning: + (txt, keys) = t + keys = keys.copy() + # even if the strength is 1.0 (i.e, no change), if there's already a mask, we have to add to it + if "attention_mask" in keys or (strength_type == "attn_bias" and strength != 1.0): + # math.log raises an error if the argument is zero + # torch.log returns -inf, which is what we want + attn_bias = torch.log(torch.Tensor([strength if strength_type == "attn_bias" else 1.0])) + # get the size of the mask image + mask_ref_size = keys.get("attention_mask_img_shape", (1, 1)) + n_ref = mask_ref_size[0] * mask_ref_size[1] + n_txt = txt.shape[1] + # grab the existing mask + mask = keys.get("attention_mask", None) + # create a default mask if it doesn't exist + if mask is None: + mask = torch.zeros((txt.shape[0], n_txt + n_ref, n_txt + n_ref), dtype=torch.float16) + # convert the mask dtype, because it might be boolean + # we want it to be interpreted as a bias + if mask.dtype == torch.bool: + # log(True) = log(1) = 0 + # log(False) = log(0) = -inf + mask = torch.log(mask.to(dtype=torch.float16)) + # now we make the mask bigger to add space for our new tokens + new_mask = torch.zeros((txt.shape[0], n_txt + n + n_ref, n_txt + n + n_ref), dtype=torch.float16) + # copy over the old mask, in quandrants + new_mask[:, :n_txt, :n_txt] = mask[:, :n_txt, :n_txt] + new_mask[:, :n_txt, n_txt+n:] = mask[:, :n_txt, n_txt:] + new_mask[:, n_txt+n:, :n_txt] = mask[:, n_txt:, :n_txt] + new_mask[:, n_txt+n:, n_txt+n:] = mask[:, n_txt:, n_txt:] + # now fill in the attention bias to our redux tokens + new_mask[:, :n_txt, n_txt:n_txt+n] = attn_bias + new_mask[:, n_txt+n:, n_txt:n_txt+n] = attn_bias + keys["attention_mask"] = new_mask.to(txt.device) + keys["attention_mask_img_shape"] = mask_ref_size + + c_out.append([torch.cat((txt, cond), dim=1), keys]) + + return (c_out,) + +class unCLIPConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}), + "noise_augmentation": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_adm" + + CATEGORY = "conditioning" + + def apply_adm(self, conditioning, clip_vision_output, strength, noise_augmentation): + if strength == 0: + return (conditioning, ) + + c = node_helpers.conditioning_set_values(conditioning, {"unclip_conditioning": [{"clip_vision_output": clip_vision_output, "strength": strength, "noise_augmentation": noise_augmentation}]}, append=True) + return (c, ) + +class GLIGENLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "gligen_name": (folder_paths.get_filename_list("gligen"), )}} + + RETURN_TYPES = ("GLIGEN",) + FUNCTION = "load_gligen" + + CATEGORY = "loaders" + + def load_gligen(self, gligen_name): + gligen_path = folder_paths.get_full_path_or_raise("gligen", gligen_name) + gligen = comfy.sd.load_gligen(gligen_path) + return (gligen,) + +class GLIGENTextBoxApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), + "clip": ("CLIP", ), + "gligen_textbox_model": ("GLIGEN", ), + "text": ("STRING", {"multiline": True, "dynamicPrompts": True}), + "width": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "conditioning/gligen" + + def append(self, conditioning_to, clip, gligen_textbox_model, text, width, height, x, y): + c = [] + cond, cond_pooled = clip.encode_from_tokens(clip.tokenize(text), return_pooled="unprojected") + for t in conditioning_to: + n = [t[0], t[1].copy()] + position_params = [(cond_pooled, height // 8, width // 8, y // 8, x // 8)] + prev = [] + if "gligen" in n[1]: + prev = n[1]['gligen'][2] + + n[1]['gligen'] = ("position", gligen_textbox_model, prev + position_params) + c.append(n) + return (c, ) + +class EmptyLatentImage: + def __init__(self): + self.device = comfy.model_management.intermediate_device() + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The width of the latent images in pixels."}), + "height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The height of the latent images in pixels."}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096, "tooltip": "The number of latent images in the batch."}) + } + } + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The empty latent image batch.",) + FUNCTION = "generate" + + CATEGORY = "latent" + DESCRIPTION = "Create a new batch of empty latent images to be denoised via sampling." + + def generate(self, width, height, batch_size=1): + latent = torch.zeros([batch_size, 4, height // 8, width // 8], device=self.device) + return ({"samples":latent}, ) + + +class LatentFromBatch: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "batch_index": ("INT", {"default": 0, "min": 0, "max": 63}), + "length": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "frombatch" + + CATEGORY = "latent/batch" + + def frombatch(self, samples, batch_index, length): + s = samples.copy() + s_in = samples["samples"] + batch_index = min(s_in.shape[0] - 1, batch_index) + length = min(s_in.shape[0] - batch_index, length) + s["samples"] = s_in[batch_index:batch_index + length].clone() + if "noise_mask" in samples: + masks = samples["noise_mask"] + if masks.shape[0] == 1: + s["noise_mask"] = masks.clone() + else: + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat(math.ceil(s_in.shape[0] / masks.shape[0]), 1, 1, 1)[:s_in.shape[0]] + s["noise_mask"] = masks[batch_index:batch_index + length].clone() + if "batch_index" not in s: + s["batch_index"] = [x for x in range(batch_index, batch_index+length)] + else: + s["batch_index"] = samples["batch_index"][batch_index:batch_index + length] + return (s,) + +class RepeatLatentBatch: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "amount": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "repeat" + + CATEGORY = "latent/batch" + + def repeat(self, samples, amount): + s = samples.copy() + s_in = samples["samples"] + + s["samples"] = s_in.repeat((amount,) + ((1,) * (s_in.ndim - 1))) + if "noise_mask" in samples and samples["noise_mask"].shape[0] > 1: + masks = samples["noise_mask"] + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat((math.ceil(s_in.shape[0] / masks.shape[0]),) + ((1,) * (masks.ndim - 1)))[:s_in.shape[0]] + s["noise_mask"] = samples["noise_mask"].repeat((amount,) + ((1,) * (samples["noise_mask"].ndim - 1))) + if "batch_index" in s: + offset = max(s["batch_index"]) - min(s["batch_index"]) + 1 + s["batch_index"] = s["batch_index"] + [x + (i * offset) for i in range(1, amount) for x in s["batch_index"]] + return (s,) + +class LatentUpscale: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "latent" + + def upscale(self, samples, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = samples + else: + s = samples.copy() + + if width == 0: + height = max(64, height) + width = max(64, round(samples["samples"].shape[-1] * height / samples["samples"].shape[-2])) + elif height == 0: + width = max(64, width) + height = max(64, round(samples["samples"].shape[-2] * width / samples["samples"].shape[-1])) + else: + width = max(64, width) + height = max(64, height) + + s["samples"] = comfy.utils.common_upscale(samples["samples"], width // 8, height // 8, upscale_method, crop) + return (s,) + +class LatentUpscaleBy: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.5, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "latent" + + def upscale(self, samples, upscale_method, scale_by): + s = samples.copy() + width = round(samples["samples"].shape[-1] * scale_by) + height = round(samples["samples"].shape[-2] * scale_by) + s["samples"] = comfy.utils.common_upscale(samples["samples"], width, height, upscale_method, "disabled") + return (s,) + +class LatentRotate: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "rotation": (["none", "90 degrees", "180 degrees", "270 degrees"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "rotate" + + CATEGORY = "latent/transform" + + def rotate(self, samples, rotation): + s = samples.copy() + rotate_by = 0 + if rotation.startswith("90"): + rotate_by = 1 + elif rotation.startswith("180"): + rotate_by = 2 + elif rotation.startswith("270"): + rotate_by = 3 + + s["samples"] = torch.rot90(samples["samples"], k=rotate_by, dims=[3, 2]) + return (s,) + +class LatentFlip: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "flip_method": (["x-axis: vertically", "y-axis: horizontally"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "flip" + + CATEGORY = "latent/transform" + + def flip(self, samples, flip_method): + s = samples.copy() + if flip_method.startswith("x"): + s["samples"] = torch.flip(samples["samples"], dims=[2]) + elif flip_method.startswith("y"): + s["samples"] = torch.flip(samples["samples"], dims=[3]) + + return (s,) + +class LatentComposite: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples_to": ("LATENT",), + "samples_from": ("LATENT",), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feather": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "composite" + + CATEGORY = "latent" + + def composite(self, samples_to, samples_from, x, y, composite_method="normal", feather=0): + x = x // 8 + y = y // 8 + feather = feather // 8 + samples_out = samples_to.copy() + s = samples_to["samples"].clone() + samples_to = samples_to["samples"] + samples_from = samples_from["samples"] + if feather == 0: + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + else: + samples_from = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + mask = torch.ones_like(samples_from) + for t in range(feather): + if y != 0: + mask[:,:,t:1+t,:] *= ((1.0/feather) * (t + 1)) + + if y + samples_from.shape[2] < samples_to.shape[2]: + mask[:,:,mask.shape[2] -1 -t: mask.shape[2]-t,:] *= ((1.0/feather) * (t + 1)) + if x != 0: + mask[:,:,:,t:1+t] *= ((1.0/feather) * (t + 1)) + if x + samples_from.shape[3] < samples_to.shape[3]: + mask[:,:,:,mask.shape[3]- 1 - t: mask.shape[3]- t] *= ((1.0/feather) * (t + 1)) + rev_mask = torch.ones_like(mask) - mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] * mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] * rev_mask + samples_out["samples"] = s + return (samples_out,) + +class LatentBlend: + @classmethod + def INPUT_TYPES(s): + return {"required": { + "samples1": ("LATENT",), + "samples2": ("LATENT",), + "blend_factor": ("FLOAT", { + "default": 0.5, + "min": 0, + "max": 1, + "step": 0.01 + }), + }} + + RETURN_TYPES = ("LATENT",) + FUNCTION = "blend" + + CATEGORY = "_for_testing" + + def blend(self, samples1, samples2, blend_factor:float, blend_mode: str="normal"): + + samples_out = samples1.copy() + samples1 = samples1["samples"] + samples2 = samples2["samples"] + + if samples1.shape != samples2.shape: + samples2.permute(0, 3, 1, 2) + samples2 = comfy.utils.common_upscale(samples2, samples1.shape[3], samples1.shape[2], 'bicubic', crop='center') + samples2.permute(0, 2, 3, 1) + + samples_blended = self.blend_mode(samples1, samples2, blend_mode) + samples_blended = samples1 * blend_factor + samples_blended * (1 - blend_factor) + samples_out["samples"] = samples_blended + return (samples_out,) + + def blend_mode(self, img1, img2, mode): + if mode == "normal": + return img2 + else: + raise ValueError(f"Unsupported blend mode: {mode}") + +class LatentCrop: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "width": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "crop" + + CATEGORY = "latent/transform" + + def crop(self, samples, width, height, x, y): + s = samples.copy() + samples = samples['samples'] + x = x // 8 + y = y // 8 + + #enfonce minimum size of 64 + if x > (samples.shape[3] - 8): + x = samples.shape[3] - 8 + if y > (samples.shape[2] - 8): + y = samples.shape[2] - 8 + + new_height = height // 8 + new_width = width // 8 + to_x = new_width + x + to_y = new_height + y + s['samples'] = samples[:,:,y:to_y, x:to_x] + return (s,) + +class SetLatentNoiseMask: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "mask": ("MASK",), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "set_mask" + + CATEGORY = "latent/inpaint" + + def set_mask(self, samples, mask): + s = samples.copy() + s["noise_mask"] = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])) + return (s,) + +def common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent, denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False): + latent_image = latent["samples"] + latent_image = comfy.sample.fix_empty_latent_channels(model, latent_image) + + if disable_noise: + noise = torch.zeros(latent_image.size(), dtype=latent_image.dtype, layout=latent_image.layout, device="cpu") + else: + batch_inds = latent["batch_index"] if "batch_index" in latent else None + noise = comfy.sample.prepare_noise(latent_image, seed, batch_inds) + + noise_mask = None + if "noise_mask" in latent: + noise_mask = latent["noise_mask"] + + callback = latent_preview.prepare_callback(model, steps) + disable_pbar = not comfy.utils.PROGRESS_BAR_ENABLED + samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, + denoise=denoise, disable_noise=disable_noise, start_step=start_step, last_step=last_step, + force_full_denoise=force_full_denoise, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed) + out = latent.copy() + out["samples"] = samples + return (out, ) + +class KSampler: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The model used for denoising the input latent."}), + "seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True, "tooltip": "The random seed used for creating the noise."}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000, "tooltip": "The number of steps used in the denoising process."}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01, "tooltip": "The Classifier-Free Guidance scale balances creativity and adherence to the prompt. Higher values result in images more closely matching the prompt however too high values will negatively impact quality."}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, {"tooltip": "The algorithm used when sampling, this can affect the quality, speed, and style of the generated output."}), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, {"tooltip": "The scheduler controls how noise is gradually removed to form the image."}), + "positive": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to include in the image."}), + "negative": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to exclude from the image."}), + "latent_image": ("LATENT", {"tooltip": "The latent image to denoise."}), + "denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "The amount of denoising applied, lower values will maintain the structure of the initial image allowing for image to image sampling."}), + } + } + + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The denoised latent.",) + FUNCTION = "sample" + + CATEGORY = "sampling" + DESCRIPTION = "Uses the provided model, positive and negative conditioning to denoise the latent image." + + def sample(self, model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0): + return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) + +class KSamplerAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": + {"model": ("MODEL",), + "add_noise": (["enable", "disable"], ), + "noise_seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, ), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, ), + "positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "latent_image": ("LATENT", ), + "start_at_step": ("INT", {"default": 0, "min": 0, "max": 10000}), + "end_at_step": ("INT", {"default": 10000, "min": 0, "max": 10000}), + "return_with_leftover_noise": (["disable", "enable"], ), + } + } + + RETURN_TYPES = ("LATENT",) + FUNCTION = "sample" + + CATEGORY = "sampling" + + def sample(self, model, add_noise, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, start_at_step, end_at_step, return_with_leftover_noise, denoise=1.0): + force_full_denoise = True + if return_with_leftover_noise == "enable": + force_full_denoise = False + disable_noise = False + if add_noise == "disable": + disable_noise = True + return common_ksampler(model, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise, disable_noise=disable_noise, start_step=start_at_step, last_step=end_at_step, force_full_denoise=force_full_denoise) + +class SaveImage: + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + self.type = "output" + self.prefix_append = "" + self.compress_level = 4 + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "images": ("IMAGE", {"tooltip": "The images to save."}), + "filename_prefix": ("STRING", {"default": "ComfyUI", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."}) + }, + "hidden": { + "prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO" + }, + } + + RETURN_TYPES = () + FUNCTION = "save_images" + + OUTPUT_NODE = True + + CATEGORY = "image" + DESCRIPTION = "Saves the input images to your ComfyUI output directory." + + def save_images(self, images, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + filename_prefix += self.prefix_append + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0]) + results = list() + for (batch_number, image) in enumerate(images): + i = 255. * image.cpu().numpy() + img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8)) + metadata = None + if not args.disable_metadata: + metadata = PngInfo() + if prompt is not None: + metadata.add_text("prompt", json.dumps(prompt)) + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata.add_text(x, json.dumps(extra_pnginfo[x])) + + filename_with_batch_num = filename.replace("%batch_num%", str(batch_number)) + file = f"{filename_with_batch_num}_{counter:05}_.png" + img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level) + results.append({ + "filename": file, + "subfolder": subfolder, + "type": self.type + }) + counter += 1 + + return { "ui": { "images": results } } + +class PreviewImage(SaveImage): + def __init__(self): + self.output_dir = folder_paths.get_temp_directory() + self.type = "temp" + self.prefix_append = "_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for x in range(5)) + self.compress_level = 1 + + @classmethod + def INPUT_TYPES(s): + return {"required": + {"images": ("IMAGE", ), }, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + +class LoadImage: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] + files = folder_paths.filter_files_content_types(files, ["image"]) + return {"required": + {"image": (sorted(files), {"image_upload": True})}, + } + + CATEGORY = "image" + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "load_image" + def load_image(self, image): + image_path = folder_paths.get_annotated_filepath(image) + + img = node_helpers.pillow(Image.open, image_path) + + output_images = [] + output_masks = [] + w, h = None, None + + excluded_formats = ['MPO'] + + for i in ImageSequence.Iterator(img): + i = node_helpers.pillow(ImageOps.exif_transpose, i) + + if i.mode == 'I': + i = i.point(lambda i: i * (1 / 255)) + image = i.convert("RGB") + + if len(output_images) == 0: + w = image.size[0] + h = image.size[1] + + if image.size[0] != w or image.size[1] != h: + continue + + image = np.array(image).astype(np.float32) / 255.0 + image = torch.from_numpy(image)[None,] + if 'A' in i.getbands(): + mask = np.array(i.getchannel('A')).astype(np.float32) / 255.0 + mask = 1. - torch.from_numpy(mask) + elif i.mode == 'P' and 'transparency' in i.info: + mask = np.array(i.convert('RGBA').getchannel('A')).astype(np.float32) / 255.0 + mask = 1. - torch.from_numpy(mask) + else: + mask = torch.zeros((64,64), dtype=torch.float32, device="cpu") + output_images.append(image) + output_masks.append(mask.unsqueeze(0)) + + if len(output_images) > 1 and img.format not in excluded_formats: + output_image = torch.cat(output_images, dim=0) + output_mask = torch.cat(output_masks, dim=0) + else: + output_image = output_images[0] + output_mask = output_masks[0] + + return (output_image, output_mask) + + @classmethod + def IS_CHANGED(s, image): + image_path = folder_paths.get_annotated_filepath(image) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, image): + if not folder_paths.exists_annotated_filepath(image): + return "Invalid image file: {}".format(image) + + return True + +class LoadImageMask: + _color_channels = ["alpha", "red", "green", "blue"] + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] + return {"required": + {"image": (sorted(files), {"image_upload": True}), + "channel": (s._color_channels, ), } + } + + CATEGORY = "mask" + + RETURN_TYPES = ("MASK",) + FUNCTION = "load_image" + def load_image(self, image, channel): + image_path = folder_paths.get_annotated_filepath(image) + i = node_helpers.pillow(Image.open, image_path) + i = node_helpers.pillow(ImageOps.exif_transpose, i) + if i.getbands() != ("R", "G", "B", "A"): + if i.mode == 'I': + i = i.point(lambda i: i * (1 / 255)) + i = i.convert("RGBA") + mask = None + c = channel[0].upper() + if c in i.getbands(): + mask = np.array(i.getchannel(c)).astype(np.float32) / 255.0 + mask = torch.from_numpy(mask) + if c == 'A': + mask = 1. - mask + else: + mask = torch.zeros((64,64), dtype=torch.float32, device="cpu") + return (mask.unsqueeze(0),) + + @classmethod + def IS_CHANGED(s, image, channel): + image_path = folder_paths.get_annotated_filepath(image) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, image): + if not folder_paths.exists_annotated_filepath(image): + return "Invalid image file: {}".format(image) + + return True + + +class LoadImageOutput(LoadImage): + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("COMBO", { + "image_upload": True, + "image_folder": "output", + "remote": { + "route": "/internal/files/output", + "refresh_button": True, + "control_after_refresh": "first", + }, + }), + } + } + + DESCRIPTION = "Load an image from the output folder. When the refresh button is clicked, the node will update the image list and automatically select the first image, allowing for easy iteration." + EXPERIMENTAL = True + FUNCTION = "load_image" + + +class ImageScale: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + + def upscale(self, image, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = image + else: + samples = image.movedim(-1,1) + + if width == 0: + width = max(1, round(samples.shape[3] * height / samples.shape[2])) + elif height == 0: + height = max(1, round(samples.shape[2] * width / samples.shape[3])) + + s = comfy.utils.common_upscale(samples, width, height, upscale_method, crop) + s = s.movedim(1,-1) + return (s,) + +class ImageScaleBy: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.0, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + + def upscale(self, image, upscale_method, scale_by): + samples = image.movedim(-1,1) + width = round(samples.shape[3] * scale_by) + height = round(samples.shape[2] * scale_by) + s = comfy.utils.common_upscale(samples, width, height, upscale_method, "disabled") + s = s.movedim(1,-1) + return (s,) + +class ImageInvert: + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "invert" + + CATEGORY = "image" + + def invert(self, image): + s = 1.0 - image + return (s,) + +class ImageBatch: + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image1": ("IMAGE",), "image2": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "batch" + + CATEGORY = "image" + + def batch(self, image1, image2): + if image1.shape[1:] != image2.shape[1:]: + image2 = comfy.utils.common_upscale(image2.movedim(-1,1), image1.shape[2], image1.shape[1], "bilinear", "center").movedim(1,-1) + s = torch.cat((image1, image2), dim=0) + return (s,) + +class EmptyImage: + def __init__(self, device="cpu"): + self.device = device + + @classmethod + def INPUT_TYPES(s): + return {"required": { "width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096}), + "color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "generate" + + CATEGORY = "image" + + def generate(self, width, height, batch_size=1, color=0): + r = torch.full([batch_size, height, width, 1], ((color >> 16) & 0xFF) / 0xFF) + g = torch.full([batch_size, height, width, 1], ((color >> 8) & 0xFF) / 0xFF) + b = torch.full([batch_size, height, width, 1], ((color) & 0xFF) / 0xFF) + return (torch.cat((r, g, b), dim=-1), ) + +class ImagePadForOutpaint: + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("IMAGE",), + "left": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "top": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "right": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "bottom": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feathering": ("INT", {"default": 40, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + } + } + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "expand_image" + + CATEGORY = "image" + + def expand_image(self, image, left, top, right, bottom, feathering): + d1, d2, d3, d4 = image.size() + + new_image = torch.ones( + (d1, d2 + top + bottom, d3 + left + right, d4), + dtype=torch.float32, + ) * 0.5 + + new_image[:, top:top + d2, left:left + d3, :] = image + + mask = torch.ones( + (d2 + top + bottom, d3 + left + right), + dtype=torch.float32, + ) + + t = torch.zeros( + (d2, d3), + dtype=torch.float32 + ) + + if feathering > 0 and feathering * 2 < d2 and feathering * 2 < d3: + + for i in range(d2): + for j in range(d3): + dt = i if top != 0 else d2 + db = d2 - i if bottom != 0 else d2 + + dl = j if left != 0 else d3 + dr = d3 - j if right != 0 else d3 + + d = min(dt, db, dl, dr) + + if d >= feathering: + continue + + v = (feathering - d) / feathering + + t[i, j] = v * v + + mask[top:top + d2, left:left + d3] = t + + return (new_image, mask.unsqueeze(0)) + + +NODE_CLASS_MAPPINGS = { + "KSampler": KSampler, + "CheckpointLoaderSimple": CheckpointLoaderSimple, + "CLIPTextEncode": CLIPTextEncode, + "CLIPSetLastLayer": CLIPSetLastLayer, + "VAEDecode": VAEDecode, + "VAEEncode": VAEEncode, + "VAEEncodeForInpaint": VAEEncodeForInpaint, + "VAELoader": VAELoader, + "EmptyLatentImage": EmptyLatentImage, + "LatentUpscale": LatentUpscale, + "LatentUpscaleBy": LatentUpscaleBy, + "LatentFromBatch": LatentFromBatch, + "RepeatLatentBatch": RepeatLatentBatch, + "SaveImage": SaveImage, + "PreviewImage": PreviewImage, + "LoadImage": LoadImage, + "LoadImageMask": LoadImageMask, + "LoadImageOutput": LoadImageOutput, + "ImageScale": ImageScale, + "ImageScaleBy": ImageScaleBy, + "ImageInvert": ImageInvert, + "ImageBatch": ImageBatch, + "ImagePadForOutpaint": ImagePadForOutpaint, + "EmptyImage": EmptyImage, + "ConditioningAverage": ConditioningAverage , + "ConditioningCombine": ConditioningCombine, + "ConditioningConcat": ConditioningConcat, + "ConditioningSetArea": ConditioningSetArea, + "ConditioningSetAreaPercentage": ConditioningSetAreaPercentage, + "ConditioningSetAreaStrength": ConditioningSetAreaStrength, + "ConditioningSetMask": ConditioningSetMask, + "KSamplerAdvanced": KSamplerAdvanced, + "SetLatentNoiseMask": SetLatentNoiseMask, + "LatentComposite": LatentComposite, + "LatentBlend": LatentBlend, + "LatentRotate": LatentRotate, + "LatentFlip": LatentFlip, + "LatentCrop": LatentCrop, + "LoraLoader": LoraLoader, + "CLIPLoader": CLIPLoader, + "UNETLoader": UNETLoader, + "DualCLIPLoader": DualCLIPLoader, + "CLIPVisionEncode": CLIPVisionEncode, + "StyleModelApply": StyleModelApply, + "unCLIPConditioning": unCLIPConditioning, + "ControlNetApply": ControlNetApply, + "ControlNetApplyAdvanced": ControlNetApplyAdvanced, + "ControlNetLoader": ControlNetLoader, + "DiffControlNetLoader": DiffControlNetLoader, + "StyleModelLoader": StyleModelLoader, + "CLIPVisionLoader": CLIPVisionLoader, + "VAEDecodeTiled": VAEDecodeTiled, + "VAEEncodeTiled": VAEEncodeTiled, + "unCLIPCheckpointLoader": unCLIPCheckpointLoader, + "GLIGENLoader": GLIGENLoader, + "GLIGENTextBoxApply": GLIGENTextBoxApply, + "InpaintModelConditioning": InpaintModelConditioning, + + "CheckpointLoader": CheckpointLoader, + "DiffusersLoader": DiffusersLoader, + + "LoadLatent": LoadLatent, + "SaveLatent": SaveLatent, + + "ConditioningZeroOut": ConditioningZeroOut, + "ConditioningSetTimestepRange": ConditioningSetTimestepRange, + "LoraLoaderModelOnly": LoraLoaderModelOnly, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + # Sampling + "KSampler": "KSampler", + "KSamplerAdvanced": "KSampler (Advanced)", + # Loaders + "CheckpointLoader": "Load Checkpoint With Config (DEPRECATED)", + "CheckpointLoaderSimple": "Load Checkpoint", + "VAELoader": "Load VAE", + "LoraLoader": "Load LoRA", + "CLIPLoader": "Load CLIP", + "ControlNetLoader": "Load ControlNet Model", + "DiffControlNetLoader": "Load ControlNet Model (diff)", + "StyleModelLoader": "Load Style Model", + "CLIPVisionLoader": "Load CLIP Vision", + "UNETLoader": "Load Diffusion Model", + # Conditioning + "CLIPVisionEncode": "CLIP Vision Encode", + "StyleModelApply": "Apply Style Model", + "CLIPTextEncode": "CLIP Text Encode (Prompt)", + "CLIPSetLastLayer": "CLIP Set Last Layer", + "ConditioningCombine": "Conditioning (Combine)", + "ConditioningAverage ": "Conditioning (Average)", + "ConditioningConcat": "Conditioning (Concat)", + "ConditioningSetArea": "Conditioning (Set Area)", + "ConditioningSetAreaPercentage": "Conditioning (Set Area with Percentage)", + "ConditioningSetMask": "Conditioning (Set Mask)", + "ControlNetApply": "Apply ControlNet (OLD)", + "ControlNetApplyAdvanced": "Apply ControlNet", + # Latent + "VAEEncodeForInpaint": "VAE Encode (for Inpainting)", + "SetLatentNoiseMask": "Set Latent Noise Mask", + "VAEDecode": "VAE Decode", + "VAEEncode": "VAE Encode", + "LatentRotate": "Rotate Latent", + "LatentFlip": "Flip Latent", + "LatentCrop": "Crop Latent", + "EmptyLatentImage": "Empty Latent Image", + "LatentUpscale": "Upscale Latent", + "LatentUpscaleBy": "Upscale Latent By", + "LatentComposite": "Latent Composite", + "LatentBlend": "Latent Blend", + "LatentFromBatch" : "Latent From Batch", + "RepeatLatentBatch": "Repeat Latent Batch", + # Image + "SaveImage": "Save Image", + "PreviewImage": "Preview Image", + "LoadImage": "Load Image", + "LoadImageMask": "Load Image (as Mask)", + "LoadImageOutput": "Load Image (from Outputs)", + "ImageScale": "Upscale Image", + "ImageScaleBy": "Upscale Image By", + "ImageInvert": "Invert Image", + "ImagePadForOutpaint": "Pad Image for Outpainting", + "ImageBatch": "Batch Images", + "ImageCrop": "Image Crop", + "ImageStitch": "Image Stitch", + "ImageBlend": "Image Blend", + "ImageBlur": "Image Blur", + "ImageQuantize": "Image Quantize", + "ImageSharpen": "Image Sharpen", + "ImageScaleToTotalPixels": "Scale Image to Total Pixels", + "GetImageSize": "Get Image Size", + # _for_testing + "VAEDecodeTiled": "VAE Decode (Tiled)", + "VAEEncodeTiled": "VAE Encode (Tiled)", +} + +EXTENSION_WEB_DIRS = {} + +# Dictionary of successfully loaded module names and associated directories. +LOADED_MODULE_DIRS = {} + + +def get_module_name(module_path: str) -> str: + """ + Returns the module name based on the given module path. + Examples: + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.disabled") -> "custom_nodes + Args: + module_path (str): The path of the module. + Returns: + str: The module name. + """ + base_path = os.path.basename(module_path) + if os.path.isfile(module_path): + base_path = os.path.splitext(base_path)[0] + return base_path + + +async def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes") -> bool: + module_name = get_module_name(module_path) + if os.path.isfile(module_path): + sp = os.path.splitext(module_path) + module_name = sp[0] + sys_module_name = module_name + elif os.path.isdir(module_path): + sys_module_name = module_path.replace(".", "_x_") + + try: + logging.debug("Trying to load custom node {}".format(module_path)) + if os.path.isfile(module_path): + module_spec = importlib.util.spec_from_file_location(sys_module_name, module_path) + module_dir = os.path.split(module_path)[0] + else: + module_spec = importlib.util.spec_from_file_location(sys_module_name, os.path.join(module_path, "__init__.py")) + module_dir = module_path + + module = importlib.util.module_from_spec(module_spec) + sys.modules[sys_module_name] = module + module_spec.loader.exec_module(module) + + LOADED_MODULE_DIRS[module_name] = os.path.abspath(module_dir) + + try: + from comfy_config import config_parser + + project_config = config_parser.extract_node_configuration(module_path) + + web_dir_name = project_config.tool_comfy.web + + if web_dir_name: + web_dir_path = os.path.join(module_path, web_dir_name) + + if os.path.isdir(web_dir_path): + project_name = project_config.project.name + + EXTENSION_WEB_DIRS[project_name] = web_dir_path + + logging.info("Automatically register web folder {} for {}".format(web_dir_name, project_name)) + except Exception as e: + logging.warning(f"Unable to parse pyproject.toml due to lack dependency pydantic-settings, please run 'pip install -r requirements.txt': {e}") + + if hasattr(module, "WEB_DIRECTORY") and getattr(module, "WEB_DIRECTORY") is not None: + web_dir = os.path.abspath(os.path.join(module_dir, getattr(module, "WEB_DIRECTORY"))) + if os.path.isdir(web_dir): + EXTENSION_WEB_DIRS[module_name] = web_dir + + # V1 node definition + if hasattr(module, "NODE_CLASS_MAPPINGS") and getattr(module, "NODE_CLASS_MAPPINGS") is not None: + for name, node_cls in module.NODE_CLASS_MAPPINGS.items(): + if name not in ignore: + NODE_CLASS_MAPPINGS[name] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS") and getattr(module, "NODE_DISPLAY_NAME_MAPPINGS") is not None: + NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS) + return True + # V3 Extension Definition + elif hasattr(module, "comfy_entrypoint"): + entrypoint = getattr(module, "comfy_entrypoint") + if not callable(entrypoint): + logging.warning(f"comfy_entrypoint in {module_path} is not callable, skipping.") + return False + try: + if inspect.iscoroutinefunction(entrypoint): + extension = await entrypoint() + else: + extension = entrypoint() + if not isinstance(extension, ComfyExtension): + logging.warning(f"comfy_entrypoint in {module_path} did not return a ComfyExtension, skipping.") + return False + node_list = await extension.get_node_list() + if not isinstance(node_list, list): + logging.warning(f"comfy_entrypoint in {module_path} did not return a list of nodes, skipping.") + return False + for node_cls in node_list: + node_cls: io.ComfyNode + schema = node_cls.GET_SCHEMA() + if schema.node_id not in ignore: + NODE_CLASS_MAPPINGS[schema.node_id] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if schema.display_name is not None: + NODE_DISPLAY_NAME_MAPPINGS[schema.node_id] = schema.display_name + return True + except Exception as e: + logging.warning(f"Error while calling comfy_entrypoint in {module_path}: {e}") + return False + else: + logging.warning(f"Skip {module_path} module for custom nodes due to the lack of NODE_CLASS_MAPPINGS or NODES_LIST (need one).") + return False + except Exception as e: + logging.warning(traceback.format_exc()) + logging.warning(f"Cannot import {module_path} module for custom nodes: {e}") + return False + +async def init_external_custom_nodes(): + """ + Initializes the external custom nodes. + + This function loads custom nodes from the specified folder paths and imports them into the application. + It measures the import times for each custom node and logs the results. + + Returns: + None + """ + base_node_names = set(NODE_CLASS_MAPPINGS.keys()) + node_paths = folder_paths.get_folder_paths("custom_nodes") + node_import_times = [] + for custom_node_path in node_paths: + possible_modules = os.listdir(os.path.realpath(custom_node_path)) + if "__pycache__" in possible_modules: + possible_modules.remove("__pycache__") + + for possible_module in possible_modules: + module_path = os.path.join(custom_node_path, possible_module) + if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": continue + if module_path.endswith(".disabled"): continue + if args.disable_all_custom_nodes and possible_module not in args.whitelist_custom_nodes: + logging.info(f"Skipping {possible_module} due to disable_all_custom_nodes and whitelist_custom_nodes") + continue + time_before = time.perf_counter() + success = await load_custom_node(module_path, base_node_names, module_parent="custom_nodes") + node_import_times.append((time.perf_counter() - time_before, module_path, success)) + + if len(node_import_times) > 0: + logging.info("\nImport times for custom nodes:") + for n in sorted(node_import_times): + if n[2]: + import_message = "" + else: + import_message = " (IMPORT FAILED)" + logging.info("{:6.1f} seconds{}: {}".format(n[0], import_message, n[1])) + logging.info("") + +async def init_builtin_extra_nodes(): + """ + Initializes the built-in extra nodes in ComfyUI. + + This function loads the extra node files located in the "comfy_extras" directory and imports them into ComfyUI. + If any of the extra node files fail to import, a warning message is logged. + + Returns: + None + """ + extras_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_extras") + extras_files = [ + "nodes_latent.py", + "nodes_hypernetwork.py", + "nodes_upscale_model.py", + "nodes_post_processing.py", + "nodes_mask.py", + "nodes_compositing.py", + "nodes_rebatch.py", + "nodes_model_merging.py", + "nodes_tomesd.py", + "nodes_clip_sdxl.py", + "nodes_canny.py", + "nodes_freelunch.py", + "nodes_custom_sampler.py", + "nodes_hypertile.py", + "nodes_model_advanced.py", + "nodes_model_downscale.py", + "nodes_images.py", + "nodes_video_model.py", + "nodes_train.py", + "nodes_sag.py", + "nodes_perpneg.py", + "nodes_stable3d.py", + "nodes_sdupscale.py", + "nodes_photomaker.py", + "nodes_pixart.py", + "nodes_cond.py", + "nodes_morphology.py", + "nodes_stable_cascade.py", + "nodes_differential_diffusion.py", + "nodes_ip2p.py", + "nodes_model_merging_model_specific.py", + "nodes_pag.py", + "nodes_align_your_steps.py", + "nodes_attention_multiply.py", + "nodes_advanced_samplers.py", + "nodes_webcam.py", + "nodes_audio.py", + "nodes_sd3.py", + "nodes_gits.py", + "nodes_controlnet.py", + "nodes_hunyuan.py", + "nodes_eps.py", + "nodes_flux.py", + "nodes_lora_extract.py", + "nodes_torch_compile.py", + "nodes_mochi.py", + "nodes_slg.py", + "nodes_mahiro.py", + "nodes_lt.py", + "nodes_hooks.py", + "nodes_load_3d.py", + "nodes_cosmos.py", + "nodes_video.py", + "nodes_lumina2.py", + "nodes_wan.py", + "nodes_lotus.py", + "nodes_hunyuan3d.py", + "nodes_primitive.py", + "nodes_cfg.py", + "nodes_optimalsteps.py", + "nodes_hidream.py", + "nodes_fresca.py", + "nodes_apg.py", + "nodes_preview_any.py", + "nodes_ace.py", + "nodes_string.py", + "nodes_camera_trajectory.py", + "nodes_edit_model.py", + "nodes_tcfg.py", + "nodes_context_windows.py", + "nodes_qwen.py", + "nodes_chroma_radiance.py", + "nodes_model_patch.py", + "nodes_easycache.py", + "nodes_audio_encoder.py", + "nodes_rope.py", + ] + + import_failed = [] + for node_file in extras_files: + if not await load_custom_node(os.path.join(extras_dir, node_file), module_parent="comfy_extras"): + import_failed.append(node_file) + + return import_failed + + +async def init_builtin_api_nodes(): + api_nodes_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_api_nodes") + api_nodes_files = [ + "nodes_ideogram.py", + "nodes_openai.py", + "nodes_minimax.py", + "nodes_veo2.py", + "nodes_kling.py", + "nodes_bfl.py", + "nodes_bytedance.py", + "nodes_ltxv.py", + "nodes_luma.py", + "nodes_recraft.py", + "nodes_pixverse.py", + "nodes_stability.py", + "nodes_pika.py", + "nodes_runway.py", + "nodes_sora.py", + "nodes_tripo.py", + "nodes_moonvalley.py", + "nodes_rodin.py", + "nodes_gemini.py", + "nodes_vidu.py", + "nodes_wan.py", + ] + + if not await load_custom_node(os.path.join(api_nodes_dir, "canary.py"), module_parent="comfy_api_nodes"): + return api_nodes_files + + import_failed = [] + for node_file in api_nodes_files: + if not await load_custom_node(os.path.join(api_nodes_dir, node_file), module_parent="comfy_api_nodes"): + import_failed.append(node_file) + + return import_failed + +async def init_public_apis(): + register_versions([ + ComfyAPIWithVersion( + version=getattr(v, "VERSION"), + api_class=v + ) for v in supported_versions + ]) + +async def init_extra_nodes(init_custom_nodes=True, init_api_nodes=True): + await init_public_apis() + + import_failed = await init_builtin_extra_nodes() + + import_failed_api = [] + if init_api_nodes: + import_failed_api = await init_builtin_api_nodes() + + if init_custom_nodes: + await init_external_custom_nodes() + else: + logging.info("Skipping loading of custom nodes") + + if len(import_failed_api) > 0: + logging.warning("WARNING: some comfy_api_nodes/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed_api: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + if len(import_failed) > 0: + logging.warning("WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + return import_failed diff --git a/docs/hel-892/latent-reference/djz-tree.json b/docs/hel-892/latent-reference/djz-tree.json new file mode 100644 index 00000000..d5fe7bec --- /dev/null +++ b/docs/hel-892/latent-reference/djz-tree.json @@ -0,0 +1,8371 @@ +{ + "sha": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "tree": [ + { + "path": ".github", + "mode": "040000", + "type": "tree", + "sha": "6323ec51ca9be95a2dc71b2055189a9999b5e56d", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6323ec51ca9be95a2dc71b2055189a9999b5e56d" + }, + { + "path": ".github/workflows", + "mode": "040000", + "type": "tree", + "sha": "9a251f69458de183b29df3756d9e61ea9feba117", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/9a251f69458de183b29df3756d9e61ea9feba117" + }, + { + "path": ".github/workflows/publish.yml", + "mode": "100644", + "type": "blob", + "sha": "0ddfd6f5d3a8b29aea6bda045bf12c41dc292ce6", + "size": 667, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0ddfd6f5d3a8b29aea6bda045bf12c41dc292ce6" + }, + { + "path": "AnamorphicEffect.md", + "mode": "100644", + "type": "blob", + "sha": "950d8cb3c6252b702e285fc259184ad60163b6b5", + "size": 3543, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/950d8cb3c6252b702e285fc259184ad60163b6b5" + }, + { + "path": "AnamorphicEffect.py", + "mode": "100644", + "type": "blob", + "sha": "1a26ef1db54a9337baab5780f9740e98013e7839", + "size": 7503, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a26ef1db54a9337baab5780f9740e98013e7839" + }, + { + "path": "AspectSize.md", + "mode": "100644", + "type": "blob", + "sha": "c9df33137b80f4cd87ed28667d98c308f3c58f95", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9df33137b80f4cd87ed28667d98c308f3c58f95" + }, + { + "path": "AspectSize.py", + "mode": "100644", + "type": "blob", + "sha": "eb1d194e65657d9bfc65909761cdec2f739a4d82", + "size": 1873, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/eb1d194e65657d9bfc65909761cdec2f739a4d82" + }, + { + "path": "AspectSizeV2.md", + "mode": "100644", + "type": "blob", + "sha": "611c4a651da3e071802ebaea0d4aad3b562ca510", + "size": 2646, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/611c4a651da3e071802ebaea0d4aad3b562ca510" + }, + { + "path": "AspectSizeV2.py", + "mode": "100644", + "type": "blob", + "sha": "ee13b0b17b2aed46e493328dbbc7e5ec7558cc8b", + "size": 2419, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ee13b0b17b2aed46e493328dbbc7e5ec7558cc8b" + }, + { + "path": "BatchAlphaComposite.md", + "mode": "100644", + "type": "blob", + "sha": "d810f1b8437d1ede6d19c02cd532fe4b5e30153d", + "size": 1945, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d810f1b8437d1ede6d19c02cd532fe4b5e30153d" + }, + { + "path": "BatchAlphaComposite.py", + "mode": "100644", + "type": "blob", + "sha": "a98b0a83ec8a06c28bfd31773eed113b91e60653", + "size": 2594, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a98b0a83ec8a06c28bfd31773eed113b91e60653" + }, + { + "path": "BatchOffset.md", + "mode": "100644", + "type": "blob", + "sha": "58f51145ac8585a1b547faa4b4d4fa3bfabb4d90", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/58f51145ac8585a1b547faa4b4d4fa3bfabb4d90" + }, + { + "path": "BatchOffset.py", + "mode": "100644", + "type": "blob", + "sha": "5bfb811ae17ca89f00df8c9208fc5a43f12c948b", + "size": 1553, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5bfb811ae17ca89f00df8c9208fc5a43f12c948b" + }, + { + "path": "BatchRangeInsert.md", + "mode": "100644", + "type": "blob", + "sha": "a32dbc57d886b642c7e29e4c4a2e2d043cef6605", + "size": 2269, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a32dbc57d886b642c7e29e4c4a2e2d043cef6605" + }, + { + "path": "BatchRangeInsert.py", + "mode": "100644", + "type": "blob", + "sha": "a32cebbe0fdc24ce12a36aa38e358f6273e02af8", + "size": 3372, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a32cebbe0fdc24ce12a36aa38e358f6273e02af8" + }, + { + "path": "BatchRangeSwap.md", + "mode": "100644", + "type": "blob", + "sha": "0299deb71235bb294f89a0c1f32feb8de45ae9f6", + "size": 2741, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0299deb71235bb294f89a0c1f32feb8de45ae9f6" + }, + { + "path": "BatchRangeSwap.py", + "mode": "100644", + "type": "blob", + "sha": "d9c3c7d4c080718d51a785afb0212ea05a8c48c0", + "size": 3016, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d9c3c7d4c080718d51a785afb0212ea05a8c48c0" + }, + { + "path": "BatchThief.md", + "mode": "100644", + "type": "blob", + "sha": "30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90", + "size": 1844, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90" + }, + { + "path": "BatchThief.py", + "mode": "100644", + "type": "blob", + "sha": "310dde942d0d626f9fa88b2d8e2af7e4f9077939", + "size": 2003, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/310dde942d0d626f9fa88b2d8e2af7e4f9077939" + }, + { + "path": "BlackBarsV1.md", + "mode": "100644", + "type": "blob", + "sha": "1a6538e487dc5f32c269f749660a3ffd43831b7c", + "size": 2499, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a6538e487dc5f32c269f749660a3ffd43831b7c" + }, + { + "path": "BlackBarsV1.py", + "mode": "100644", + "type": "blob", + "sha": "fde281007e6b9b9696b79328e03099b1a81b2cf8", + "size": 4074, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fde281007e6b9b9696b79328e03099b1a81b2cf8" + }, + { + "path": "BlackBarsV2.md", + "mode": "100644", + "type": "blob", + "sha": "62432478a3b364cfd3188d6b61a413a5f780428e", + "size": 2764, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/62432478a3b364cfd3188d6b61a413a5f780428e" + }, + { + "path": "BlackBarsV2.py", + "mode": "100644", + "type": "blob", + "sha": "2c484ea251641e91da01275dca7817da6f1c8e38", + "size": 8200, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2c484ea251641e91da01275dca7817da6f1c8e38" + }, + { + "path": "BlackBarsV3.md", + "mode": "100644", + "type": "blob", + "sha": "addc5abe86828c65aa4af9b52f0e81b79ddcde4e", + "size": 3045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/addc5abe86828c65aa4af9b52f0e81b79ddcde4e" + }, + { + "path": "BlackBarsV3.py", + "mode": "100644", + "type": "blob", + "sha": "947a4e8a465ae038bcc8ea45ef8f3e4356c04a5e", + "size": 7162, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/947a4e8a465ae038bcc8ea45ef8f3e4356c04a5e" + }, + { + "path": "BorderCompositeAlpha.py", + "mode": "100644", + "type": "blob", + "sha": "33dd9d8f71b89e8d12a89bcd86f8b80ff700a646", + "size": 4608, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/33dd9d8f71b89e8d12a89bcd86f8b80ff700a646" + }, + { + "path": "BracketCleaner.md", + "mode": "100644", + "type": "blob", + "sha": "1fb3e5f859e366587b69f09f3e5f885ce455e5a3", + "size": 1909, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fb3e5f859e366587b69f09f3e5f885ce455e5a3" + }, + { + "path": "BracketCleaner.py", + "mode": "100644", + "type": "blob", + "sha": "c2ef6f181dc5d1bb0580e5ba8da9834af126090e", + "size": 2803, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c2ef6f181dc5d1bb0580e5ba8da9834af126090e" + }, + { + "path": "CRT_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "f8aa686c6df0348e9de64f2c8edc021902eb5994", + "size": 4748, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f8aa686c6df0348e9de64f2c8edc021902eb5994" + }, + { + "path": "CRT_Effect_v1.py", + "mode": "100644", + "type": "blob", + "sha": "ded0bacc8358e04666e3db9b08e2139f6fb0fa39", + "size": 9838, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ded0bacc8358e04666e3db9b08e2139f6fb0fa39" + }, + { + "path": "CaptionsToPromptList.md", + "mode": "100644", + "type": "blob", + "sha": "ae33f3fad7f3627f61e717bda8de8501ce6dfee2", + "size": 2644, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ae33f3fad7f3627f61e717bda8de8501ce6dfee2" + }, + { + "path": "CaptionsToPromptList.py", + "mode": "100644", + "type": "blob", + "sha": "bf4b1703e46f080535ea4f1f3744f1558fa8ceb7", + "size": 2550, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bf4b1703e46f080535ea4f1f3744f1558fa8ceb7" + }, + { + "path": "CathodeRayEffect.md", + "mode": "100644", + "type": "blob", + "sha": "f5d463f6bc19d24a526a81f82aa96fdaafbc2adc", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5d463f6bc19d24a526a81f82aa96fdaafbc2adc" + }, + { + "path": "CathodeRayEffect.py", + "mode": "100644", + "type": "blob", + "sha": "aeed4b0ad443aed8e2f73b630f169a5cfb254cc3", + "size": 5440, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/aeed4b0ad443aed8e2f73b630f169a5cfb254cc3" + }, + { + "path": "ClassicFilmEffect.md", + "mode": "100644", + "type": "blob", + "sha": "173fce795d864539d858d4be92fba619d9f4005e", + "size": 4963, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/173fce795d864539d858d4be92fba619d9f4005e" + }, + { + "path": "ClassicFilmEffect.py", + "mode": "100644", + "type": "blob", + "sha": "9d1355b3b305c559a5e538fc64027a5facc7267c", + "size": 15366, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9d1355b3b305c559a5e538fc64027a5facc7267c" + }, + { + "path": "CombineAudio.md", + "mode": "100644", + "type": "blob", + "sha": "198ada34175b6976abbe03bf722e5803330a140b", + "size": 2086, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/198ada34175b6976abbe03bf722e5803330a140b" + }, + { + "path": "CombineAudio.py", + "mode": "100644", + "type": "blob", + "sha": "a6b7f98fb2b7b845cfdfdb126c1fa48598c9b785", + "size": 17333, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a6b7f98fb2b7b845cfdfdb126c1fa48598c9b785" + }, + { + "path": "DJZ-Nodes-Index.md", + "mode": "100644", + "type": "blob", + "sha": "6c563040f616d8dba654a037111aa5da35c64fef", + "size": 20350, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6c563040f616d8dba654a037111aa5da35c64fef" + }, + { + "path": "DJZDatamoshV2.md", + "mode": "100644", + "type": "blob", + "sha": "ed8574b105f50ae714cf3a1614ee618dbdf0d9af", + "size": 2887, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ed8574b105f50ae714cf3a1614ee618dbdf0d9af" + }, + { + "path": "DJZDatamoshV2.py", + "mode": "100644", + "type": "blob", + "sha": "6fdd5c56fd6b14ac08f291831a4fb47c9a9d39f8", + "size": 8239, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6fdd5c56fd6b14ac08f291831a4fb47c9a9d39f8" + }, + { + "path": "DJZImageScaleToTotalPixels.py", + "mode": "100644", + "type": "blob", + "sha": "4797c6884a7f9b7d9a7427a6c8ee09d0687cc76d", + "size": 2041, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4797c6884a7f9b7d9a7427a6c8ee09d0687cc76d" + }, + { + "path": "DJZLoadLatent.md", + "mode": "100644", + "type": "blob", + "sha": "95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca", + "size": 1795, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca" + }, + { + "path": "DJZLoadLatent.py", + "mode": "100644", + "type": "blob", + "sha": "4195987cd365beee852c9e0e1d1a23a32fa00a10", + "size": 3668, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4195987cd365beee852c9e0e1d1a23a32fa00a10" + }, + { + "path": "DJZLoadLatentV2.md", + "mode": "100644", + "type": "blob", + "sha": "28c4108bc510368a985a5b5242ba1f0bf699f462", + "size": 2578, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/28c4108bc510368a985a5b5242ba1f0bf699f462" + }, + { + "path": "DJZLoadLatentV2.py", + "mode": "100644", + "type": "blob", + "sha": "7f4860e02cda71878e77555f987f87f45cf5aaff", + "size": 4011, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7f4860e02cda71878e77555f987f87f45cf5aaff" + }, + { + "path": "DJZ_ParallaxV1.py", + "mode": "100644", + "type": "blob", + "sha": "4a96288199a33f75e0ba908f77f64938112d2d78", + "size": 7431, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4a96288199a33f75e0ba908f77f64938112d2d78" + }, + { + "path": "DatasetWordcloud.md", + "mode": "100644", + "type": "blob", + "sha": "6aa53408da15e6c57a620bc4a8daadb2123a567c", + "size": 2870, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6aa53408da15e6c57a620bc4a8daadb2123a567c" + }, + { + "path": "DatasetWordcloud.py", + "mode": "100644", + "type": "blob", + "sha": "8f0d86270f21da9af90845627c35cd88571759be", + "size": 4033, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8f0d86270f21da9af90845627c35cd88571759be" + }, + { + "path": "DeadPixelEffect.md", + "mode": "100644", + "type": "blob", + "sha": "9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3", + "size": 3615, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3" + }, + { + "path": "DeadPixelEffect.py", + "mode": "100644", + "type": "blob", + "sha": "c3ae6034d03bf2c81055933dd8edc4cb9a8674d7", + "size": 4930, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c3ae6034d03bf2c81055933dd8edc4cb9a8674d7" + }, + { + "path": "DepthBasedPixelization.md", + "mode": "100644", + "type": "blob", + "sha": "1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05", + "size": 2826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05" + }, + { + "path": "DepthBasedPixelization.py", + "mode": "100644", + "type": "blob", + "sha": "06b4441a6c0ed82ede73dcef6383ff9b5d1f46d9", + "size": 6065, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/06b4441a6c0ed82ede73dcef6383ff9b5d1f46d9" + }, + { + "path": "DinskyPlus.md", + "mode": "100644", + "type": "blob", + "sha": "967b6a5c66c509e189aacd035670e8f06111ad44", + "size": 3714, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967b6a5c66c509e189aacd035670e8f06111ad44" + }, + { + "path": "DinskyPlus.py", + "mode": "100644", + "type": "blob", + "sha": "7f6723073da50c4676163cd30df1e3baa0960962", + "size": 5252, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7f6723073da50c4676163cd30df1e3baa0960962" + }, + { + "path": "DinskyPlusV2.md", + "mode": "100644", + "type": "blob", + "sha": "3b61c7b2ece945f3c5263cf3ce84210ebe365860", + "size": 3777, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3b61c7b2ece945f3c5263cf3ce84210ebe365860" + }, + { + "path": "DinskyPlusV2.py", + "mode": "100644", + "type": "blob", + "sha": "bdde0993d686ebb5de5134fc2a699b320e07ef68", + "size": 6007, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bdde0993d686ebb5de5134fc2a699b320e07ef68" + }, + { + "path": "DjzDatabendingV1.md", + "mode": "100644", + "type": "blob", + "sha": "4ca66adb993a301549aec8e2ddcb99cfdb6e0034", + "size": 3149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4ca66adb993a301549aec8e2ddcb99cfdb6e0034" + }, + { + "path": "DjzDatabendingV1.py", + "mode": "100644", + "type": "blob", + "sha": "4d340bbd2973a9ac93d53a12a233d06384e8c7b3", + "size": 7798, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4d340bbd2973a9ac93d53a12a233d06384e8c7b3" + }, + { + "path": "DjzDatamosh.md", + "mode": "100644", + "type": "blob", + "sha": "6d1efcc670a965f49b9caa4d92236bb646b66588", + "size": 3826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6d1efcc670a965f49b9caa4d92236bb646b66588" + }, + { + "path": "DjzDatamosh.py", + "mode": "100644", + "type": "blob", + "sha": "c96507e77903a62dc1282241652d74984508d16b", + "size": 6360, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c96507e77903a62dc1282241652d74984508d16b" + }, + { + "path": "DjzDatamoshV3.md", + "mode": "100644", + "type": "blob", + "sha": "834a1bb04b6abed20a128db03e1f8d456b8b87dd", + "size": 3027, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/834a1bb04b6abed20a128db03e1f8d456b8b87dd" + }, + { + "path": "DjzDatamoshV3.py", + "mode": "100644", + "type": "blob", + "sha": "de0c2fbe0f968549415816da65cf4a55ba51f35f", + "size": 8037, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/de0c2fbe0f968549415816da65cf4a55ba51f35f" + }, + { + "path": "DjzDatamoshV4.md", + "mode": "100644", + "type": "blob", + "sha": "43c16c8d57effad37822fd45bdcbe9bdc9553061", + "size": 2995, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/43c16c8d57effad37822fd45bdcbe9bdc9553061" + }, + { + "path": "DjzDatamoshV4.py", + "mode": "100644", + "type": "blob", + "sha": "139fb9f6252bf8bb371c5644c1cef8703c692236", + "size": 10339, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/139fb9f6252bf8bb371c5644c1cef8703c692236" + }, + { + "path": "DjzDatamoshV5.md", + "mode": "100644", + "type": "blob", + "sha": "8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5", + "size": 3056, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5" + }, + { + "path": "DjzDatamoshV5.py", + "mode": "100644", + "type": "blob", + "sha": "aecfdf98a28e51e3613b1a2bebf7cdcb1895b05b", + "size": 6421, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/aecfdf98a28e51e3613b1a2bebf7cdcb1895b05b" + }, + { + "path": "DjzDatamoshV6.md", + "mode": "100644", + "type": "blob", + "sha": "37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce", + "size": 3197, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce" + }, + { + "path": "DjzDatamoshV6.py", + "mode": "100644", + "type": "blob", + "sha": "391e490e2c8d2d6aa6b4b5be1da5c75d7222504a", + "size": 5289, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/391e490e2c8d2d6aa6b4b5be1da5c75d7222504a" + }, + { + "path": "DjzDatamoshV7.md", + "mode": "100644", + "type": "blob", + "sha": "db25cbdd7bb4d582f959115641ee0a93d6b4cf00", + "size": 3133, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db25cbdd7bb4d582f959115641ee0a93d6b4cf00" + }, + { + "path": "DjzDatamoshV7.py", + "mode": "100644", + "type": "blob", + "sha": "45a992616c1243d1aad17d4b57946826546c8c0d", + "size": 9527, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/45a992616c1243d1aad17d4b57946826546c8c0d" + }, + { + "path": "DjzDatamoshV8.md", + "mode": "100644", + "type": "blob", + "sha": "8974a7717187c0a7a26e9bd7aec18899b2868090", + "size": 3752, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8974a7717187c0a7a26e9bd7aec18899b2868090" + }, + { + "path": "DjzDatamoshV8.py", + "mode": "100644", + "type": "blob", + "sha": "2cc093e9ee73a6374290ae5d61dff3583e21586b", + "size": 10262, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2cc093e9ee73a6374290ae5d61dff3583e21586b" + }, + { + "path": "FFXFADEORAMA.md", + "mode": "100644", + "type": "blob", + "sha": "099cef5e17ea31222de1f794386abce8c1a12b2d", + "size": 3659, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/099cef5e17ea31222de1f794386abce8c1a12b2d" + }, + { + "path": "FFXFADEORAMA.py", + "mode": "100644", + "type": "blob", + "sha": "e77d8ba9bb16f132ce6174ce9f7e2ae757ad3b7f", + "size": 5939, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e77d8ba9bb16f132ce6174ce9f7e2ae757ad3b7f" + }, + { + "path": "FilmGateWeave.md", + "mode": "100644", + "type": "blob", + "sha": "9a7e56297f6785724e18df90fda0a6dae06d1121", + "size": 4488, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9a7e56297f6785724e18df90fda0a6dae06d1121" + }, + { + "path": "FilmGateWeave.py", + "mode": "100644", + "type": "blob", + "sha": "5d5bbafff20464f1e14f55afbe647eba9177d862", + "size": 6200, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d5bbafff20464f1e14f55afbe647eba9177d862" + }, + { + "path": "FilmGrainEffect.md", + "mode": "100644", + "type": "blob", + "sha": "7877dba9061abeee584f4b0df2fe684ec3825469", + "size": 3919, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7877dba9061abeee584f4b0df2fe684ec3825469" + }, + { + "path": "FilmGrainEffect.py", + "mode": "100644", + "type": "blob", + "sha": "60039dd7f34522527920d6b05aa3007394e29fdc", + "size": 6006, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/60039dd7f34522527920d6b05aa3007394e29fdc" + }, + { + "path": "FilmGrainEffect_v2.md", + "mode": "100644", + "type": "blob", + "sha": "48b8caa3f782324fc5e6c747d0086e5ffa0b42b5", + "size": 2317, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/48b8caa3f782324fc5e6c747d0086e5ffa0b42b5" + }, + { + "path": "FilmGrainEffect_v2.py", + "mode": "100644", + "type": "blob", + "sha": "169a6239ce2be3c150f2b8ace881fa9077eb99a2", + "size": 7167, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/169a6239ce2be3c150f2b8ace881fa9077eb99a2" + }, + { + "path": "FishEyeEffect.md", + "mode": "100644", + "type": "blob", + "sha": "08aa0df08a703d9a73d76db7a60b09dbb5807063", + "size": 4084, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/08aa0df08a703d9a73d76db7a60b09dbb5807063" + }, + { + "path": "FishEyeEffect.py", + "mode": "100644", + "type": "blob", + "sha": "40fb6dc8b46159619392df2b842add515bd0e92c", + "size": 8422, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/40fb6dc8b46159619392df2b842add515bd0e92c" + }, + { + "path": "FishEyeV2.md", + "mode": "100644", + "type": "blob", + "sha": "d9edb41ca89b43b48daf14dca60c3acfd12095b1", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d9edb41ca89b43b48daf14dca60c3acfd12095b1" + }, + { + "path": "FishEyeV2.py", + "mode": "100644", + "type": "blob", + "sha": "12bbb0e1fa975e97366e8645b1c6a6af6e34fc27", + "size": 8434, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/12bbb0e1fa975e97366e8645b1c6a6af6e34fc27" + }, + { + "path": "FractalGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "59bf23b77bcde257e38a97b272381e109ffbbeeb", + "size": 3485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/59bf23b77bcde257e38a97b272381e109ffbbeeb" + }, + { + "path": "FractalGenerator.py", + "mode": "100644", + "type": "blob", + "sha": "d48ee536603f1daeb29bf25a20cda811b4a9b287", + "size": 6727, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d48ee536603f1daeb29bf25a20cda811b4a9b287" + }, + { + "path": "FractalGeneratorV2.md", + "mode": "100644", + "type": "blob", + "sha": "5d8f59aff72605c6865d4d6913c937df261dcfba", + "size": 4455, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d8f59aff72605c6865d4d6913c937df261dcfba" + }, + { + "path": "FractalGeneratorV2.py", + "mode": "100644", + "type": "blob", + "sha": "33169f3832ed05bdabff7953e9c387f5d46cf893", + "size": 12587, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/33169f3832ed05bdabff7953e9c387f5d46cf893" + }, + { + "path": "FractalGeneratorV3.md", + "mode": "100644", + "type": "blob", + "sha": "9c3b380f6b7ab3e31586ed482de4f873d7212791", + "size": 5180, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9c3b380f6b7ab3e31586ed482de4f873d7212791" + }, + { + "path": "FractalGeneratorV3.py", + "mode": "100644", + "type": "blob", + "sha": "1f57ed6d043a7cf4b5c5c8a22f6d3ae8bb714003", + "size": 11142, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1f57ed6d043a7cf4b5c5c8a22f6d3ae8bb714003" + }, + { + "path": "GSL_Filter_V1.md", + "mode": "100644", + "type": "blob", + "sha": "f95add523013b3500a188da4e5fa70316a47ad5a", + "size": 3991, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f95add523013b3500a188da4e5fa70316a47ad5a" + }, + { + "path": "GSL_Filter_V1.py", + "mode": "100644", + "type": "blob", + "sha": "ffd537ec3e769d7d2f76471a29f254a0ff3ebb55", + "size": 10202, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ffd537ec3e769d7d2f76471a29f254a0ff3ebb55" + }, + { + "path": "HalationBloom.md", + "mode": "100644", + "type": "blob", + "sha": "4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a", + "size": 4325, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a" + }, + { + "path": "HalationBloom.py", + "mode": "100644", + "type": "blob", + "sha": "9d212791c4f549d6d66b5ecc9d0c672976f1c8f6", + "size": 5871, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9d212791c4f549d6d66b5ecc9d0c672976f1c8f6" + }, + { + "path": "ImageInterleavedUpscaler.md", + "mode": "100644", + "type": "blob", + "sha": "f27c5e4ac1b42d2fdaad8debf2ec4741df32d708", + "size": 3536, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27c5e4ac1b42d2fdaad8debf2ec4741df32d708" + }, + { + "path": "ImageInterleavedUpscaler.py", + "mode": "100644", + "type": "blob", + "sha": "d7ffa757ee87062331eeaded222c2ac26f6e90ee", + "size": 7640, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d7ffa757ee87062331eeaded222c2ac26f6e90ee" + }, + { + "path": "ImageInterleavedUpscalerV2.md", + "mode": "100644", + "type": "blob", + "sha": "1f49dacb526e6eb04c88a61236a783cbe609cfe4", + "size": 3309, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1f49dacb526e6eb04c88a61236a783cbe609cfe4" + }, + { + "path": "ImageInterleavedUpscalerV2.py", + "mode": "100644", + "type": "blob", + "sha": "e3cf44d02b453fcae58fafb39f345e7f4e9b5de9", + "size": 9987, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e3cf44d02b453fcae58fafb39f345e7f4e9b5de9" + }, + { + "path": "ImageSizeAdjuster.md", + "mode": "100644", + "type": "blob", + "sha": "71424c98298c96925f14479b3c62d26fcb541abd", + "size": 1537, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/71424c98298c96925f14479b3c62d26fcb541abd" + }, + { + "path": "ImageSizeAdjuster.py", + "mode": "100644", + "type": "blob", + "sha": "8cd7f3868fd08fdce285f50da7260b05c09fb135", + "size": 1895, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8cd7f3868fd08fdce285f50da7260b05c09fb135" + }, + { + "path": "ImageSizeAdjusterV2.md", + "mode": "100644", + "type": "blob", + "sha": "5a32baa83485148dd00dfa5a9ef2d1a457811f69", + "size": 2890, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5a32baa83485148dd00dfa5a9ef2d1a457811f69" + }, + { + "path": "ImageSizeAdjusterV2.py", + "mode": "100644", + "type": "blob", + "sha": "0880e0c64c13150d242a1579cdebd9c67c84a3ad", + "size": 5144, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0880e0c64c13150d242a1579cdebd9c67c84a3ad" + }, + { + "path": "ImageSizeAdjusterV3.md", + "mode": "100644", + "type": "blob", + "sha": "9dabccb375b7f7e342e7cc27cb154c5d804aaa20", + "size": 3688, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9dabccb375b7f7e342e7cc27cb154c5d804aaa20" + }, + { + "path": "ImageSizeAdjusterV3.py", + "mode": "100644", + "type": "blob", + "sha": "442bb113ed47a58f0d6d97728661c5c756753c68", + "size": 6793, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/442bb113ed47a58f0d6d97728661c5c756753c68" + }, + { + "path": "JitterEffect.md", + "mode": "100644", + "type": "blob", + "sha": "1efc65006899843664dc643b15af90bd33c6741c", + "size": 2922, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1efc65006899843664dc643b15af90bd33c6741c" + }, + { + "path": "JitterEffect.py", + "mode": "100644", + "type": "blob", + "sha": "112453af834996080c5cc963aca21d2aadc1b966", + "size": 4986, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/112453af834996080c5cc963aca21d2aadc1b966" + }, + { + "path": "KeyframeBasedUpscalerV1.md", + "mode": "100644", + "type": "blob", + "sha": "755430b184031c82d20f1ba8bd3d30fb50990739", + "size": 3716, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/755430b184031c82d20f1ba8bd3d30fb50990739" + }, + { + "path": "KeyframeBasedUpscalerV1.py", + "mode": "100644", + "type": "blob", + "sha": "ad9208b525b7964bfc51237cba5992bc018acd61", + "size": 10144, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ad9208b525b7964bfc51237cba5992bc018acd61" + }, + { + "path": "KinescopeEffectV1.md", + "mode": "100644", + "type": "blob", + "sha": "efc4db436848fc154e820f695ecb01e7a0cb266f", + "size": 3535, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/efc4db436848fc154e820f695ecb01e7a0cb266f" + }, + { + "path": "KinescopeEffectV1.py", + "mode": "100644", + "type": "blob", + "sha": "083989b53341419bbfe2be959896616fbf7db44b", + "size": 7843, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/083989b53341419bbfe2be959896616fbf7db44b" + }, + { + "path": "LensLeaks.md", + "mode": "100644", + "type": "blob", + "sha": "92d0980d6d20ac83bd3d0d246868b14b1f320aa6", + "size": 2994, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/92d0980d6d20ac83bd3d0d246868b14b1f320aa6" + }, + { + "path": "LensLeaks.py", + "mode": "100644", + "type": "blob", + "sha": "862ffc1894709625dc12e87d1324c88679c685f8", + "size": 7310, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/862ffc1894709625dc12e87d1324c88679c685f8" + }, + { + "path": "LoadTextDirectory.md", + "mode": "100644", + "type": "blob", + "sha": "dc65be2c6090057a32af84345f44e7146e16c024", + "size": 2480, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc65be2c6090057a32af84345f44e7146e16c024" + }, + { + "path": "LoadTextDirectory.py", + "mode": "100644", + "type": "blob", + "sha": "079c0c8928d83a352524e7f35bf4b45b845656c7", + "size": 3500, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/079c0c8928d83a352524e7f35bf4b45b845656c7" + }, + { + "path": "LoadVideoBatchFrame.md", + "mode": "100644", + "type": "blob", + "sha": "2481c1786e139f543f8b3d0224e35e25bd57f138", + "size": 2609, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2481c1786e139f543f8b3d0224e35e25bd57f138" + }, + { + "path": "LoadVideoBatchFrame.py", + "mode": "100644", + "type": "blob", + "sha": "dd1519aa327aa7bc13c97d0411615bb17ce4d4fb", + "size": 4150, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dd1519aa327aa7bc13c97d0411615bb17ce4d4fb" + }, + { + "path": "LoadVideoDirectory.md", + "mode": "100644", + "type": "blob", + "sha": "b74a4d4711bf7767493a47bcd17e236868f7f7a4", + "size": 2941, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b74a4d4711bf7767493a47bcd17e236868f7f7a4" + }, + { + "path": "LoadVideoDirectory.py", + "mode": "100644", + "type": "blob", + "sha": "feaf07569a40bb97bd47d6ee6cf79677f9bae6ec", + "size": 5196, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/feaf07569a40bb97bd47d6ee6cf79677f9bae6ec" + }, + { + "path": "LoadVideoDirectoryV2.md", + "mode": "100644", + "type": "blob", + "sha": "f27b365babc941d259f8a8ee229e7d52bdd1a274", + "size": 4149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27b365babc941d259f8a8ee229e7d52bdd1a274" + }, + { + "path": "LoadVideoDirectoryV2.py", + "mode": "100644", + "type": "blob", + "sha": "87b209b7a788369796dd48555f218c436d62e50f", + "size": 14285, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/87b209b7a788369796dd48555f218c436d62e50f" + }, + { + "path": "MotionBlending.md", + "mode": "100644", + "type": "blob", + "sha": "ce0b713ce71c2873db5998a8813e0241703dbd05", + "size": 4485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce0b713ce71c2873db5998a8813e0241703dbd05" + }, + { + "path": "MotionBlending.py", + "mode": "100644", + "type": "blob", + "sha": "ff25da6742a7ab29e1dd61007aa66a37de2239fe", + "size": 5358, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ff25da6742a7ab29e1dd61007aa66a37de2239fe" + }, + { + "path": "NoiseFactory.md", + "mode": "100644", + "type": "blob", + "sha": "a0b9d4087333ec0b68ce698f02680db8284a6901", + "size": 4259, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a0b9d4087333ec0b68ce698f02680db8284a6901" + }, + { + "path": "NoiseFactory.py", + "mode": "100644", + "type": "blob", + "sha": "6476a212ec796be3409cee9e69036144dc4272bd", + "size": 15192, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6476a212ec796be3409cee9e69036144dc4272bd" + }, + { + "path": "NoiseFactoryV2.md", + "mode": "100644", + "type": "blob", + "sha": "d99ad61c0766b16ff7a9d2fc18bda08fb95828d0", + "size": 3949, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d99ad61c0766b16ff7a9d2fc18bda08fb95828d0" + }, + { + "path": "NoiseFactoryV2.py", + "mode": "100644", + "type": "blob", + "sha": "b1729ce1c52bd86e347946bb8c8b09fb55f06087", + "size": 19626, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b1729ce1c52bd86e347946bb8c8b09fb55f06087" + }, + { + "path": "NoiseFactoryV3.md", + "mode": "100644", + "type": "blob", + "sha": "e02995cd34323613a9b6414721d10dfd9be522e4", + "size": 3962, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e02995cd34323613a9b6414721d10dfd9be522e4" + }, + { + "path": "NoiseFactoryV3.py", + "mode": "100644", + "type": "blob", + "sha": "4859edf4618fe32e330551bce32e111d69a1873b", + "size": 16615, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4859edf4618fe32e330551bce32e111d69a1873b" + }, + { + "path": "NonSquarePixelsV1.md", + "mode": "100644", + "type": "blob", + "sha": "a72f4e769bb0877b0c839862df9a8bab4413fb21", + "size": 3344, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a72f4e769bb0877b0c839862df9a8bab4413fb21" + }, + { + "path": "NonSquarePixelsV1.py", + "mode": "100644", + "type": "blob", + "sha": "cf787f7f0ba2f090bd8802f41b486f6f13982da3", + "size": 3423, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cf787f7f0ba2f090bd8802f41b486f6f13982da3" + }, + { + "path": "PIP-MAN-V5.bat", + "mode": "100644", + "type": "blob", + "sha": "7ec5a82babc6f4d3ece2413344caedb64d12d100", + "size": 1877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7ec5a82babc6f4d3ece2413344caedb64d12d100" + }, + { + "path": "PanavisionLensV1.md", + "mode": "100644", + "type": "blob", + "sha": "9df1ff8a789a7eab00765aba14fcb01afc21b5bc", + "size": 3159, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9df1ff8a789a7eab00765aba14fcb01afc21b5bc" + }, + { + "path": "PanavisionLensV2.md", + "mode": "100644", + "type": "blob", + "sha": "79c866bce31024448db397ebb68fe4ea4871fd55", + "size": 5063, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79c866bce31024448db397ebb68fe4ea4871fd55" + }, + { + "path": "PanavisionLensV2.py", + "mode": "100644", + "type": "blob", + "sha": "5fdb44d35efc85b7b22526378ea8bb84edfef647", + "size": 19243, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5fdb44d35efc85b7b22526378ea8bb84edfef647" + }, + { + "path": "ParametricMeshGen.md", + "mode": "100644", + "type": "blob", + "sha": "34c11727e5d3dc1639043dd36e05c9a7de9d064e", + "size": 2470, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/34c11727e5d3dc1639043dd36e05c9a7de9d064e" + }, + { + "path": "ParametricMeshGen.py", + "mode": "100644", + "type": "blob", + "sha": "937251355d29853c4950a1f2c467cd761e636b2b", + "size": 4648, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/937251355d29853c4950a1f2c467cd761e636b2b" + }, + { + "path": "ParametricMeshGenV2.md", + "mode": "100644", + "type": "blob", + "sha": "483a81645dd56655b5f6db81e3bbada57076c0e1", + "size": 4540, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/483a81645dd56655b5f6db81e3bbada57076c0e1" + }, + { + "path": "ParametricMeshGenV2.py", + "mode": "100644", + "type": "blob", + "sha": "a4d18885e31d71c444dc020cda336d8734ac24da", + "size": 10304, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4d18885e31d71c444dc020cda336d8734ac24da" + }, + { + "path": "PartTimer.py", + "mode": "100644", + "type": "blob", + "sha": "cab06785be7291fccd8ea2123202572dafb71e33", + "size": 3385, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cab06785be7291fccd8ea2123202572dafb71e33" + }, + { + "path": "ProjectFilePathNode.md", + "mode": "100644", + "type": "blob", + "sha": "7465e9e49be77cd77f6b3f8d880030cef7d482cc", + "size": 2999, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7465e9e49be77cd77f6b3f8d880030cef7d482cc" + }, + { + "path": "ProjectFilePathNode.py", + "mode": "100644", + "type": "blob", + "sha": "276a3d8bce58ba94ee633e769643abdb4fabcd49", + "size": 2660, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/276a3d8bce58ba94ee633e769643abdb4fabcd49" + }, + { + "path": "ProjectFolderPathNode.md", + "mode": "100644", + "type": "blob", + "sha": "bc56d34019400c707f1cac349cb9c02601c633c6", + "size": 881, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bc56d34019400c707f1cac349cb9c02601c633c6" + }, + { + "path": "ProjectFolderPathNode.py", + "mode": "100644", + "type": "blob", + "sha": "158bb96634fa30d9d24c5ce5ac4fd12c3dd619c6", + "size": 2149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/158bb96634fa30d9d24c5ce5ac4fd12c3dd619c6" + }, + { + "path": "PromptCleaner.md", + "mode": "100644", + "type": "blob", + "sha": "c8ce4904f4f799857f600e97b673af937f7ab3b7", + "size": 2428, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c8ce4904f4f799857f600e97b673af937f7ab3b7" + }, + { + "path": "PromptCleaner.py", + "mode": "100644", + "type": "blob", + "sha": "cbec5eaabe9f680281732475ac20d3ec7f59a0fe", + "size": 1907, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cbec5eaabe9f680281732475ac20d3ec7f59a0fe" + }, + { + "path": "PromptCleanerV2.py", + "mode": "100644", + "type": "blob", + "sha": "2640849126c865d64116e89b9e2ad4428f3b872f", + "size": 2480, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2640849126c865d64116e89b9e2ad4428f3b872f" + }, + { + "path": "PromptDupeRemover.md", + "mode": "100644", + "type": "blob", + "sha": "0d0b8184007ccf6520362266191880aeb450c89f", + "size": 2246, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0d0b8184007ccf6520362266191880aeb450c89f" + }, + { + "path": "PromptDupeRemover.py", + "mode": "100644", + "type": "blob", + "sha": "91737404cc691270c0ebbacfd8b53c20a20be719", + "size": 2000, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/91737404cc691270c0ebbacfd8b53c20a20be719" + }, + { + "path": "PromptDupeRemoverV2.md", + "mode": "100644", + "type": "blob", + "sha": "45e29e15dd9b926d56e505cfda3a17fa587c81a5", + "size": 2774, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/45e29e15dd9b926d56e505cfda3a17fa587c81a5" + }, + { + "path": "PromptDupeRemoverV2.py", + "mode": "100644", + "type": "blob", + "sha": "43abcd3930e68af827a882106f70a54684c8113a", + "size": 4749, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/43abcd3930e68af827a882106f70a54684c8113a" + }, + { + "path": "PromptInject.md", + "mode": "100644", + "type": "blob", + "sha": "6887b979c4ba23c8d6875a106da97fb93ef412bb", + "size": 2294, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6887b979c4ba23c8d6875a106da97fb93ef412bb" + }, + { + "path": "PromptInject.py", + "mode": "100644", + "type": "blob", + "sha": "7d82c6b3224afce1be601df26720881c111aedca", + "size": 1931, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7d82c6b3224afce1be601df26720881c111aedca" + }, + { + "path": "PromptInjectV2.md", + "mode": "100644", + "type": "blob", + "sha": "a479ad95165f3d0e16c95ba8304b0aaaa600c831", + "size": 1459, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a479ad95165f3d0e16c95ba8304b0aaaa600c831" + }, + { + "path": "PromptInjectV2.py", + "mode": "100644", + "type": "blob", + "sha": "5d1918fd9361acfaa0f31527823741c5367a3b5e", + "size": 2393, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d1918fd9361acfaa0f31527823741c5367a3b5e" + }, + { + "path": "PromptSwap.md", + "mode": "100644", + "type": "blob", + "sha": "7727f59d1a9c0822fec243f054bd34fdc0ce585a", + "size": 2108, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7727f59d1a9c0822fec243f054bd34fdc0ce585a" + }, + { + "path": "PromptSwap.py", + "mode": "100644", + "type": "blob", + "sha": "61c4056578db4d88e162af1ac94da7b03d0f86ef", + "size": 2810, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/61c4056578db4d88e162af1ac94da7b03d0f86ef" + }, + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "581d92a776ea2db6e8b9e90ce680c246b658824a", + "size": 10381, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/581d92a776ea2db6e8b9e90ce680c246b658824a" + }, + { + "path": "RetroVideoText.md", + "mode": "100644", + "type": "blob", + "sha": "358c82817e7fcd95a06a0deb269c7330a087cb64", + "size": 2710, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/358c82817e7fcd95a06a0deb269c7330a087cb64" + }, + { + "path": "RetroVideoText.py", + "mode": "100644", + "type": "blob", + "sha": "1f1ed6ac6f64cfec2f9e161dcb484b1789762feb", + "size": 8286, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1f1ed6ac6f64cfec2f9e161dcb484b1789762feb" + }, + { + "path": "SaveText.md", + "mode": "100644", + "type": "blob", + "sha": "f83b415039ab622bc010fd7c2c77b29dae759bd5", + "size": 2645, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f83b415039ab622bc010fd7c2c77b29dae759bd5" + }, + { + "path": "SaveText.py", + "mode": "100644", + "type": "blob", + "sha": "fd5553006ce85f6f819859780633fbaef8a07399", + "size": 3020, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fd5553006ce85f6f819859780633fbaef8a07399" + }, + { + "path": "ScreenGen", + "mode": "040000", + "type": "tree", + "sha": "31f7855636849090301b53d17de160af2363821f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/31f7855636849090301b53d17de160af2363821f" + }, + { + "path": "ScreenGen/README.md", + "mode": "100644", + "type": "blob", + "sha": "389e778f4d00849a913c13b607a48a4d18f0187e", + "size": 3544, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/389e778f4d00849a913c13b607a48a4d18f0187e" + }, + { + "path": "ScreenGen/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "9ee338f52d6695c891a26e66120b520809e2862f", + "size": 60, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9ee338f52d6695c891a26e66120b520809e2862f" + }, + { + "path": "ScreenGen/bounce.scg", + "mode": "100644", + "type": "blob", + "sha": "b27c5ebb34246381349a65cb27aa49bce1345731", + "size": 5003, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b27c5ebb34246381349a65cb27aa49bce1345731" + }, + { + "path": "ScreenGen/matrix.scg", + "mode": "100644", + "type": "blob", + "sha": "5a497a6216657f2e984d3611f39d3a9025e3b450", + "size": 3800, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5a497a6216657f2e984d3611f39d3a9025e3b450" + }, + { + "path": "ScreenGen/mazeV2.scg", + "mode": "100644", + "type": "blob", + "sha": "b1a6f8f347b0840ac67af43e980b3cd65b4f3190", + "size": 6572, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b1a6f8f347b0840ac67af43e980b3cd65b4f3190" + }, + { + "path": "ScreenGen/pipes.scg", + "mode": "100644", + "type": "blob", + "sha": "620caf66345e4b71174d7245e31e83efe29dfebd", + "size": 2381, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/620caf66345e4b71174d7245e31e83efe29dfebd" + }, + { + "path": "ScreenGen/pipesV2.scg", + "mode": "100644", + "type": "blob", + "sha": "47d957a1d2fa644c381efa1f7ad129a4ad96934e", + "size": 4171, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/47d957a1d2fa644c381efa1f7ad129a4ad96934e" + }, + { + "path": "ScreenGen/plasma.scg", + "mode": "100644", + "type": "blob", + "sha": "c667be3edbc5ad5cd745ab2cfd2b5abc86c1c457", + "size": 3277, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c667be3edbc5ad5cd745ab2cfd2b5abc86c1c457" + }, + { + "path": "ScreenGen/starfield.scg", + "mode": "100644", + "type": "blob", + "sha": "62e758f9fa36494d7779118d6dfa2f17e5aa210a", + "size": 2564, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/62e758f9fa36494d7779118d6dfa2f17e5aa210a" + }, + { + "path": "ScreenGen/toastersV2.scg", + "mode": "100644", + "type": "blob", + "sha": "e04254906ab6ff6a93126e76bca78e32870b8f85", + "size": 7321, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e04254906ab6ff6a93126e76bca78e32870b8f85" + }, + { + "path": "ScreensaverGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "a20471ba38ace3ebb736908070770c16050e013f", + "size": 3953, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a20471ba38ace3ebb736908070770c16050e013f" + }, + { + "path": "ScreensaverGenerator.py", + "mode": "100644", + "type": "blob", + "sha": "ef3fceb637cf81d9662954d53e7652bfa61bffe2", + "size": 9948, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef3fceb637cf81d9662954d53e7652bfa61bffe2" + }, + { + "path": "ScreensaverGeneratorV2.md", + "mode": "100644", + "type": "blob", + "sha": "89f237164470760eb5a0bbc0aa2c2a8e251092c2", + "size": 2586, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/89f237164470760eb5a0bbc0aa2c2a8e251092c2" + }, + { + "path": "ScreensaverGeneratorV2.py", + "mode": "100644", + "type": "blob", + "sha": "25cf7b78a2e7c40eef72c890c2cdf73cfe3b0c66", + "size": 8960, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/25cf7b78a2e7c40eef72c890c2cdf73cfe3b0c66" + }, + { + "path": "ScreensaverGeneratorV3.md", + "mode": "100644", + "type": "blob", + "sha": "7c0b5c196ecfb987b13687398659aae5e3f5a8f9", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c0b5c196ecfb987b13687398659aae5e3f5a8f9" + }, + { + "path": "ScreensaverGeneratorV3.py", + "mode": "100644", + "type": "blob", + "sha": "66e2a3f2869cda562008db3b15610809f16a9cbb", + "size": 18288, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/66e2a3f2869cda562008db3b15610809f16a9cbb" + }, + { + "path": "SequentialNumberGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "0b78fbcf5064fdc15e660b9da2782cc7fb093370", + "size": 1943, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0b78fbcf5064fdc15e660b9da2782cc7fb093370" + }, + { + "path": "SequentialNumberGenerator.py", + "mode": "100644", + "type": "blob", + "sha": "84a2a56aa41cf73eb915d02b035050eb0f8e6460", + "size": 1994, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/84a2a56aa41cf73eb915d02b035050eb0f8e6460" + }, + { + "path": "StringChaos.md", + "mode": "100644", + "type": "blob", + "sha": "a4daff8cf68ed3db7b1549c010c0404a04a5044f", + "size": 2561, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4daff8cf68ed3db7b1549c010c0404a04a5044f" + }, + { + "path": "StringChaos.py", + "mode": "100644", + "type": "blob", + "sha": "5d6cc753210c2dad6a0b3ace466246f9b1dde847", + "size": 5643, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d6cc753210c2dad6a0b3ace466246f9b1dde847" + }, + { + "path": "StringMatch.py", + "mode": "100644", + "type": "blob", + "sha": "9df549ee7fd8d9e12ed1cb9641bac2b31e996e23", + "size": 2039, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9df549ee7fd8d9e12ed1cb9641bac2b31e996e23" + }, + { + "path": "StringPainter.md", + "mode": "100644", + "type": "blob", + "sha": "d8594e600e344165ae145275c714da48a5d9c9db", + "size": 2392, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d8594e600e344165ae145275c714da48a5d9c9db" + }, + { + "path": "StringPainter.py", + "mode": "100644", + "type": "blob", + "sha": "6a07bb32928e10af2a6c9c3e49ef47e908929083", + "size": 1936, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6a07bb32928e10af2a6c9c3e49ef47e908929083" + }, + { + "path": "StringPainterV2.md", + "mode": "100644", + "type": "blob", + "sha": "f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007", + "size": 3513, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007" + }, + { + "path": "StringPainterV2.py", + "mode": "100644", + "type": "blob", + "sha": "cc8ac229804a7f73f0b0f64f63590251d518df0f", + "size": 4770, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cc8ac229804a7f73f0b0f64f63590251d518df0f" + }, + { + "path": "StringWeights.md", + "mode": "100644", + "type": "blob", + "sha": "19f60b035db453b911bfd57fc1141fd3454cc158", + "size": 1864, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/19f60b035db453b911bfd57fc1141fd3454cc158" + }, + { + "path": "StringWeights.py", + "mode": "100644", + "type": "blob", + "sha": "7d8b1735a725a81eed7180e788415fe6321be229", + "size": 1171, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7d8b1735a725a81eed7180e788415fe6321be229" + }, + { + "path": "Technicolor3Strip_v1.md", + "mode": "100644", + "type": "blob", + "sha": "e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f", + "size": 3132, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f" + }, + { + "path": "Technicolor3Strip_v1.py", + "mode": "100644", + "type": "blob", + "sha": "73d58f36ca8ecd7d3708c98d5fb9270f6282baad", + "size": 6214, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/73d58f36ca8ecd7d3708c98d5fb9270f6282baad" + }, + { + "path": "Technicolor3Strip_v2.md", + "mode": "100644", + "type": "blob", + "sha": "db493c308a4aae69c91f7b416a096f4a67ad7ca4", + "size": 4656, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db493c308a4aae69c91f7b416a096f4a67ad7ca4" + }, + { + "path": "Technicolor3Strip_v2.py", + "mode": "100644", + "type": "blob", + "sha": "e4ff183b80f5163af4ab42428217ccf0900de3cc", + "size": 9081, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e4ff183b80f5163af4ab42428217ccf0900de3cc" + }, + { + "path": "ThinkSeeker.md", + "mode": "100644", + "type": "blob", + "sha": "ef355204d8b94b0296fb408bb31229fcf87174bf", + "size": 3634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef355204d8b94b0296fb408bb31229fcf87174bf" + }, + { + "path": "ThinkSeeker.py", + "mode": "100644", + "type": "blob", + "sha": "769d75defc853519cead4b0b8910e5f1a9883381", + "size": 1779, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/769d75defc853519cead4b0b8910e5f1a9883381" + }, + { + "path": "ThreeToneStyler.md", + "mode": "100644", + "type": "blob", + "sha": "967bbf80b0e400940354f5a3c2633070c39a1c87", + "size": 3877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967bbf80b0e400940354f5a3c2633070c39a1c87" + }, + { + "path": "ThreeToneStyler.py", + "mode": "100644", + "type": "blob", + "sha": "036e699c45a8739ab0d21e81af1d1af36d1cee53", + "size": 8158, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/036e699c45a8739ab0d21e81af1d1af36d1cee53" + }, + { + "path": "TrianglesPlus.md", + "mode": "100644", + "type": "blob", + "sha": "63972d7e9eae145d6dc9a8d0b6caca601f67d7ab", + "size": 1788, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/63972d7e9eae145d6dc9a8d0b6caca601f67d7ab" + }, + { + "path": "TrianglesPlus.py", + "mode": "100644", + "type": "blob", + "sha": "1e207f6d788c3b322a1143b2c4a8b49968024dd2", + "size": 4518, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1e207f6d788c3b322a1143b2c4a8b49968024dd2" + }, + { + "path": "TrianglesPlusV2.md", + "mode": "100644", + "type": "blob", + "sha": "c461964311e8f658ad55245cd9f9c2e76bfea3b0", + "size": 2836, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c461964311e8f658ad55245cd9f9c2e76bfea3b0" + }, + { + "path": "TrianglesPlusV2.py", + "mode": "100644", + "type": "blob", + "sha": "37e5172fbc2a7fefd1ab4d762f7efc1f25dd59ef", + "size": 4692, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/37e5172fbc2a7fefd1ab4d762f7efc1f25dd59ef" + }, + { + "path": "UncleanSpeech.md", + "mode": "100644", + "type": "blob", + "sha": "442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0", + "size": 3474, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0" + }, + { + "path": "UncleanSpeech.py", + "mode": "100644", + "type": "blob", + "sha": "e7a420eeefc678c4eb21131c313d8ab277474197", + "size": 22097, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e7a420eeefc678c4eb21131c313d8ab277474197" + }, + { + "path": "VGA_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "1a264e562c53ae2f35fdebff27087afba75bc29c", + "size": 4829, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a264e562c53ae2f35fdebff27087afba75bc29c" + }, + { + "path": "VGA_Effect_v1.py", + "mode": "100644", + "type": "blob", + "sha": "56152d0bb7cb687ce4a4d23f1b068b5fbb063ff9", + "size": 6976, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/56152d0bb7cb687ce4a4d23f1b068b5fbb063ff9" + }, + { + "path": "VHS_Effect_V3.md", + "mode": "100644", + "type": "blob", + "sha": "3cd8640103197e7718c353ebe348215386ad4da1", + "size": 3363, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3cd8640103197e7718c353ebe348215386ad4da1" + }, + { + "path": "VHS_Effect_V3.py", + "mode": "100644", + "type": "blob", + "sha": "d6e497d6f1e2060c48b678160b7f428c147b640a", + "size": 8802, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d6e497d6f1e2060c48b678160b7f428c147b640a" + }, + { + "path": "VHS_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "b5091534fcd350f7628167c31289850aa5ddfcb0", + "size": 3393, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b5091534fcd350f7628167c31289850aa5ddfcb0" + }, + { + "path": "VHS_Effect_v1.py", + "mode": "100644", + "type": "blob", + "sha": "dd97093f2a03ba03e1b08f70ddf40c210366a9c3", + "size": 8752, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dd97093f2a03ba03e1b08f70ddf40c210366a9c3" + }, + { + "path": "VHS_Effect_v2.md", + "mode": "100644", + "type": "blob", + "sha": "f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea", + "size": 3746, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea" + }, + { + "path": "VHS_Effect_v2.py", + "mode": "100644", + "type": "blob", + "sha": "afa26f60eb6e2016977a7ecab2e7c6bce7803bac", + "size": 9867, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/afa26f60eb6e2016977a7ecab2e7c6bce7803bac" + }, + { + "path": "VIZ", + "mode": "040000", + "type": "tree", + "sha": "b0d8b1ccd6bc5fde61b8d9c165c5127c2fc36f14", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b0d8b1ccd6bc5fde61b8d9c165c5127c2fc36f14" + }, + { + "path": "VIZ/README.md", + "mode": "100644", + "type": "blob", + "sha": "7c3a454668514ccf80e6f7abd5eb469235044ca4", + "size": 3999, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c3a454668514ccf80e6f7abd5eb469235044ca4" + }, + { + "path": "VIZ/butterfly.viz", + "mode": "100644", + "type": "blob", + "sha": "6a7eb5d2b69a710268038efc4ef17a81bfffe89c", + "size": 2416, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6a7eb5d2b69a710268038efc4ef17a81bfffe89c" + }, + { + "path": "VIZ/fractal_pulse.viz", + "mode": "100644", + "type": "blob", + "sha": "ed7703c894abdf9e74602d77a48bb6cdb5880518", + "size": 4317, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ed7703c894abdf9e74602d77a48bb6cdb5880518" + }, + { + "path": "VIZ/frequency_dots.viz", + "mode": "100644", + "type": "blob", + "sha": "ae40c68ee136f39c7de7764f930105da65745fa8", + "size": 3395, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ae40c68ee136f39c7de7764f930105da65745fa8" + }, + { + "path": "VIZ/kaleidoscope_wave.viz", + "mode": "100644", + "type": "blob", + "sha": "8ffc7676d73bd7385b97e29c9cae6d01a6a757e0", + "size": 4352, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8ffc7676d73bd7385b97e29c9cae6d01a6a757e0" + }, + { + "path": "VIZ/milkdrop_bars.viz", + "mode": "100644", + "type": "blob", + "sha": "79fe6f7ccf7730e2385f63aacf237d9f8510ac9f", + "size": 2253, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79fe6f7ccf7730e2385f63aacf237d9f8510ac9f" + }, + { + "path": "VIZ/oscilloscope.viz", + "mode": "100644", + "type": "blob", + "sha": "361ba89327927d658b53c617bf2f62c7e93387b7", + "size": 1429, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/361ba89327927d658b53c617bf2f62c7e93387b7" + }, + { + "path": "VIZ/plasma_wave.viz", + "mode": "100644", + "type": "blob", + "sha": "b5af90f20fd557ae9c89d16304b94a888011043d", + "size": 1388, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b5af90f20fd557ae9c89d16304b94a888011043d" + }, + { + "path": "VIZ/spectrum.viz", + "mode": "100644", + "type": "blob", + "sha": "754c5821652acc0cb92368ef7a582e3db93bedba", + "size": 1206, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/754c5821652acc0cb92368ef7a582e3db93bedba" + }, + { + "path": "VIZ/spiral_analyzer.viz", + "mode": "100644", + "type": "blob", + "sha": "8d1c4fb09068b5e1fff1b081ba0e26c0f9d19e1a", + "size": 4352, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8d1c4fb09068b5e1fff1b081ba0e26c0f9d19e1a" + }, + { + "path": "VIZ/starfield_pulse.viz", + "mode": "100644", + "type": "blob", + "sha": "c3c2c2a8133bacaeecfa49c4b51f0ec83abfd9a6", + "size": 4152, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c3c2c2a8133bacaeecfa49c4b51f0ec83abfd9a6" + }, + { + "path": "VIZ/tunnel_beat.viz", + "mode": "100644", + "type": "blob", + "sha": "80d9c67221e3e910875066d457fd8077c7278a62", + "size": 2789, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/80d9c67221e3e910875066d457fd8077c7278a62" + }, + { + "path": "VIZ/vector_scope.viz", + "mode": "100644", + "type": "blob", + "sha": "5777c5a6d42afd050ac24adea418bf0e5ff43588", + "size": 4887, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5777c5a6d42afd050ac24adea418bf0e5ff43588" + }, + { + "path": "VIZ/wave_rings.viz", + "mode": "100644", + "type": "blob", + "sha": "6c6f1eb43ee0b3a75170331f04690332ed8698cf", + "size": 2356, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6c6f1eb43ee0b3a75170331f04690332ed8698cf" + }, + { + "path": "VideoBitClamp.md", + "mode": "100644", + "type": "blob", + "sha": "24bfa7c3199b04581802cd935c6c64fdb558c7e3", + "size": 4750, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24bfa7c3199b04581802cd935c6c64fdb558c7e3" + }, + { + "path": "VideoBitClamp.py", + "mode": "100644", + "type": "blob", + "sha": "cdc86491a9a6109a92e7c0f03793b1d9b84a922e", + "size": 11165, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cdc86491a9a6109a92e7c0f03793b1d9b84a922e" + }, + { + "path": "VideoChromaticAberration.md", + "mode": "100644", + "type": "blob", + "sha": "8091e10dddd340d5c6013f070caf156ca685aca8", + "size": 5342, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8091e10dddd340d5c6013f070caf156ca685aca8" + }, + { + "path": "VideoChromaticAberration.py", + "mode": "100644", + "type": "blob", + "sha": "93e4ad46478b2fcada78c58d8667a68fbf21173b", + "size": 6401, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/93e4ad46478b2fcada78c58d8667a68fbf21173b" + }, + { + "path": "VideoCorridorV1.md", + "mode": "100644", + "type": "blob", + "sha": "35df1f89c9aef0f4fb8012a1fc358e322deb2fa2", + "size": 3611, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/35df1f89c9aef0f4fb8012a1fc358e322deb2fa2" + }, + { + "path": "VideoCorridorV1.py", + "mode": "100644", + "type": "blob", + "sha": "bd86016d1051f788461c73d82b720393f3833d09", + "size": 8989, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bd86016d1051f788461c73d82b720393f3833d09" + }, + { + "path": "VideoCubeV1.md", + "mode": "100644", + "type": "blob", + "sha": "5f0cd92599b64f137c12ce31092433e1d426bce6", + "size": 4295, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5f0cd92599b64f137c12ce31092433e1d426bce6" + }, + { + "path": "VideoCubeV1.py", + "mode": "100644", + "type": "blob", + "sha": "c701dc10f7de71737e2a90becb6bccd937f8bc20", + "size": 9878, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c701dc10f7de71737e2a90becb6bccd937f8bc20" + }, + { + "path": "VideoFilmDamage.md", + "mode": "100644", + "type": "blob", + "sha": "78cc8d29ec1a610567711d98b2585d8c9e7897dd", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/78cc8d29ec1a610567711d98b2585d8c9e7897dd" + }, + { + "path": "VideoFilmDamage.py", + "mode": "100644", + "type": "blob", + "sha": "782454e5c9913dfbafa0ad45028db01e2bb9a20b", + "size": 10632, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/782454e5c9913dfbafa0ad45028db01e2bb9a20b" + }, + { + "path": "VideoInterlaceFastV4.md", + "mode": "100644", + "type": "blob", + "sha": "371e451a6457933398224eceae79ac6f9dc6593a", + "size": 3486, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/371e451a6457933398224eceae79ac6f9dc6593a" + }, + { + "path": "VideoInterlaceFastV4.py", + "mode": "100644", + "type": "blob", + "sha": "bf7a5458d1f42afac3b964ede38633d82bc841b0", + "size": 9812, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bf7a5458d1f42afac3b964ede38633d82bc841b0" + }, + { + "path": "VideoInterlaceGANV3.md", + "mode": "100644", + "type": "blob", + "sha": "99ce00cfb71308f8ac499fc43e853f50caa772cc", + "size": 3120, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/99ce00cfb71308f8ac499fc43e853f50caa772cc" + }, + { + "path": "VideoInterlaceGANV3.py", + "mode": "100644", + "type": "blob", + "sha": "56671cdd536b415c53aa0272655c5ef0fdf8acdd", + "size": 11431, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/56671cdd536b415c53aa0272655c5ef0fdf8acdd" + }, + { + "path": "VideoInterlaced.md", + "mode": "100644", + "type": "blob", + "sha": "8caaf810ebedd8a4d5f294d8b7dff84955a64f14", + "size": 2940, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8caaf810ebedd8a4d5f294d8b7dff84955a64f14" + }, + { + "path": "VideoInterlaced.py", + "mode": "100644", + "type": "blob", + "sha": "4aa277543ae40cc17e2e479376a93d6eabb9c674", + "size": 5510, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4aa277543ae40cc17e2e479376a93d6eabb9c674" + }, + { + "path": "VideoInterlacedV2.md", + "mode": "100644", + "type": "blob", + "sha": "713bb8dff528d27237c19f4d4d255857824cdfd5", + "size": 3802, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/713bb8dff528d27237c19f4d4d255857824cdfd5" + }, + { + "path": "VideoInterlacedV2.py", + "mode": "100644", + "type": "blob", + "sha": "c2add9217b8c6681ec8787c1c7d3738b2da794d0", + "size": 11370, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c2add9217b8c6681ec8787c1c7d3738b2da794d0" + }, + { + "path": "VideoMazeV1.md", + "mode": "100644", + "type": "blob", + "sha": "d956f80ca174f7b829bdabb737fe2320605c370f", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d956f80ca174f7b829bdabb737fe2320605c370f" + }, + { + "path": "VideoMazeV1.py", + "mode": "100644", + "type": "blob", + "sha": "edbc1aac472b08ddf57240b2faa3bb6592a6489d", + "size": 11448, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/edbc1aac472b08ddf57240b2faa3bb6592a6489d" + }, + { + "path": "VideoMazeV2.md", + "mode": "100644", + "type": "blob", + "sha": "9175c2e00e4b52856f25a962a9e313af7fa27f6e", + "size": 3192, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9175c2e00e4b52856f25a962a9e313af7fa27f6e" + }, + { + "path": "VideoMazeV2.py", + "mode": "100644", + "type": "blob", + "sha": "baa9b8f0dfc5aa80fdda080e2684faa7b0c2729a", + "size": 15020, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/baa9b8f0dfc5aa80fdda080e2684faa7b0c2729a" + }, + { + "path": "VideoNoiseFactory.md", + "mode": "100644", + "type": "blob", + "sha": "b25ef463d59eb0303a45f9443df3b272305ec965", + "size": 3891, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b25ef463d59eb0303a45f9443df3b272305ec965" + }, + { + "path": "VideoNoiseFactory.py", + "mode": "100644", + "type": "blob", + "sha": "73d314c22c682a0d1c5f0e628f831910f5765fd8", + "size": 22976, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/73d314c22c682a0d1c5f0e628f831910f5765fd8" + }, + { + "path": "VideoPyramidV1.py", + "mode": "100644", + "type": "blob", + "sha": "54f241b6552c39413e4c0c83d66fc6cf99c2288d", + "size": 10255, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/54f241b6552c39413e4c0c83d66fc6cf99c2288d" + }, + { + "path": "VideoRingPainter.md", + "mode": "100644", + "type": "blob", + "sha": "a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f", + "size": 3663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f" + }, + { + "path": "VideoRingPainter.py", + "mode": "100644", + "type": "blob", + "sha": "901ac074bc5e08613475295dca1a141bafb76362", + "size": 5921, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/901ac074bc5e08613475295dca1a141bafb76362" + }, + { + "path": "VideoTemperatureV1.py", + "mode": "100644", + "type": "blob", + "sha": "fcb088c9dfd667f6cd1cd938c2aa8c78f8825de3", + "size": 3759, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fcb088c9dfd667f6cd1cd938c2aa8c78f8825de3" + }, + { + "path": "VideoText.py", + "mode": "100644", + "type": "blob", + "sha": "940c6828e75af138aa375dd54fbd17b58e2e3eec", + "size": 12893, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/940c6828e75af138aa375dd54fbd17b58e2e3eec" + }, + { + "path": "VideoTextV2.py", + "mode": "100644", + "type": "blob", + "sha": "7856e1dfd9ea88cc63251d30030984fd1c79e3a4", + "size": 22684, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7856e1dfd9ea88cc63251d30030984fd1c79e3a4" + }, + { + "path": "VideoTimecode.md", + "mode": "100644", + "type": "blob", + "sha": "55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983", + "size": 2888, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983" + }, + { + "path": "VideoTimecode.py", + "mode": "100644", + "type": "blob", + "sha": "b97aa48224d7d59bfb222700dacaa55a72776865", + "size": 7332, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b97aa48224d7d59bfb222700dacaa55a72776865" + }, + { + "path": "VideoTrails.md", + "mode": "100644", + "type": "blob", + "sha": "67bfff5551dd6363e7ef7370596ae4934c74c3c8", + "size": 3106, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/67bfff5551dd6363e7ef7370596ae4934c74c3c8" + }, + { + "path": "VideoTrails.py", + "mode": "100644", + "type": "blob", + "sha": "150056a75a2b8e1e21943ca55be358637cd330e2", + "size": 5474, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/150056a75a2b8e1e21943ca55be358637cd330e2" + }, + { + "path": "VideoTrailsV2.md", + "mode": "100644", + "type": "blob", + "sha": "f2f45c29f5335990532cfe9645a33bc7d7ece3ae", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f2f45c29f5335990532cfe9645a33bc7d7ece3ae" + }, + { + "path": "VideoTrailsV2.py", + "mode": "100644", + "type": "blob", + "sha": "2bc096ffc1666ec47b95f1aabc94d2f95671179d", + "size": 6608, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2bc096ffc1666ec47b95f1aabc94d2f95671179d" + }, + { + "path": "VideoVignettingV1.md", + "mode": "100644", + "type": "blob", + "sha": "c9229bfd7262b6dc90e79d5cf80ee85c5af44503", + "size": 4158, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9229bfd7262b6dc90e79d5cf80ee85c5af44503" + }, + { + "path": "VideoVignettingV1.py", + "mode": "100644", + "type": "blob", + "sha": "96bdcdda268466777df6f5414da1cdd21b0a6941", + "size": 6997, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/96bdcdda268466777df6f5414da1cdd21b0a6941" + }, + { + "path": "VoiceEffects.md", + "mode": "100644", + "type": "blob", + "sha": "133d813f32b7b1771e558b6a2cd00a32a1c21359", + "size": 6856, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/133d813f32b7b1771e558b6a2cd00a32a1c21359" + }, + { + "path": "VoiceEffects.py", + "mode": "100644", + "type": "blob", + "sha": "5da77902d4748934e9d8c43c0c5f62402e6199d1", + "size": 11908, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5da77902d4748934e9d8c43c0c5f62402e6199d1" + }, + { + "path": "VoiceEffects2.md", + "mode": "100644", + "type": "blob", + "sha": "6843028a9ff261685b5d6f370997a50a6dcc0547", + "size": 6024, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6843028a9ff261685b5d6f370997a50a6dcc0547" + }, + { + "path": "VoiceEffects2.py", + "mode": "100644", + "type": "blob", + "sha": "714460196d8e75d598396c131056e72c56791379", + "size": 10747, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/714460196d8e75d598396c131056e72c56791379" + }, + { + "path": "WaveletCompose.md", + "mode": "100644", + "type": "blob", + "sha": "2823ccf98a1263632082b8e8a5f4a3fa73f4526c", + "size": 2494, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2823ccf98a1263632082b8e8a5f4a3fa73f4526c" + }, + { + "path": "WaveletCompose.py", + "mode": "100644", + "type": "blob", + "sha": "48f2323be5da9b1093ee2fc89db22200d464e34c", + "size": 2744, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/48f2323be5da9b1093ee2fc89db22200d464e34c" + }, + { + "path": "WaveletDecompose.md", + "mode": "100644", + "type": "blob", + "sha": "423ff97104d7a84dc99abe141b0c6bebf9d2842d", + "size": 3477, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/423ff97104d7a84dc99abe141b0c6bebf9d2842d" + }, + { + "path": "WaveletDecompose.py", + "mode": "100644", + "type": "blob", + "sha": "4e76497eb2650ff9f1a455546f93fa909845bbeb", + "size": 5039, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4e76497eb2650ff9f1a455546f93fa909845bbeb" + }, + { + "path": "WinampViz.md", + "mode": "100644", + "type": "blob", + "sha": "a8be0096d5fdc26372fa5ae2d694fee275d5ec03", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8be0096d5fdc26372fa5ae2d694fee275d5ec03" + }, + { + "path": "WinampViz.py", + "mode": "100644", + "type": "blob", + "sha": "e816cee0ed4fb8d49f518c47b0e1f29540457fa1", + "size": 18273, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e816cee0ed4fb8d49f518c47b0e1f29540457fa1" + }, + { + "path": "WinampVizV2.md", + "mode": "100644", + "type": "blob", + "sha": "feb4e543919d4d3820b8d346c1b1afeaf80e32a5", + "size": 4045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/feb4e543919d4d3820b8d346c1b1afeaf80e32a5" + }, + { + "path": "WinampVizV2.py", + "mode": "100644", + "type": "blob", + "sha": "fe06c83afaf06dd5a34a1ee71d9ec3f16c5f60ca", + "size": 10806, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fe06c83afaf06dd5a34a1ee71d9ec3f16c5f60ca" + }, + { + "path": "ZenakiVideoPromptV1.py", + "mode": "100644", + "type": "blob", + "sha": "ff36b45aac360dffc9248f75bce9a9aaceda8a3b", + "size": 23231, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ff36b45aac360dffc9248f75bce9a9aaceda8a3b" + }, + { + "path": "ZenkaiAmbienceAudioV1.md", + "mode": "100644", + "type": "blob", + "sha": "adb42d23dd90b957709df183b175acd1600ef5a5", + "size": 1980, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/adb42d23dd90b957709df183b175acd1600ef5a5" + }, + { + "path": "ZenkaiAmbienceAudioV1.py", + "mode": "100644", + "type": "blob", + "sha": "8190524413e8ecce5f6c34ee4c0f6ac63217823a", + "size": 3430, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8190524413e8ecce5f6c34ee4c0f6ac63217823a" + }, + { + "path": "ZenkaiControlPromptV1.py", + "mode": "100644", + "type": "blob", + "sha": "d0a915677a3df19b436285d6eeb29088f8dcc1c4", + "size": 16650, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d0a915677a3df19b436285d6eeb29088f8dcc1c4" + }, + { + "path": "ZenkaiControlPromptV2.py", + "mode": "100644", + "type": "blob", + "sha": "8fc1dbffea7d5b98d03b35aedf14971a7db1939b", + "size": 22426, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8fc1dbffea7d5b98d03b35aedf14971a7db1939b" + }, + { + "path": "ZenkaiDepthPrompt.md", + "mode": "100644", + "type": "blob", + "sha": "dc2a5f41eb27d1631b6aacf5038022558009c9ee", + "size": 1663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc2a5f41eb27d1631b6aacf5038022558009c9ee" + }, + { + "path": "ZenkaiDepthPrompt.py", + "mode": "100644", + "type": "blob", + "sha": "dcd48c7f85905ff4ca8f85d0f0065e65733a85bb", + "size": 9339, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dcd48c7f85905ff4ca8f85d0f0065e65733a85bb" + }, + { + "path": "ZenkaiImagePromptV1.py", + "mode": "100644", + "type": "blob", + "sha": "1a1dfd655b8cc67b4c91ed40aa8ad62fb9e6d936", + "size": 6125, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a1dfd655b8cc67b4c91ed40aa8ad62fb9e6d936" + }, + { + "path": "ZenkaiImagePromptV2.md", + "mode": "100644", + "type": "blob", + "sha": "f616de9d86c77668e386b5725da001c314cd553c", + "size": 5910, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f616de9d86c77668e386b5725da001c314cd553c" + }, + { + "path": "ZenkaiImagePromptV2.py", + "mode": "100644", + "type": "blob", + "sha": "58ce6336cde86d80e4975463857b8902657c099e", + "size": 8832, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/58ce6336cde86d80e4975463857b8902657c099e" + }, + { + "path": "ZenkaiPoseMap.py", + "mode": "100644", + "type": "blob", + "sha": "d369739e153d2963fe89d753d0cc11bf70e295b9", + "size": 2083, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d369739e153d2963fe89d753d0cc11bf70e295b9" + }, + { + "path": "ZenkaiPrompt.md", + "mode": "100644", + "type": "blob", + "sha": "ce63e44621f85de1aacb91b8cff0acc5a9a3783a", + "size": 2215, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce63e44621f85de1aacb91b8cff0acc5a9a3783a" + }, + { + "path": "ZenkaiPrompt.py", + "mode": "100644", + "type": "blob", + "sha": "cc9cc736a57fdabef43f5139878bf26dfaf43c98", + "size": 1292, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cc9cc736a57fdabef43f5139878bf26dfaf43c98" + }, + { + "path": "ZenkaiPromptV2.md", + "mode": "100644", + "type": "blob", + "sha": "ad3395da9a478c79892d1cbd991bd8d7e096ce62", + "size": 2634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ad3395da9a478c79892d1cbd991bd8d7e096ce62" + }, + { + "path": "ZenkaiPromptV2.py", + "mode": "100644", + "type": "blob", + "sha": "d497c253c8042f7cd6c238897b02546ef08ff35c", + "size": 1878, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d497c253c8042f7cd6c238897b02546ef08ff35c" + }, + { + "path": "ZenkaiPromptV3.md", + "mode": "100644", + "type": "blob", + "sha": "525ade27ef40e5788ab227074f0cd1de650df8af", + "size": 2877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/525ade27ef40e5788ab227074f0cd1de650df8af" + }, + { + "path": "ZenkaiPromptV3.py", + "mode": "100644", + "type": "blob", + "sha": "3885ba470fc108f10cfb8d45481169abdc6874c4", + "size": 4169, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3885ba470fc108f10cfb8d45481169abdc6874c4" + }, + { + "path": "ZenkaiPromptV4.md", + "mode": "100644", + "type": "blob", + "sha": "73f7d4b7f8a72d75e68c39ee144e7cbe417d672e", + "size": 1329, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/73f7d4b7f8a72d75e68c39ee144e7cbe417d672e" + }, + { + "path": "ZenkaiPromptV4.py", + "mode": "100644", + "type": "blob", + "sha": "aafb75dacdf03df756304064f5851a0dc82df25e", + "size": 3134, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/aafb75dacdf03df756304064f5851a0dc82df25e" + }, + { + "path": "ZenkaiPromptV5.md", + "mode": "100644", + "type": "blob", + "sha": "d136d3e5ab749fb6fc59c5fec358da5614ea20f6", + "size": 4623, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d136d3e5ab749fb6fc59c5fec358da5614ea20f6" + }, + { + "path": "ZenkaiPromptV5.py", + "mode": "100644", + "type": "blob", + "sha": "7b0c16719651d1212af7e4eab87e53b212178a2b", + "size": 2495, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7b0c16719651d1212af7e4eab87e53b212178a2b" + }, + { + "path": "ZenkaiSceneVideoV1.md", + "mode": "100644", + "type": "blob", + "sha": "a7ed45bba2377546c14360bd69fb4aff75c89878", + "size": 2896, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a7ed45bba2377546c14360bd69fb4aff75c89878" + }, + { + "path": "ZenkaiSceneVideoV1.py", + "mode": "100644", + "type": "blob", + "sha": "24c6309d7069e0c592d44abd6239b2b982a3bdcc", + "size": 15708, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24c6309d7069e0c592d44abd6239b2b982a3bdcc" + }, + { + "path": "ZenkaiVideoPose.py", + "mode": "100644", + "type": "blob", + "sha": "7a9ffa01daa09643d4638d17d93b1f5ec2207258", + "size": 2509, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7a9ffa01daa09643d4638d17d93b1f5ec2207258" + }, + { + "path": "ZenkaiWildcard.md", + "mode": "100644", + "type": "blob", + "sha": "79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67", + "size": 2323, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67" + }, + { + "path": "ZenkaiWildcard.py", + "mode": "100644", + "type": "blob", + "sha": "d1df812f3699e5ce2edec3c35634c6987b958f39", + "size": 3071, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d1df812f3699e5ce2edec3c35634c6987b958f39" + }, + { + "path": "ZenkaiWildcardV2.md", + "mode": "100644", + "type": "blob", + "sha": "1fbe6be717519241b342433159baede1582591e5", + "size": 3402, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fbe6be717519241b342433159baede1582591e5" + }, + { + "path": "ZenkaiWildcardV2.py", + "mode": "100644", + "type": "blob", + "sha": "7c0af6b673e2eeba8f61bf62bd8a23ceb81efa62", + "size": 4092, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c0af6b673e2eeba8f61bf62bd8a23ceb81efa62" + }, + { + "path": "Zenkai_IMPv1.py", + "mode": "100644", + "type": "blob", + "sha": "b9fb5c122f5b3aed3e42debd037a8dd857be8921", + "size": 15326, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b9fb5c122f5b3aed3e42debd037a8dd857be8921" + }, + { + "path": "__init__.py", + "mode": "100644", + "type": "blob", + "sha": "30807e47ce4b6bb6cdf2e0f770d57b9abbaee027", + "size": 44409, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/30807e47ce4b6bb6cdf2e0f770d57b9abbaee027" + }, + { + "path": "__pycache__", + "mode": "040000", + "type": "tree", + "sha": "3b9cc64e919d9d7a43cb7ed4de95294db0fe9731", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3b9cc64e919d9d7a43cb7ed4de95294db0fe9731" + }, + { + "path": "__pycache__/AspectSize.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "befd423521b9eea35dc3f80b99ef085f7690e402", + "size": 1849, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/befd423521b9eea35dc3f80b99ef085f7690e402" + }, + { + "path": "__pycache__/AspectSizeV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "3b84706f614fbf1705c075a881b9db76b51ff3c2", + "size": 1957, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3b84706f614fbf1705c075a881b9db76b51ff3c2" + }, + { + "path": "__pycache__/BatchOffset.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "5afda45d61454f6bc1f3bd30a7cff66dfc9e67ea", + "size": 1753, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5afda45d61454f6bc1f3bd30a7cff66dfc9e67ea" + }, + { + "path": "__pycache__/BatchRangeInsert.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "3332761b0b491ec8f6ec155f6a7fedbf6676c556", + "size": 2906, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3332761b0b491ec8f6ec155f6a7fedbf6676c556" + }, + { + "path": "__pycache__/BatchRangeSwap.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "7f82a6bc61dbf67220f6481b88e445cbe11a14fd", + "size": 2607, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7f82a6bc61dbf67220f6481b88e445cbe11a14fd" + }, + { + "path": "__pycache__/BatchThief.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "7079d775d1165860dc1d8e234b845624b4c78f1b", + "size": 1995, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7079d775d1165860dc1d8e234b845624b4c78f1b" + }, + { + "path": "__pycache__/CaptionsToPromptList.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "6ecc4a9970c88a16ec80a5541eb1fe831461f4eb", + "size": 3524, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6ecc4a9970c88a16ec80a5541eb1fe831461f4eb" + }, + { + "path": "__pycache__/DJZDatamoshV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "ba2ab62323fe4d7d9d46436c02cc79c354e0b046", + "size": 7820, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ba2ab62323fe4d7d9d46436c02cc79c354e0b046" + }, + { + "path": "__pycache__/DJZLoadLatent.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "f54dc8d0d3ec2d92920f13304d889cb2f6cab7f1", + "size": 4700, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f54dc8d0d3ec2d92920f13304d889cb2f6cab7f1" + }, + { + "path": "__pycache__/DJZLoadLatentV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "94c1a52e41769ccaa1948273131a968483d87b0f", + "size": 4989, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/94c1a52e41769ccaa1948273131a968483d87b0f" + }, + { + "path": "__pycache__/DatasetWordcloud.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "f49f314940caf2b755412aaedfa7db9feb92c7ba", + "size": 4933, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f49f314940caf2b755412aaedfa7db9feb92c7ba" + }, + { + "path": "__pycache__/DinskyPlus.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "7f30367f40cdeb9ab509325b4e0322565dfd8b59", + "size": 5628, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7f30367f40cdeb9ab509325b4e0322565dfd8b59" + }, + { + "path": "__pycache__/DinskyPlusV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "647fc2a4d52f36c09830f45532528e47013507b7", + "size": 6092, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/647fc2a4d52f36c09830f45532528e47013507b7" + }, + { + "path": "__pycache__/DjzDatamosh.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "d1f7b32b3d482c59d12bd7db54f3e1be1a6304d5", + "size": 6075, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d1f7b32b3d482c59d12bd7db54f3e1be1a6304d5" + }, + { + "path": "__pycache__/DjzDatamoshV3.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "49e870a882ff6a30803409a0bba077ab1f60fd8d", + "size": 8357, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/49e870a882ff6a30803409a0bba077ab1f60fd8d" + }, + { + "path": "__pycache__/DjzDatamoshV4.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "16779d6f4462081ba5416918c855ca99140cc9df", + "size": 13792, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/16779d6f4462081ba5416918c855ca99140cc9df" + }, + { + "path": "__pycache__/DjzDatamoshV5.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "9483747243053229e80047d51c61f30150af4fb7", + "size": 7410, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9483747243053229e80047d51c61f30150af4fb7" + }, + { + "path": "__pycache__/DjzDatamoshV6.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "ea3b0c70578d5b4eb1ad57560a9d34ca76913384", + "size": 5566, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ea3b0c70578d5b4eb1ad57560a9d34ca76913384" + }, + { + "path": "__pycache__/DjzDatamoshV7.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "0dd098413638c99a392fe67bbcc9261603cec9d4", + "size": 10852, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0dd098413638c99a392fe67bbcc9261603cec9d4" + }, + { + "path": "__pycache__/FFXFADEORAMA.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "8a114609111eead58de948d50f6a5aab4cdf9e23", + "size": 7918, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8a114609111eead58de948d50f6a5aab4cdf9e23" + }, + { + "path": "__pycache__/FractalGenerator.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "1260028648aa2175b62e41df52f2b6748d0b0a86", + "size": 6831, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1260028648aa2175b62e41df52f2b6748d0b0a86" + }, + { + "path": "__pycache__/FractalGeneratorV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "f59a1841e4e2ac0a65c7839aea1011c631a7d237", + "size": 13523, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f59a1841e4e2ac0a65c7839aea1011c631a7d237" + }, + { + "path": "__pycache__/FractalGeneratorV3.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "34b74bd68f1a28d2f2f6a2dbdce457aa82afb7de", + "size": 13827, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/34b74bd68f1a28d2f2f6a2dbdce457aa82afb7de" + }, + { + "path": "__pycache__/ImageSizeAdjuster.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "71af7440f37fc53c24170e3b320d310f196956d7", + "size": 1828, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/71af7440f37fc53c24170e3b320d310f196956d7" + }, + { + "path": "__pycache__/ImageSizeAdjusterV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "2880a41bd45ebe05057a873a53ccc857d30ea983", + "size": 4308, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2880a41bd45ebe05057a873a53ccc857d30ea983" + }, + { + "path": "__pycache__/ImageSizeAdjusterV3.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "dfb95cc2cf69868e32f669143eb21a39f4d1a400", + "size": 4972, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dfb95cc2cf69868e32f669143eb21a39f4d1a400" + }, + { + "path": "__pycache__/LoadTextDirectory.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "dff794626b5f32aa87d3f7a0fef59476d34673c7", + "size": 5101, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dff794626b5f32aa87d3f7a0fef59476d34673c7" + }, + { + "path": "__pycache__/LoadVideoBatchFrame.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "580d763cb9be515ed2d0a4bbc544c26945fd4aaf", + "size": 5742, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/580d763cb9be515ed2d0a4bbc544c26945fd4aaf" + }, + { + "path": "__pycache__/LoadVideoDirectory.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "603c4350508fb26fa3c737539b8652243ba312f1", + "size": 6532, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/603c4350508fb26fa3c737539b8652243ba312f1" + }, + { + "path": "__pycache__/ParametricMeshGen.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "5354dd00b8030f5b50023af6d8771574645857f8", + "size": 6907, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5354dd00b8030f5b50023af6d8771574645857f8" + }, + { + "path": "__pycache__/ParametricMeshGenV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "67cfc426ef1dae6ce57819b0cc4b37a8cfa20874", + "size": 11899, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/67cfc426ef1dae6ce57819b0cc4b37a8cfa20874" + }, + { + "path": "__pycache__/ProjectFilePathNode.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "60f409d11ea5ff53d27d41e04ad989e46c4252d7", + "size": 3092, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/60f409d11ea5ff53d27d41e04ad989e46c4252d7" + }, + { + "path": "__pycache__/PromptCleaner.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "9ccd5d601de8ecf40dfc93b8fb756122c1af139b", + "size": 2401, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9ccd5d601de8ecf40dfc93b8fb756122c1af139b" + }, + { + "path": "__pycache__/PromptInject.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "7c345ade0a2a136801a7809f45252f11550309e6", + "size": 2372, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c345ade0a2a136801a7809f45252f11550309e6" + }, + { + "path": "__pycache__/PromptSwap.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "9c8a2426af5880eb0fdf1afcc6a4e712b2c6cbb5", + "size": 3496, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9c8a2426af5880eb0fdf1afcc6a4e712b2c6cbb5" + }, + { + "path": "__pycache__/SaveText.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "466fffb7090f06a85aa861c23ac96c5768e7f520", + "size": 2819, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/466fffb7090f06a85aa861c23ac96c5768e7f520" + }, + { + "path": "__pycache__/SequentialNumberGenerator.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "fafda35e3bb3a7a926cc91214aa0090895c3a78d", + "size": 1974, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fafda35e3bb3a7a926cc91214aa0090895c3a78d" + }, + { + "path": "__pycache__/StringPainter.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "3fe58115bb869f8ea5497408795f06435cd4dcd9", + "size": 2615, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3fe58115bb869f8ea5497408795f06435cd4dcd9" + }, + { + "path": "__pycache__/StringPainterV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "77056738ae7ec14500ac9878a8897f67fdba1083", + "size": 5839, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/77056738ae7ec14500ac9878a8897f67fdba1083" + }, + { + "path": "__pycache__/StringWeights.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "7b9e54f23adfdd2148503dceb15f56903951f066", + "size": 1757, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7b9e54f23adfdd2148503dceb15f56903951f066" + }, + { + "path": "__pycache__/TrianglesPlus.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "725550f41345c71bfb4bdcb9071d763156465ee2", + "size": 6551, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/725550f41345c71bfb4bdcb9071d763156465ee2" + }, + { + "path": "__pycache__/TrianglesPlusV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "4981a9a46f39767017cc15dbe3dee20251531a54", + "size": 5528, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4981a9a46f39767017cc15dbe3dee20251531a54" + }, + { + "path": "__pycache__/ZenkaiPrompt.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "269636b851cff11f24b5149c5dd1de66f7c6048d", + "size": 2217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/269636b851cff11f24b5149c5dd1de66f7c6048d" + }, + { + "path": "__pycache__/ZenkaiPromptV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "78221316c1356dde73312e1bd638223965b22069", + "size": 2951, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/78221316c1356dde73312e1bd638223965b22069" + }, + { + "path": "__pycache__/ZenkaiWildcard.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "e72ac905a608252530f164776d100de6ee438ed4", + "size": 4470, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e72ac905a608252530f164776d100de6ee438ed4" + }, + { + "path": "__pycache__/ZenkaiWildcardV2.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "4a5b2b6e4c3339db8db934938ff97d3fa676db6b", + "size": 6046, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4a5b2b6e4c3339db8db934938ff97d3fa676db6b" + }, + { + "path": "__pycache__/__init__.cpython-312.pyc", + "mode": "100644", + "type": "blob", + "sha": "4062d0c339630ff00c76bc5746260c9750b0721c", + "size": 12706, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4062d0c339630ff00c76bc5746260c9750b0721c" + }, + { + "path": "djzTiling.py", + "mode": "100644", + "type": "blob", + "sha": "f1771e8aab907f0d100dadc9112d8b8349dfab17", + "size": 5095, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f1771e8aab907f0d100dadc9112d8b8349dfab17" + }, + { + "path": "djzTilingV2.py", + "mode": "100644", + "type": "blob", + "sha": "d722d0b0dae3209c9a711ed5e8bf5734aad4720a", + "size": 6007, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d722d0b0dae3209c9a711ed5e8bf5734aad4720a" + }, + { + "path": "examples", + "mode": "040000", + "type": "tree", + "sha": "f3054627877a7f14f3772fe1892e095afce6c62c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f3054627877a7f14f3772fe1892e095afce6c62c" + }, + { + "path": "examples/FFX-Fade-O-Rama.json", + "mode": "100644", + "type": "blob", + "sha": "a6a05ba60a27b151a97fc4a48cabb279e48f83bf", + "size": 144716, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a6a05ba60a27b151a97fc4a48cabb279e48f83bf" + }, + { + "path": "examples/Zenkai-System.json", + "mode": "100644", + "type": "blob", + "sha": "fd55ae6e0b7f51810ac04c4df5fa686601548247", + "size": 13571, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fd55ae6e0b7f51810ac04c4df5fa686601548247" + }, + { + "path": "install-portable.bat", + "mode": "100644", + "type": "blob", + "sha": "d2b877d4f5de0dde0db66cf122c42bf4e992e867", + "size": 378, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d2b877d4f5de0dde0db66cf122c42bf4e992e867" + }, + { + "path": "onnx-install-portable.bat", + "mode": "100644", + "type": "blob", + "sha": "a8341210b9ba386805be5ccec29c260bf7ad95c7", + "size": 489, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8341210b9ba386805be5ccec29c260bf7ad95c7" + }, + { + "path": "pip-update-portable.bat", + "mode": "100644", + "type": "blob", + "sha": "fb42922809b4f1c18754ae0538f91070bbf8ba5b", + "size": 313, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fb42922809b4f1c18754ae0538f91070bbf8ba5b" + }, + { + "path": "pixel_unshuffle_Cascade_error.jpg", + "mode": "100644", + "type": "blob", + "sha": "9155200c2e78d6ad3d84790f05bcc6f6733ae019", + "size": 8953, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9155200c2e78d6ad3d84790f05bcc6f6733ae019" + }, + { + "path": "posemaps", + "mode": "040000", + "type": "tree", + "sha": "85614b3b884e310361f6fc0bee2f003c68e07e04", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/85614b3b884e310361f6fc0bee2f003c68e07e04" + }, + { + "path": "posemaps/jojo", + "mode": "040000", + "type": "tree", + "sha": "e512a82268b8fa31d64c16db4da6c4fc872789cd", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e512a82268b8fa31d64c16db4da6c4fc872789cd" + }, + { + "path": "posemaps/jojo/3e809220-c3d8-47b2-8c67-aee3a3e71e00.jpeg", + "mode": "100644", + "type": "blob", + "sha": "cecee48e190e5de34595ba091de49df6d38029a7", + "size": 13925, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cecee48e190e5de34595ba091de49df6d38029a7" + }, + { + "path": "posemaps/jojo/431b7bbd-f776-481d-8059-20541e5acb00.jpeg", + "mode": "100644", + "type": "blob", + "sha": "4be163510141b955f084c2dc21e112afe000a5c3", + "size": 21985, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4be163510141b955f084c2dc21e112afe000a5c3" + }, + { + "path": "posemaps/jojo/ada43f70-4ac6-40fb-9fd9-070952f0b700.jpeg", + "mode": "100644", + "type": "blob", + "sha": "33dfa8bd4a1318df40654251e4fc780cc694cbd1", + "size": 10829, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/33dfa8bd4a1318df40654251e4fc780cc694cbd1" + }, + { + "path": "posemaps/jojo/ca04587c-2cb4-491c-5bf6-ab906c725600.jpeg", + "mode": "100644", + "type": "blob", + "sha": "38794a66378270ae30ef381b049a3aece270f3b4", + "size": 8379, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/38794a66378270ae30ef381b049a3aece270f3b4" + }, + { + "path": "presets", + "mode": "040000", + "type": "tree", + "sha": "21ab10d6ee6ff6bc31619c26053ccf777d6e0022", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/21ab10d6ee6ff6bc31619c26053ccf777d6e0022" + }, + { + "path": "presets/cassette.preset", + "mode": "100644", + "type": "blob", + "sha": "16a1517890b6bf92c404cf214e18b248bb39aa4e", + "size": 1582, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/16a1517890b6bf92c404cf214e18b248bb39aa4e" + }, + { + "path": "presets/film.preset", + "mode": "100644", + "type": "blob", + "sha": "7a3177adb86fd7e243d885b0d68d411a4f3516b5", + "size": 799, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7a3177adb86fd7e243d885b0d68d411a4f3516b5" + }, + { + "path": "presets/intercom.preset", + "mode": "100644", + "type": "blob", + "sha": "8b881d8757767a222e20e7b428e3e5dbd34bb84c", + "size": 636, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8b881d8757767a222e20e7b428e3e5dbd34bb84c" + }, + { + "path": "presets/phone.preset", + "mode": "100644", + "type": "blob", + "sha": "003a40e1ab9eadc3a0e2f75245ed9d0439f01501", + "size": 1165, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/003a40e1ab9eadc3a0e2f75245ed9d0439f01501" + }, + { + "path": "presets/radio.preset", + "mode": "100644", + "type": "blob", + "sha": "881d278ced210850c7fa25c479f6e6f92d2f78e3", + "size": 566, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/881d278ced210850c7fa25c479f6e6f92d2f78e3" + }, + { + "path": "presets/readme.md", + "mode": "100644", + "type": "blob", + "sha": "e431749d1abafd18841f7eb1819fad449b1467b9", + "size": 4864, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e431749d1abafd18841f7eb1819fad449b1467b9" + }, + { + "path": "presets/tv.preset", + "mode": "100644", + "type": "blob", + "sha": "e7f61d0cd1256eab5feabd057be18cdf13766e52", + "size": 550, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e7f61d0cd1256eab5feabd057be18cdf13766e52" + }, + { + "path": "presets/vinyl.preset", + "mode": "100644", + "type": "blob", + "sha": "1467ea30c552318b097e63f952982c7eb2c4de92", + "size": 1300, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1467ea30c552318b097e63f952982c7eb2c4de92" + }, + { + "path": "presets/walkie_talkie.preset", + "mode": "100644", + "type": "blob", + "sha": "a6cba57548b0123f65f5cd79ce6a792a7d6bd413", + "size": 1652, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a6cba57548b0123f65f5cd79ce6a792a7d6bd413" + }, + { + "path": "prompts", + "mode": "040000", + "type": "tree", + "sha": "968c951415b2814d40834863b3ad301c7d32d0a8", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/968c951415b2814d40834863b3ad301c7d32d0a8" + }, + { + "path": "prompts/01-trad-ahab.txt", + "mode": "100644", + "type": "blob", + "sha": "39be2b402060986a874951da48e5edb078238fe6", + "size": 3560, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/39be2b402060986a874951da48e5edb078238fe6" + }, + { + "path": "prompts/02-trad-legend.txt", + "mode": "100644", + "type": "blob", + "sha": "e94e9b5d9058b1c1e35469e10d0437c8eaea9602", + "size": 3394, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e94e9b5d9058b1c1e35469e10d0437c8eaea9602" + }, + { + "path": "prompts/03-trad-theChase.txt", + "mode": "100644", + "type": "blob", + "sha": "f98ad67e9841775b583075fd5f99e30e64469621", + "size": 3217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f98ad67e9841775b583075fd5f99e30e64469621" + }, + { + "path": "prompts/04-trad-whiteWhale.txt", + "mode": "100644", + "type": "blob", + "sha": "64952a62f83c13a0ddbfab01ea5f591ab17608cb", + "size": 3431, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/64952a62f83c13a0ddbfab01ea5f591ab17608cb" + }, + { + "path": "prompts/05-trad-obsessions.txt", + "mode": "100644", + "type": "blob", + "sha": "ac148554345719fa4c8f13a283daf261527af72b", + "size": 3555, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ac148554345719fa4c8f13a283daf261527af72b" + }, + { + "path": "prompts/06-trad-theStorm.txt", + "mode": "100644", + "type": "blob", + "sha": "21d938bd46ae95d3887a68acc01cccfe8bc3efc6", + "size": 3271, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/21d938bd46ae95d3887a68acc01cccfe8bc3efc6" + }, + { + "path": "prompts/07-trad-shipwrecked.txt", + "mode": "100644", + "type": "blob", + "sha": "54e2126a5eef0c50268de13ad59ea7223ccfbc2f", + "size": 3207, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/54e2126a5eef0c50268de13ad59ea7223ccfbc2f" + }, + { + "path": "prompts/08-trad-huntingDawn.txt", + "mode": "100644", + "type": "blob", + "sha": "5c8f7add9e7d813e9905fa8a24fdcbe15f6fedcd", + "size": 3109, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5c8f7add9e7d813e9905fa8a24fdcbe15f6fedcd" + }, + { + "path": "prompts/09-trad-secondSpear.txt", + "mode": "100644", + "type": "blob", + "sha": "95e5f3c6d160a14d6afc06ca65075b259a258b74", + "size": 3159, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/95e5f3c6d160a14d6afc06ca65075b259a258b74" + }, + { + "path": "prompts/0utp0st.txt", + "mode": "100644", + "type": "blob", + "sha": "f895c69a2fb1a755f784c5b622a714ed602dacdf", + "size": 52302, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f895c69a2fb1a755f784c5b622a714ed602dacdf" + }, + { + "path": "prompts/3l3ctr0n-style-v0c.txt", + "mode": "100644", + "type": "blob", + "sha": "47b07e956cc2714a6810c06fa1db87079b2852ef", + "size": 25678, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/47b07e956cc2714a6810c06fa1db87079b2852ef" + }, + { + "path": "prompts/3mp1r3-style.txt", + "mode": "100644", + "type": "blob", + "sha": "e657241cd1154978c89f53f8175904a26562b1f3", + "size": 48719, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e657241cd1154978c89f53f8175904a26562b1f3" + }, + { + "path": "prompts/3mp1r3-v0c5.txt", + "mode": "100644", + "type": "blob", + "sha": "a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0", + "size": 5104, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0" + }, + { + "path": "prompts/3mp1r3-v1c1.txt", + "mode": "100644", + "type": "blob", + "sha": "a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0", + "size": 5104, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0" + }, + { + "path": "prompts/3ucl1d-v1.txt", + "mode": "100644", + "type": "blob", + "sha": "6c5173932d847e2818899f81f4c4c9fe1d098cda", + "size": 14383, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6c5173932d847e2818899f81f4c4c9fe1d098cda" + }, + { + "path": "prompts/41RSH1P-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "055bc97c1f1326847e464329848be93066733b51", + "size": 76998, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/055bc97c1f1326847e464329848be93066733b51" + }, + { + "path": "prompts/4bstr4ct-style-v0c.txt", + "mode": "100644", + "type": "blob", + "sha": "a4fbfa72f9c49bff6f0e9e9310ebcf8aa777d45b", + "size": 27320, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4fbfa72f9c49bff6f0e9e9310ebcf8aa777d45b" + }, + { + "path": "prompts/Alf-History.txt", + "mode": "100644", + "type": "blob", + "sha": "b9f4099d6c4377b356b3c0b1ab98040dc098e3ea", + "size": 13292, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b9f4099d6c4377b356b3c0b1ab98040dc098e3ea" + }, + { + "path": "prompts/Blacksunv3.txt", + "mode": "100644", + "type": "blob", + "sha": "f5cd194844934a27b296996b292594220f228223", + "size": 37856, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5cd194844934a27b296996b292594220f228223" + }, + { + "path": "prompts/CogVideo-Long.txt", + "mode": "100644", + "type": "blob", + "sha": "ab5134a28ffd014f158474696e11b13af6277b66", + "size": 9944, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ab5134a28ffd014f158474696e11b13af6277b66" + }, + { + "path": "prompts/DJZ-S3Captions.txt", + "mode": "100644", + "type": "blob", + "sha": "0e5104bb71b0f52b82c5a5400991a2097564f08f", + "size": 194807, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0e5104bb71b0f52b82c5a5400991a2097564f08f" + }, + { + "path": "prompts/Ducreux.txt", + "mode": "100644", + "type": "blob", + "sha": "89c0e0b4c009d93535c0b548284ef3dd1816b80b", + "size": 1102, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/89c0e0b4c009d93535c0b548284ef3dd1816b80b" + }, + { + "path": "prompts/Eclectic-AMV.txt", + "mode": "100644", + "type": "blob", + "sha": "26f896f295f1324464e6cb9bb49d2f9c6aa23bbe", + "size": 26099, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/26f896f295f1324464e6cb9bb49d2f9c6aa23bbe" + }, + { + "path": "prompts/Gabe_yojoe.txt", + "mode": "100644", + "type": "blob", + "sha": "7cb1aacae2f82861486eea52d5a19391398db26b", + "size": 4494, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7cb1aacae2f82861486eea52d5a19391398db26b" + }, + { + "path": "prompts/Golden-Surfer-Video.txt", + "mode": "100644", + "type": "blob", + "sha": "a8ae228de5a095eba0fa2a79d37779de1c94e347", + "size": 29553, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8ae228de5a095eba0fa2a79d37779de1c94e347" + }, + { + "path": "prompts/Gunsai-wan-v1.txt", + "mode": "100644", + "type": "blob", + "sha": "bf4c4a8f25bfd3814208faba4ac29a739c3e54b4", + "size": 42731, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bf4c4a8f25bfd3814208faba4ac29a739c3e54b4" + }, + { + "path": "prompts/HYV-Drift-Touge.txt", + "mode": "100644", + "type": "blob", + "sha": "ec4e079428c5495b535a865a6c4dae0cd20aea8c", + "size": 6358, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ec4e079428c5495b535a865a6c4dae0cd20aea8c" + }, + { + "path": "prompts/HYV-Drift-daytime-touge.txt", + "mode": "100644", + "type": "blob", + "sha": "677d3765138899689387e4cf4af3995d3e52b3ca", + "size": 17082, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/677d3765138899689387e4cf4af3995d3e52b3ca" + }, + { + "path": "prompts/HYV-Drift.txt", + "mode": "100644", + "type": "blob", + "sha": "ff10b7580557739f896f47b0e57ae5d85dce880c", + "size": 6458, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ff10b7580557739f896f47b0e57ae5d85dce880c" + }, + { + "path": "prompts/J4CK-v1.txt", + "mode": "100644", + "type": "blob", + "sha": "8e46208899ab0c1e98dc27f37a20e1e4113e37be", + "size": 13569, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8e46208899ab0c1e98dc27f37a20e1e4113e37be" + }, + { + "path": "prompts/JohnWickGeneral.txt", + "mode": "100644", + "type": "blob", + "sha": "72340dec17d3129806fe3d96dd52dd12d90b1129", + "size": 20238, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/72340dec17d3129806fe3d96dd52dd12d90b1129" + }, + { + "path": "prompts/JohnWickGeneralV2.txt", + "mode": "100644", + "type": "blob", + "sha": "ef4ece10ceb2dc7d331608e061f63ca566105490", + "size": 38943, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef4ece10ceb2dc7d331608e061f63ca566105490" + }, + { + "path": "prompts/LTXV-dialogue-closeups.txt", + "mode": "100644", + "type": "blob", + "sha": "d9a8780009d12daa654295d19e292bda3385f786", + "size": 3872, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d9a8780009d12daa654295d19e292bda3385f786" + }, + { + "path": "prompts/LTXV-emotional-moments.txt", + "mode": "100644", + "type": "blob", + "sha": "c1c91354c643a68a4523e2802a9dbedf60fc17f1", + "size": 3853, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c1c91354c643a68a4523e2802a9dbedf60fc17f1" + }, + { + "path": "prompts/LTXV-interior-character.txt", + "mode": "100644", + "type": "blob", + "sha": "cfdf07db068bbd7c5e6f6c36fc4ae737b28abe29", + "size": 4123, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cfdf07db068bbd7c5e6f6c36fc4ae737b28abe29" + }, + { + "path": "prompts/LTXV-movement-sequences.txt", + "mode": "100644", + "type": "blob", + "sha": "2719016304f3524d19eec4608c584c9f7b82d124", + "size": 4141, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2719016304f3524d19eec4608c584c9f7b82d124" + }, + { + "path": "prompts/LTXV-nature-landscape.txt", + "mode": "100644", + "type": "blob", + "sha": "2553929c78084fee816d5b7d6e8652f6380d34ad", + "size": 4044, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2553929c78084fee816d5b7d6e8652f6380d34ad" + }, + { + "path": "prompts/LTXV-photorealistic-scenes.txt", + "mode": "100644", + "type": "blob", + "sha": "b91466f4720ce5fecb251eddb8ff44fdf8c0b689", + "size": 4111, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b91466f4720ce5fecb251eddb8ff44fdf8c0b689" + }, + { + "path": "prompts/LTXV-police-crime.txt", + "mode": "100644", + "type": "blob", + "sha": "840f0bcb3418b81240c3c3b47b3184fdcf86672e", + "size": 4084, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/840f0bcb3418b81240c3c3b47b3184fdcf86672e" + }, + { + "path": "prompts/LTXV-professional-workplace.txt", + "mode": "100644", + "type": "blob", + "sha": "c5ca6e531bee60fe665bf46537c2138755b948b9", + "size": 4000, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c5ca6e531bee60fe665bf46537c2138755b948b9" + }, + { + "path": "prompts/LTXV-science-fiction-scenes.txt", + "mode": "100644", + "type": "blob", + "sha": "d0f77f697791dd6893c1dd9d2858de6bc987ba1b", + "size": 4448, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d0f77f697791dd6893c1dd9d2858de6bc987ba1b" + }, + { + "path": "prompts/LTXV-superhero-scenes.txt", + "mode": "100644", + "type": "blob", + "sha": "f938baba93e086d4143e4e5112470fe617bcf1dc", + "size": 4076, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f938baba93e086d4143e4e5112470fe617bcf1dc" + }, + { + "path": "prompts/LTXV-surrealist-scenes.txt", + "mode": "100644", + "type": "blob", + "sha": "a82f93bab1ee99bb692aca0cf7fc5aa0e22b6147", + "size": 4420, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a82f93bab1ee99bb692aca0cf7fc5aa0e22b6147" + }, + { + "path": "prompts/LTXV-video-full.txt", + "mode": "100644", + "type": "blob", + "sha": "4399e09998d8202326df8ec48be372cc30ca4398", + "size": 9113, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4399e09998d8202326df8ec48be372cc30ca4398" + }, + { + "path": "prompts/Merlin-Spaceship.txt", + "mode": "100644", + "type": "blob", + "sha": "967ca7d62f739e71736b19d1e2728fe73021b9ce", + "size": 707, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967ca7d62f739e71736b19d1e2728fe73021b9ce" + }, + { + "path": "prompts/Mochi-Photo-256.txt", + "mode": "100644", + "type": "blob", + "sha": "1744464f56a80da92cce9f17d826c66c66b66645", + "size": 4926, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1744464f56a80da92cce9f17d826c66c66b66645" + }, + { + "path": "prompts/Mochi-Photo-short.txt", + "mode": "100644", + "type": "blob", + "sha": "31ef493d1b1e937da165378fafeab66938cf8059", + "size": 5800, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/31ef493d1b1e937da165378fafeab66938cf8059" + }, + { + "path": "prompts/Mochi-Photo-xplor.txt", + "mode": "100644", + "type": "blob", + "sha": "7956a22189b4ba5fa6a5066558250fa2aa0eb024", + "size": 5723, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7956a22189b4ba5fa6a5066558250fa2aa0eb024" + }, + { + "path": "prompts/NTTW-full.txt", + "mode": "100644", + "type": "blob", + "sha": "b905db0e3e3765ce8b9dcc9dd29a715a4593673d", + "size": 29883, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b905db0e3e3765ce8b9dcc9dd29a715a4593673d" + }, + { + "path": "prompts/NTTWv66.txt", + "mode": "100644", + "type": "blob", + "sha": "dda15deb23aedbce41a7715d86de8224def8fe5d", + "size": 57062, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dda15deb23aedbce41a7715d86de8224def8fe5d" + }, + { + "path": "prompts/NeonMutation-tagged.txt", + "mode": "100644", + "type": "blob", + "sha": "497c0cb74827ee2555452c385bd0b8f7ca98dd3b", + "size": 3002, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/497c0cb74827ee2555452c385bd0b8f7ca98dd3b" + }, + { + "path": "prompts/PhotonicCloning-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "b7791175d4745dc55325d7d64ee11ceabad552b0", + "size": 1584, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b7791175d4745dc55325d7d64ee11ceabad552b0" + }, + { + "path": "prompts/RDM_Sharona_V4.txt", + "mode": "100644", + "type": "blob", + "sha": "1a8ed9531e2289bbdc96325ac1e0119e8ddc298d", + "size": 57156, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a8ed9531e2289bbdc96325ac1e0119e8ddc298d" + }, + { + "path": "prompts/Spaceninjas-Real.txt", + "mode": "100644", + "type": "blob", + "sha": "65e9a5b4c7c0d7de05e6eb74de648f2ba36ee36d", + "size": 2811, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/65e9a5b4c7c0d7de05e6eb74de648f2ba36ee36d" + }, + { + "path": "prompts/Spaceninjas-Soup.txt", + "mode": "100644", + "type": "blob", + "sha": "9c70571c8d980f8fb9206359a37a672b495359f9", + "size": 3537, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9c70571c8d980f8fb9206359a37a672b495359f9" + }, + { + "path": "prompts/StarCitizenFlux-V1.txt", + "mode": "100644", + "type": "blob", + "sha": "879974c57d1d5a1e13a6d130f6584b34ab4a76da", + "size": 18140, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/879974c57d1d5a1e13a6d130f6584b34ab4a76da" + }, + { + "path": "prompts/Thorra-Actions-airlock.txt", + "mode": "100644", + "type": "blob", + "sha": "8bcaf87bafe5caf9e5d26db6ea3d50dc485979e6", + "size": 5466, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8bcaf87bafe5caf9e5d26db6ea3d50dc485979e6" + }, + { + "path": "prompts/Thorra-Actions-rushing.txt", + "mode": "100644", + "type": "blob", + "sha": "bdd6bb105ec0abdf1f4ba6b229f99bddc73cd3b7", + "size": 13072, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bdd6bb105ec0abdf1f4ba6b229f99bddc73cd3b7" + }, + { + "path": "prompts/Thorra-Actions-shooting.txt", + "mode": "100644", + "type": "blob", + "sha": "e652a890069da2465b08e26dbdb773f890fdc83a", + "size": 10583, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e652a890069da2465b08e26dbdb773f890fdc83a" + }, + { + "path": "prompts/Thorra-Actions.txt", + "mode": "100644", + "type": "blob", + "sha": "5d9e0c4ac6bb041c17b5b2029fefb19f728cac75", + "size": 23657, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d9e0c4ac6bb041c17b5b2029fefb19f728cac75" + }, + { + "path": "prompts/Thorra-Airship-hallway.txt", + "mode": "100644", + "type": "blob", + "sha": "0e4bb14c1ef28ee0f4a889a2bf0c7ee7a823325b", + "size": 704, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0e4bb14c1ef28ee0f4a889a2bf0c7ee7a823325b" + }, + { + "path": "prompts/Thorra-Airship-only.txt", + "mode": "100644", + "type": "blob", + "sha": "05297977504d32538463f76ed67aa49494c3f34d", + "size": 6121, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/05297977504d32538463f76ed67aa49494c3f34d" + }, + { + "path": "prompts/Thorra-Airship-reactor.txt", + "mode": "100644", + "type": "blob", + "sha": "4c4e0c301b212fed4cce6e1c1046162900ffadac", + "size": 572, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4c4e0c301b212fed4cce6e1c1046162900ffadac" + }, + { + "path": "prompts/Thorra-Airship.txt", + "mode": "100644", + "type": "blob", + "sha": "956a3d8d3e43537f09b3d6a7aff4d08124653c03", + "size": 7397, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/956a3d8d3e43537f09b3d6a7aff4d08124653c03" + }, + { + "path": "prompts/Thorra-Machine-Cities.txt", + "mode": "100644", + "type": "blob", + "sha": "a42ac64c90e644dfc24d0d07c115dcd1886d4b3d", + "size": 7900, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a42ac64c90e644dfc24d0d07c115dcd1886d4b3d" + }, + { + "path": "prompts/Thorra-Main-extreme-closeup.txt", + "mode": "100644", + "type": "blob", + "sha": "24d20c2ef28c9e0f80c1a6976263cb73060ec5d1", + "size": 864, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24d20c2ef28c9e0f80c1a6976263cb73060ec5d1" + }, + { + "path": "prompts/Thorra-Main-holding-gun.txt", + "mode": "100644", + "type": "blob", + "sha": "946d009647617194a842726669f821c7fe3491bf", + "size": 1768, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/946d009647617194a842726669f821c7fe3491bf" + }, + { + "path": "prompts/Thorra-Main-shooting-directly.txt", + "mode": "100644", + "type": "blob", + "sha": "a0c1a2cfaa6def874580b90dd877bfecf31bb877", + "size": 726, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a0c1a2cfaa6def874580b90dd877bfecf31bb877" + }, + { + "path": "prompts/Thorra-Main-sneaking.txt", + "mode": "100644", + "type": "blob", + "sha": "af0353319d1ed02de6d11196e79170c6d39d5cdc", + "size": 7421, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/af0353319d1ed02de6d11196e79170c6d39d5cdc" + }, + { + "path": "prompts/Thorra-Main-spysuit.txt", + "mode": "100644", + "type": "blob", + "sha": "1cb571d851866bcdcebe856ef298aeb81568bf08", + "size": 1646, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1cb571d851866bcdcebe856ef298aeb81568bf08" + }, + { + "path": "prompts/Thorra-Main.txt", + "mode": "100644", + "type": "blob", + "sha": "f55b34c6dc1709c134cd847085b90cf22a8ce943", + "size": 12427, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f55b34c6dc1709c134cd847085b90cf22a8ce943" + }, + { + "path": "prompts/Thorra-Scenes-corridor.txt", + "mode": "100644", + "type": "blob", + "sha": "c9445ca1c137a9c5c324d381cf28c546ec8a1ac4", + "size": 5087, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9445ca1c137a9c5c324d381cf28c546ec8a1ac4" + }, + { + "path": "prompts/Thorra-Scenes.txt", + "mode": "100644", + "type": "blob", + "sha": "9719ea3ac964978a0d69cfc81a12e4d4691a0f70", + "size": 16757, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9719ea3ac964978a0d69cfc81a12e4d4691a0f70" + }, + { + "path": "prompts/Tower-V0.txt", + "mode": "100644", + "type": "blob", + "sha": "4be45b3c701a04bbbc33ccee70b9673a7e0a005c", + "size": 11214, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4be45b3c701a04bbbc33ccee70b9673a7e0a005c" + }, + { + "path": "prompts/V3NU5-woman-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "f1894bac167ac2870bb0af4a841701def3b9520c", + "size": 6338, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f1894bac167ac2870bb0af4a841701def3b9520c" + }, + { + "path": "prompts/WAN-cyber-s0c13ty-cyber-samurai-v0b.txt", + "mode": "100644", + "type": "blob", + "sha": "eb83e1fa7e14aaf9644003b59e432e247e16147d", + "size": 30306, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/eb83e1fa7e14aaf9644003b59e432e247e16147d" + }, + { + "path": "prompts/WAN-cyberS0C13TYstyle-v77.txt", + "mode": "100644", + "type": "blob", + "sha": "66bd6961b4b750dfc247ff5ab3d673c8e4b78d63", + "size": 146487, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/66bd6961b4b750dfc247ff5ab3d673c8e4b78d63" + }, + { + "path": "prompts/Zenkai-desu.txt", + "mode": "100644", + "type": "blob", + "sha": "9e205c049be858d37a8b97adf029a765af201c6b", + "size": 622278, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9e205c049be858d37a8b97adf029a765af201c6b" + }, + { + "path": "prompts/Zenkai-prompt.txt", + "mode": "100644", + "type": "blob", + "sha": "436ca6a6ec42ba0cc632e25eb90312da127accb9", + "size": 282345, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/436ca6a6ec42ba0cc632e25eb90312da127accb9" + }, + { + "path": "prompts/Zenkai-random.txt", + "mode": "100644", + "type": "blob", + "sha": "b76e91aac888a3cab58791bdd58dd05e11da2870", + "size": 251134, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b76e91aac888a3cab58791bdd58dd05e11da2870" + }, + { + "path": "prompts/Zenkai-style.txt", + "mode": "100644", + "type": "blob", + "sha": "4da808d1fbc2ccdbc1b7cd36be474313db41d958", + "size": 5072, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4da808d1fbc2ccdbc1b7cd36be474313db41d958" + }, + { + "path": "prompts/abstractChaosFlux-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "3048808571a4183444add5f29f32b39d69f029f9", + "size": 7389, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3048808571a4183444add5f29f32b39d69f029f9" + }, + { + "path": "prompts/airship-interiors-v3.txt", + "mode": "100644", + "type": "blob", + "sha": "913e293fb1572683fe51e363d46db1bd7e73f956", + "size": 56609, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/913e293fb1572683fe51e363d46db1bd7e73f956" + }, + { + "path": "prompts/airship-locations-v2.txt", + "mode": "100644", + "type": "blob", + "sha": "e8302409d2e37d3032fbe393b2b2fba917e82be3", + "size": 47630, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e8302409d2e37d3032fbe393b2b2fba917e82be3" + }, + { + "path": "prompts/alf_video_prompts.txt", + "mode": "100644", + "type": "blob", + "sha": "9593b81515e04e197cf7181e43d33344721f0a7f", + "size": 27514, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9593b81515e04e197cf7181e43d33344721f0a7f" + }, + { + "path": "prompts/andromeda-spaceship-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "2ac5e94f11f2d8a62493e2e5763ec52ea5d6ce65", + "size": 9245, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2ac5e94f11f2d8a62493e2e5763ec52ea5d6ce65" + }, + { + "path": "prompts/assassinKahb-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "600840879419bd9663726ffad2270a47a7eecf3e", + "size": 4370, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/600840879419bd9663726ffad2270a47a7eecf3e" + }, + { + "path": "prompts/assassinXuhk-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "66d7097d848508d97f3c5b944e2ea2fbc4bd191c", + "size": 1911, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/66d7097d848508d97f3c5b944e2ea2fbc4bd191c" + }, + { + "path": "prompts/assassinZohc-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "c09969170c034c39715917b5f4b3650d8cca7a51", + "size": 2120, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c09969170c034c39715917b5f4b3650d8cca7a51" + }, + { + "path": "prompts/assassinkahb.txt", + "mode": "100644", + "type": "blob", + "sha": "fd0f212deef0c7ee222bcf57ef9e67cf2b354a53", + "size": 75, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fd0f212deef0c7ee222bcf57ef9e67cf2b354a53" + }, + { + "path": "prompts/assassinmihq-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "1050160bf7a67f4059c6d2a6cd160e64622476e1", + "size": 3255, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1050160bf7a67f4059c6d2a6cd160e64622476e1" + }, + { + "path": "prompts/bakemono-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "17710cb94f6e933d50ae2c2b353471aeba9400bd", + "size": 19452, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/17710cb94f6e933d50ae2c2b353471aeba9400bd" + }, + { + "path": "prompts/bar-projectv2.txt", + "mode": "100644", + "type": "blob", + "sha": "c4c3e3a2873893e987b79557efcaedbffb34eefe", + "size": 8217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c4c3e3a2873893e987b79557efcaedbffb34eefe" + }, + { + "path": "prompts/big-gdg-doggo.txt", + "mode": "100644", + "type": "blob", + "sha": "f9a695b91a1c0c567e155605bb0f8b00285d3e91", + "size": 506, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f9a695b91a1c0c567e155605bb0f8b00285d3e91" + }, + { + "path": "prompts/blacksun-V1.txt", + "mode": "100644", + "type": "blob", + "sha": "d717b569c3dd77266290a8849da2c02329f9d6c5", + "size": 25411, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d717b569c3dd77266290a8849da2c02329f9d6c5" + }, + { + "path": "prompts/blacksun-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "ec60af994a7e4107822e2dbe67f186684bb50dd4", + "size": 9134, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ec60af994a7e4107822e2dbe67f186684bb50dd4" + }, + { + "path": "prompts/blacksunv4.txt", + "mode": "100644", + "type": "blob", + "sha": "53da30a419732fa12cc772c6ff6c6d628edd131d", + "size": 41558, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/53da30a419732fa12cc772c6ff6c6d628edd131d" + }, + { + "path": "prompts/buster-k3at0n.txt", + "mode": "100644", + "type": "blob", + "sha": "24a2f4fe68f92994441094aea261d035f2360228", + "size": 356813, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24a2f4fe68f92994441094aea261d035f2360228" + }, + { + "path": "prompts/carxjohnson-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "caaf7671af448ee72eca99a5ddb9ef0533ab588a", + "size": 12004, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/caaf7671af448ee72eca99a5ddb9ef0533ab588a" + }, + { + "path": "prompts/ch40s-style-v0c.txt", + "mode": "100644", + "type": "blob", + "sha": "ec5f23e9227d3a15656504bb9b1c1c343e475f5e", + "size": 26177, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ec5f23e9227d3a15656504bb9b1c1c343e475f5e" + }, + { + "path": "prompts/cogvideo-fantasy.txt", + "mode": "100644", + "type": "blob", + "sha": "6907b68d5881076185e562439f798d7a6c4d7ea4", + "size": 9509, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6907b68d5881076185e562439f798d7a6c4d7ea4" + }, + { + "path": "prompts/cogvideo-gen.txt", + "mode": "100644", + "type": "blob", + "sha": "61806d89c86acc90aec8c42e5482cc632edbc4e9", + "size": 10978, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/61806d89c86acc90aec8c42e5482cc632edbc4e9" + }, + { + "path": "prompts/cogvideo-scifi.txt", + "mode": "100644", + "type": "blob", + "sha": "fbd0846fbba62aecf0e5dca45da981a2785f1274", + "size": 9513, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fbd0846fbba62aecf0e5dca45da981a2785f1274" + }, + { + "path": "prompts/cogvideo.txt", + "mode": "100644", + "type": "blob", + "sha": "535fdc1e44e24ef11c861dc95e4585456adaf57d", + "size": 8320, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/535fdc1e44e24ef11c861dc95e4585456adaf57d" + }, + { + "path": "prompts/crw-style.txt", + "mode": "100644", + "type": "blob", + "sha": "616dba299da05177343b387b99f4e30cd2b6eee3", + "size": 47029, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/616dba299da05177343b387b99f4e30cd2b6eee3" + }, + { + "path": "prompts/cthuluBishop-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "05e65591370d4bbb04261c83886e2bc636058ead", + "size": 16280, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/05e65591370d4bbb04261c83886e2bc636058ead" + }, + { + "path": "prompts/cyber-S0C13TY-cyber-samurai-v0b.txt", + "mode": "100644", + "type": "blob", + "sha": "eb83e1fa7e14aaf9644003b59e432e247e16147d", + "size": 30306, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/eb83e1fa7e14aaf9644003b59e432e247e16147d" + }, + { + "path": "prompts/cyberSocietyV4.txt", + "mode": "100644", + "type": "blob", + "sha": "1ee5988238ac524357846977bbdd0a59a4d65870", + "size": 149029, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1ee5988238ac524357846977bbdd0a59a4d65870" + }, + { + "path": "prompts/cyberninjav0.txt", + "mode": "100644", + "type": "blob", + "sha": "5e004d5928bbe5e9308124b59b4836d50bfac811", + "size": 15146, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5e004d5928bbe5e9308124b59b4836d50bfac811" + }, + { + "path": "prompts/cyberninjav1.txt", + "mode": "100644", + "type": "blob", + "sha": "22e2b793617def0e1e839b80d66bd7a39dd68330", + "size": 15564, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/22e2b793617def0e1e839b80d66bd7a39dd68330" + }, + { + "path": "prompts/cybersoc-ep1.txt", + "mode": "100644", + "type": "blob", + "sha": "1032d67ed1942d28f4b29f4352a8eb24303eefbd", + "size": 48155, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1032d67ed1942d28f4b29f4352a8eb24303eefbd" + }, + { + "path": "prompts/cybersocietyV2.txt", + "mode": "100644", + "type": "blob", + "sha": "20bc56136f1b52789d28fe99f1c423c15c98397d", + "size": 36227, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/20bc56136f1b52789d28fe99f1c423c15c98397d" + }, + { + "path": "prompts/cybersocietyV3.txt", + "mode": "100644", + "type": "blob", + "sha": "40feccf7dc528f0e7b43de26ad6f143045997bc0", + "size": 94852, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/40feccf7dc528f0e7b43de26ad6f143045997bc0" + }, + { + "path": "prompts/cybersocietyV6.txt", + "mode": "100644", + "type": "blob", + "sha": "caec6a8a4525010b27075b37a153e39e3e048a2d", + "size": 147466, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/caec6a8a4525010b27075b37a153e39e3e048a2d" + }, + { + "path": "prompts/cybersocietyv0.txt", + "mode": "100644", + "type": "blob", + "sha": "37ee4967be2917ba87df5dfa471118f3aa344528", + "size": 17165, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/37ee4967be2917ba87df5dfa471118f3aa344528" + }, + { + "path": "prompts/cybersocietyv1.txt", + "mode": "100644", + "type": "blob", + "sha": "e30e2dad74322e94f80c2aab72891ae3f9226c82", + "size": 7088, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e30e2dad74322e94f80c2aab72891ae3f9226c82" + }, + { + "path": "prompts/cybersocietyv5.txt", + "mode": "100644", + "type": "blob", + "sha": "8b04085b108381bea6f5c096846adf23b25a628e", + "size": 122536, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8b04085b108381bea6f5c096846adf23b25a628e" + }, + { + "path": "prompts/darkExecutioner-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "e9ab768dca7928dd34a07f4723d99573463a8b49", + "size": 2541, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e9ab768dca7928dd34a07f4723d99573463a8b49" + }, + { + "path": "prompts/deathDance-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "f3b0b3028856f1c909e29fd206a53cbbddf4e35a", + "size": 1466, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f3b0b3028856f1c909e29fd206a53cbbddf4e35a" + }, + { + "path": "prompts/djz-OnFire.txt", + "mode": "100644", + "type": "blob", + "sha": "1923d61d37ca22d956432228fb669e7efe6a02ec", + "size": 1572, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1923d61d37ca22d956432228fb669e7efe6a02ec" + }, + { + "path": "prompts/djz-SnowStreets.txt", + "mode": "100644", + "type": "blob", + "sha": "cdeab6f63a567302c96153d4867e4c47197211b1", + "size": 2608, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cdeab6f63a567302c96153d4867e4c47197211b1" + }, + { + "path": "prompts/drift-ep0.txt", + "mode": "100644", + "type": "blob", + "sha": "0119cf0a9b71f27b9e8a1fa32502de980e2f4dbd", + "size": 6352, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0119cf0a9b71f27b9e8a1fa32502de980e2f4dbd" + }, + { + "path": "prompts/drift-ep1.txt", + "mode": "100644", + "type": "blob", + "sha": "204f925d078c5524f4bd78cb90112fb2822b93cd", + "size": 7002, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/204f925d078c5524f4bd78cb90112fb2822b93cd" + }, + { + "path": "prompts/dronecam-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "12a7f8a3e6d3f672bd7975e06dbbeef6a27862df", + "size": 2272, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/12a7f8a3e6d3f672bd7975e06dbbeef6a27862df" + }, + { + "path": "prompts/duellingDaemons.txt", + "mode": "100644", + "type": "blob", + "sha": "987d6f4e60a72c12cdb55c28ba7ae10053d23e62", + "size": 4343, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/987d6f4e60a72c12cdb55c28ba7ae10053d23e62" + }, + { + "path": "prompts/electronMicroscope-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "d69f88b4790618f558ec5db9f38fd01796492d27", + "size": 1463, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d69f88b4790618f558ec5db9f38fd01796492d27" + }, + { + "path": "prompts/empire-v2d2.txt", + "mode": "100644", + "type": "blob", + "sha": "a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0", + "size": 5104, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4baad3cae6b6f78dd50ff1d0e9b3fbec447add0" + }, + { + "path": "prompts/fxf-tokyo-meet.txt", + "mode": "100644", + "type": "blob", + "sha": "ccfc0ae69d4344a530ddc0e87a629d51f12c0bc4", + "size": 17949, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ccfc0ae69d4344a530ddc0e87a629d51f12c0bc4" + }, + { + "path": "prompts/genesis-flux-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "a33a571ba271d7c73185ab718f93a602cc286fa0", + "size": 25810, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a33a571ba271d7c73185ab718f93a602cc286fa0" + }, + { + "path": "prompts/gkg-scout.txt", + "mode": "100644", + "type": "blob", + "sha": "0d024784d3d57bd5351877050d073b84ec59f318", + "size": 29610, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0d024784d3d57bd5351877050d073b84ec59f318" + }, + { + "path": "prompts/gkg-soldier.txt", + "mode": "100644", + "type": "blob", + "sha": "8053b37b8355c0139119ce0fbcded469639b9359", + "size": 45482, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8053b37b8355c0139119ce0fbcded469639b9359" + }, + { + "path": "prompts/glitchStick-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "cf0d1ef6a11f65e90e54ed3cc9f1d32f61b7a894", + "size": 4228, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cf0d1ef6a11f65e90e54ed3cc9f1d32f61b7a894" + }, + { + "path": "prompts/grandSedan-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "3dee091ccb3f18ed6d71c8af0ba49b0199991d56", + "size": 5480, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3dee091ccb3f18ed6d71c8af0ba49b0199991d56" + }, + { + "path": "prompts/gundamFigur-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "214a369c7a2774fc2bcac410f33a677f5e794520", + "size": 837, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/214a369c7a2774fc2bcac410f33a677f5e794520" + }, + { + "path": "prompts/gxg-gunsai-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "595799d6ba31b7bf4cd77fe36aa2fc0e9d82fdac", + "size": 25506, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/595799d6ba31b7bf4cd77fe36aa2fc0e9d82fdac" + }, + { + "path": "prompts/h3ll-v1-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "e2385084744041abc09782e6c3a8aa322fa79b12", + "size": 7433, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e2385084744041abc09782e6c3a8aa322fa79b12" + }, + { + "path": "prompts/helldivers2-Flux-V1.txt", + "mode": "100644", + "type": "blob", + "sha": "09217a038da981ab820b5d94e1a9c6c1f8b81511", + "size": 5596, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/09217a038da981ab820b5d94e1a9c6c1f8b81511" + }, + { + "path": "prompts/hologram-style-flux-V1.txt", + "mode": "100644", + "type": "blob", + "sha": "c12bc9750dde819cc3c7279193f058d4c6ab25e7", + "size": 2391, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c12bc9750dde819cc3c7279193f058d4c6ab25e7" + }, + { + "path": "prompts/jovian-airships-v3.txt", + "mode": "100644", + "type": "blob", + "sha": "9f4eb28f3e45430116c77d96c2b7e967431f5462", + "size": 75518, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9f4eb28f3e45430116c77d96c2b7e967431f5462" + }, + { + "path": "prompts/junglepunkOG.txt", + "mode": "100644", + "type": "blob", + "sha": "ad50de562fd140f412ccf95bf703f50331e5c0c8", + "size": 493, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ad50de562fd140f412ccf95bf703f50331e5c0c8" + }, + { + "path": "prompts/junglepunkhouse.txt", + "mode": "100644", + "type": "blob", + "sha": "9df7b940ab8c51672357959bd3fa38855a823c22", + "size": 456, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9df7b940ab8c51672357959bd3fa38855a823c22" + }, + { + "path": "prompts/kck-cybersociety-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "fa795cf1c75b47a05cfdbc8778ae58ca8c7985c2", + "size": 9510, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fa795cf1c75b47a05cfdbc8778ae58ca8c7985c2" + }, + { + "path": "prompts/kxk-momjiLine-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "b02a892bd32c0da27c0e6fe41f39a28dad55538f", + "size": 6947, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b02a892bd32c0da27c0e6fe41f39a28dad55538f" + }, + { + "path": "prompts/kzk-thorraV3-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "c39217e4fbd64b2e1a0c7a2f336e20106f277799", + "size": 64548, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c39217e4fbd64b2e1a0c7a2f336e20106f277799" + }, + { + "path": "prompts/leviathanZero-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "17710cb94f6e933d50ae2c2b353471aeba9400bd", + "size": 19452, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/17710cb94f6e933d50ae2c2b353471aeba9400bd" + }, + { + "path": "prompts/megaDemons-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "e651f4059a11ddde2496bdf2f62500a67e494208", + "size": 2242, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e651f4059a11ddde2496bdf2f62500a67e494208" + }, + { + "path": "prompts/necroChurch-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "5ff40fc10bc0b3f55af36fe7dd9260a04bdbede2", + "size": 2623, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5ff40fc10bc0b3f55af36fe7dd9260a04bdbede2" + }, + { + "path": "prompts/newsLocation-Community.txt", + "mode": "100644", + "type": "blob", + "sha": "74b9e9c08daf50d653ca18e08b1fa5b1c05851a6", + "size": 2486, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/74b9e9c08daf50d653ca18e08b1fa5b1c05851a6" + }, + { + "path": "prompts/newsLocation-Emergency.txt", + "mode": "100644", + "type": "blob", + "sha": "318c5f21e8f62181242ae3097227414130039040", + "size": 2869, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/318c5f21e8f62181242ae3097227414130039040" + }, + { + "path": "prompts/newsLocation-Urban.txt", + "mode": "100644", + "type": "blob", + "sha": "62340a386b2c85c42f58a97c8999af3e31db564c", + "size": 3217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/62340a386b2c85c42f58a97c8999af3e31db564c" + }, + { + "path": "prompts/newsLocation-Weather.txt", + "mode": "100644", + "type": "blob", + "sha": "b3093c884d2ee6dbbf2feacae7e0b44921ff9888", + "size": 2555, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b3093c884d2ee6dbbf2feacae7e0b44921ff9888" + }, + { + "path": "prompts/newsReporter-onLocation.txt", + "mode": "100644", + "type": "blob", + "sha": "4e40a8db112a0811ed070fc8d16b69c78b406748", + "size": 3726, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4e40a8db112a0811ed070fc8d16b69c78b406748" + }, + { + "path": "prompts/newscaster-Agent.txt", + "mode": "100644", + "type": "blob", + "sha": "0fb2958268b0a059f837c9e230b987c4ff5870b3", + "size": 9932, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0fb2958268b0a059f837c9e230b987c4ff5870b3" + }, + { + "path": "prompts/newscaster-Web.txt", + "mode": "100644", + "type": "blob", + "sha": "7c3d3453dd7317f32ca50d40a88be8e6dd9de725", + "size": 8720, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c3d3453dd7317f32ca50d40a88be8e6dd9de725" + }, + { + "path": "prompts/newsroom-prompts.txt", + "mode": "100644", + "type": "blob", + "sha": "2bb064ceeb020cbd08a725bf47f02b9c2bab15ba", + "size": 5175, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2bb064ceeb020cbd08a725bf47f02b9c2bab15ba" + }, + { + "path": "prompts/nttw-lite.txt", + "mode": "100644", + "type": "blob", + "sha": "32210a443f6a4d389b72a40a341c72e55cb7fe14", + "size": 12526, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/32210a443f6a4d389b72a40a341c72e55cb7fe14" + }, + { + "path": "prompts/nttw-v5.txt", + "mode": "100644", + "type": "blob", + "sha": "20b8b4fc3c68b62571fabffd980628ebc572838e", + "size": 114530, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/20b8b4fc3c68b62571fabffd980628ebc572838e" + }, + { + "path": "prompts/og-xvx-outfit.txt", + "mode": "100644", + "type": "blob", + "sha": "ba99aeffc7c4926d5d7237a6864ab7c6a7796bdd", + "size": 26386, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ba99aeffc7c4926d5d7237a6864ab7c6a7796bdd" + }, + { + "path": "prompts/oldgodsv0.txt", + "mode": "100644", + "type": "blob", + "sha": "ada3b7663575d84fa34adeeea0767676d09b449e", + "size": 37332, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ada3b7663575d84fa34adeeea0767676d09b449e" + }, + { + "path": "prompts/oldgodsv1.txt", + "mode": "100644", + "type": "blob", + "sha": "fb913f860b1145cc6dd13c72185e260fa3072934", + "size": 38662, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fb913f860b1145cc6dd13c72185e260fa3072934" + }, + { + "path": "prompts/paradistro-IMG-barrierInterface.txt", + "mode": "100644", + "type": "blob", + "sha": "1fe43fd255b79158fdd048aebf627283ee11a18e", + "size": 5740, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fe43fd255b79158fdd048aebf627283ee11a18e" + }, + { + "path": "prompts/paradistro-IMG-exterior.txt", + "mode": "100644", + "type": "blob", + "sha": "507896399615eeac68d64bb02d5eb8536a2828d3", + "size": 8441, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/507896399615eeac68d64bb02d5eb8536a2828d3" + }, + { + "path": "prompts/paradistro-IMG-pristine.txt", + "mode": "100644", + "type": "blob", + "sha": "2f928229007101db2171d082ea9610f9882ca82a", + "size": 3219, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2f928229007101db2171d082ea9610f9882ca82a" + }, + { + "path": "prompts/paradistro-IMG-voidchamber.txt", + "mode": "100644", + "type": "blob", + "sha": "6b285fd168b45bb5eed80eb00a6a0804ecefd202", + "size": 5460, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6b285fd168b45bb5eed80eb00a6a0804ecefd202" + }, + { + "path": "prompts/paradistro-biosphere.txt", + "mode": "100644", + "type": "blob", + "sha": "1484661cee87a9d90cf65207f1ff8f586354d2f5", + "size": 7836, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1484661cee87a9d90cf65207f1ff8f586354d2f5" + }, + { + "path": "prompts/paradistro-cognimus.txt", + "mode": "100644", + "type": "blob", + "sha": "f85dda55fa532fe3fcd81524a0c81a4f4be3736b", + "size": 7934, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f85dda55fa532fe3fcd81524a0c81a4f4be3736b" + }, + { + "path": "prompts/paradistro-gen.txt", + "mode": "100644", + "type": "blob", + "sha": "2858075d65010f5ba14ee3842e5cb4d99084812c", + "size": 11820, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2858075d65010f5ba14ee3842e5cb4d99084812c" + }, + { + "path": "prompts/paradistro-infra.txt", + "mode": "100644", + "type": "blob", + "sha": "87cd49e61920485437de7bee3e754c46c58c2feb", + "size": 5935, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/87cd49e61920485437de7bee3e754c46c58c2feb" + }, + { + "path": "prompts/paradistro-shell.txt", + "mode": "100644", + "type": "blob", + "sha": "dc31e0cac91097cbce4137852f4d4befaa7e04fa", + "size": 5540, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc31e0cac91097cbce4137852f4d4befaa7e04fa" + }, + { + "path": "prompts/paradistro-transitionzones.txt", + "mode": "100644", + "type": "blob", + "sha": "ef698609cbf72d218adcd031c8cb226182997597", + "size": 7333, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef698609cbf72d218adcd031c8cb226182997597" + }, + { + "path": "prompts/powerRangerWeb.txt", + "mode": "100644", + "type": "blob", + "sha": "55935d649079a2c1035d35d5e24694f24ef745ae", + "size": 19961, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/55935d649079a2c1035d35d5e24694f24ef745ae" + }, + { + "path": "prompts/powerRangersV1.txt", + "mode": "100644", + "type": "blob", + "sha": "823dea008bc7a65992a4e73f91af6c6d88942a8f", + "size": 24706, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/823dea008bc7a65992a4e73f91af6c6d88942a8f" + }, + { + "path": "prompts/promptEater-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "a96d674e0e5b7f93b251b463487f242e719cc46c", + "size": 3461, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a96d674e0e5b7f93b251b463487f242e719cc46c" + }, + { + "path": "prompts/reynolds-oil-style-b.txt", + "mode": "100644", + "type": "blob", + "sha": "8dcdb727d4dd852905a687a7d348e0eb23663cb7", + "size": 9745, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8dcdb727d4dd852905a687a7d348e0eb23663cb7" + }, + { + "path": "prompts/reynolds-oil-style.txt", + "mode": "100644", + "type": "blob", + "sha": "bbd037f2c2dc84bcfa95792c3bbbe9299d0b9709", + "size": 10247, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bbd037f2c2dc84bcfa95792c3bbbe9299d0b9709" + }, + { + "path": "prompts/reynoldsv0d-recontext.txt", + "mode": "100644", + "type": "blob", + "sha": "cf0f2c7e49b936afa37b237735da6b207229eb34", + "size": 10146, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cf0f2c7e49b936afa37b237735da6b207229eb34" + }, + { + "path": "prompts/sharona-char.txt", + "mode": "100644", + "type": "blob", + "sha": "80e08efe5b9fa0ad3567d8e5bb672a3a9f4e3c2e", + "size": 14236, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/80e08efe5b9fa0ad3567d8e5bb672a3a9f4e3c2e" + }, + { + "path": "prompts/sharona-charV3.txt", + "mode": "100644", + "type": "blob", + "sha": "c507457b7d4aafb3cd4e0a39993ae32939ebbfed", + "size": 55716, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c507457b7d4aafb3cd4e0a39993ae32939ebbfed" + }, + { + "path": "prompts/sharona-charv2.txt", + "mode": "100644", + "type": "blob", + "sha": "6234c5de0c04e477281b3be74673541345fd7c23", + "size": 9071, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6234c5de0c04e477281b3be74673541345fd7c23" + }, + { + "path": "prompts/sharona-style2.txt", + "mode": "100644", + "type": "blob", + "sha": "fe90f1c57e2936836e01886a1288534480f142f9", + "size": 55718, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fe90f1c57e2936836e01886a1288534480f142f9" + }, + { + "path": "prompts/spacemarineDiorama-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "825d54b8a2cce1f20823dc24ffe28b196b2f0b49", + "size": 4096, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/825d54b8a2cce1f20823dc24ffe28b196b2f0b49" + }, + { + "path": "prompts/st3ll4rV0.txt", + "mode": "100644", + "type": "blob", + "sha": "26b06f2245780dcc96d7397489f40b971ead9343", + "size": 62040, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/26b06f2245780dcc96d7397489f40b971ead9343" + }, + { + "path": "prompts/steve-fontaine.txt", + "mode": "100644", + "type": "blob", + "sha": "8c3f4941f8cd6d8a35dd3a9a73d071f124efa67b", + "size": 4330, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8c3f4941f8cd6d8a35dd3a9a73d071f124efa67b" + }, + { + "path": "prompts/superfashionV1.txt", + "mode": "100644", + "type": "blob", + "sha": "5a958ec72535599d4cbe2f0280bcc77e19752357", + "size": 4970, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5a958ec72535599d4cbe2f0280bcc77e19752357" + }, + { + "path": "prompts/th0rr4-wan-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "d86983d98a97c8d4af002983371fd6aff10e4278", + "size": 70256, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d86983d98a97c8d4af002983371fd6aff10e4278" + }, + { + "path": "prompts/ultraFuture-captions.txt", + "mode": "100644", + "type": "blob", + "sha": "c3b01ade15cc3b9014701b6ae47354270e17469a", + "size": 1526, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c3b01ade15cc3b9014701b6ae47354270e17469a" + }, + { + "path": "prompts/venus-safe-v1.txt", + "mode": "100644", + "type": "blob", + "sha": "c70a31bb94b1cb74df8149389d42b156b0153ecd", + "size": 18045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c70a31bb94b1cb74df8149389d42b156b0153ecd" + }, + { + "path": "prompts/venuscop-v0b.txt", + "mode": "100644", + "type": "blob", + "sha": "f5934845d698de8c8c498ad8cdd188e0eb9f48f9", + "size": 6336, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5934845d698de8c8c498ad8cdd188e0eb9f48f9" + }, + { + "path": "prompts/venuscop-v0d.txt", + "mode": "100644", + "type": "blob", + "sha": "8ab05e2bcb1c15cec42b35fe4e8d3d9bd82f800d", + "size": 7586, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8ab05e2bcb1c15cec42b35fe4e8d3d9bd82f800d" + }, + { + "path": "prompts/vkv-woman.txt", + "mode": "100644", + "type": "blob", + "sha": "e2fa22f51a0164d7ccc10d1de28b27c0f61b78de", + "size": 13037, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e2fa22f51a0164d7ccc10d1de28b27c0f61b78de" + }, + { + "path": "prompts/westwick-char.txt", + "mode": "100644", + "type": "blob", + "sha": "e7668f60624e2bafe93e7c1673601cfe785e6e64", + "size": 12497, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e7668f60624e2bafe93e7c1673601cfe785e6e64" + }, + { + "path": "prompts/westwick-style.txt", + "mode": "100644", + "type": "blob", + "sha": "ade2b3493788f9efccd086a7f25c499da3c62851", + "size": 48611, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ade2b3493788f9efccd086a7f25c499da3c62851" + }, + { + "path": "prompts/wick-ep1.txt", + "mode": "100644", + "type": "blob", + "sha": "d41a45c0c514dc017b9e26d3f79232326aac80ef", + "size": 7032, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d41a45c0c514dc017b9e26d3f79232326aac80ef" + }, + { + "path": "prompts/wick-ep2.txt", + "mode": "100644", + "type": "blob", + "sha": "89031ad6dba020a65d3a9d1e596ba5cb42dc47e6", + "size": 5048, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/89031ad6dba020a65d3a9d1e596ba5cb42dc47e6" + }, + { + "path": "prompts/womanv0.txt", + "mode": "100644", + "type": "blob", + "sha": "d440fedf7fc14769241a31dc7946040c7ac2e68d", + "size": 11515, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d440fedf7fc14769241a31dc7946040c7ac2e68d" + }, + { + "path": "prompts/womanv1.txt", + "mode": "100644", + "type": "blob", + "sha": "a8d764e140d52f46b1cda77af924bae638702271", + "size": 22374, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8d764e140d52f46b1cda77af924bae638702271" + }, + { + "path": "prompts/womanv2.txt", + "mode": "100644", + "type": "blob", + "sha": "c36c83db6a692dbe4046ef573730e06cadceaf75", + "size": 13167, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c36c83db6a692dbe4046ef573730e06cadceaf75" + }, + { + "path": "prompts/womanv3.txt", + "mode": "100644", + "type": "blob", + "sha": "2245da16f64b9d21f14f20511d4257a3a17b1a5c", + "size": 69012, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2245da16f64b9d21f14f20511d4257a3a17b1a5c" + }, + { + "path": "prompts/xjx-car-wan-v1.txt", + "mode": "100644", + "type": "blob", + "sha": "ec9636ec6a624b910ca2742fc1e8ed6963655138", + "size": 9599, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ec9636ec6a624b910ca2742fc1e8ed6963655138" + }, + { + "path": "prompts/xjx-car-wan-v2.txt", + "mode": "100644", + "type": "blob", + "sha": "0fb98dea1f6d1bdcee66530e5534165c5ff831b2", + "size": 8976, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0fb98dea1f6d1bdcee66530e5534165c5ff831b2" + }, + { + "path": "prompts/xjx-car-wan-v3.txt", + "mode": "100644", + "type": "blob", + "sha": "3e7e26ca54085ad723f844ae9eb75ad72c6bafdc", + "size": 8556, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3e7e26ca54085ad723f844ae9eb75ad72c6bafdc" + }, + { + "path": "prompts/xjx-tokyo-racer-v0.txt", + "mode": "100644", + "type": "blob", + "sha": "bcd875ceb682c0f712fa574750fb06b87a36955a", + "size": 18757, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bcd875ceb682c0f712fa574750fb06b87a36955a" + }, + { + "path": "prompts/zkz-backplate.txt", + "mode": "100644", + "type": "blob", + "sha": "09b4e1b313ba25d7b1c0f321c523057fba47294f", + "size": 25667, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/09b4e1b313ba25d7b1c0f321c523057fba47294f" + }, + { + "path": "pyproject.toml", + "mode": "100644", + "type": "blob", + "sha": "4907608d804e9a8d39389d32830ede6a39987eb8", + "size": 490, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4907608d804e9a8d39389d32830ede6a39987eb8" + }, + { + "path": "python_path.cfg", + "mode": "100644", + "type": "blob", + "sha": "272c48721e8c8c90f85d7d94c06662064162b845", + "size": 98, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/272c48721e8c8c90f85d7d94c06662064162b845" + }, + { + "path": "requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "c4b803a8e93743a7ec5f11dc09b30535d1098f08", + "size": 160, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c4b803a8e93743a7ec5f11dc09b30535d1098f08" + }, + { + "path": "ringPattern.npy", + "mode": "100644", + "type": "blob", + "sha": "f9a3b2a18b9441b11775547d123f4835ef698f16", + "size": 3008, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f9a3b2a18b9441b11775547d123f4835ef698f16" + }, + { + "path": "unclean_speech.log", + "mode": "100644", + "type": "blob", + "sha": "1137b3965a9782c48b27127e847d3c334d5aecce", + "size": 25914, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1137b3965a9782c48b27127e847d3c334d5aecce" + }, + { + "path": "voice-effects", + "mode": "040000", + "type": "tree", + "sha": "d053405e8c4b50664d47efdf590bfd3184f69cd6", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/d053405e8c4b50664d47efdf590bfd3184f69cd6" + }, + { + "path": "voice-effects/ethereal.py", + "mode": "100644", + "type": "blob", + "sha": "541c014a7fd78ac453e7ffce435684b309fe7bcd", + "size": 139, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/541c014a7fd78ac453e7ffce435684b309fe7bcd" + }, + { + "path": "voice-effects/monster.py", + "mode": "100644", + "type": "blob", + "sha": "97255de7f75610b2b467d24906f2c9462ca068a4", + "size": 142, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/97255de7f75610b2b467d24906f2c9462ca068a4" + }, + { + "path": "voice-effects/robot.py", + "mode": "100644", + "type": "blob", + "sha": "f60179544049ec7afda69b1dfacbe4ed86ee8312", + "size": 134, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f60179544049ec7afda69b1dfacbe4ed86ee8312" + }, + { + "path": "web", + "mode": "040000", + "type": "tree", + "sha": "a798f9a261b869fe175342b36f2a09f033d50197", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/a798f9a261b869fe175342b36f2a09f033d50197" + }, + { + "path": "web/docs", + "mode": "040000", + "type": "tree", + "sha": "343f2f1e419e85878525f6d955bff8b6194d6295", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/343f2f1e419e85878525f6d955bff8b6194d6295" + }, + { + "path": "web/docs/AnamorphicEffect.md", + "mode": "100644", + "type": "blob", + "sha": "950d8cb3c6252b702e285fc259184ad60163b6b5", + "size": 3543, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/950d8cb3c6252b702e285fc259184ad60163b6b5" + }, + { + "path": "web/docs/AnamorphicEffect", + "mode": "040000", + "type": "tree", + "sha": "3e1191648c6729dadf69e7e15f11dae7acb62770", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3e1191648c6729dadf69e7e15f11dae7acb62770" + }, + { + "path": "web/docs/AnamorphicEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "950d8cb3c6252b702e285fc259184ad60163b6b5", + "size": 3543, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/950d8cb3c6252b702e285fc259184ad60163b6b5" + }, + { + "path": "web/docs/AspectSize.md", + "mode": "100644", + "type": "blob", + "sha": "c9df33137b80f4cd87ed28667d98c308f3c58f95", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9df33137b80f4cd87ed28667d98c308f3c58f95" + }, + { + "path": "web/docs/AspectSize", + "mode": "040000", + "type": "tree", + "sha": "fd644cc3f2531cb4e77d9b67bfd72e8682a1621c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/fd644cc3f2531cb4e77d9b67bfd72e8682a1621c" + }, + { + "path": "web/docs/AspectSize/en.md", + "mode": "100644", + "type": "blob", + "sha": "c9df33137b80f4cd87ed28667d98c308f3c58f95", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9df33137b80f4cd87ed28667d98c308f3c58f95" + }, + { + "path": "web/docs/AspectSizeV2.md", + "mode": "100644", + "type": "blob", + "sha": "611c4a651da3e071802ebaea0d4aad3b562ca510", + "size": 2646, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/611c4a651da3e071802ebaea0d4aad3b562ca510" + }, + { + "path": "web/docs/AspectSizeV2", + "mode": "040000", + "type": "tree", + "sha": "8611560938092a85ce5e2d9e2feae8eb53afbdec", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8611560938092a85ce5e2d9e2feae8eb53afbdec" + }, + { + "path": "web/docs/AspectSizeV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "611c4a651da3e071802ebaea0d4aad3b562ca510", + "size": 2646, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/611c4a651da3e071802ebaea0d4aad3b562ca510" + }, + { + "path": "web/docs/BatchAlphaComposite.md", + "mode": "100644", + "type": "blob", + "sha": "d810f1b8437d1ede6d19c02cd532fe4b5e30153d", + "size": 1945, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d810f1b8437d1ede6d19c02cd532fe4b5e30153d" + }, + { + "path": "web/docs/BatchAlphaComposite", + "mode": "040000", + "type": "tree", + "sha": "21601ca12910906e6af4be38327e135b8439d041", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/21601ca12910906e6af4be38327e135b8439d041" + }, + { + "path": "web/docs/BatchAlphaComposite/en.md", + "mode": "100644", + "type": "blob", + "sha": "d810f1b8437d1ede6d19c02cd532fe4b5e30153d", + "size": 1945, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d810f1b8437d1ede6d19c02cd532fe4b5e30153d" + }, + { + "path": "web/docs/BatchOffset.md", + "mode": "100644", + "type": "blob", + "sha": "58f51145ac8585a1b547faa4b4d4fa3bfabb4d90", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/58f51145ac8585a1b547faa4b4d4fa3bfabb4d90" + }, + { + "path": "web/docs/BatchOffset", + "mode": "040000", + "type": "tree", + "sha": "5532e13d213deb839f9a7f77b536c5b41fd9ce85", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/5532e13d213deb839f9a7f77b536c5b41fd9ce85" + }, + { + "path": "web/docs/BatchOffset/en.md", + "mode": "100644", + "type": "blob", + "sha": "58f51145ac8585a1b547faa4b4d4fa3bfabb4d90", + "size": 2226, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/58f51145ac8585a1b547faa4b4d4fa3bfabb4d90" + }, + { + "path": "web/docs/BatchRangeInsert.md", + "mode": "100644", + "type": "blob", + "sha": "a32dbc57d886b642c7e29e4c4a2e2d043cef6605", + "size": 2269, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a32dbc57d886b642c7e29e4c4a2e2d043cef6605" + }, + { + "path": "web/docs/BatchRangeInsert", + "mode": "040000", + "type": "tree", + "sha": "2e19f146e80633ecd36bce198591203b9141227d", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/2e19f146e80633ecd36bce198591203b9141227d" + }, + { + "path": "web/docs/BatchRangeInsert/en.md", + "mode": "100644", + "type": "blob", + "sha": "a32dbc57d886b642c7e29e4c4a2e2d043cef6605", + "size": 2269, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a32dbc57d886b642c7e29e4c4a2e2d043cef6605" + }, + { + "path": "web/docs/BatchRangeSwap.md", + "mode": "100644", + "type": "blob", + "sha": "0299deb71235bb294f89a0c1f32feb8de45ae9f6", + "size": 2741, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0299deb71235bb294f89a0c1f32feb8de45ae9f6" + }, + { + "path": "web/docs/BatchRangeSwap", + "mode": "040000", + "type": "tree", + "sha": "d27a6863308f76569cb5d7f1ea42f4061dcc6c2f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/d27a6863308f76569cb5d7f1ea42f4061dcc6c2f" + }, + { + "path": "web/docs/BatchRangeSwap/en.md", + "mode": "100644", + "type": "blob", + "sha": "0299deb71235bb294f89a0c1f32feb8de45ae9f6", + "size": 2741, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0299deb71235bb294f89a0c1f32feb8de45ae9f6" + }, + { + "path": "web/docs/BatchThief.md", + "mode": "100644", + "type": "blob", + "sha": "30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90", + "size": 1844, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90" + }, + { + "path": "web/docs/BatchThief", + "mode": "040000", + "type": "tree", + "sha": "c6dc1d62042f43842a10be83d80c9eaee7ccf27f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/c6dc1d62042f43842a10be83d80c9eaee7ccf27f" + }, + { + "path": "web/docs/BatchThief/en.md", + "mode": "100644", + "type": "blob", + "sha": "30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90", + "size": 1844, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/30fe7cb32b4395f76a9e1ec2ec0d1aff68990a90" + }, + { + "path": "web/docs/BlackBarsV1.md", + "mode": "100644", + "type": "blob", + "sha": "1a6538e487dc5f32c269f749660a3ffd43831b7c", + "size": 2499, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a6538e487dc5f32c269f749660a3ffd43831b7c" + }, + { + "path": "web/docs/BlackBarsV1", + "mode": "040000", + "type": "tree", + "sha": "e2afc22a31b29faf1943d2ed6030d0678d18fe7a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e2afc22a31b29faf1943d2ed6030d0678d18fe7a" + }, + { + "path": "web/docs/BlackBarsV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "1a6538e487dc5f32c269f749660a3ffd43831b7c", + "size": 2499, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a6538e487dc5f32c269f749660a3ffd43831b7c" + }, + { + "path": "web/docs/BlackBarsV2.md", + "mode": "100644", + "type": "blob", + "sha": "62432478a3b364cfd3188d6b61a413a5f780428e", + "size": 2764, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/62432478a3b364cfd3188d6b61a413a5f780428e" + }, + { + "path": "web/docs/BlackBarsV2", + "mode": "040000", + "type": "tree", + "sha": "0618d9d8efb94085207cd721220a45b0648f6602", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/0618d9d8efb94085207cd721220a45b0648f6602" + }, + { + "path": "web/docs/BlackBarsV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "62432478a3b364cfd3188d6b61a413a5f780428e", + "size": 2764, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/62432478a3b364cfd3188d6b61a413a5f780428e" + }, + { + "path": "web/docs/BlackBarsV3.md", + "mode": "100644", + "type": "blob", + "sha": "addc5abe86828c65aa4af9b52f0e81b79ddcde4e", + "size": 3045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/addc5abe86828c65aa4af9b52f0e81b79ddcde4e" + }, + { + "path": "web/docs/BlackBarsV3", + "mode": "040000", + "type": "tree", + "sha": "9541412f627ecb8861c976c160a33ea32f53cd92", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/9541412f627ecb8861c976c160a33ea32f53cd92" + }, + { + "path": "web/docs/BlackBarsV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "addc5abe86828c65aa4af9b52f0e81b79ddcde4e", + "size": 3045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/addc5abe86828c65aa4af9b52f0e81b79ddcde4e" + }, + { + "path": "web/docs/BracketCleaner.md", + "mode": "100644", + "type": "blob", + "sha": "1fb3e5f859e366587b69f09f3e5f885ce455e5a3", + "size": 1909, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fb3e5f859e366587b69f09f3e5f885ce455e5a3" + }, + { + "path": "web/docs/BracketCleaner", + "mode": "040000", + "type": "tree", + "sha": "6fb58d44b70254175f624835a0bec1553a566298", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6fb58d44b70254175f624835a0bec1553a566298" + }, + { + "path": "web/docs/BracketCleaner/en.md", + "mode": "100644", + "type": "blob", + "sha": "1fb3e5f859e366587b69f09f3e5f885ce455e5a3", + "size": 1909, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fb3e5f859e366587b69f09f3e5f885ce455e5a3" + }, + { + "path": "web/docs/CRT_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "f8aa686c6df0348e9de64f2c8edc021902eb5994", + "size": 4748, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f8aa686c6df0348e9de64f2c8edc021902eb5994" + }, + { + "path": "web/docs/CRT_Effect_v1", + "mode": "040000", + "type": "tree", + "sha": "6feeba1f3b8230027b9ead9ad93531c928273eb6", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6feeba1f3b8230027b9ead9ad93531c928273eb6" + }, + { + "path": "web/docs/CRT_Effect_v1/en.md", + "mode": "100644", + "type": "blob", + "sha": "f8aa686c6df0348e9de64f2c8edc021902eb5994", + "size": 4748, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f8aa686c6df0348e9de64f2c8edc021902eb5994" + }, + { + "path": "web/docs/CaptionsToPromptList.md", + "mode": "100644", + "type": "blob", + "sha": "ae33f3fad7f3627f61e717bda8de8501ce6dfee2", + "size": 2644, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ae33f3fad7f3627f61e717bda8de8501ce6dfee2" + }, + { + "path": "web/docs/CaptionsToPromptList", + "mode": "040000", + "type": "tree", + "sha": "3b5c39d32a4850e6dfd2ba253cf91777bb836d43", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3b5c39d32a4850e6dfd2ba253cf91777bb836d43" + }, + { + "path": "web/docs/CaptionsToPromptList/en.md", + "mode": "100644", + "type": "blob", + "sha": "ae33f3fad7f3627f61e717bda8de8501ce6dfee2", + "size": 2644, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ae33f3fad7f3627f61e717bda8de8501ce6dfee2" + }, + { + "path": "web/docs/CathodeRayEffect.md", + "mode": "100644", + "type": "blob", + "sha": "f5d463f6bc19d24a526a81f82aa96fdaafbc2adc", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5d463f6bc19d24a526a81f82aa96fdaafbc2adc" + }, + { + "path": "web/docs/CathodeRayEffect", + "mode": "040000", + "type": "tree", + "sha": "524f0c3018edc78ab80a16510f4278bbfe9ca9d8", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/524f0c3018edc78ab80a16510f4278bbfe9ca9d8" + }, + { + "path": "web/docs/CathodeRayEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "f5d463f6bc19d24a526a81f82aa96fdaafbc2adc", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5d463f6bc19d24a526a81f82aa96fdaafbc2adc" + }, + { + "path": "web/docs/ClassicFilmEffect.md", + "mode": "100644", + "type": "blob", + "sha": "173fce795d864539d858d4be92fba619d9f4005e", + "size": 4963, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/173fce795d864539d858d4be92fba619d9f4005e" + }, + { + "path": "web/docs/ClassicFilmEffect", + "mode": "040000", + "type": "tree", + "sha": "b4be7abb22457dfe99a6875728b68eb579c7e45e", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b4be7abb22457dfe99a6875728b68eb579c7e45e" + }, + { + "path": "web/docs/ClassicFilmEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "173fce795d864539d858d4be92fba619d9f4005e", + "size": 4963, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/173fce795d864539d858d4be92fba619d9f4005e" + }, + { + "path": "web/docs/CombineAudio.md", + "mode": "100644", + "type": "blob", + "sha": "198ada34175b6976abbe03bf722e5803330a140b", + "size": 2086, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/198ada34175b6976abbe03bf722e5803330a140b" + }, + { + "path": "web/docs/CombineAudio", + "mode": "040000", + "type": "tree", + "sha": "d4c242607b98f027531b64129583bdda85c2e11c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/d4c242607b98f027531b64129583bdda85c2e11c" + }, + { + "path": "web/docs/CombineAudio/en.md", + "mode": "100644", + "type": "blob", + "sha": "198ada34175b6976abbe03bf722e5803330a140b", + "size": 2086, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/198ada34175b6976abbe03bf722e5803330a140b" + }, + { + "path": "web/docs/DJZ-Nodes-Index.md", + "mode": "100644", + "type": "blob", + "sha": "6c563040f616d8dba654a037111aa5da35c64fef", + "size": 20350, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6c563040f616d8dba654a037111aa5da35c64fef" + }, + { + "path": "web/docs/DJZDatamoshV2.md", + "mode": "100644", + "type": "blob", + "sha": "ed8574b105f50ae714cf3a1614ee618dbdf0d9af", + "size": 2887, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ed8574b105f50ae714cf3a1614ee618dbdf0d9af" + }, + { + "path": "web/docs/DJZDatamoshV2", + "mode": "040000", + "type": "tree", + "sha": "2506dd4ea6f0c5870b05be0cb41905dd1aa09196", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/2506dd4ea6f0c5870b05be0cb41905dd1aa09196" + }, + { + "path": "web/docs/DJZDatamoshV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "ed8574b105f50ae714cf3a1614ee618dbdf0d9af", + "size": 2887, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ed8574b105f50ae714cf3a1614ee618dbdf0d9af" + }, + { + "path": "web/docs/DJZLoadLatent.md", + "mode": "100644", + "type": "blob", + "sha": "95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca", + "size": 1795, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca" + }, + { + "path": "web/docs/DJZLoadLatent", + "mode": "040000", + "type": "tree", + "sha": "10f141940206e5e978fcfc61995dbd0cc41d00b2", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/10f141940206e5e978fcfc61995dbd0cc41d00b2" + }, + { + "path": "web/docs/DJZLoadLatent/en.md", + "mode": "100644", + "type": "blob", + "sha": "95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca", + "size": 1795, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/95fade4f4e5fa4dc0a7098f4ba0bb0cfba0a2eca" + }, + { + "path": "web/docs/DJZLoadLatentV2.md", + "mode": "100644", + "type": "blob", + "sha": "28c4108bc510368a985a5b5242ba1f0bf699f462", + "size": 2578, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/28c4108bc510368a985a5b5242ba1f0bf699f462" + }, + { + "path": "web/docs/DJZLoadLatentV2", + "mode": "040000", + "type": "tree", + "sha": "95a3484d9124c11006213d73beb8f54f9754f7c0", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/95a3484d9124c11006213d73beb8f54f9754f7c0" + }, + { + "path": "web/docs/DJZLoadLatentV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "28c4108bc510368a985a5b5242ba1f0bf699f462", + "size": 2578, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/28c4108bc510368a985a5b5242ba1f0bf699f462" + }, + { + "path": "web/docs/DatasetWordcloud.md", + "mode": "100644", + "type": "blob", + "sha": "6aa53408da15e6c57a620bc4a8daadb2123a567c", + "size": 2870, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6aa53408da15e6c57a620bc4a8daadb2123a567c" + }, + { + "path": "web/docs/DatasetWordcloud", + "mode": "040000", + "type": "tree", + "sha": "8b3bb83c33158a15933a4fc6770ae956a2cf24ba", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8b3bb83c33158a15933a4fc6770ae956a2cf24ba" + }, + { + "path": "web/docs/DatasetWordcloud/en.md", + "mode": "100644", + "type": "blob", + "sha": "6aa53408da15e6c57a620bc4a8daadb2123a567c", + "size": 2870, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6aa53408da15e6c57a620bc4a8daadb2123a567c" + }, + { + "path": "web/docs/DeadPixelEffect.md", + "mode": "100644", + "type": "blob", + "sha": "9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3", + "size": 3615, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3" + }, + { + "path": "web/docs/DeadPixelEffect", + "mode": "040000", + "type": "tree", + "sha": "df5048d71fe0b65ef8f245d72de155dbe0f9e919", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/df5048d71fe0b65ef8f245d72de155dbe0f9e919" + }, + { + "path": "web/docs/DeadPixelEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3", + "size": 3615, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9e81cd75b1a2b6b4c4c2d49abc9430de56b96be3" + }, + { + "path": "web/docs/DepthBasedPixelization.md", + "mode": "100644", + "type": "blob", + "sha": "1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05", + "size": 2826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05" + }, + { + "path": "web/docs/DepthBasedPixelization", + "mode": "040000", + "type": "tree", + "sha": "3d7062798b24920c18b458e7e806ef764a7ee30c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3d7062798b24920c18b458e7e806ef764a7ee30c" + }, + { + "path": "web/docs/DepthBasedPixelization/en.md", + "mode": "100644", + "type": "blob", + "sha": "1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05", + "size": 2826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1ad4ebe63b4c30c67d2a074326e2fd5d012e6b05" + }, + { + "path": "web/docs/DinskyPlus.md", + "mode": "100644", + "type": "blob", + "sha": "967b6a5c66c509e189aacd035670e8f06111ad44", + "size": 3714, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967b6a5c66c509e189aacd035670e8f06111ad44" + }, + { + "path": "web/docs/DinskyPlus", + "mode": "040000", + "type": "tree", + "sha": "769dd6bcccd68b760dd286ee5fc78c8f32e546ba", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/769dd6bcccd68b760dd286ee5fc78c8f32e546ba" + }, + { + "path": "web/docs/DinskyPlus/en.md", + "mode": "100644", + "type": "blob", + "sha": "967b6a5c66c509e189aacd035670e8f06111ad44", + "size": 3714, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967b6a5c66c509e189aacd035670e8f06111ad44" + }, + { + "path": "web/docs/DinskyPlusV2.md", + "mode": "100644", + "type": "blob", + "sha": "3b61c7b2ece945f3c5263cf3ce84210ebe365860", + "size": 3777, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3b61c7b2ece945f3c5263cf3ce84210ebe365860" + }, + { + "path": "web/docs/DinskyPlusV2", + "mode": "040000", + "type": "tree", + "sha": "3798886a18fd87302059c0c50cffed5e8dc77ec8", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3798886a18fd87302059c0c50cffed5e8dc77ec8" + }, + { + "path": "web/docs/DinskyPlusV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "3b61c7b2ece945f3c5263cf3ce84210ebe365860", + "size": 3777, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3b61c7b2ece945f3c5263cf3ce84210ebe365860" + }, + { + "path": "web/docs/DjzDatabendingV1.md", + "mode": "100644", + "type": "blob", + "sha": "4ca66adb993a301549aec8e2ddcb99cfdb6e0034", + "size": 3149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4ca66adb993a301549aec8e2ddcb99cfdb6e0034" + }, + { + "path": "web/docs/DjzDatabendingV1", + "mode": "040000", + "type": "tree", + "sha": "e8c363390aeffdb4864cb734f1bad1ce7a11e818", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e8c363390aeffdb4864cb734f1bad1ce7a11e818" + }, + { + "path": "web/docs/DjzDatabendingV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "4ca66adb993a301549aec8e2ddcb99cfdb6e0034", + "size": 3149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4ca66adb993a301549aec8e2ddcb99cfdb6e0034" + }, + { + "path": "web/docs/DjzDatamosh.md", + "mode": "100644", + "type": "blob", + "sha": "6d1efcc670a965f49b9caa4d92236bb646b66588", + "size": 3826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6d1efcc670a965f49b9caa4d92236bb646b66588" + }, + { + "path": "web/docs/DjzDatamosh", + "mode": "040000", + "type": "tree", + "sha": "4aefc1ff8df32226c5d13a88136a7dc208d8ecdc", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/4aefc1ff8df32226c5d13a88136a7dc208d8ecdc" + }, + { + "path": "web/docs/DjzDatamosh/en.md", + "mode": "100644", + "type": "blob", + "sha": "6d1efcc670a965f49b9caa4d92236bb646b66588", + "size": 3826, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6d1efcc670a965f49b9caa4d92236bb646b66588" + }, + { + "path": "web/docs/DjzDatamoshV3.md", + "mode": "100644", + "type": "blob", + "sha": "834a1bb04b6abed20a128db03e1f8d456b8b87dd", + "size": 3027, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/834a1bb04b6abed20a128db03e1f8d456b8b87dd" + }, + { + "path": "web/docs/DjzDatamoshV3", + "mode": "040000", + "type": "tree", + "sha": "6abf7546ae127dab803a210ed809da8f98702e7f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6abf7546ae127dab803a210ed809da8f98702e7f" + }, + { + "path": "web/docs/DjzDatamoshV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "834a1bb04b6abed20a128db03e1f8d456b8b87dd", + "size": 3027, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/834a1bb04b6abed20a128db03e1f8d456b8b87dd" + }, + { + "path": "web/docs/DjzDatamoshV4.md", + "mode": "100644", + "type": "blob", + "sha": "43c16c8d57effad37822fd45bdcbe9bdc9553061", + "size": 2995, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/43c16c8d57effad37822fd45bdcbe9bdc9553061" + }, + { + "path": "web/docs/DjzDatamoshV4", + "mode": "040000", + "type": "tree", + "sha": "17e60738f1166514a16ad30d2e869f7c9d44fcda", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/17e60738f1166514a16ad30d2e869f7c9d44fcda" + }, + { + "path": "web/docs/DjzDatamoshV4/en.md", + "mode": "100644", + "type": "blob", + "sha": "43c16c8d57effad37822fd45bdcbe9bdc9553061", + "size": 2995, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/43c16c8d57effad37822fd45bdcbe9bdc9553061" + }, + { + "path": "web/docs/DjzDatamoshV5.md", + "mode": "100644", + "type": "blob", + "sha": "8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5", + "size": 3056, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5" + }, + { + "path": "web/docs/DjzDatamoshV5", + "mode": "040000", + "type": "tree", + "sha": "7af8a251912561ecb4aa15f64a8666f392765b27", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/7af8a251912561ecb4aa15f64a8666f392765b27" + }, + { + "path": "web/docs/DjzDatamoshV5/en.md", + "mode": "100644", + "type": "blob", + "sha": "8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5", + "size": 3056, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8742ffdb1a6fb4df05d09bfe7d8169ff5e0acbe5" + }, + { + "path": "web/docs/DjzDatamoshV6.md", + "mode": "100644", + "type": "blob", + "sha": "37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce", + "size": 3197, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce" + }, + { + "path": "web/docs/DjzDatamoshV6", + "mode": "040000", + "type": "tree", + "sha": "5c4d65d692f812a8dfc385023f832d7bc6726f0f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/5c4d65d692f812a8dfc385023f832d7bc6726f0f" + }, + { + "path": "web/docs/DjzDatamoshV6/en.md", + "mode": "100644", + "type": "blob", + "sha": "37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce", + "size": 3197, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/37e7ddc6f2b2addedf3d33acaf97e85a82ede0ce" + }, + { + "path": "web/docs/DjzDatamoshV7.md", + "mode": "100644", + "type": "blob", + "sha": "db25cbdd7bb4d582f959115641ee0a93d6b4cf00", + "size": 3133, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db25cbdd7bb4d582f959115641ee0a93d6b4cf00" + }, + { + "path": "web/docs/DjzDatamoshV7", + "mode": "040000", + "type": "tree", + "sha": "315b52ee068ce005d79f5a0fdf000a196b1485ad", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/315b52ee068ce005d79f5a0fdf000a196b1485ad" + }, + { + "path": "web/docs/DjzDatamoshV7/en.md", + "mode": "100644", + "type": "blob", + "sha": "db25cbdd7bb4d582f959115641ee0a93d6b4cf00", + "size": 3133, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db25cbdd7bb4d582f959115641ee0a93d6b4cf00" + }, + { + "path": "web/docs/DjzDatamoshV8.md", + "mode": "100644", + "type": "blob", + "sha": "8974a7717187c0a7a26e9bd7aec18899b2868090", + "size": 3752, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8974a7717187c0a7a26e9bd7aec18899b2868090" + }, + { + "path": "web/docs/DjzDatamoshV8", + "mode": "040000", + "type": "tree", + "sha": "fa5bd070c8ce5f3a1ffb8d30c67b1375866d1b00", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/fa5bd070c8ce5f3a1ffb8d30c67b1375866d1b00" + }, + { + "path": "web/docs/DjzDatamoshV8/en.md", + "mode": "100644", + "type": "blob", + "sha": "8974a7717187c0a7a26e9bd7aec18899b2868090", + "size": 3752, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8974a7717187c0a7a26e9bd7aec18899b2868090" + }, + { + "path": "web/docs/FFXFADEORAMA.md", + "mode": "100644", + "type": "blob", + "sha": "099cef5e17ea31222de1f794386abce8c1a12b2d", + "size": 3659, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/099cef5e17ea31222de1f794386abce8c1a12b2d" + }, + { + "path": "web/docs/FFXFADEORAMA", + "mode": "040000", + "type": "tree", + "sha": "191d815ab92b25038203fc42d312b5cc77bea1b3", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/191d815ab92b25038203fc42d312b5cc77bea1b3" + }, + { + "path": "web/docs/FFXFADEORAMA/en.md", + "mode": "100644", + "type": "blob", + "sha": "099cef5e17ea31222de1f794386abce8c1a12b2d", + "size": 3659, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/099cef5e17ea31222de1f794386abce8c1a12b2d" + }, + { + "path": "web/docs/FilmGateWeave.md", + "mode": "100644", + "type": "blob", + "sha": "9a7e56297f6785724e18df90fda0a6dae06d1121", + "size": 4488, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9a7e56297f6785724e18df90fda0a6dae06d1121" + }, + { + "path": "web/docs/FilmGateWeave", + "mode": "040000", + "type": "tree", + "sha": "77b1151fff4a6e0710cc2dc1c1261ba49bf4a2b9", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/77b1151fff4a6e0710cc2dc1c1261ba49bf4a2b9" + }, + { + "path": "web/docs/FilmGateWeave/en.md", + "mode": "100644", + "type": "blob", + "sha": "9a7e56297f6785724e18df90fda0a6dae06d1121", + "size": 4488, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9a7e56297f6785724e18df90fda0a6dae06d1121" + }, + { + "path": "web/docs/FilmGrainEffect.md", + "mode": "100644", + "type": "blob", + "sha": "7877dba9061abeee584f4b0df2fe684ec3825469", + "size": 3919, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7877dba9061abeee584f4b0df2fe684ec3825469" + }, + { + "path": "web/docs/FilmGrainEffect", + "mode": "040000", + "type": "tree", + "sha": "595f3b89b5d881b9b5cb46ed86a0710ac053ef86", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/595f3b89b5d881b9b5cb46ed86a0710ac053ef86" + }, + { + "path": "web/docs/FilmGrainEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "7877dba9061abeee584f4b0df2fe684ec3825469", + "size": 3919, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7877dba9061abeee584f4b0df2fe684ec3825469" + }, + { + "path": "web/docs/FilmGrainEffect_v2.md", + "mode": "100644", + "type": "blob", + "sha": "48b8caa3f782324fc5e6c747d0086e5ffa0b42b5", + "size": 2317, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/48b8caa3f782324fc5e6c747d0086e5ffa0b42b5" + }, + { + "path": "web/docs/FilmGrainEffect_v2", + "mode": "040000", + "type": "tree", + "sha": "024a67312901a4828a75cef0a664f2595dd37eba", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/024a67312901a4828a75cef0a664f2595dd37eba" + }, + { + "path": "web/docs/FilmGrainEffect_v2/en.md", + "mode": "100644", + "type": "blob", + "sha": "48b8caa3f782324fc5e6c747d0086e5ffa0b42b5", + "size": 2317, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/48b8caa3f782324fc5e6c747d0086e5ffa0b42b5" + }, + { + "path": "web/docs/FishEyeEffect.md", + "mode": "100644", + "type": "blob", + "sha": "08aa0df08a703d9a73d76db7a60b09dbb5807063", + "size": 4084, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/08aa0df08a703d9a73d76db7a60b09dbb5807063" + }, + { + "path": "web/docs/FishEyeEffect", + "mode": "040000", + "type": "tree", + "sha": "3ad67082d99bd0281f75a0ae066a6f021aab8288", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3ad67082d99bd0281f75a0ae066a6f021aab8288" + }, + { + "path": "web/docs/FishEyeEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "08aa0df08a703d9a73d76db7a60b09dbb5807063", + "size": 4084, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/08aa0df08a703d9a73d76db7a60b09dbb5807063" + }, + { + "path": "web/docs/FishEyeV2.md", + "mode": "100644", + "type": "blob", + "sha": "d9edb41ca89b43b48daf14dca60c3acfd12095b1", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d9edb41ca89b43b48daf14dca60c3acfd12095b1" + }, + { + "path": "web/docs/FishEyeV2", + "mode": "040000", + "type": "tree", + "sha": "8d5f1d350c2daa7bf4c5ae20ed4ee5e8e32b6198", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8d5f1d350c2daa7bf4c5ae20ed4ee5e8e32b6198" + }, + { + "path": "web/docs/FishEyeV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "d9edb41ca89b43b48daf14dca60c3acfd12095b1", + "size": 3116, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d9edb41ca89b43b48daf14dca60c3acfd12095b1" + }, + { + "path": "web/docs/FractalGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "59bf23b77bcde257e38a97b272381e109ffbbeeb", + "size": 3485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/59bf23b77bcde257e38a97b272381e109ffbbeeb" + }, + { + "path": "web/docs/FractalGenerator", + "mode": "040000", + "type": "tree", + "sha": "bfa0c85b95cf4e3758c9152ef1a2f1caa37b9381", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/bfa0c85b95cf4e3758c9152ef1a2f1caa37b9381" + }, + { + "path": "web/docs/FractalGenerator/en.md", + "mode": "100644", + "type": "blob", + "sha": "59bf23b77bcde257e38a97b272381e109ffbbeeb", + "size": 3485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/59bf23b77bcde257e38a97b272381e109ffbbeeb" + }, + { + "path": "web/docs/FractalGeneratorV2.md", + "mode": "100644", + "type": "blob", + "sha": "5d8f59aff72605c6865d4d6913c937df261dcfba", + "size": 4455, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d8f59aff72605c6865d4d6913c937df261dcfba" + }, + { + "path": "web/docs/FractalGeneratorV2", + "mode": "040000", + "type": "tree", + "sha": "9f1a275cc5316d798ffcc6b2501caa7f4eb8311b", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/9f1a275cc5316d798ffcc6b2501caa7f4eb8311b" + }, + { + "path": "web/docs/FractalGeneratorV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "5d8f59aff72605c6865d4d6913c937df261dcfba", + "size": 4455, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5d8f59aff72605c6865d4d6913c937df261dcfba" + }, + { + "path": "web/docs/FractalGeneratorV3.md", + "mode": "100644", + "type": "blob", + "sha": "9c3b380f6b7ab3e31586ed482de4f873d7212791", + "size": 5180, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9c3b380f6b7ab3e31586ed482de4f873d7212791" + }, + { + "path": "web/docs/FractalGeneratorV3", + "mode": "040000", + "type": "tree", + "sha": "fefd448c94fabd171a9633b81289854a88ecbc3b", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/fefd448c94fabd171a9633b81289854a88ecbc3b" + }, + { + "path": "web/docs/FractalGeneratorV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "9c3b380f6b7ab3e31586ed482de4f873d7212791", + "size": 5180, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9c3b380f6b7ab3e31586ed482de4f873d7212791" + }, + { + "path": "web/docs/GSL_Filter_V1.md", + "mode": "100644", + "type": "blob", + "sha": "f95add523013b3500a188da4e5fa70316a47ad5a", + "size": 3991, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f95add523013b3500a188da4e5fa70316a47ad5a" + }, + { + "path": "web/docs/GSL_Filter_V1", + "mode": "040000", + "type": "tree", + "sha": "61e08ac11a1976c885937855bb15e0cf9f8b627f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/61e08ac11a1976c885937855bb15e0cf9f8b627f" + }, + { + "path": "web/docs/GSL_Filter_V1/en.md", + "mode": "100644", + "type": "blob", + "sha": "f95add523013b3500a188da4e5fa70316a47ad5a", + "size": 3991, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f95add523013b3500a188da4e5fa70316a47ad5a" + }, + { + "path": "web/docs/HalationBloom.md", + "mode": "100644", + "type": "blob", + "sha": "4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a", + "size": 4325, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a" + }, + { + "path": "web/docs/HalationBloom", + "mode": "040000", + "type": "tree", + "sha": "5d493945353dac1fd0fac69dda58095fa4468a92", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/5d493945353dac1fd0fac69dda58095fa4468a92" + }, + { + "path": "web/docs/HalationBloom/en.md", + "mode": "100644", + "type": "blob", + "sha": "4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a", + "size": 4325, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4cb4ce874d9b4eeb7e4b62c2f041c83b5653c50a" + }, + { + "path": "web/docs/ImageInterleavedUpscaler.md", + "mode": "100644", + "type": "blob", + "sha": "f27c5e4ac1b42d2fdaad8debf2ec4741df32d708", + "size": 3536, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27c5e4ac1b42d2fdaad8debf2ec4741df32d708" + }, + { + "path": "web/docs/ImageInterleavedUpscaler", + "mode": "040000", + "type": "tree", + "sha": "21fb1ca3ce9164993f544d71803bb6c2fbf38f02", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/21fb1ca3ce9164993f544d71803bb6c2fbf38f02" + }, + { + "path": "web/docs/ImageInterleavedUpscaler/en.md", + "mode": "100644", + "type": "blob", + "sha": "f27c5e4ac1b42d2fdaad8debf2ec4741df32d708", + "size": 3536, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27c5e4ac1b42d2fdaad8debf2ec4741df32d708" + }, + { + "path": "web/docs/ImageInterleavedUpscalerV2.md", + "mode": "100644", + "type": "blob", + "sha": "1f49dacb526e6eb04c88a61236a783cbe609cfe4", + "size": 3309, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1f49dacb526e6eb04c88a61236a783cbe609cfe4" + }, + { + "path": "web/docs/ImageInterleavedUpscalerV2", + "mode": "040000", + "type": "tree", + "sha": "3387ae3b8bf775d8a1c224763bdad5b6a6acbbe1", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3387ae3b8bf775d8a1c224763bdad5b6a6acbbe1" + }, + { + "path": "web/docs/ImageInterleavedUpscalerV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "1f49dacb526e6eb04c88a61236a783cbe609cfe4", + "size": 3309, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1f49dacb526e6eb04c88a61236a783cbe609cfe4" + }, + { + "path": "web/docs/ImageSizeAdjuster.md", + "mode": "100644", + "type": "blob", + "sha": "71424c98298c96925f14479b3c62d26fcb541abd", + "size": 1537, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/71424c98298c96925f14479b3c62d26fcb541abd" + }, + { + "path": "web/docs/ImageSizeAdjuster", + "mode": "040000", + "type": "tree", + "sha": "bd50d273e8a9409b264e05778f18a1c1f4cfb7b5", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/bd50d273e8a9409b264e05778f18a1c1f4cfb7b5" + }, + { + "path": "web/docs/ImageSizeAdjuster/en.md", + "mode": "100644", + "type": "blob", + "sha": "71424c98298c96925f14479b3c62d26fcb541abd", + "size": 1537, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/71424c98298c96925f14479b3c62d26fcb541abd" + }, + { + "path": "web/docs/ImageSizeAdjusterV2.md", + "mode": "100644", + "type": "blob", + "sha": "5a32baa83485148dd00dfa5a9ef2d1a457811f69", + "size": 2890, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5a32baa83485148dd00dfa5a9ef2d1a457811f69" + }, + { + "path": "web/docs/ImageSizeAdjusterV2", + "mode": "040000", + "type": "tree", + "sha": "dabd51ff3a19141674c018968afa304288b8a172", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/dabd51ff3a19141674c018968afa304288b8a172" + }, + { + "path": "web/docs/ImageSizeAdjusterV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "5a32baa83485148dd00dfa5a9ef2d1a457811f69", + "size": 2890, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5a32baa83485148dd00dfa5a9ef2d1a457811f69" + }, + { + "path": "web/docs/ImageSizeAdjusterV3.md", + "mode": "100644", + "type": "blob", + "sha": "9dabccb375b7f7e342e7cc27cb154c5d804aaa20", + "size": 3688, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9dabccb375b7f7e342e7cc27cb154c5d804aaa20" + }, + { + "path": "web/docs/ImageSizeAdjusterV3", + "mode": "040000", + "type": "tree", + "sha": "d5f24c12f12f8d4c0ea1f1351afc3b6e59a53ffc", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/d5f24c12f12f8d4c0ea1f1351afc3b6e59a53ffc" + }, + { + "path": "web/docs/ImageSizeAdjusterV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "9dabccb375b7f7e342e7cc27cb154c5d804aaa20", + "size": 3688, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9dabccb375b7f7e342e7cc27cb154c5d804aaa20" + }, + { + "path": "web/docs/JitterEffect.md", + "mode": "100644", + "type": "blob", + "sha": "1efc65006899843664dc643b15af90bd33c6741c", + "size": 2922, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1efc65006899843664dc643b15af90bd33c6741c" + }, + { + "path": "web/docs/JitterEffect", + "mode": "040000", + "type": "tree", + "sha": "cb79bb1268e1003d265120ecabc20592127e5fec", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/cb79bb1268e1003d265120ecabc20592127e5fec" + }, + { + "path": "web/docs/JitterEffect/en.md", + "mode": "100644", + "type": "blob", + "sha": "1efc65006899843664dc643b15af90bd33c6741c", + "size": 2922, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1efc65006899843664dc643b15af90bd33c6741c" + }, + { + "path": "web/docs/KeyframeBasedUpscalerV1.md", + "mode": "100644", + "type": "blob", + "sha": "755430b184031c82d20f1ba8bd3d30fb50990739", + "size": 3716, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/755430b184031c82d20f1ba8bd3d30fb50990739" + }, + { + "path": "web/docs/KeyframeBasedUpscalerV1", + "mode": "040000", + "type": "tree", + "sha": "6b4613c4ade45e24b415687915c377a680768006", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6b4613c4ade45e24b415687915c377a680768006" + }, + { + "path": "web/docs/KeyframeBasedUpscalerV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "755430b184031c82d20f1ba8bd3d30fb50990739", + "size": 3716, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/755430b184031c82d20f1ba8bd3d30fb50990739" + }, + { + "path": "web/docs/KinescopeEffectV1.md", + "mode": "100644", + "type": "blob", + "sha": "efc4db436848fc154e820f695ecb01e7a0cb266f", + "size": 3535, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/efc4db436848fc154e820f695ecb01e7a0cb266f" + }, + { + "path": "web/docs/KinescopeEffectV1", + "mode": "040000", + "type": "tree", + "sha": "c5b0dd56408f7c7b9cb1d58a42cf621acbd9443f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/c5b0dd56408f7c7b9cb1d58a42cf621acbd9443f" + }, + { + "path": "web/docs/KinescopeEffectV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "efc4db436848fc154e820f695ecb01e7a0cb266f", + "size": 3535, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/efc4db436848fc154e820f695ecb01e7a0cb266f" + }, + { + "path": "web/docs/LensLeaks.md", + "mode": "100644", + "type": "blob", + "sha": "92d0980d6d20ac83bd3d0d246868b14b1f320aa6", + "size": 2994, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/92d0980d6d20ac83bd3d0d246868b14b1f320aa6" + }, + { + "path": "web/docs/LensLeaks", + "mode": "040000", + "type": "tree", + "sha": "c52faff9ad8f788f42cf4e24983c475006fa9acf", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/c52faff9ad8f788f42cf4e24983c475006fa9acf" + }, + { + "path": "web/docs/LensLeaks/en.md", + "mode": "100644", + "type": "blob", + "sha": "92d0980d6d20ac83bd3d0d246868b14b1f320aa6", + "size": 2994, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/92d0980d6d20ac83bd3d0d246868b14b1f320aa6" + }, + { + "path": "web/docs/LoadTextDirectory.md", + "mode": "100644", + "type": "blob", + "sha": "dc65be2c6090057a32af84345f44e7146e16c024", + "size": 2480, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc65be2c6090057a32af84345f44e7146e16c024" + }, + { + "path": "web/docs/LoadTextDirectory", + "mode": "040000", + "type": "tree", + "sha": "88b911aa3edc4a606025da043b28fb2b73cf44f9", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/88b911aa3edc4a606025da043b28fb2b73cf44f9" + }, + { + "path": "web/docs/LoadTextDirectory/en.md", + "mode": "100644", + "type": "blob", + "sha": "dc65be2c6090057a32af84345f44e7146e16c024", + "size": 2480, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc65be2c6090057a32af84345f44e7146e16c024" + }, + { + "path": "web/docs/LoadVideoBatchFrame.md", + "mode": "100644", + "type": "blob", + "sha": "2481c1786e139f543f8b3d0224e35e25bd57f138", + "size": 2609, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2481c1786e139f543f8b3d0224e35e25bd57f138" + }, + { + "path": "web/docs/LoadVideoBatchFrame", + "mode": "040000", + "type": "tree", + "sha": "8adc0cf00e6a3cf6ccee6335015157a6379bf17f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8adc0cf00e6a3cf6ccee6335015157a6379bf17f" + }, + { + "path": "web/docs/LoadVideoBatchFrame/en.md", + "mode": "100644", + "type": "blob", + "sha": "2481c1786e139f543f8b3d0224e35e25bd57f138", + "size": 2609, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2481c1786e139f543f8b3d0224e35e25bd57f138" + }, + { + "path": "web/docs/LoadVideoDirectory.md", + "mode": "100644", + "type": "blob", + "sha": "b74a4d4711bf7767493a47bcd17e236868f7f7a4", + "size": 2941, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b74a4d4711bf7767493a47bcd17e236868f7f7a4" + }, + { + "path": "web/docs/LoadVideoDirectory", + "mode": "040000", + "type": "tree", + "sha": "9ca2a1b8fd8c70fb5eedaa35a1230173eaadfdfe", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/9ca2a1b8fd8c70fb5eedaa35a1230173eaadfdfe" + }, + { + "path": "web/docs/LoadVideoDirectory/en.md", + "mode": "100644", + "type": "blob", + "sha": "b74a4d4711bf7767493a47bcd17e236868f7f7a4", + "size": 2941, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b74a4d4711bf7767493a47bcd17e236868f7f7a4" + }, + { + "path": "web/docs/LoadVideoDirectoryV2.md", + "mode": "100644", + "type": "blob", + "sha": "f27b365babc941d259f8a8ee229e7d52bdd1a274", + "size": 4149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27b365babc941d259f8a8ee229e7d52bdd1a274" + }, + { + "path": "web/docs/LoadVideoDirectoryV2", + "mode": "040000", + "type": "tree", + "sha": "b0cd174b13060038bf0f0da472e35fdf6ccab37b", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b0cd174b13060038bf0f0da472e35fdf6ccab37b" + }, + { + "path": "web/docs/LoadVideoDirectoryV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "f27b365babc941d259f8a8ee229e7d52bdd1a274", + "size": 4149, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f27b365babc941d259f8a8ee229e7d52bdd1a274" + }, + { + "path": "web/docs/MotionBlending.md", + "mode": "100644", + "type": "blob", + "sha": "ce0b713ce71c2873db5998a8813e0241703dbd05", + "size": 4485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce0b713ce71c2873db5998a8813e0241703dbd05" + }, + { + "path": "web/docs/MotionBlending", + "mode": "040000", + "type": "tree", + "sha": "562b965416ca069df5baf234fde0ca1bc2160864", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/562b965416ca069df5baf234fde0ca1bc2160864" + }, + { + "path": "web/docs/MotionBlending/en.md", + "mode": "100644", + "type": "blob", + "sha": "ce0b713ce71c2873db5998a8813e0241703dbd05", + "size": 4485, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce0b713ce71c2873db5998a8813e0241703dbd05" + }, + { + "path": "web/docs/NoiseFactory.md", + "mode": "100644", + "type": "blob", + "sha": "a0b9d4087333ec0b68ce698f02680db8284a6901", + "size": 4259, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a0b9d4087333ec0b68ce698f02680db8284a6901" + }, + { + "path": "web/docs/NoiseFactory", + "mode": "040000", + "type": "tree", + "sha": "82110aa03e2cf7bf3647527409c82a98ac28615c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/82110aa03e2cf7bf3647527409c82a98ac28615c" + }, + { + "path": "web/docs/NoiseFactory/en.md", + "mode": "100644", + "type": "blob", + "sha": "a0b9d4087333ec0b68ce698f02680db8284a6901", + "size": 4259, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a0b9d4087333ec0b68ce698f02680db8284a6901" + }, + { + "path": "web/docs/NoiseFactoryV2.md", + "mode": "100644", + "type": "blob", + "sha": "d99ad61c0766b16ff7a9d2fc18bda08fb95828d0", + "size": 3949, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d99ad61c0766b16ff7a9d2fc18bda08fb95828d0" + }, + { + "path": "web/docs/NoiseFactoryV2", + "mode": "040000", + "type": "tree", + "sha": "b9e0598ccbc1987360dcf25e77819f7cf1ca198c", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b9e0598ccbc1987360dcf25e77819f7cf1ca198c" + }, + { + "path": "web/docs/NoiseFactoryV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "d99ad61c0766b16ff7a9d2fc18bda08fb95828d0", + "size": 3949, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d99ad61c0766b16ff7a9d2fc18bda08fb95828d0" + }, + { + "path": "web/docs/NoiseFactoryV3.md", + "mode": "100644", + "type": "blob", + "sha": "e02995cd34323613a9b6414721d10dfd9be522e4", + "size": 3962, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e02995cd34323613a9b6414721d10dfd9be522e4" + }, + { + "path": "web/docs/NoiseFactoryV3", + "mode": "040000", + "type": "tree", + "sha": "b82ebfb15a84b0e52173694b07782b67f6081d51", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b82ebfb15a84b0e52173694b07782b67f6081d51" + }, + { + "path": "web/docs/NoiseFactoryV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "e02995cd34323613a9b6414721d10dfd9be522e4", + "size": 3962, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e02995cd34323613a9b6414721d10dfd9be522e4" + }, + { + "path": "web/docs/NonSquarePixelsV1.md", + "mode": "100644", + "type": "blob", + "sha": "a72f4e769bb0877b0c839862df9a8bab4413fb21", + "size": 3344, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a72f4e769bb0877b0c839862df9a8bab4413fb21" + }, + { + "path": "web/docs/NonSquarePixelsV1", + "mode": "040000", + "type": "tree", + "sha": "125ebfcc7e9d0fb360651dadba4b39c8dd622903", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/125ebfcc7e9d0fb360651dadba4b39c8dd622903" + }, + { + "path": "web/docs/NonSquarePixelsV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "a72f4e769bb0877b0c839862df9a8bab4413fb21", + "size": 3344, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a72f4e769bb0877b0c839862df9a8bab4413fb21" + }, + { + "path": "web/docs/PanavisionLensV1.md", + "mode": "100644", + "type": "blob", + "sha": "9df1ff8a789a7eab00765aba14fcb01afc21b5bc", + "size": 3159, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9df1ff8a789a7eab00765aba14fcb01afc21b5bc" + }, + { + "path": "web/docs/PanavisionLensV2.md", + "mode": "100644", + "type": "blob", + "sha": "79c866bce31024448db397ebb68fe4ea4871fd55", + "size": 5063, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79c866bce31024448db397ebb68fe4ea4871fd55" + }, + { + "path": "web/docs/PanavisionLensV2", + "mode": "040000", + "type": "tree", + "sha": "3fbcca1dabc2be2c64f51c3cb6b39ff1e27352ae", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3fbcca1dabc2be2c64f51c3cb6b39ff1e27352ae" + }, + { + "path": "web/docs/PanavisionLensV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "79c866bce31024448db397ebb68fe4ea4871fd55", + "size": 5063, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79c866bce31024448db397ebb68fe4ea4871fd55" + }, + { + "path": "web/docs/ParametricMeshGen.md", + "mode": "100644", + "type": "blob", + "sha": "34c11727e5d3dc1639043dd36e05c9a7de9d064e", + "size": 2470, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/34c11727e5d3dc1639043dd36e05c9a7de9d064e" + }, + { + "path": "web/docs/ParametricMeshGen", + "mode": "040000", + "type": "tree", + "sha": "41e3eb8032f6c3bc578d4e73a7ae030c39f9d832", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/41e3eb8032f6c3bc578d4e73a7ae030c39f9d832" + }, + { + "path": "web/docs/ParametricMeshGen/en.md", + "mode": "100644", + "type": "blob", + "sha": "34c11727e5d3dc1639043dd36e05c9a7de9d064e", + "size": 2470, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/34c11727e5d3dc1639043dd36e05c9a7de9d064e" + }, + { + "path": "web/docs/ParametricMeshGenV2.md", + "mode": "100644", + "type": "blob", + "sha": "483a81645dd56655b5f6db81e3bbada57076c0e1", + "size": 4540, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/483a81645dd56655b5f6db81e3bbada57076c0e1" + }, + { + "path": "web/docs/ParametricMeshGenV2", + "mode": "040000", + "type": "tree", + "sha": "f3488a5a7ef5344314ec87de462291e0eb454258", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f3488a5a7ef5344314ec87de462291e0eb454258" + }, + { + "path": "web/docs/ParametricMeshGenV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "483a81645dd56655b5f6db81e3bbada57076c0e1", + "size": 4540, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/483a81645dd56655b5f6db81e3bbada57076c0e1" + }, + { + "path": "web/docs/ProjectFilePathNode.md", + "mode": "100644", + "type": "blob", + "sha": "7465e9e49be77cd77f6b3f8d880030cef7d482cc", + "size": 2999, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7465e9e49be77cd77f6b3f8d880030cef7d482cc" + }, + { + "path": "web/docs/ProjectFilePathNode", + "mode": "040000", + "type": "tree", + "sha": "8c67e392c74c602c8b66d60637775927bc233942", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8c67e392c74c602c8b66d60637775927bc233942" + }, + { + "path": "web/docs/ProjectFilePathNode/en.md", + "mode": "100644", + "type": "blob", + "sha": "7465e9e49be77cd77f6b3f8d880030cef7d482cc", + "size": 2999, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7465e9e49be77cd77f6b3f8d880030cef7d482cc" + }, + { + "path": "web/docs/ProjectFolderPathNode.md", + "mode": "100644", + "type": "blob", + "sha": "bc56d34019400c707f1cac349cb9c02601c633c6", + "size": 881, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bc56d34019400c707f1cac349cb9c02601c633c6" + }, + { + "path": "web/docs/ProjectFolderPathNode", + "mode": "040000", + "type": "tree", + "sha": "e02bb28cd299b90f6b433db137b9ae1101889a0a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e02bb28cd299b90f6b433db137b9ae1101889a0a" + }, + { + "path": "web/docs/ProjectFolderPathNode/en.md", + "mode": "100644", + "type": "blob", + "sha": "bc56d34019400c707f1cac349cb9c02601c633c6", + "size": 881, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bc56d34019400c707f1cac349cb9c02601c633c6" + }, + { + "path": "web/docs/PromptCleaner.md", + "mode": "100644", + "type": "blob", + "sha": "c8ce4904f4f799857f600e97b673af937f7ab3b7", + "size": 2428, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c8ce4904f4f799857f600e97b673af937f7ab3b7" + }, + { + "path": "web/docs/PromptCleaner", + "mode": "040000", + "type": "tree", + "sha": "b9ba81d2be838d7eb50796f2ce7aaeecd2c62cb5", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/b9ba81d2be838d7eb50796f2ce7aaeecd2c62cb5" + }, + { + "path": "web/docs/PromptCleaner/en.md", + "mode": "100644", + "type": "blob", + "sha": "c8ce4904f4f799857f600e97b673af937f7ab3b7", + "size": 2428, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c8ce4904f4f799857f600e97b673af937f7ab3b7" + }, + { + "path": "web/docs/PromptDupeRemover.md", + "mode": "100644", + "type": "blob", + "sha": "0d0b8184007ccf6520362266191880aeb450c89f", + "size": 2246, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0d0b8184007ccf6520362266191880aeb450c89f" + }, + { + "path": "web/docs/PromptDupeRemover", + "mode": "040000", + "type": "tree", + "sha": "eaa565bd07d9b885216917ad2665ee93e82ccb57", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/eaa565bd07d9b885216917ad2665ee93e82ccb57" + }, + { + "path": "web/docs/PromptDupeRemover/en.md", + "mode": "100644", + "type": "blob", + "sha": "0d0b8184007ccf6520362266191880aeb450c89f", + "size": 2246, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0d0b8184007ccf6520362266191880aeb450c89f" + }, + { + "path": "web/docs/PromptDupeRemoverV2.md", + "mode": "100644", + "type": "blob", + "sha": "45e29e15dd9b926d56e505cfda3a17fa587c81a5", + "size": 2774, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/45e29e15dd9b926d56e505cfda3a17fa587c81a5" + }, + { + "path": "web/docs/PromptDupeRemoverV2", + "mode": "040000", + "type": "tree", + "sha": "8140951f1b486625c50e20e984bcaf376caea1a2", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8140951f1b486625c50e20e984bcaf376caea1a2" + }, + { + "path": "web/docs/PromptDupeRemoverV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "45e29e15dd9b926d56e505cfda3a17fa587c81a5", + "size": 2774, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/45e29e15dd9b926d56e505cfda3a17fa587c81a5" + }, + { + "path": "web/docs/PromptInject.md", + "mode": "100644", + "type": "blob", + "sha": "6887b979c4ba23c8d6875a106da97fb93ef412bb", + "size": 2294, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6887b979c4ba23c8d6875a106da97fb93ef412bb" + }, + { + "path": "web/docs/PromptInject", + "mode": "040000", + "type": "tree", + "sha": "8803a769a77011ec181639e2fbdd4834a1467ee5", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8803a769a77011ec181639e2fbdd4834a1467ee5" + }, + { + "path": "web/docs/PromptInject/en.md", + "mode": "100644", + "type": "blob", + "sha": "6887b979c4ba23c8d6875a106da97fb93ef412bb", + "size": 2294, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6887b979c4ba23c8d6875a106da97fb93ef412bb" + }, + { + "path": "web/docs/PromptInjectV2.md", + "mode": "100644", + "type": "blob", + "sha": "a479ad95165f3d0e16c95ba8304b0aaaa600c831", + "size": 1459, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a479ad95165f3d0e16c95ba8304b0aaaa600c831" + }, + { + "path": "web/docs/PromptInjectV2", + "mode": "040000", + "type": "tree", + "sha": "f8ebe7b62eebf87b70ef276db9c628b5001e9eca", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f8ebe7b62eebf87b70ef276db9c628b5001e9eca" + }, + { + "path": "web/docs/PromptInjectV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "a479ad95165f3d0e16c95ba8304b0aaaa600c831", + "size": 1459, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a479ad95165f3d0e16c95ba8304b0aaaa600c831" + }, + { + "path": "web/docs/PromptSwap.md", + "mode": "100644", + "type": "blob", + "sha": "7727f59d1a9c0822fec243f054bd34fdc0ce585a", + "size": 2108, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7727f59d1a9c0822fec243f054bd34fdc0ce585a" + }, + { + "path": "web/docs/PromptSwap", + "mode": "040000", + "type": "tree", + "sha": "af62db8853fbacd02da0d65ff11a46d530b7ab54", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/af62db8853fbacd02da0d65ff11a46d530b7ab54" + }, + { + "path": "web/docs/PromptSwap/en.md", + "mode": "100644", + "type": "blob", + "sha": "7727f59d1a9c0822fec243f054bd34fdc0ce585a", + "size": 2108, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7727f59d1a9c0822fec243f054bd34fdc0ce585a" + }, + { + "path": "web/docs/README.md", + "mode": "100644", + "type": "blob", + "sha": "cc97ae06222855540702643cccda243ce96b09fb", + "size": 9998, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cc97ae06222855540702643cccda243ce96b09fb" + }, + { + "path": "web/docs/RetroVideoText.md", + "mode": "100644", + "type": "blob", + "sha": "358c82817e7fcd95a06a0deb269c7330a087cb64", + "size": 2710, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/358c82817e7fcd95a06a0deb269c7330a087cb64" + }, + { + "path": "web/docs/RetroVideoText", + "mode": "040000", + "type": "tree", + "sha": "6250fa39a2c36bb797539afcec60fbb623c7c131", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6250fa39a2c36bb797539afcec60fbb623c7c131" + }, + { + "path": "web/docs/RetroVideoText/en.md", + "mode": "100644", + "type": "blob", + "sha": "358c82817e7fcd95a06a0deb269c7330a087cb64", + "size": 2710, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/358c82817e7fcd95a06a0deb269c7330a087cb64" + }, + { + "path": "web/docs/SaveText.md", + "mode": "100644", + "type": "blob", + "sha": "f83b415039ab622bc010fd7c2c77b29dae759bd5", + "size": 2645, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f83b415039ab622bc010fd7c2c77b29dae759bd5" + }, + { + "path": "web/docs/SaveText", + "mode": "040000", + "type": "tree", + "sha": "c081b6969aad47e26fc316921da25ac11f9aa7b4", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/c081b6969aad47e26fc316921da25ac11f9aa7b4" + }, + { + "path": "web/docs/SaveText/en.md", + "mode": "100644", + "type": "blob", + "sha": "f83b415039ab622bc010fd7c2c77b29dae759bd5", + "size": 2645, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f83b415039ab622bc010fd7c2c77b29dae759bd5" + }, + { + "path": "web/docs/ScreensaverGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "a20471ba38ace3ebb736908070770c16050e013f", + "size": 3953, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a20471ba38ace3ebb736908070770c16050e013f" + }, + { + "path": "web/docs/ScreensaverGenerator", + "mode": "040000", + "type": "tree", + "sha": "222c7f9cc0593be1711722a1a51aaf404b9fd218", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/222c7f9cc0593be1711722a1a51aaf404b9fd218" + }, + { + "path": "web/docs/ScreensaverGenerator/en.md", + "mode": "100644", + "type": "blob", + "sha": "a20471ba38ace3ebb736908070770c16050e013f", + "size": 3953, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a20471ba38ace3ebb736908070770c16050e013f" + }, + { + "path": "web/docs/ScreensaverGeneratorV2.md", + "mode": "100644", + "type": "blob", + "sha": "89f237164470760eb5a0bbc0aa2c2a8e251092c2", + "size": 2586, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/89f237164470760eb5a0bbc0aa2c2a8e251092c2" + }, + { + "path": "web/docs/ScreensaverGeneratorV2", + "mode": "040000", + "type": "tree", + "sha": "75adea69166bf794bc668f7d108efda6d9d50a65", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/75adea69166bf794bc668f7d108efda6d9d50a65" + }, + { + "path": "web/docs/ScreensaverGeneratorV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "89f237164470760eb5a0bbc0aa2c2a8e251092c2", + "size": 2586, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/89f237164470760eb5a0bbc0aa2c2a8e251092c2" + }, + { + "path": "web/docs/ScreensaverGeneratorV3.md", + "mode": "100644", + "type": "blob", + "sha": "7c0b5c196ecfb987b13687398659aae5e3f5a8f9", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c0b5c196ecfb987b13687398659aae5e3f5a8f9" + }, + { + "path": "web/docs/ScreensaverGeneratorV3", + "mode": "040000", + "type": "tree", + "sha": "169503d140291d5b4681db837c240a2cab13aa29", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/169503d140291d5b4681db837c240a2cab13aa29" + }, + { + "path": "web/docs/ScreensaverGeneratorV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "7c0b5c196ecfb987b13687398659aae5e3f5a8f9", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/7c0b5c196ecfb987b13687398659aae5e3f5a8f9" + }, + { + "path": "web/docs/SequentialNumberGenerator.md", + "mode": "100644", + "type": "blob", + "sha": "0b78fbcf5064fdc15e660b9da2782cc7fb093370", + "size": 1943, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0b78fbcf5064fdc15e660b9da2782cc7fb093370" + }, + { + "path": "web/docs/SequentialNumberGenerator", + "mode": "040000", + "type": "tree", + "sha": "4bf875f645367b273b5d308c7e0daad988cfc742", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/4bf875f645367b273b5d308c7e0daad988cfc742" + }, + { + "path": "web/docs/SequentialNumberGenerator/en.md", + "mode": "100644", + "type": "blob", + "sha": "0b78fbcf5064fdc15e660b9da2782cc7fb093370", + "size": 1943, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0b78fbcf5064fdc15e660b9da2782cc7fb093370" + }, + { + "path": "web/docs/StringChaos.md", + "mode": "100644", + "type": "blob", + "sha": "a4daff8cf68ed3db7b1549c010c0404a04a5044f", + "size": 2561, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4daff8cf68ed3db7b1549c010c0404a04a5044f" + }, + { + "path": "web/docs/StringChaos", + "mode": "040000", + "type": "tree", + "sha": "79aa5ccda6d9ccf9c6a6d64d4b9f3b0ddbecb262", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/79aa5ccda6d9ccf9c6a6d64d4b9f3b0ddbecb262" + }, + { + "path": "web/docs/StringChaos/en.md", + "mode": "100644", + "type": "blob", + "sha": "a4daff8cf68ed3db7b1549c010c0404a04a5044f", + "size": 2561, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a4daff8cf68ed3db7b1549c010c0404a04a5044f" + }, + { + "path": "web/docs/StringPainter.md", + "mode": "100644", + "type": "blob", + "sha": "d8594e600e344165ae145275c714da48a5d9c9db", + "size": 2392, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d8594e600e344165ae145275c714da48a5d9c9db" + }, + { + "path": "web/docs/StringPainter", + "mode": "040000", + "type": "tree", + "sha": "f7424d46a8e2053c6bed5a65ad839cf732071102", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f7424d46a8e2053c6bed5a65ad839cf732071102" + }, + { + "path": "web/docs/StringPainter/en.md", + "mode": "100644", + "type": "blob", + "sha": "d8594e600e344165ae145275c714da48a5d9c9db", + "size": 2392, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d8594e600e344165ae145275c714da48a5d9c9db" + }, + { + "path": "web/docs/StringPainterV2.md", + "mode": "100644", + "type": "blob", + "sha": "f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007", + "size": 3513, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007" + }, + { + "path": "web/docs/StringPainterV2", + "mode": "040000", + "type": "tree", + "sha": "3fb4582e32bba336cb45f3654ec9328251cc6772", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3fb4582e32bba336cb45f3654ec9328251cc6772" + }, + { + "path": "web/docs/StringPainterV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007", + "size": 3513, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f0d6a9cb1e4d1ac0a73c46e7c560ddbd829a5007" + }, + { + "path": "web/docs/StringWeights.md", + "mode": "100644", + "type": "blob", + "sha": "19f60b035db453b911bfd57fc1141fd3454cc158", + "size": 1864, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/19f60b035db453b911bfd57fc1141fd3454cc158" + }, + { + "path": "web/docs/StringWeights", + "mode": "040000", + "type": "tree", + "sha": "3ca92cd0f593ffad4b6e7a0edd605d46c41dc279", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/3ca92cd0f593ffad4b6e7a0edd605d46c41dc279" + }, + { + "path": "web/docs/StringWeights/en.md", + "mode": "100644", + "type": "blob", + "sha": "19f60b035db453b911bfd57fc1141fd3454cc158", + "size": 1864, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/19f60b035db453b911bfd57fc1141fd3454cc158" + }, + { + "path": "web/docs/Technicolor3Strip_v1.md", + "mode": "100644", + "type": "blob", + "sha": "e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f", + "size": 3132, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f" + }, + { + "path": "web/docs/Technicolor3Strip_v1", + "mode": "040000", + "type": "tree", + "sha": "e575aaf31a0cd810940be3594d5dc09c2bc0b0a9", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e575aaf31a0cd810940be3594d5dc09c2bc0b0a9" + }, + { + "path": "web/docs/Technicolor3Strip_v1/en.md", + "mode": "100644", + "type": "blob", + "sha": "e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f", + "size": 3132, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e4c7496ce09ec9e4136b45eb3be68fdff3b43a2f" + }, + { + "path": "web/docs/Technicolor3Strip_v2.md", + "mode": "100644", + "type": "blob", + "sha": "db493c308a4aae69c91f7b416a096f4a67ad7ca4", + "size": 4656, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db493c308a4aae69c91f7b416a096f4a67ad7ca4" + }, + { + "path": "web/docs/Technicolor3Strip_v2", + "mode": "040000", + "type": "tree", + "sha": "00b2663db0dec5a5f8e37f79d672eec3fe371883", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/00b2663db0dec5a5f8e37f79d672eec3fe371883" + }, + { + "path": "web/docs/Technicolor3Strip_v2/en.md", + "mode": "100644", + "type": "blob", + "sha": "db493c308a4aae69c91f7b416a096f4a67ad7ca4", + "size": 4656, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/db493c308a4aae69c91f7b416a096f4a67ad7ca4" + }, + { + "path": "web/docs/ThinkSeeker.md", + "mode": "100644", + "type": "blob", + "sha": "ef355204d8b94b0296fb408bb31229fcf87174bf", + "size": 3634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef355204d8b94b0296fb408bb31229fcf87174bf" + }, + { + "path": "web/docs/ThinkSeeker", + "mode": "040000", + "type": "tree", + "sha": "322ecbd24dbdd8abdf96cb6d7b8066fbdd39d881", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/322ecbd24dbdd8abdf96cb6d7b8066fbdd39d881" + }, + { + "path": "web/docs/ThinkSeeker/en.md", + "mode": "100644", + "type": "blob", + "sha": "ef355204d8b94b0296fb408bb31229fcf87174bf", + "size": 3634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ef355204d8b94b0296fb408bb31229fcf87174bf" + }, + { + "path": "web/docs/ThreeToneStyler.md", + "mode": "100644", + "type": "blob", + "sha": "967bbf80b0e400940354f5a3c2633070c39a1c87", + "size": 3877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967bbf80b0e400940354f5a3c2633070c39a1c87" + }, + { + "path": "web/docs/ThreeToneStyler", + "mode": "040000", + "type": "tree", + "sha": "40690c1eeef4a2e31c1a20be10cb8792ac2d6318", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/40690c1eeef4a2e31c1a20be10cb8792ac2d6318" + }, + { + "path": "web/docs/ThreeToneStyler/en.md", + "mode": "100644", + "type": "blob", + "sha": "967bbf80b0e400940354f5a3c2633070c39a1c87", + "size": 3877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/967bbf80b0e400940354f5a3c2633070c39a1c87" + }, + { + "path": "web/docs/TrianglesPlus.md", + "mode": "100644", + "type": "blob", + "sha": "63972d7e9eae145d6dc9a8d0b6caca601f67d7ab", + "size": 1788, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/63972d7e9eae145d6dc9a8d0b6caca601f67d7ab" + }, + { + "path": "web/docs/TrianglesPlus", + "mode": "040000", + "type": "tree", + "sha": "6b87a7cb7608907ba23f7f59ef4706db4010eb7f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6b87a7cb7608907ba23f7f59ef4706db4010eb7f" + }, + { + "path": "web/docs/TrianglesPlus/en.md", + "mode": "100644", + "type": "blob", + "sha": "63972d7e9eae145d6dc9a8d0b6caca601f67d7ab", + "size": 1788, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/63972d7e9eae145d6dc9a8d0b6caca601f67d7ab" + }, + { + "path": "web/docs/TrianglesPlusV2.md", + "mode": "100644", + "type": "blob", + "sha": "c461964311e8f658ad55245cd9f9c2e76bfea3b0", + "size": 2836, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c461964311e8f658ad55245cd9f9c2e76bfea3b0" + }, + { + "path": "web/docs/TrianglesPlusV2", + "mode": "040000", + "type": "tree", + "sha": "0f1c0293d761535adf725b405422805c33289340", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/0f1c0293d761535adf725b405422805c33289340" + }, + { + "path": "web/docs/TrianglesPlusV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "c461964311e8f658ad55245cd9f9c2e76bfea3b0", + "size": 2836, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c461964311e8f658ad55245cd9f9c2e76bfea3b0" + }, + { + "path": "web/docs/UncleanSpeech.md", + "mode": "100644", + "type": "blob", + "sha": "442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0", + "size": 3474, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0" + }, + { + "path": "web/docs/UncleanSpeech", + "mode": "040000", + "type": "tree", + "sha": "98a155aacb223145acfce71da6b5607d9e0c29da", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/98a155aacb223145acfce71da6b5607d9e0c29da" + }, + { + "path": "web/docs/UncleanSpeech/en.md", + "mode": "100644", + "type": "blob", + "sha": "442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0", + "size": 3474, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/442bf1a4d4a2f67592f1bf9eb0bd489dc88f61b0" + }, + { + "path": "web/docs/VGA_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "1a264e562c53ae2f35fdebff27087afba75bc29c", + "size": 4829, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a264e562c53ae2f35fdebff27087afba75bc29c" + }, + { + "path": "web/docs/VGA_Effect_v1", + "mode": "040000", + "type": "tree", + "sha": "affb8384ae71ab9a1d213191920d0cf17548e0fa", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/affb8384ae71ab9a1d213191920d0cf17548e0fa" + }, + { + "path": "web/docs/VGA_Effect_v1/en.md", + "mode": "100644", + "type": "blob", + "sha": "1a264e562c53ae2f35fdebff27087afba75bc29c", + "size": 4829, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1a264e562c53ae2f35fdebff27087afba75bc29c" + }, + { + "path": "web/docs/VHS_Effect_V3.md", + "mode": "100644", + "type": "blob", + "sha": "3cd8640103197e7718c353ebe348215386ad4da1", + "size": 3363, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3cd8640103197e7718c353ebe348215386ad4da1" + }, + { + "path": "web/docs/VHS_Effect_V3", + "mode": "040000", + "type": "tree", + "sha": "0ca4a9f8f0dcc9af774e2970fb8d75defd9fefee", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/0ca4a9f8f0dcc9af774e2970fb8d75defd9fefee" + }, + { + "path": "web/docs/VHS_Effect_V3/en.md", + "mode": "100644", + "type": "blob", + "sha": "3cd8640103197e7718c353ebe348215386ad4da1", + "size": 3363, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3cd8640103197e7718c353ebe348215386ad4da1" + }, + { + "path": "web/docs/VHS_Effect_v1.md", + "mode": "100644", + "type": "blob", + "sha": "b5091534fcd350f7628167c31289850aa5ddfcb0", + "size": 3393, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b5091534fcd350f7628167c31289850aa5ddfcb0" + }, + { + "path": "web/docs/VHS_Effect_v1", + "mode": "040000", + "type": "tree", + "sha": "f54911bc43d1c7c7d2803b827241d23b935da047", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/f54911bc43d1c7c7d2803b827241d23b935da047" + }, + { + "path": "web/docs/VHS_Effect_v1/en.md", + "mode": "100644", + "type": "blob", + "sha": "b5091534fcd350f7628167c31289850aa5ddfcb0", + "size": 3393, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b5091534fcd350f7628167c31289850aa5ddfcb0" + }, + { + "path": "web/docs/VHS_Effect_v2.md", + "mode": "100644", + "type": "blob", + "sha": "f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea", + "size": 3746, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea" + }, + { + "path": "web/docs/VHS_Effect_v2", + "mode": "040000", + "type": "tree", + "sha": "cddf4c67cd71ec8e14c69552f3bee9919658ac0d", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/cddf4c67cd71ec8e14c69552f3bee9919658ac0d" + }, + { + "path": "web/docs/VHS_Effect_v2/en.md", + "mode": "100644", + "type": "blob", + "sha": "f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea", + "size": 3746, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f4f0e41bf4f4e1ba52cc14b973bc21f7307fa0ea" + }, + { + "path": "web/docs/VideoBitClamp.md", + "mode": "100644", + "type": "blob", + "sha": "24bfa7c3199b04581802cd935c6c64fdb558c7e3", + "size": 4750, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24bfa7c3199b04581802cd935c6c64fdb558c7e3" + }, + { + "path": "web/docs/VideoBitClamp", + "mode": "040000", + "type": "tree", + "sha": "79024d57bb2861fa794af87d3c632d1c3cb18351", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/79024d57bb2861fa794af87d3c632d1c3cb18351" + }, + { + "path": "web/docs/VideoBitClamp/en.md", + "mode": "100644", + "type": "blob", + "sha": "24bfa7c3199b04581802cd935c6c64fdb558c7e3", + "size": 4750, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/24bfa7c3199b04581802cd935c6c64fdb558c7e3" + }, + { + "path": "web/docs/VideoChromaticAberration.md", + "mode": "100644", + "type": "blob", + "sha": "8091e10dddd340d5c6013f070caf156ca685aca8", + "size": 5342, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8091e10dddd340d5c6013f070caf156ca685aca8" + }, + { + "path": "web/docs/VideoChromaticAberration", + "mode": "040000", + "type": "tree", + "sha": "2c06965b7e59f6e3f231cd4c8424e3907a61cfff", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/2c06965b7e59f6e3f231cd4c8424e3907a61cfff" + }, + { + "path": "web/docs/VideoChromaticAberration/en.md", + "mode": "100644", + "type": "blob", + "sha": "8091e10dddd340d5c6013f070caf156ca685aca8", + "size": 5342, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8091e10dddd340d5c6013f070caf156ca685aca8" + }, + { + "path": "web/docs/VideoCorridorV1.md", + "mode": "100644", + "type": "blob", + "sha": "35df1f89c9aef0f4fb8012a1fc358e322deb2fa2", + "size": 3611, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/35df1f89c9aef0f4fb8012a1fc358e322deb2fa2" + }, + { + "path": "web/docs/VideoCorridorV1", + "mode": "040000", + "type": "tree", + "sha": "181ba899bfc8602d5cf91373ce55895529f682db", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/181ba899bfc8602d5cf91373ce55895529f682db" + }, + { + "path": "web/docs/VideoCorridorV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "35df1f89c9aef0f4fb8012a1fc358e322deb2fa2", + "size": 3611, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/35df1f89c9aef0f4fb8012a1fc358e322deb2fa2" + }, + { + "path": "web/docs/VideoCubeV1.md", + "mode": "100644", + "type": "blob", + "sha": "5f0cd92599b64f137c12ce31092433e1d426bce6", + "size": 4295, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5f0cd92599b64f137c12ce31092433e1d426bce6" + }, + { + "path": "web/docs/VideoCubeV1", + "mode": "040000", + "type": "tree", + "sha": "0d448d91f0103030f8904680795e02188a5d5e89", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/0d448d91f0103030f8904680795e02188a5d5e89" + }, + { + "path": "web/docs/VideoCubeV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "5f0cd92599b64f137c12ce31092433e1d426bce6", + "size": 4295, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5f0cd92599b64f137c12ce31092433e1d426bce6" + }, + { + "path": "web/docs/VideoFilmDamage.md", + "mode": "100644", + "type": "blob", + "sha": "78cc8d29ec1a610567711d98b2585d8c9e7897dd", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/78cc8d29ec1a610567711d98b2585d8c9e7897dd" + }, + { + "path": "web/docs/VideoFilmDamage", + "mode": "040000", + "type": "tree", + "sha": "aeade0ccc237b5758f338f5f4047a769c052d7d6", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/aeade0ccc237b5758f338f5f4047a769c052d7d6" + }, + { + "path": "web/docs/VideoFilmDamage/en.md", + "mode": "100644", + "type": "blob", + "sha": "78cc8d29ec1a610567711d98b2585d8c9e7897dd", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/78cc8d29ec1a610567711d98b2585d8c9e7897dd" + }, + { + "path": "web/docs/VideoInterlaceFastV4.md", + "mode": "100644", + "type": "blob", + "sha": "371e451a6457933398224eceae79ac6f9dc6593a", + "size": 3486, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/371e451a6457933398224eceae79ac6f9dc6593a" + }, + { + "path": "web/docs/VideoInterlaceFastV4", + "mode": "040000", + "type": "tree", + "sha": "1c1c97d90a56369b3b4d9e99ca3208b8fe76c12a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/1c1c97d90a56369b3b4d9e99ca3208b8fe76c12a" + }, + { + "path": "web/docs/VideoInterlaceFastV4/en.md", + "mode": "100644", + "type": "blob", + "sha": "371e451a6457933398224eceae79ac6f9dc6593a", + "size": 3486, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/371e451a6457933398224eceae79ac6f9dc6593a" + }, + { + "path": "web/docs/VideoInterlaceGANV3.md", + "mode": "100644", + "type": "blob", + "sha": "99ce00cfb71308f8ac499fc43e853f50caa772cc", + "size": 3120, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/99ce00cfb71308f8ac499fc43e853f50caa772cc" + }, + { + "path": "web/docs/VideoInterlaceGANV3", + "mode": "040000", + "type": "tree", + "sha": "a9ad121d56be8ded23c67a2de3f1a169ece3aa8a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/a9ad121d56be8ded23c67a2de3f1a169ece3aa8a" + }, + { + "path": "web/docs/VideoInterlaceGANV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "99ce00cfb71308f8ac499fc43e853f50caa772cc", + "size": 3120, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/99ce00cfb71308f8ac499fc43e853f50caa772cc" + }, + { + "path": "web/docs/VideoInterlaced.md", + "mode": "100644", + "type": "blob", + "sha": "8caaf810ebedd8a4d5f294d8b7dff84955a64f14", + "size": 2940, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8caaf810ebedd8a4d5f294d8b7dff84955a64f14" + }, + { + "path": "web/docs/VideoInterlaced", + "mode": "040000", + "type": "tree", + "sha": "c7e6bc69fe5ddb73e92953914180d4c0772cf98b", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/c7e6bc69fe5ddb73e92953914180d4c0772cf98b" + }, + { + "path": "web/docs/VideoInterlaced/en.md", + "mode": "100644", + "type": "blob", + "sha": "8caaf810ebedd8a4d5f294d8b7dff84955a64f14", + "size": 2940, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8caaf810ebedd8a4d5f294d8b7dff84955a64f14" + }, + { + "path": "web/docs/VideoInterlacedV2.md", + "mode": "100644", + "type": "blob", + "sha": "713bb8dff528d27237c19f4d4d255857824cdfd5", + "size": 3802, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/713bb8dff528d27237c19f4d4d255857824cdfd5" + }, + { + "path": "web/docs/VideoInterlacedV2", + "mode": "040000", + "type": "tree", + "sha": "2e0c945429d23ccc6e2e86e2486edc8f521c9307", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/2e0c945429d23ccc6e2e86e2486edc8f521c9307" + }, + { + "path": "web/docs/VideoInterlacedV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "713bb8dff528d27237c19f4d4d255857824cdfd5", + "size": 3802, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/713bb8dff528d27237c19f4d4d255857824cdfd5" + }, + { + "path": "web/docs/VideoMazeV1.md", + "mode": "100644", + "type": "blob", + "sha": "d956f80ca174f7b829bdabb737fe2320605c370f", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d956f80ca174f7b829bdabb737fe2320605c370f" + }, + { + "path": "web/docs/VideoMazeV1", + "mode": "040000", + "type": "tree", + "sha": "38759ff8aa40545bcaa4b5ee740f7688577d150b", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/38759ff8aa40545bcaa4b5ee740f7688577d150b" + }, + { + "path": "web/docs/VideoMazeV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "d956f80ca174f7b829bdabb737fe2320605c370f", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d956f80ca174f7b829bdabb737fe2320605c370f" + }, + { + "path": "web/docs/VideoMazeV2.md", + "mode": "100644", + "type": "blob", + "sha": "9175c2e00e4b52856f25a962a9e313af7fa27f6e", + "size": 3192, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9175c2e00e4b52856f25a962a9e313af7fa27f6e" + }, + { + "path": "web/docs/VideoMazeV2", + "mode": "040000", + "type": "tree", + "sha": "939126e8f45f97e9d2987626863446507dca836a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/939126e8f45f97e9d2987626863446507dca836a" + }, + { + "path": "web/docs/VideoMazeV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "9175c2e00e4b52856f25a962a9e313af7fa27f6e", + "size": 3192, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9175c2e00e4b52856f25a962a9e313af7fa27f6e" + }, + { + "path": "web/docs/VideoNoiseFactory.md", + "mode": "100644", + "type": "blob", + "sha": "b25ef463d59eb0303a45f9443df3b272305ec965", + "size": 3891, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b25ef463d59eb0303a45f9443df3b272305ec965" + }, + { + "path": "web/docs/VideoNoiseFactory", + "mode": "040000", + "type": "tree", + "sha": "7afa93104fab3786ee37d75995681f661351e2ef", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/7afa93104fab3786ee37d75995681f661351e2ef" + }, + { + "path": "web/docs/VideoNoiseFactory/en.md", + "mode": "100644", + "type": "blob", + "sha": "b25ef463d59eb0303a45f9443df3b272305ec965", + "size": 3891, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b25ef463d59eb0303a45f9443df3b272305ec965" + }, + { + "path": "web/docs/VideoRingPainter.md", + "mode": "100644", + "type": "blob", + "sha": "a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f", + "size": 3663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f" + }, + { + "path": "web/docs/VideoRingPainter", + "mode": "040000", + "type": "tree", + "sha": "08bbeac42df0660d4d4fe018f764004982b26156", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/08bbeac42df0660d4d4fe018f764004982b26156" + }, + { + "path": "web/docs/VideoRingPainter/en.md", + "mode": "100644", + "type": "blob", + "sha": "a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f", + "size": 3663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a5cb1315bc2728684d4dd48fe0a9cf2899f1c28f" + }, + { + "path": "web/docs/VideoTimecode.md", + "mode": "100644", + "type": "blob", + "sha": "55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983", + "size": 2888, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983" + }, + { + "path": "web/docs/VideoTimecode", + "mode": "040000", + "type": "tree", + "sha": "88002f43ac6b324fb01669e8322b3a3e8c786198", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/88002f43ac6b324fb01669e8322b3a3e8c786198" + }, + { + "path": "web/docs/VideoTimecode/en.md", + "mode": "100644", + "type": "blob", + "sha": "55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983", + "size": 2888, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/55137ce6b7aa26abcd2db66f5cc1ce9a23fc3983" + }, + { + "path": "web/docs/VideoTrails.md", + "mode": "100644", + "type": "blob", + "sha": "67bfff5551dd6363e7ef7370596ae4934c74c3c8", + "size": 3106, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/67bfff5551dd6363e7ef7370596ae4934c74c3c8" + }, + { + "path": "web/docs/VideoTrails", + "mode": "040000", + "type": "tree", + "sha": "4ad4f5d0b88616b1d97e095683968d2f9ac37b5d", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/4ad4f5d0b88616b1d97e095683968d2f9ac37b5d" + }, + { + "path": "web/docs/VideoTrails/en.md", + "mode": "100644", + "type": "blob", + "sha": "67bfff5551dd6363e7ef7370596ae4934c74c3c8", + "size": 3106, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/67bfff5551dd6363e7ef7370596ae4934c74c3c8" + }, + { + "path": "web/docs/VideoTrailsV2.md", + "mode": "100644", + "type": "blob", + "sha": "f2f45c29f5335990532cfe9645a33bc7d7ece3ae", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f2f45c29f5335990532cfe9645a33bc7d7ece3ae" + }, + { + "path": "web/docs/VideoTrailsV2", + "mode": "040000", + "type": "tree", + "sha": "020dfc0e46dc6528d1cd97d2c17595443c62b232", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/020dfc0e46dc6528d1cd97d2c17595443c62b232" + }, + { + "path": "web/docs/VideoTrailsV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "f2f45c29f5335990532cfe9645a33bc7d7ece3ae", + "size": 3624, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f2f45c29f5335990532cfe9645a33bc7d7ece3ae" + }, + { + "path": "web/docs/VideoVignettingV1.md", + "mode": "100644", + "type": "blob", + "sha": "c9229bfd7262b6dc90e79d5cf80ee85c5af44503", + "size": 4158, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9229bfd7262b6dc90e79d5cf80ee85c5af44503" + }, + { + "path": "web/docs/VideoVignettingV1", + "mode": "040000", + "type": "tree", + "sha": "e19d5e70a0abb1bcfe6e6a2def52608d360bbf40", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e19d5e70a0abb1bcfe6e6a2def52608d360bbf40" + }, + { + "path": "web/docs/VideoVignettingV1/en.md", + "mode": "100644", + "type": "blob", + "sha": "c9229bfd7262b6dc90e79d5cf80ee85c5af44503", + "size": 4158, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c9229bfd7262b6dc90e79d5cf80ee85c5af44503" + }, + { + "path": "web/docs/VoiceEffects.md", + "mode": "100644", + "type": "blob", + "sha": "133d813f32b7b1771e558b6a2cd00a32a1c21359", + "size": 6856, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/133d813f32b7b1771e558b6a2cd00a32a1c21359" + }, + { + "path": "web/docs/VoiceEffects", + "mode": "040000", + "type": "tree", + "sha": "32311c6b43a4243860181a89495e0f92c6487dff", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/32311c6b43a4243860181a89495e0f92c6487dff" + }, + { + "path": "web/docs/VoiceEffects/en.md", + "mode": "100644", + "type": "blob", + "sha": "133d813f32b7b1771e558b6a2cd00a32a1c21359", + "size": 6856, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/133d813f32b7b1771e558b6a2cd00a32a1c21359" + }, + { + "path": "web/docs/VoiceEffects2.md", + "mode": "100644", + "type": "blob", + "sha": "6843028a9ff261685b5d6f370997a50a6dcc0547", + "size": 6024, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6843028a9ff261685b5d6f370997a50a6dcc0547" + }, + { + "path": "web/docs/VoiceEffects2", + "mode": "040000", + "type": "tree", + "sha": "95ad452f637afc6532e93b1ce965f93d929277ab", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/95ad452f637afc6532e93b1ce965f93d929277ab" + }, + { + "path": "web/docs/VoiceEffects2/en.md", + "mode": "100644", + "type": "blob", + "sha": "6843028a9ff261685b5d6f370997a50a6dcc0547", + "size": 6024, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6843028a9ff261685b5d6f370997a50a6dcc0547" + }, + { + "path": "web/docs/WaveletCompose.md", + "mode": "100644", + "type": "blob", + "sha": "2823ccf98a1263632082b8e8a5f4a3fa73f4526c", + "size": 2494, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2823ccf98a1263632082b8e8a5f4a3fa73f4526c" + }, + { + "path": "web/docs/WaveletCompose", + "mode": "040000", + "type": "tree", + "sha": "d2fbc94b4bf818b65a4d0965c6f0c50f2e4d8922", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/d2fbc94b4bf818b65a4d0965c6f0c50f2e4d8922" + }, + { + "path": "web/docs/WaveletCompose/en.md", + "mode": "100644", + "type": "blob", + "sha": "2823ccf98a1263632082b8e8a5f4a3fa73f4526c", + "size": 2494, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2823ccf98a1263632082b8e8a5f4a3fa73f4526c" + }, + { + "path": "web/docs/WaveletDecompose.md", + "mode": "100644", + "type": "blob", + "sha": "423ff97104d7a84dc99abe141b0c6bebf9d2842d", + "size": 3477, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/423ff97104d7a84dc99abe141b0c6bebf9d2842d" + }, + { + "path": "web/docs/WaveletDecompose", + "mode": "040000", + "type": "tree", + "sha": "e9281927f401d536096be4d2377271ad3615ed98", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/e9281927f401d536096be4d2377271ad3615ed98" + }, + { + "path": "web/docs/WaveletDecompose/en.md", + "mode": "100644", + "type": "blob", + "sha": "423ff97104d7a84dc99abe141b0c6bebf9d2842d", + "size": 3477, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/423ff97104d7a84dc99abe141b0c6bebf9d2842d" + }, + { + "path": "web/docs/WinampViz.md", + "mode": "100644", + "type": "blob", + "sha": "a8be0096d5fdc26372fa5ae2d694fee275d5ec03", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8be0096d5fdc26372fa5ae2d694fee275d5ec03" + }, + { + "path": "web/docs/WinampViz", + "mode": "040000", + "type": "tree", + "sha": "4eab0845cbfa65edde8786dfc48cbd5c4d18c70a", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/4eab0845cbfa65edde8786dfc48cbd5c4d18c70a" + }, + { + "path": "web/docs/WinampViz/en.md", + "mode": "100644", + "type": "blob", + "sha": "a8be0096d5fdc26372fa5ae2d694fee275d5ec03", + "size": 4136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a8be0096d5fdc26372fa5ae2d694fee275d5ec03" + }, + { + "path": "web/docs/WinampVizV2.md", + "mode": "100644", + "type": "blob", + "sha": "feb4e543919d4d3820b8d346c1b1afeaf80e32a5", + "size": 4045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/feb4e543919d4d3820b8d346c1b1afeaf80e32a5" + }, + { + "path": "web/docs/WinampVizV2", + "mode": "040000", + "type": "tree", + "sha": "554c586c58d00a80e20e867bfb3b1a9bcbd16948", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/554c586c58d00a80e20e867bfb3b1a9bcbd16948" + }, + { + "path": "web/docs/WinampVizV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "feb4e543919d4d3820b8d346c1b1afeaf80e32a5", + "size": 4045, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/feb4e543919d4d3820b8d346c1b1afeaf80e32a5" + }, + { + "path": "web/docs/ZenkaiDepthPrompt.md", + "mode": "100644", + "type": "blob", + "sha": "dc2a5f41eb27d1631b6aacf5038022558009c9ee", + "size": 1663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc2a5f41eb27d1631b6aacf5038022558009c9ee" + }, + { + "path": "web/docs/ZenkaiDepthPrompt", + "mode": "040000", + "type": "tree", + "sha": "6e87de4e40188ed89645fa7898f3324038a4b469", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/6e87de4e40188ed89645fa7898f3324038a4b469" + }, + { + "path": "web/docs/ZenkaiDepthPrompt/en.md", + "mode": "100644", + "type": "blob", + "sha": "dc2a5f41eb27d1631b6aacf5038022558009c9ee", + "size": 1663, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/dc2a5f41eb27d1631b6aacf5038022558009c9ee" + }, + { + "path": "web/docs/ZenkaiImagePromptV2.md", + "mode": "100644", + "type": "blob", + "sha": "f616de9d86c77668e386b5725da001c314cd553c", + "size": 5910, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f616de9d86c77668e386b5725da001c314cd553c" + }, + { + "path": "web/docs/ZenkaiImagePromptV2", + "mode": "040000", + "type": "tree", + "sha": "60ebad524842582fbbb9d7254f71b165873df52f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/60ebad524842582fbbb9d7254f71b165873df52f" + }, + { + "path": "web/docs/ZenkaiImagePromptV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "f616de9d86c77668e386b5725da001c314cd553c", + "size": 5910, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f616de9d86c77668e386b5725da001c314cd553c" + }, + { + "path": "web/docs/ZenkaiPrompt.md", + "mode": "100644", + "type": "blob", + "sha": "ce63e44621f85de1aacb91b8cff0acc5a9a3783a", + "size": 2215, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce63e44621f85de1aacb91b8cff0acc5a9a3783a" + }, + { + "path": "web/docs/ZenkaiPrompt", + "mode": "040000", + "type": "tree", + "sha": "342d0a35921490cf409414a8c2a582829e52d622", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/342d0a35921490cf409414a8c2a582829e52d622" + }, + { + "path": "web/docs/ZenkaiPrompt/en.md", + "mode": "100644", + "type": "blob", + "sha": "ce63e44621f85de1aacb91b8cff0acc5a9a3783a", + "size": 2215, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce63e44621f85de1aacb91b8cff0acc5a9a3783a" + }, + { + "path": "web/docs/ZenkaiPromptV2.md", + "mode": "100644", + "type": "blob", + "sha": "ad3395da9a478c79892d1cbd991bd8d7e096ce62", + "size": 2634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ad3395da9a478c79892d1cbd991bd8d7e096ce62" + }, + { + "path": "web/docs/ZenkaiPromptV2", + "mode": "040000", + "type": "tree", + "sha": "940c2d5e93359750df07ce8b7ba5a3da267a2c71", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/940c2d5e93359750df07ce8b7ba5a3da267a2c71" + }, + { + "path": "web/docs/ZenkaiPromptV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "ad3395da9a478c79892d1cbd991bd8d7e096ce62", + "size": 2634, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ad3395da9a478c79892d1cbd991bd8d7e096ce62" + }, + { + "path": "web/docs/ZenkaiPromptV3.md", + "mode": "100644", + "type": "blob", + "sha": "525ade27ef40e5788ab227074f0cd1de650df8af", + "size": 2877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/525ade27ef40e5788ab227074f0cd1de650df8af" + }, + { + "path": "web/docs/ZenkaiPromptV3", + "mode": "040000", + "type": "tree", + "sha": "146545c5a5f5df255c3e161d62461ba705396bf8", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/146545c5a5f5df255c3e161d62461ba705396bf8" + }, + { + "path": "web/docs/ZenkaiPromptV3/en.md", + "mode": "100644", + "type": "blob", + "sha": "525ade27ef40e5788ab227074f0cd1de650df8af", + "size": 2877, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/525ade27ef40e5788ab227074f0cd1de650df8af" + }, + { + "path": "web/docs/ZenkaiPromptV4.md", + "mode": "100644", + "type": "blob", + "sha": "73f7d4b7f8a72d75e68c39ee144e7cbe417d672e", + "size": 1329, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/73f7d4b7f8a72d75e68c39ee144e7cbe417d672e" + }, + { + "path": "web/docs/ZenkaiPromptV4", + "mode": "040000", + "type": "tree", + "sha": "fbdb681fe1140d973c36b1538dc88435de8c5e2f", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/fbdb681fe1140d973c36b1538dc88435de8c5e2f" + }, + { + "path": "web/docs/ZenkaiPromptV4/en.md", + "mode": "100644", + "type": "blob", + "sha": "73f7d4b7f8a72d75e68c39ee144e7cbe417d672e", + "size": 1329, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/73f7d4b7f8a72d75e68c39ee144e7cbe417d672e" + }, + { + "path": "web/docs/ZenkaiPromptV5.md", + "mode": "100644", + "type": "blob", + "sha": "d136d3e5ab749fb6fc59c5fec358da5614ea20f6", + "size": 4623, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d136d3e5ab749fb6fc59c5fec358da5614ea20f6" + }, + { + "path": "web/docs/ZenkaiPromptV5", + "mode": "040000", + "type": "tree", + "sha": "38c41110da8d95f178e72206d58ca6071b693e19", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/38c41110da8d95f178e72206d58ca6071b693e19" + }, + { + "path": "web/docs/ZenkaiPromptV5/en.md", + "mode": "100644", + "type": "blob", + "sha": "d136d3e5ab749fb6fc59c5fec358da5614ea20f6", + "size": 4623, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d136d3e5ab749fb6fc59c5fec358da5614ea20f6" + }, + { + "path": "web/docs/ZenkaiWildcard.md", + "mode": "100644", + "type": "blob", + "sha": "79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67", + "size": 2323, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67" + }, + { + "path": "web/docs/ZenkaiWildcard", + "mode": "040000", + "type": "tree", + "sha": "8852b810704299856c0ff136fb62f7c5bc50348d", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/8852b810704299856c0ff136fb62f7c5bc50348d" + }, + { + "path": "web/docs/ZenkaiWildcard/en.md", + "mode": "100644", + "type": "blob", + "sha": "79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67", + "size": 2323, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/79de9ec61c1f13a141640e2c9b7ef0d6f48bbd67" + }, + { + "path": "web/docs/ZenkaiWildcardV2.md", + "mode": "100644", + "type": "blob", + "sha": "1fbe6be717519241b342433159baede1582591e5", + "size": 3402, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fbe6be717519241b342433159baede1582591e5" + }, + { + "path": "web/docs/ZenkaiWildcardV2", + "mode": "040000", + "type": "tree", + "sha": "863aa723a4322fc4ecb1ca21e9e7e1731e609aa5", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/863aa723a4322fc4ecb1ca21e9e7e1731e609aa5" + }, + { + "path": "web/docs/ZenkaiWildcardV2/en.md", + "mode": "100644", + "type": "blob", + "sha": "1fbe6be717519241b342433159baede1582591e5", + "size": 3402, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fbe6be717519241b342433159baede1582591e5" + }, + { + "path": "web/docs/t.txt", + "mode": "100644", + "type": "blob", + "sha": "718f4d2ff533cf8ead8d3556cf43912bd245fbc4", + "size": 2, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/718f4d2ff533cf8ead8d3556cf43912bd245fbc4" + }, + { + "path": "wildcards", + "mode": "040000", + "type": "tree", + "sha": "57cdba2feeedd48e41a7ba0548e5edd1049e3ccd", + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/trees/57cdba2feeedd48e41a7ba0548e5edd1049e3ccd" + }, + { + "path": "wildcards/Gabe_biome.txt", + "mode": "100644", + "type": "blob", + "sha": "653cc91c0a0e6721c2d082075ba7e4f5308fbd41", + "size": 3159, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/653cc91c0a0e6721c2d082075ba7e4f5308fbd41" + }, + { + "path": "wildcards/Gabe_building.txt", + "mode": "100644", + "type": "blob", + "sha": "ff78260a88681da63ba98b42c0537518badd5841", + "size": 4051, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ff78260a88681da63ba98b42c0537518badd5841" + }, + { + "path": "wildcards/Gabe_buildstore.txt", + "mode": "100644", + "type": "blob", + "sha": "66d8852d4749c4a73b1e43468f584ddbb50bf0b8", + "size": 228, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/66d8852d4749c4a73b1e43468f584ddbb50bf0b8" + }, + { + "path": "wildcards/Gabe_world.txt", + "mode": "100644", + "type": "blob", + "sha": "5bff5ca7aea8a4bcd23f38080afbdf3be0d372b9", + "size": 12099, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/5bff5ca7aea8a4bcd23f38080afbdf3be0d372b9" + }, + { + "path": "wildcards/actor.txt", + "mode": "100644", + "type": "blob", + "sha": "3f0d4283d9ce4b9aafeba146014c3ad6b4ed0701", + "size": 1511, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3f0d4283d9ce4b9aafeba146014c3ad6b4ed0701" + }, + { + "path": "wildcards/aesthetic.txt", + "mode": "100644", + "type": "blob", + "sha": "6898e40c548f69828f71428ee3d390791c84f4b6", + "size": 6583, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6898e40c548f69828f71428ee3d390791c84f4b6" + }, + { + "path": "wildcards/age.txt", + "mode": "100644", + "type": "blob", + "sha": "d839559974db6b40fff304b1ebd86d356a9c4dff", + "size": 50, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d839559974db6b40fff304b1ebd86d356a9c4dff" + }, + { + "path": "wildcards/ancient_civilization.txt", + "mode": "100644", + "type": "blob", + "sha": "4037fb7c75a30052bf2502f823f8759688291969", + "size": 82, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4037fb7c75a30052bf2502f823f8759688291969" + }, + { + "path": "wildcards/ancient_egyptian.txt", + "mode": "100644", + "type": "blob", + "sha": "1661e2422049ed54f4d8b51ea4de0250790d3689", + "size": 99, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1661e2422049ed54f4d8b51ea4de0250790d3689" + }, + { + "path": "wildcards/ancient_wonder.txt", + "mode": "100644", + "type": "blob", + "sha": "3970d47303b5c0029865d9c92f68697d500b8caa", + "size": 201, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3970d47303b5c0029865d9c92f68697d500b8caa" + }, + { + "path": "wildcards/angle.txt", + "mode": "100644", + "type": "blob", + "sha": "9feab3e2ef807fbb8c3ab6963572d82769a31054", + "size": 566, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9feab3e2ef807fbb8c3ab6963572d82769a31054" + }, + { + "path": "wildcards/animal.txt", + "mode": "100644", + "type": "blob", + "sha": "a7e875f2a9062a614b9399ff0fde61a0aea217ff", + "size": 873, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a7e875f2a9062a614b9399ff0fde61a0aea217ff" + }, + { + "path": "wildcards/aquatic_creature.txt", + "mode": "100644", + "type": "blob", + "sha": "0fbf2a087dc37ec551ea2f4c887910ceb81d9fae", + "size": 183, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0fbf2a087dc37ec551ea2f4c887910ceb81d9fae" + }, + { + "path": "wildcards/artistsama.txt", + "mode": "100644", + "type": "blob", + "sha": "77a4ef4acd7ef29dc420f908534aceaf6609eb2e", + "size": 248, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/77a4ef4acd7ef29dc420f908534aceaf6609eb2e" + }, + { + "path": "wildcards/artistsama2.txt", + "mode": "100644", + "type": "blob", + "sha": "91ce69d87385d4b4494c23cee1ac897643fbbabb", + "size": 172, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/91ce69d87385d4b4494c23cee1ac897643fbbabb" + }, + { + "path": "wildcards/asian_wonder.txt", + "mode": "100644", + "type": "blob", + "sha": "277014078b5921cff482a85248541326cf450905", + "size": 110, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/277014078b5921cff482a85248541326cf450905" + }, + { + "path": "wildcards/bird.txt", + "mode": "100644", + "type": "blob", + "sha": "6956e64b32ceba6ea1525aa39f0862d6164155ec", + "size": 73, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6956e64b32ceba6ea1525aa39f0862d6164155ec" + }, + { + "path": "wildcards/bodykit.txt", + "mode": "100644", + "type": "blob", + "sha": "52847f98129819d598e4af65016b3a859dc5796f", + "size": 51, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/52847f98129819d598e4af65016b3a859dc5796f" + }, + { + "path": "wildcards/climate.txt", + "mode": "100644", + "type": "blob", + "sha": "a3778f50af366d9b221a24927c2224905b32b8a3", + "size": 118, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a3778f50af366d9b221a24927c2224905b32b8a3" + }, + { + "path": "wildcards/color.txt", + "mode": "100644", + "type": "blob", + "sha": "974067fb034096ad8fc9a60398ae2b7a7a27b582", + "size": 1601, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/974067fb034096ad8fc9a60398ae2b7a7a27b582" + }, + { + "path": "wildcards/cute.txt", + "mode": "100644", + "type": "blob", + "sha": "80682830452fea202e0ee9a25d89fffba81ee390", + "size": 271, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/80682830452fea202e0ee9a25d89fffba81ee390" + }, + { + "path": "wildcards/domestic_space.txt", + "mode": "100644", + "type": "blob", + "sha": "e191bcc20d0402b247d53ff0a6d1f6fde69cc8c7", + "size": 77, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e191bcc20d0402b247d53ff0a6d1f6fde69cc8c7" + }, + { + "path": "wildcards/element.txt", + "mode": "100644", + "type": "blob", + "sha": "8389bef21aedf95d4520758a41e6349ebdc37768", + "size": 357, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8389bef21aedf95d4520758a41e6349ebdc37768" + }, + { + "path": "wildcards/emotion.txt", + "mode": "100644", + "type": "blob", + "sha": "1fc523cc42981b670bd6e71325f90993f0da00aa", + "size": 198, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fc523cc42981b670bd6e71325f90993f0da00aa" + }, + { + "path": "wildcards/enigmatic_place.txt", + "mode": "100644", + "type": "blob", + "sha": "c55ad7f13996a04fabf4675e3d9ff2125234ba90", + "size": 126, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c55ad7f13996a04fabf4675e3d9ff2125234ba90" + }, + { + "path": "wildcards/european_landmark.txt", + "mode": "100644", + "type": "blob", + "sha": "270dd6292d53c7034c9d3080fce85c2145da8094", + "size": 76, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/270dd6292d53c7034c9d3080fce85c2145da8094" + }, + { + "path": "wildcards/exotic_animal.txt", + "mode": "100644", + "type": "blob", + "sha": "3fa46661c5ca85037f56379f61220b7d64890610", + "size": 70, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3fa46661c5ca85037f56379f61220b7d64890610" + }, + { + "path": "wildcards/fantasy_creature.txt", + "mode": "100644", + "type": "blob", + "sha": "df18189683416b43ab1c525e20b69829727053d7", + "size": 70, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/df18189683416b43ab1c525e20b69829727053d7" + }, + { + "path": "wildcards/fantasy_realm.txt", + "mode": "100644", + "type": "blob", + "sha": "0278b0ea5294d2860585a4a30557ac3a82ef52d6", + "size": 75, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0278b0ea5294d2860585a4a30557ac3a82ef52d6" + }, + { + "path": "wildcards/fashion.txt", + "mode": "100644", + "type": "blob", + "sha": "343572e6ff6ff56e79bb415f15b10624b8ccfd02", + "size": 69, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/343572e6ff6ff56e79bb415f15b10624b8ccfd02" + }, + { + "path": "wildcards/fish.txt", + "mode": "100644", + "type": "blob", + "sha": "93f56773375810523b9bdf3a22d8a4907a0eadca", + "size": 1374, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/93f56773375810523b9bdf3a22d8a4907a0eadca" + }, + { + "path": "wildcards/flying_creature.txt", + "mode": "100644", + "type": "blob", + "sha": "9ccb785ecfe763945bc654d1f0e7193afdb1e093", + "size": 91, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9ccb785ecfe763945bc654d1f0e7193afdb1e093" + }, + { + "path": "wildcards/fx.txt", + "mode": "100644", + "type": "blob", + "sha": "09dac979d6867a88e94b1a508934a75e808091be", + "size": 58, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/09dac979d6867a88e94b1a508934a75e808091be" + }, + { + "path": "wildcards/hat.txt", + "mode": "100644", + "type": "blob", + "sha": "c3a934569f88766301c1708adc0dc4e651e0ecc8", + "size": 141, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/c3a934569f88766301c1708adc0dc4e651e0ecc8" + }, + { + "path": "wildcards/hero.txt", + "mode": "100644", + "type": "blob", + "sha": "1fe74d4f58c7577f9bfbea7c0b2a89283aa2ba1e", + "size": 1841, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1fe74d4f58c7577f9bfbea7c0b2a89283aa2ba1e" + }, + { + "path": "wildcards/historical_place.txt", + "mode": "100644", + "type": "blob", + "sha": "4be612f816b820a7f23e3718eb597eab72420fda", + "size": 217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4be612f816b820a7f23e3718eb597eab72420fda" + }, + { + "path": "wildcards/horrorsama.txt", + "mode": "100644", + "type": "blob", + "sha": "ab8e5aa61da64831bc64027afe648f96371f0666", + "size": 102, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ab8e5aa61da64831bc64027afe648f96371f0666" + }, + { + "path": "wildcards/intensity.txt", + "mode": "100644", + "type": "blob", + "sha": "3e171501166adad8530821e5a427dc82c82ce5b0", + "size": 90, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/3e171501166adad8530821e5a427dc82c82ce5b0" + }, + { + "path": "wildcards/location.txt", + "mode": "100644", + "type": "blob", + "sha": "9dc51ea5ef2ad64037a67e0780f51178ead2903d", + "size": 1029, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9dc51ea5ef2ad64037a67e0780f51178ead2903d" + }, + { + "path": "wildcards/lost_city.txt", + "mode": "100644", + "type": "blob", + "sha": "34c405a2e20dcdeaf4622f06c8b63551ce226807", + "size": 69, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/34c405a2e20dcdeaf4622f06c8b63551ce226807" + }, + { + "path": "wildcards/main.txt", + "mode": "100644", + "type": "blob", + "sha": "f22119a278fd76e1ffd12a35d001c03cad97d3e0", + "size": 99, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f22119a278fd76e1ffd12a35d001c03cad97d3e0" + }, + { + "path": "wildcards/material.txt", + "mode": "100644", + "type": "blob", + "sha": "d6ba153dc6b1bb0f58bb7cc8b842d6e9876f47b0", + "size": 376, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d6ba153dc6b1bb0f58bb7cc8b842d6e9876f47b0" + }, + { + "path": "wildcards/mechanical_animal.txt", + "mode": "100644", + "type": "blob", + "sha": "cc5fecb5dec1d291829c676658535f253f0ab1ef", + "size": 114, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/cc5fecb5dec1d291829c676658535f253f0ab1ef" + }, + { + "path": "wildcards/mesoamerican_site.txt", + "mode": "100644", + "type": "blob", + "sha": "be1af9a249e9a37c05b71c458f649a7f8ea74364", + "size": 107, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/be1af9a249e9a37c05b71c458f649a7f8ea74364" + }, + { + "path": "wildcards/mythical_flying_creature.txt", + "mode": "100644", + "type": "blob", + "sha": "513c674df43ddc97835b19a50451286f58e6b419", + "size": 81, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/513c674df43ddc97835b19a50451286f58e6b419" + }, + { + "path": "wildcards/mythical_sea_beast.txt", + "mode": "100644", + "type": "blob", + "sha": "bbd5e0b86458f09982040c52484563f7e889ad6e", + "size": 72, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/bbd5e0b86458f09982040c52484563f7e889ad6e" + }, + { + "path": "wildcards/natural_setting.txt", + "mode": "100644", + "type": "blob", + "sha": "ce1f2e130ae10a3203797b2e4b0b9984197ca297", + "size": 112, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ce1f2e130ae10a3203797b2e4b0b9984197ca297" + }, + { + "path": "wildcards/object.txt", + "mode": "100644", + "type": "blob", + "sha": "be4c7d1d62b5278722ef726b4ea28433da616a6a", + "size": 1325, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/be4c7d1d62b5278722ef726b4ea28433da616a6a" + }, + { + "path": "wildcards/pet.txt", + "mode": "100644", + "type": "blob", + "sha": "49eff19237dbddba21a1419de995ccf8a3f20313", + "size": 65, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/49eff19237dbddba21a1419de995ccf8a3f20313" + }, + { + "path": "wildcards/photographer.txt", + "mode": "100644", + "type": "blob", + "sha": "9420de79cd4f8a6001636b1cd7f4b23b6fabb41e", + "size": 593, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/9420de79cd4f8a6001636b1cd7f4b23b6fabb41e" + }, + { + "path": "wildcards/photography.txt", + "mode": "100644", + "type": "blob", + "sha": "21dde608809579fbc2cbc9c846d1db66c851fc05", + "size": 217, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/21dde608809579fbc2cbc9c846d1db66c851fc05" + }, + { + "path": "wildcards/predator.txt", + "mode": "100644", + "type": "blob", + "sha": "de1eef628ba559251d29407b5b3065cd27173f12", + "size": 57, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/de1eef628ba559251d29407b5b3065cd27173f12" + }, + { + "path": "wildcards/prehistoric_sea_creature.txt", + "mode": "100644", + "type": "blob", + "sha": "4d0eb2fc79fc4c7c4e0340bac1e18c7f4055b967", + "size": 95, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/4d0eb2fc79fc4c7c4e0340bac1e18c7f4055b967" + }, + { + "path": "wildcards/public_place.txt", + "mode": "100644", + "type": "blob", + "sha": "1725fd01987ad31f042ddfd5b849a8a9c2d53ab0", + "size": 123, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1725fd01987ad31f042ddfd5b849a8a9c2d53ab0" + }, + { + "path": "wildcards/rank.txt", + "mode": "100644", + "type": "blob", + "sha": "6c653624c736176e78e1bb993edb0efbe233516a", + "size": 167, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6c653624c736176e78e1bb993edb0efbe233516a" + }, + { + "path": "wildcards/sci_fi_location.txt", + "mode": "100644", + "type": "blob", + "sha": "e10d2cb968e2663477cffaa8f87ceffb10b30b23", + "size": 144, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/e10d2cb968e2663477cffaa8f87ceffb10b30b23" + }, + { + "path": "wildcards/shade.txt", + "mode": "100644", + "type": "blob", + "sha": "a580ec81ccfec9a520d92981d2c4746878e4fdf0", + "size": 50, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/a580ec81ccfec9a520d92981d2c4746878e4fdf0" + }, + { + "path": "wildcards/size.txt", + "mode": "100644", + "type": "blob", + "sha": "27969ca882308f989f86009e7d2fcd89c0014511", + "size": 76, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/27969ca882308f989f86009e7d2fcd89c0014511" + }, + { + "path": "wildcards/smal.txt", + "mode": "100644", + "type": "blob", + "sha": "fa70777a49bdfb5db0b9ad1fa504c7541936db2f", + "size": 360, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fa70777a49bdfb5db0b9ad1fa504c7541936db2f" + }, + { + "path": "wildcards/species.txt", + "mode": "100644", + "type": "blob", + "sha": "ff49c300b93108720b64937a8d35b97f85f1ae1f", + "size": 58, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ff49c300b93108720b64937a8d35b97f85f1ae1f" + }, + { + "path": "wildcards/structures.txt", + "mode": "100644", + "type": "blob", + "sha": "32916de85d250287c360e9dc116e1f925c572eb6", + "size": 46, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/32916de85d250287c360e9dc116e1f925c572eb6" + }, + { + "path": "wildcards/time.txt", + "mode": "100644", + "type": "blob", + "sha": "fc5c10f8b249fcc6a952a3d71c7e1286e2a769bf", + "size": 136, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/fc5c10f8b249fcc6a952a3d71c7e1286e2a769bf" + }, + { + "path": "wildcards/town.txt", + "mode": "100644", + "type": "blob", + "sha": "2b9746b66294b05f5d09a45f7a1d707c5ed88726", + "size": 188, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2b9746b66294b05f5d09a45f7a1d707c5ed88726" + }, + { + "path": "wildcards/tropical_bird.txt", + "mode": "100644", + "type": "blob", + "sha": "757b9a6bcedd26a9aef2e5b16ad882318dbf8f04", + "size": 82, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/757b9a6bcedd26a9aef2e5b16ad882318dbf8f04" + }, + { + "path": "wildcards/tropical_fish.txt", + "mode": "100644", + "type": "blob", + "sha": "f8b1112c3ff92ef3ff4a9ab494d1a44bad8d241b", + "size": 98, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f8b1112c3ff92ef3ff4a9ab494d1a44bad8d241b" + }, + { + "path": "wildcards/vid1subject.txt", + "mode": "100644", + "type": "blob", + "sha": "d795363cf52c691d32e9610dc73cf9b303a8b004", + "size": 458, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d795363cf52c691d32e9610dc73cf9b303a8b004" + }, + { + "path": "wildcards/vid1subjectV2.txt", + "mode": "100644", + "type": "blob", + "sha": "8779ecad78603982e81012ace432251b3b482e8c", + "size": 380, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/8779ecad78603982e81012ace432251b3b482e8c" + }, + { + "path": "wildcards/vid1subjectV3.txt", + "mode": "100644", + "type": "blob", + "sha": "88e89c1ab59ba9c9f359480f62fc4ba8a0c19759", + "size": 479, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/88e89c1ab59ba9c9f359480f62fc4ba8a0c19759" + }, + { + "path": "wildcards/vid2action.txt", + "mode": "100644", + "type": "blob", + "sha": "1ec288513952097a52f83a119228bf02ddddcb05", + "size": 464, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/1ec288513952097a52f83a119228bf02ddddcb05" + }, + { + "path": "wildcards/vid2actionV2.txt", + "mode": "100644", + "type": "blob", + "sha": "23e910eccfe9fac7e2610242e45eb06e373e2126", + "size": 457, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/23e910eccfe9fac7e2610242e45eb06e373e2126" + }, + { + "path": "wildcards/vid2actionV3.txt", + "mode": "100644", + "type": "blob", + "sha": "f5b45120957f7b6ff7e46dd56ff55bb09a5b85ce", + "size": 621, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f5b45120957f7b6ff7e46dd56ff55bb09a5b85ce" + }, + { + "path": "wildcards/vid3physical.txt", + "mode": "100644", + "type": "blob", + "sha": "94ebee04bc881d373a6b1c94f2811d1abbf9323d", + "size": 766, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/94ebee04bc881d373a6b1c94f2811d1abbf9323d" + }, + { + "path": "wildcards/vid3physicalV2.txt", + "mode": "100644", + "type": "blob", + "sha": "57c67acaf5430f1929424064cf0fc55c0da7a30c", + "size": 655, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/57c67acaf5430f1929424064cf0fc55c0da7a30c" + }, + { + "path": "wildcards/vid3physicalV3.txt", + "mode": "100644", + "type": "blob", + "sha": "2677d809467323151fe04de5a855c6427a3af5d6", + "size": 740, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2677d809467323151fe04de5a855c6427a3af5d6" + }, + { + "path": "wildcards/vid4camera.txt", + "mode": "100644", + "type": "blob", + "sha": "61085e31ae952bee5859034b70aa3561a9f53c30", + "size": 848, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/61085e31ae952bee5859034b70aa3561a9f53c30" + }, + { + "path": "wildcards/vid4cameraV2.txt", + "mode": "100644", + "type": "blob", + "sha": "0bc7ba411e850e543a499df986c6a22d6c59bbaf", + "size": 784, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/0bc7ba411e850e543a499df986c6a22d6c59bbaf" + }, + { + "path": "wildcards/vid4cameraV3.txt", + "mode": "100644", + "type": "blob", + "sha": "f0486f2aeb2169f31f8cc864490867d061f25cd5", + "size": 671, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/f0486f2aeb2169f31f8cc864490867d061f25cd5" + }, + { + "path": "wildcards/vid5environment.txt", + "mode": "100644", + "type": "blob", + "sha": "b1ae2610da55cd8a3c32c56852674531152dc622", + "size": 975, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/b1ae2610da55cd8a3c32c56852674531152dc622" + }, + { + "path": "wildcards/vid5environmentV2.txt", + "mode": "100644", + "type": "blob", + "sha": "265b1b0a4422df09f243803d050e5048e9b38cbe", + "size": 875, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/265b1b0a4422df09f243803d050e5048e9b38cbe" + }, + { + "path": "wildcards/vid5environmentV3.txt", + "mode": "100644", + "type": "blob", + "sha": "2e4dd6628386ceacbcb996ff5ee4b700b6f2cc4e", + "size": 649, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/2e4dd6628386ceacbcb996ff5ee4b700b6f2cc4e" + }, + { + "path": "wildcards/vid6scene.txt", + "mode": "100644", + "type": "blob", + "sha": "d0e6db6f07c88152a34b4120fe55f55f8790ca26", + "size": 800, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/d0e6db6f07c88152a34b4120fe55f55f8790ca26" + }, + { + "path": "wildcards/vid6sceneV2.txt", + "mode": "100644", + "type": "blob", + "sha": "ca49be608f180e1e950d02fa95d0c45bea89be31", + "size": 883, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/ca49be608f180e1e950d02fa95d0c45bea89be31" + }, + { + "path": "wildcards/vid6sceneV3.txt", + "mode": "100644", + "type": "blob", + "sha": "6a971a4841bdc322265aebca4baf7bfea8edbd98", + "size": 687, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/6a971a4841bdc322265aebca4baf7bfea8edbd98" + }, + { + "path": "wildcards/weapon.txt", + "mode": "100644", + "type": "blob", + "sha": "409742e7232a3e685791c86007d62564fc405862", + "size": 146, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/409742e7232a3e685791c86007d62564fc405862" + }, + { + "path": "wildcards/weather.txt", + "mode": "100644", + "type": "blob", + "sha": "82a37939ed4c2c5b2dfaac8d997b0e32b18b67c9", + "size": 366, + "url": "https://api.github.com/repos/MushroomFleet/DJZ-Nodes/git/blobs/82a37939ed4c2c5b2dfaac8d997b0e32b18b67c9" + } + ], + "truncated": false +} diff --git a/docs/hel-892/latent-reference/djz__DJZLoadLatent.py b/docs/hel-892/latent-reference/djz__DJZLoadLatent.py new file mode 100644 index 00000000..4195987c --- /dev/null +++ b/docs/hel-892/latent-reference/djz__DJZLoadLatent.py @@ -0,0 +1,112 @@ +import os +import hashlib +import safetensors.torch +import folder_paths +import torch + +class DJZLoadLatent: + """ + Loads latent tensors directly from ComfyUI's output directory. + """ + @classmethod + def INPUT_TYPES(s): + # Get the output directory + output_dir = folder_paths.get_output_directory() + + # Scan for .latent files in outputs + latents = [] + + def scan_folder(folder, relative_path=""): + try: + for item in os.listdir(folder): + full_path = os.path.join(folder, item) + rel_path = os.path.join(relative_path, item) + + if os.path.isfile(full_path) and item.endswith(".latent"): + # Store relative path for cleaner display + latents.append(rel_path) + elif os.path.isdir(full_path): + # Recursively scan subdirectories + scan_folder(full_path, rel_path) + except Exception as e: + print(f"Error scanning directory {folder}: {str(e)}") + + # Start scan from output directory + scan_folder(output_dir) + + # If no latents found, provide an empty option + if not latents: + latents = [""] + + return { + "required": { + "latent_file": (sorted(latents),), + }, + } + + CATEGORY = "DJZ-Nodes" + RETURN_TYPES = ("LATENT",) + FUNCTION = "load_latent" + + def load_latent(self, latent_file): + if not latent_file: + raise ValueError("No latent file selected") + + # Get the full path by joining with output directory + output_dir = folder_paths.get_output_directory() + latent_path = os.path.join(output_dir, latent_file) + + try: + # Load the latent file + latent = safetensors.torch.load_file(latent_path, device="cpu") + + # Apply the correct multiplier based on format version + multiplier = 1.0 if "latent_format_version_0" in latent else 1.0 / 0.18215 + + # Return the properly formatted samples + samples = { + "samples": latent["latent_tensor"].float() * multiplier + } + + return (samples,) + + except Exception as e: + print(f"Error loading latent: {str(e)}") + return ({"samples": torch.zeros((1, 4, 8, 8))},) + + @classmethod + def IS_CHANGED(s, latent_file): + if not latent_file: + return "NO_FILE_SELECTED" + + output_dir = folder_paths.get_output_directory() + latent_path = os.path.join(output_dir, latent_file) + + try: + m = hashlib.sha256() + with open(latent_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + except Exception: + return "ERROR_READING_FILE" + + @classmethod + def VALIDATE_INPUTS(s, latent_file): + if not latent_file: + return "No latent file selected" + + output_dir = folder_paths.get_output_directory() + latent_path = os.path.join(output_dir, latent_file) + + if not os.path.exists(latent_path): + return f"Latent file not found: {latent_file}" + return True + + +NODE_CLASS_MAPPINGS = { + "DJZ-LoadLatent": DJZLoadLatent +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "DJZ-LoadLatent": "DJZ Load Latent" +} \ No newline at end of file diff --git a/docs/hel-892/latent-reference/djz____init__.py b/docs/hel-892/latent-reference/djz____init__.py new file mode 100644 index 00000000..30807e47 --- /dev/null +++ b/docs/hel-892/latent-reference/djz____init__.py @@ -0,0 +1,1053 @@ +NODE_CLASS_MAPPINGS = {} +NODE_DISPLAY_NAME_MAPPINGS = {} + +try: + from .AspectSize import AspectSize + NODE_CLASS_MAPPINGS["AspectSize"] = AspectSize + NODE_DISPLAY_NAME_MAPPINGS["AspectSize"] = "Aspect Size" +except ImportError: + print("Unable to import AspectSize. This node will not be available.") + +try: + from .AspectSizeV2 import AspectSizeV2 + NODE_CLASS_MAPPINGS["AspectSizeV2"] = AspectSizeV2 + NODE_DISPLAY_NAME_MAPPINGS["AspectSizeV2"] = "Aspect Size V2" +except ImportError: + print("Unable to import AspectSizeV2. This node will not be available.") + +try: + from .ImageSizeAdjuster import ImageSizeAdjuster + NODE_CLASS_MAPPINGS["ImageSizeAdjuster"] = ImageSizeAdjuster + NODE_DISPLAY_NAME_MAPPINGS["ImageSizeAdjuster"] = "Image Size Adjuster" +except ImportError: + print("Unable to import ImageSizeAdjuster. This node will not be available.") + +try: + from .ImageSizeAdjusterV2 import ImageSizeAdjusterV2 + NODE_CLASS_MAPPINGS["ImageSizeAdjusterV2"] = ImageSizeAdjusterV2 + NODE_DISPLAY_NAME_MAPPINGS["ImageSizeAdjusterV2"] = "Image Size Adjuster V2" +except ImportError: + print("Unable to import ImageSizeAdjusterV2. This node will not be available.") + +try: + from .ZenkaiPrompt import ZenkaiPrompt + NODE_CLASS_MAPPINGS["ZenkaiPrompt"] = ZenkaiPrompt + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPrompt"] = "Zenkai-Prompt" +except ImportError: + print("Unable to import ZenkaiPrompt. This node will not be available.") + +try: + from .ZenkaiPromptV2 import ZenkaiPromptV2 + NODE_CLASS_MAPPINGS["ZenkaiPromptV2"] = ZenkaiPromptV2 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPromptV2"] = "Zenkai-Prompt V2" +except ImportError: + print("Unable to import ZenkaiPromptV2. This node will not be available.") + +try: + from .ZenkaiWildcard import ZenkaiWildcard + NODE_CLASS_MAPPINGS["ZenkaiWildcard"] = ZenkaiWildcard + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiWildcard"] = "Zenkai-Wildcard" +except ImportError: + print("Unable to import ZenkaiWildcard. This node will not be available.") + +try: + from .ZenkaiWildcardV2 import ZenkaiWildcardV2 + NODE_CLASS_MAPPINGS["ZenkaiWildcardV2"] = ZenkaiWildcardV2 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiWildcardV2"] = "Zenkai-Wildcard V2" +except ImportError: + print("Unable to import ZenkaiWildcardV2. This node will not be available.") + +try: + from .StringWeights import StringWeights + NODE_CLASS_MAPPINGS["StringWeights"] = StringWeights + NODE_DISPLAY_NAME_MAPPINGS["StringWeights"] = "String Weights" +except ImportError: + print("Unable to import StringWeights. This node will not be available.") + +try: + from .PromptCleaner import PromptCleaner + NODE_CLASS_MAPPINGS["PromptCleaner"] = PromptCleaner + NODE_DISPLAY_NAME_MAPPINGS["PromptCleaner"] = "Prompt Cleaner" +except ImportError: + print("Unable to import PromptCleaner. This node will not be available.") + +try: + from .PromptSwap import PromptSwap + NODE_CLASS_MAPPINGS["PromptSwap"] = PromptSwap + NODE_DISPLAY_NAME_MAPPINGS["PromptSwap"] = "Prompt Swap" +except ImportError: + print("Unable to import PromptSwap. This node will not be available.") + + +try: + from .StringPainter import StringPainter + NODE_CLASS_MAPPINGS["StringPainter"] = StringPainter + NODE_DISPLAY_NAME_MAPPINGS["StringPainter"] = "String Painter" +except ImportError: + print("Unable to import StringPainter. This node will not be available.") + +try: + from .StringPainterV2 import StringPainterV2 + NODE_CLASS_MAPPINGS["StringPainterV2"] = StringPainterV2 + NODE_DISPLAY_NAME_MAPPINGS["StringPainterV2"] = "String Painter V2" +except ImportError: + print("Unable to import StringPainterV2. This node will not be available.") + +try: + from .FFXFADEORAMA import FFXFADEORAMA + NODE_CLASS_MAPPINGS["FFXFADEORAMA"] = FFXFADEORAMA + NODE_DISPLAY_NAME_MAPPINGS["FFXFADEORAMA"] = "FFX Fade-O-Rama" +except ImportError: + print("Unable to import FFXFADEORAMA. This node will not be available.") + +try: + from .ProjectFilePathNode import ProjectFilePathNode + NODE_CLASS_MAPPINGS["ProjectFilePathNode"] = ProjectFilePathNode + NODE_DISPLAY_NAME_MAPPINGS["ProjectFilePathNode"] = "Project File Path Generator" +except ImportError: + print("Unable to import ProjectFilePathNode. This node will not be available.") + +try: + from .CaptionsToPromptList import CaptionsToPromptList + NODE_CLASS_MAPPINGS["CaptionsToPromptList"] = CaptionsToPromptList + NODE_DISPLAY_NAME_MAPPINGS["CaptionsToPromptList"] = "Captions To Prompt List" +except ImportError: + print("Unable to import CaptionsToPromptList. This node will not be available.") + +try: + from .ImageSizeAdjusterV3 import ImageSizeAdjusterV3 + NODE_CLASS_MAPPINGS["ImageSizeAdjusterV3"] = ImageSizeAdjusterV3 + NODE_DISPLAY_NAME_MAPPINGS["ImageSizeAdjusterV3"] = "Image Size Adjuster V3" +except ImportError: + print("Unable to import ImageSizeAdjusterV3. This node will not be available.") + +try: + from .DJZLoadLatent import DJZLoadLatent + NODE_CLASS_MAPPINGS["DJZ-LoadLatent"] = DJZLoadLatent + NODE_DISPLAY_NAME_MAPPINGS["DJZ-LoadLatent"] = "DJZ Load Latent" +except ImportError: + print("Unable to import DJZ-LoadLatent. This node will not be available.") + +try: + from .DJZLoadLatentV2 import DJZLoadLatentV2 + NODE_CLASS_MAPPINGS["DJZ-LoadLatentV2"] = DJZLoadLatentV2 + NODE_DISPLAY_NAME_MAPPINGS["DJZ-LoadLatentV2"] = "DJZ Load Latent V2" +except ImportError: + print("Unable to import DJZ-LoadLatentV2. This node will not be available.") + +try: + from .DJZColorWheel import DJZColorWheel + NODE_CLASS_MAPPINGS["DJZColorWheel"] = DJZColorWheel + NODE_DISPLAY_NAME_MAPPINGS["DJZColorWheel"] = "DJZ Color Wheel" +except ImportError: + print("Unable to import DJZColorWheel. This node will not be available.") + +try: + from .DJZImageScaleToTotalPixels import DJZImageScaleToTotalPixels + NODE_CLASS_MAPPINGS["DJZImageScaleToTotalPixels"] = DJZImageScaleToTotalPixels + NODE_DISPLAY_NAME_MAPPINGS["DJZImageScaleToTotalPixels"] = "DJZ Scale to Total Pixels" +except ImportError: + print("Unable to import DJZImageScaleToTotalPixels. This node will not be available.") + +try: + from .SaveText import SaveText + NODE_CLASS_MAPPINGS["SaveText"] = SaveText + NODE_DISPLAY_NAME_MAPPINGS["SaveText"] = "Save Text" +except ImportError: + print("Unable to import SaveText. This node will not be available.") + +try: + from .LoadVideoBatchFrame import LoadVideoBatchFrame + NODE_CLASS_MAPPINGS["LoadVideoBatchFrame"] = LoadVideoBatchFrame + NODE_DISPLAY_NAME_MAPPINGS["LoadVideoBatchFrame"] = "Load Video Batch Frame" +except ImportError: + print("Unable to import LoadVideoBatchFrame. This node will not be available.") + +try: + from .BatchOffset import BatchOffset + NODE_CLASS_MAPPINGS["BatchOffset"] = BatchOffset + NODE_DISPLAY_NAME_MAPPINGS["BatchOffset"] = "Batch Offset" +except ImportError: + print("Unable to import BatchOffset. This node will not be available.") + +try: + from .DjzDatamosh import DJZDatamosh + NODE_CLASS_MAPPINGS["DJZDatamosh"] = DJZDatamosh + NODE_DISPLAY_NAME_MAPPINGS["DJZDatamosh"] = "DJZ Datamosh" +except ImportError: + print("Unable to import DJZDatamosh. This node will not be available.") + +try: + from .DJZDatamoshV2 import DJZDatamoshV2 + NODE_CLASS_MAPPINGS["DJZDatamoshV2"] = DJZDatamoshV2 + NODE_DISPLAY_NAME_MAPPINGS["DJZDatamoshV2"] = "DJZ Datamosh V2" +except ImportError: + print("Unable to import DJZDatamoshV2. This node will not be available.") + +try: + from .DjzDatamoshV3 import DjzDatamoshV3 + NODE_CLASS_MAPPINGS["DjzDatamoshV3"] = DjzDatamoshV3 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV3"] = "Djz Datamosh V3" +except ImportError: + print("Unable to import DjzDatamoshV3. This node will not be available.") + +try: + from .DjzDatamoshV4 import DjzDatamoshV4 + NODE_CLASS_MAPPINGS["DjzDatamoshV4"] = DjzDatamoshV4 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV4"] = "Djz Datamosh V4 (Style Transfer)" +except ImportError: + print("Unable to import DjzDatamoshV4. This node will not be available.") + +try: + from .DjzDatamoshV5 import DjzDatamoshV5 + NODE_CLASS_MAPPINGS["DjzDatamoshV5"] = DjzDatamoshV5 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV5"] = "Djz Datamosh V5 (Size Range)" +except ImportError: + print("Unable to import DjzDatamoshV5. This node will not be available.") + +try: + from .DjzDatamoshV6 import DjzDatamoshV6 + NODE_CLASS_MAPPINGS["DjzDatamoshV6"] = DjzDatamoshV6 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV6"] = "Djz Datamosh V6 (Pixel Sorting)" +except ImportError: + print("Unable to import DjzDatamoshV6. This node will not be available.") + +try: + from .DjzDatamoshV7 import DjzDatamoshV7 + NODE_CLASS_MAPPINGS["DjzDatamoshV7"] = DjzDatamoshV7 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV7"] = "Djz Pixel Sort V7 Advanced" +except ImportError: + print("Unable to import DjzDatamoshV7. This node will not be available.") + +try: + from .BatchThief import BatchThief + NODE_CLASS_MAPPINGS["BatchThief"] = BatchThief + NODE_DISPLAY_NAME_MAPPINGS["BatchThief"] = "Batch Thief" +except ImportError: + print("Unable to import BatchThief. This node will not be available.") + +try: + from .BatchRangeSwap import BatchRangeSwap + NODE_CLASS_MAPPINGS["BatchRangeSwap"] = BatchRangeSwap + NODE_DISPLAY_NAME_MAPPINGS["BatchRangeSwap"] = "Batch Range Swap" +except ImportError: + print("Unable to import BatchRangeSwap. This node will not be available.") + +try: + from .LoadVideoDirectory import LoadVideoDirectory + NODE_CLASS_MAPPINGS["LoadVideoDirectory"] = LoadVideoDirectory + NODE_DISPLAY_NAME_MAPPINGS["LoadVideoDirectory"] = "Load Video Directory" +except ImportError: + print("Unable to import LoadVideoDirectory. This node will not be available.") + +try: + from .BatchRangeInsert import BatchRangeInsert + NODE_CLASS_MAPPINGS["BatchRangeInsert"] = BatchRangeInsert + NODE_DISPLAY_NAME_MAPPINGS["BatchRangeInsert"] = "Batch Range Insert" +except ImportError: + print("Unable to import BatchRangeInsert. This node will not be available.") + +try: + from .SequentialNumberGenerator import SequentialNumberGenerator + NODE_CLASS_MAPPINGS["SequentialNumberGenerator"] = SequentialNumberGenerator + NODE_DISPLAY_NAME_MAPPINGS["SequentialNumberGenerator"] = "Sequential Number Generator" +except ImportError: + print("Unable to import SequentialNumberGenerator. This node will not be available.") + +try: + from .DinskyPlus import DinskyPlus + NODE_CLASS_MAPPINGS["DinskyPlus"] = DinskyPlus + NODE_DISPLAY_NAME_MAPPINGS["DinskyPlus"] = "Dinsky Plus Generator" +except ImportError: + print("Unable to import DinskyPlus. This node will not be available.") + +try: + from .DinskyPlusV2 import DinskyPlusV2 + NODE_CLASS_MAPPINGS["DinskyPlusV2"] = DinskyPlusV2 + NODE_DISPLAY_NAME_MAPPINGS["DinskyPlusV2"] = "Dinsky Plus Generator V2" +except ImportError: + print("Unable to import DinskyPlusV2. This node will not be available.") + +try: + from .TrianglesPlus import TrianglesPlus + NODE_CLASS_MAPPINGS["TrianglesPlus"] = TrianglesPlus + NODE_DISPLAY_NAME_MAPPINGS["TrianglesPlus"] = "Triangles Plus Generator" +except ImportError: + print("Unable to import TrianglesPlus. This node will not be available.") + +try: + from .TrianglesPlusV2 import TrianglesPlusV2 + NODE_CLASS_MAPPINGS["TrianglesPlusV2"] = TrianglesPlusV2 + NODE_DISPLAY_NAME_MAPPINGS["TrianglesPlusV2"] = "Triangles Plus Generator V2" +except ImportError: + print("Unable to import TrianglesPlusV2. This node will not be available.") + +try: + from .ParametricMeshGen import ParametricMeshGen + NODE_CLASS_MAPPINGS["ParametricMeshGen"] = ParametricMeshGen + NODE_DISPLAY_NAME_MAPPINGS["ParametricMeshGen"] = "Parametric Mesh Generator" +except ImportError: + print("Unable to import ParametricMeshGen. This node will not be available.") + +try: + from .ParametricMeshGenV2 import ParametricMeshGenV2 + NODE_CLASS_MAPPINGS["ParametricMeshGenV2"] = ParametricMeshGenV2 + NODE_DISPLAY_NAME_MAPPINGS["ParametricMeshGenV2"] = "Parametric Mesh Generator V2" +except ImportError: + print("Unable to import ParametricMeshGenV2. This node will not be available.") + + +try: + from .FractalGenerator import FractalGenerator + NODE_CLASS_MAPPINGS["FractalGenerator"] = FractalGenerator + NODE_DISPLAY_NAME_MAPPINGS["FractalGenerator"] = "Fractal Art Generator" +except ImportError: + print("Unable to import FractalGenerator. This node will not be available.") + +try: + from .FractalGeneratorV2 import FractalGeneratorV2 + NODE_CLASS_MAPPINGS["FractalGeneratorV2"] = FractalGeneratorV2 + NODE_DISPLAY_NAME_MAPPINGS["FractalGeneratorV2"] = "Fractal Art Generator V2" +except ImportError: + print("Unable to import FractalGeneratorV2. This node will not be available.") + +try: + from .FractalGeneratorV3 import FractalGeneratorV3 + NODE_CLASS_MAPPINGS["FractalGeneratorV3"] = FractalGeneratorV3 + NODE_DISPLAY_NAME_MAPPINGS["FractalGeneratorV3"] = "Fractal Gen Cuda" +except ImportError: + print("Unable to import FractalGeneratorV3. This node will not be available.") + +try: + from .DatasetWordcloud import DatasetWordcloud + NODE_CLASS_MAPPINGS["DatasetWordcloud"] = DatasetWordcloud + NODE_DISPLAY_NAME_MAPPINGS["DatasetWordcloud"] = "Dataset Wordcloud" +except ImportError: + print("Unable to import DatasetWordcloud. This node will not be available.") + +try: + from .LoadTextDirectory import LoadTextDirectory + NODE_CLASS_MAPPINGS["LoadTextDirectory"] = LoadTextDirectory + NODE_DISPLAY_NAME_MAPPINGS["LoadTextDirectory"] = "Load Text Directory" +except ImportError: + print("Unable to import LoadTextDirectory. This node will not be available.") + +try: + from .PromptInject import PromptInject + NODE_CLASS_MAPPINGS["PromptInject"] = PromptInject + NODE_DISPLAY_NAME_MAPPINGS["PromptInject"] = "Prompt Inject" +except ImportError: + print("Unable to import PromptInject. This node will not be available.") + +try: + from .PromptInjectV2 import PromptInjectV2 + NODE_CLASS_MAPPINGS["PromptInjectV2"] = PromptInjectV2 + NODE_DISPLAY_NAME_MAPPINGS["PromptInjectV2"] = "Prompt Inject V2" +except ImportError: + print("Unable to import PromptInjectV2. This node will not be available.") + +try: + from .VHS_Effect_v1 import VHS_Effect_v1 + NODE_CLASS_MAPPINGS["VHS_Effect_v1"] = VHS_Effect_v1 + NODE_DISPLAY_NAME_MAPPINGS["VHS_Effect_v1"] = "VHS Effect v1" +except ImportError: + print("Unable to import VHS_Effect_v1. This node will not be available.") + +try: + from .VHS_Effect_v2 import VHS_Effect_v2 + NODE_CLASS_MAPPINGS["VHS_Effect_v2"] = VHS_Effect_v2 + NODE_DISPLAY_NAME_MAPPINGS["VHS_Effect_v2"] = "VHS Effect v2" +except ImportError: + print("Unable to import VHS_Effect_v2. This node will not be available.") + +try: + from .AnamorphicEffect import AnamorphicEffect + NODE_CLASS_MAPPINGS["AnamorphicEffect"] = AnamorphicEffect + NODE_DISPLAY_NAME_MAPPINGS["AnamorphicEffect"] = "Anamorphic Lens Effect" +except ImportError: + print("Unable to import AnamorphicEffect. This node will not be available.") + +try: + from .Technicolor3Strip_v1 import Technicolor3Strip_v1 + NODE_CLASS_MAPPINGS["Technicolor3Strip_v1"] = Technicolor3Strip_v1 + NODE_DISPLAY_NAME_MAPPINGS["Technicolor3Strip_v1"] = "Technicolor 3-Strip v1" +except ImportError: + print("Unable to import Technicolor3Strip_v1. This node will not be available.") + +try: + from .Technicolor3Strip_v2 import Technicolor3Strip_v2 + NODE_CLASS_MAPPINGS["Technicolor3Strip_v2"] = Technicolor3Strip_v2 + NODE_DISPLAY_NAME_MAPPINGS["Technicolor3Strip_v2"] = "Technicolor 3-Strip v2" +except ImportError: + print("Unable to import Technicolor3Strip_v2. This node will not be available.") + +try: + from .PanavisionLensV2 import PanavisionLensV2 + NODE_CLASS_MAPPINGS["PanavisionLensV2"] = PanavisionLensV2 + NODE_DISPLAY_NAME_MAPPINGS["PanavisionLensV2"] = "Panavision Lens Effect V2" +except ImportError: + print("Unable to import PanavisionLensV2. This node will not be available.") + +try: + from .KinescopeEffectV1 import KinescopeEffectV1 + NODE_CLASS_MAPPINGS["KinescopeEffectV1"] = KinescopeEffectV1 + NODE_DISPLAY_NAME_MAPPINGS["KinescopeEffectV1"] = "Kinescope Effect V1" +except ImportError: + print("Unable to import KinescopeEffectV1. This node will not be available.") + +try: + from .VideoInterlaced import VideoInterlaced + NODE_CLASS_MAPPINGS["VideoInterlaced"] = VideoInterlaced + NODE_DISPLAY_NAME_MAPPINGS["VideoInterlaced"] = "Video Interlaced Upscaler" +except ImportError: + print("Unable to import VideoInterlaced. This node will not be available.") + +try: + from .StringChaos import StringChaos + NODE_CLASS_MAPPINGS["StringChaos"] = StringChaos + NODE_DISPLAY_NAME_MAPPINGS["StringChaos"] = "String Chaos Modes" +except ImportError: + print("Unable to import StringChaos. This node will not be available.") + +try: + from .StringMatch import StringMatch + NODE_CLASS_MAPPINGS["StringMatch"] = StringMatch + NODE_DISPLAY_NAME_MAPPINGS["StringMatch"] = "String Match" +except ImportError: + print("Unable to import StringMatch. This node will not be available.") + +try: + from .CombineAudio import CombineAudio + NODE_CLASS_MAPPINGS["CombineAudio"] = CombineAudio + NODE_DISPLAY_NAME_MAPPINGS["CombineAudio"] = "Combine Audio Tracks" +except ImportError: + print("Unable to import CombineAudio. This node will not be available.") + +try: + from .BlackBarsV1 import BlackBarsV1 + NODE_CLASS_MAPPINGS["BlackBarsV1"] = BlackBarsV1 + NODE_DISPLAY_NAME_MAPPINGS["BlackBarsV1"] = "Black Bars V1" +except ImportError: + print("Unable to import BlackBarsV1. This node will not be available.") + +try: + from .BlackBarsV2 import BlackBarsV2 + NODE_CLASS_MAPPINGS["BlackBarsV2"] = BlackBarsV2 + NODE_DISPLAY_NAME_MAPPINGS["BlackBarsV2"] = "Black Bars V2" +except ImportError: + print("Unable to import BlackBarsV2. This node will not be available.") + +try: + from .VideoInterlacedV2 import VideoInterlacedV2 + NODE_CLASS_MAPPINGS["VideoInterlacedV2"] = VideoInterlacedV2 + NODE_DISPLAY_NAME_MAPPINGS["VideoInterlacedV2"] = "Video Interlaced Upscaler V2" +except ImportError: + print("Unable to import VideoInterlacedV2. This node will not be available.") + +try: + from .VHS_Effect_V3 import VHS_Effect_V3 + NODE_CLASS_MAPPINGS["VHS_Effect_V3"] = VHS_Effect_V3 + NODE_DISPLAY_NAME_MAPPINGS["VHS_Effect_V3"] = "VHS Effect V3" +except ImportError: + print("Unable to import VHS_Effect_V3. This node will not be available.") + +try: + from .RetroVideoText import RetroVideoText + NODE_CLASS_MAPPINGS["RetroVideoText"] = RetroVideoText + NODE_DISPLAY_NAME_MAPPINGS["RetroVideoText"] = "Retro Video Text" +except ImportError: + print("Unable to import RetroVideoText. This node will not be available.") + +try: + from .NonSquarePixelsV1 import NonSquarePixelsV1 + NODE_CLASS_MAPPINGS["NonSquarePixelsV1"] = NonSquarePixelsV1 + NODE_DISPLAY_NAME_MAPPINGS["NonSquarePixelsV1"] = "Non-Square Pixels V1" +except ImportError: + print("Unable to import NonSquarePixelsV1. This node will not be available.") + +try: + from .BlackBarsV3 import BlackBarsV3 + NODE_CLASS_MAPPINGS["BlackBarsV3"] = BlackBarsV3 + NODE_DISPLAY_NAME_MAPPINGS["BlackBarsV3"] = "Black Bars V3" +except ImportError: + print("Unable to import BlackBarsV3. This node will not be available.") + +try: + from .VideoInterlaceGANV3 import VideoInterlaceGANV3 + NODE_CLASS_MAPPINGS["VideoInterlaceGANV3"] = VideoInterlaceGANV3 + NODE_DISPLAY_NAME_MAPPINGS["VideoInterlaceGANV3"] = "GAN Video Interlaced Upscaler V3" +except ImportError: + print("Unable to import VideoInterlaceGANV3. This node will not be available.") + + +try: + from .VideoInterlaceFastV4 import VideoInterlaceFastV4 + NODE_CLASS_MAPPINGS["VideoInterlaceFastV4"] = VideoInterlaceFastV4 + NODE_DISPLAY_NAME_MAPPINGS["VideoInterlaceFastV4"] = "Fast Video Interlaced Upscaler V4" +except ImportError: + print("Unable to import VideoInterlaceFastV4. This node will not be available.") + +try: + from .FilmGrainEffect import FilmGrainEffect + NODE_CLASS_MAPPINGS["FilmGrainEffect"] = FilmGrainEffect + NODE_DISPLAY_NAME_MAPPINGS["FilmGrainEffect"] = "Film Grain Effect (video)" +except ImportError: + print("Unable to import FilmGrainEffect. This node will not be available.") + +try: + from .FilmGrainEffect_v2 import FilmGrainEffect_v2 + NODE_CLASS_MAPPINGS["FilmGrainEffect_v2"] = FilmGrainEffect_v2 + NODE_DISPLAY_NAME_MAPPINGS["FilmGrainEffect_v2"] = "Film Grain Effect V2 (video)" +except ImportError: + print("Unable to import FilmGrainEffect_v2. This node will not be available.") + +try: + from .FishEyeEffect import FishEyeEffect + NODE_CLASS_MAPPINGS["FishEyeEffect"] = FishEyeEffect + NODE_DISPLAY_NAME_MAPPINGS["FishEyeEffect"] = "Fish Eye Effect" +except ImportError: + print("Unable to import FishEyeEffect. This node will not be available.") + +try: + from .ClassicFilmEffect import ClassicFilmEffect + NODE_CLASS_MAPPINGS["ClassicFilmEffect"] = ClassicFilmEffect + NODE_DISPLAY_NAME_MAPPINGS["ClassicFilmEffect"] = "Classic Film Effect" +except ImportError: + print("Unable to import ClassicFilmEffect. This node will not be available.") + +try: + from .VideoBitClamp import VideoBitClamp + NODE_CLASS_MAPPINGS["VideoBitClamp"] = VideoBitClamp + NODE_DISPLAY_NAME_MAPPINGS["VideoBitClamp"] = "Video Bit Clamp" +except ImportError: + print("Unable to import VideoBitClamp. This node will not be available.") + +try: + from .ThreeToneStyler import ThreeToneStyler + NODE_CLASS_MAPPINGS["ThreeToneStyler"] = ThreeToneStyler + NODE_DISPLAY_NAME_MAPPINGS["ThreeToneStyler"] = "Three Tone Styler" +except ImportError: + print("Unable to import ThreeToneStyler. This node will not be available.") + +try: + from .PromptDupeRemover import PromptDupeRemover + NODE_CLASS_MAPPINGS["PromptDupeRemover"] = PromptDupeRemover + NODE_DISPLAY_NAME_MAPPINGS["PromptDupeRemover"] = "Prompt Dupe-Remover" +except ImportError: + print("Unable to import PromptDupeRemover. This node will not be available.") + +try: + from .ZenkaiPromptV3 import ZenkaiPromptV3 + NODE_CLASS_MAPPINGS["ZenkaiPromptV3"] = ZenkaiPromptV3 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPromptV3"] = "Zenkai Prompt V3" +except ImportError: + print("Unable to import ZenkaiPromptV3. This node will not be available.") + +try: + from .DjzDatamoshV8 import DjzDatamoshV8 + NODE_CLASS_MAPPINGS["DjzDatamoshV8"] = DjzDatamoshV8 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatamoshV8"] = "Djz Pixel Sort V8 Advanced" +except ImportError: + print("Unable to import DjzDatamoshV8. This node will not be available.") + +try: + from .ImageInterleavedUpscaler import ImageInterleavedUpscaler + NODE_CLASS_MAPPINGS["ImageInterleavedUpscaler"] = ImageInterleavedUpscaler + NODE_DISPLAY_NAME_MAPPINGS["ImageInterleavedUpscaler"] = "Image Interleaved Upscaler (720p to 1080i)" +except ImportError: + print("Unable to import ImageInterleavedUpscaler. This node will not be available.") + +try: + from .WaveletDecompose import WaveletDecompose + NODE_CLASS_MAPPINGS["WaveletDecompose"] = WaveletDecompose + NODE_DISPLAY_NAME_MAPPINGS["WaveletDecompose"] = "Wavelet Decomposition" +except ImportError: + print("Unable to import WaveletDecompose. This node will not be available.") + +try: + from .WaveletCompose import WaveletCompose + NODE_CLASS_MAPPINGS["WaveletCompose"] = WaveletCompose + NODE_DISPLAY_NAME_MAPPINGS["WaveletCompose"] = "Wavelet Composition" +except ImportError: + print("Unable to import WaveletCompose. This node will not be available.") + +try: + from .JitterEffect import JitterEffect + NODE_CLASS_MAPPINGS["JitterEffect"] = JitterEffect + NODE_DISPLAY_NAME_MAPPINGS["JitterEffect"] = "Jitter Effect" +except ImportError: + print("Unable to import JitterEffect. This node will not be available.") + +try: + from .FishEyeV2 import FishEyeV2 + NODE_CLASS_MAPPINGS["FishEyeV2"] = FishEyeV2 + NODE_DISPLAY_NAME_MAPPINGS["FishEyeV2"] = "Fish Eye Effects V2" +except ImportError: + print("Unable to import FishEyeV2. This node will not be available.") + +try: + from .PromptDupeRemoverV2 import PromptDupeRemoverV2 + NODE_CLASS_MAPPINGS["PromptDupeRemoverV2"] = PromptDupeRemoverV2 + NODE_DISPLAY_NAME_MAPPINGS["PromptDupeRemoverV2"] = "Prompt Dupe Remover V2" +except ImportError: + print("Unable to import PromptDupeRemoverV2. This node will not be available.") + +try: + from .ImageInterleavedUpscalerV2 import ImageInterleavedUpscalerV2 + NODE_CLASS_MAPPINGS["ImageInterleavedUpscalerV2"] = ImageInterleavedUpscalerV2 + NODE_DISPLAY_NAME_MAPPINGS["ImageInterleavedUpscalerV2"] = "Image Interleaved Upscaler V2" +except ImportError: + print("Unable to import ImageInterleavedUpscalerV2. This node will not be available.") + +try: + from .NoiseFactory import NoiseFactory + NODE_CLASS_MAPPINGS["NoiseFactory"] = NoiseFactory + NODE_DISPLAY_NAME_MAPPINGS["NoiseFactory"] = "Noise Factory" +except ImportError: + print("Unable to import NoiseFactory. This node will not be available.") + +try: + from .NoiseFactoryV2 import NoiseFactoryV2 + NODE_CLASS_MAPPINGS["NoiseFactoryV2"] = NoiseFactoryV2 + NODE_DISPLAY_NAME_MAPPINGS["NoiseFactoryV2"] = "Noise Factory V2" +except ImportError: + print("Unable to import NoiseFactoryV2. This node will not be available.") + +try: + from .NoiseFactoryV3 import NoiseFactoryV3 + NODE_CLASS_MAPPINGS["NoiseFactoryV3"] = NoiseFactoryV3 + NODE_DISPLAY_NAME_MAPPINGS["NoiseFactoryV3"] = "Noise Factory V3" +except ImportError: + print("Unable to import NoiseFactoryV3. This node will not be available.") + +try: + from .WinampViz import WinampViz + NODE_CLASS_MAPPINGS["WinampViz"] = WinampViz + NODE_DISPLAY_NAME_MAPPINGS["WinampViz"] = "🦙 Winamp Viz" +except ImportError: + print("Unable to import WinampViz. This node will not be available.") + +try: + from .WinampVizV2 import WinampVizV2 + NODE_CLASS_MAPPINGS["WinampVizV2"] = WinampVizV2 + NODE_DISPLAY_NAME_MAPPINGS["WinampVizV2"] = "🦙 Winamp Viz V2" +except ImportError: + print("Unable to import WinampVizV2. This node will not be available.") + +try: + from .VideoNoiseFactory import VideoNoiseFactory + NODE_CLASS_MAPPINGS["VideoNoiseFactory"] = VideoNoiseFactory + NODE_DISPLAY_NAME_MAPPINGS["VideoNoiseFactory"] = "Video Noise Factory" +except ImportError: + print("Unable to import VideoNoiseFactory. This node will not be available.") + +try: + from .ZenkaiPromptV4 import ZenkaiPromptV4 + NODE_CLASS_MAPPINGS["ZenkaiPromptV4"] = ZenkaiPromptV4 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPromptV4"] = "Zenkai Prompt V4" +except ImportError: + print("Unable to import ZenkaiPromptV4. This node will not be available.") + +try: + from .VideoTimecode import VideoTimecode + NODE_CLASS_MAPPINGS["VideoTimecode"] = VideoTimecode + NODE_DISPLAY_NAME_MAPPINGS["VideoTimecode"] = "Video Timecode" +except ImportError: + print("Unable to import VideoTimecode. This node will not be available.") + +try: + from .UncleanSpeech import UncleanSpeech + NODE_CLASS_MAPPINGS["UncleanSpeech"] = UncleanSpeech + NODE_DISPLAY_NAME_MAPPINGS["UncleanSpeech"] = "Unclean Speech" +except ImportError: + print("Unable to import UncleanSpeech. This node will not be available.") + +try: + from .LoadVideoDirectoryV2 import LoadVideoDirectoryV2 + NODE_CLASS_MAPPINGS["LoadVideoDirectoryV2"] = LoadVideoDirectoryV2 + NODE_DISPLAY_NAME_MAPPINGS["LoadVideoDirectoryV2"] = "Load Video Directory V2" +except ImportError: + print("Unable to import LoadVideoDirectoryV2. This node will not be available.") + +try: + from .VGA_Effect_v1 import VGA_Effect_v1 + NODE_CLASS_MAPPINGS["VGA_Effect_v1"] = VGA_Effect_v1 + NODE_DISPLAY_NAME_MAPPINGS["VGA_Effect_v1"] = "VGA Effect v1" +except ImportError: + print("Unable to import VGA_Effect_v1. This node will not be available.") + +try: + from .VideoChromaticAberration import VideoChromaticAberration + NODE_CLASS_MAPPINGS["VideoChromaticAberration"] = VideoChromaticAberration + NODE_DISPLAY_NAME_MAPPINGS["VideoChromaticAberration"] = "Video Chromatic Aberration" +except ImportError: + print("Unable to import VideoChromaticAberration. This node will not be available.") + +try: + from .CRT_Effect_v1 import CRT_Effect_v1 + NODE_CLASS_MAPPINGS["CRT_Effect_v1"] = CRT_Effect_v1 + NODE_DISPLAY_NAME_MAPPINGS["CRT_Effect_v1"] = "CRT Effect v1" +except ImportError: + print("Unable to import CRT_Effect_v1. This node will not be available.") + +try: + from .MotionBlending import MotionBlending + NODE_CLASS_MAPPINGS["MotionBlending"] = MotionBlending + NODE_DISPLAY_NAME_MAPPINGS["MotionBlending"] = "Motion Blending" +except ImportError: + print("Unable to import MotionBlending. This node will not be available.") + +try: + from .HalationBloom import HalationBloom + NODE_CLASS_MAPPINGS["HalationBloom"] = HalationBloom + NODE_DISPLAY_NAME_MAPPINGS["HalationBloom"] = "Halation Bloom" +except ImportError: + print("Unable to import HalationBloom. This node will not be available.") + +try: + from .VideoFilmDamage import VideoFilmDamage + NODE_CLASS_MAPPINGS["VideoFilmDamage"] = VideoFilmDamage + NODE_DISPLAY_NAME_MAPPINGS["VideoFilmDamage"] = "Video Film Damage" +except ImportError: + print("Unable to import VideoFilmDamage. This node will not be available.") + +try: + from .FilmGateWeave import FilmGateWeave + NODE_CLASS_MAPPINGS["FilmGateWeave"] = FilmGateWeave + NODE_DISPLAY_NAME_MAPPINGS["FilmGateWeave"] = "Film Gate Weave" +except ImportError: + print("Unable to import FilmGateWeave. This node will not be available.") + +try: + from .VideoVignettingV1 import VideoVignettingV1 + NODE_CLASS_MAPPINGS["VideoVignettingV1"] = VideoVignettingV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoVignettingV1"] = "Video VignettingV1" +except ImportError: + print("Unable to import VideoVignettingV1. This node will not be available.") + +try: + from .VideoTemperatureV1 import VideoTemperatureV1 + NODE_CLASS_MAPPINGS["VideoTemperatureV1"] = VideoTemperatureV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoTemperatureV1"] = "Video Temperature V1" +except ImportError: + print("Unable to import VideoTemperatureV1. This node will not be available.") + +try: + from .KeyframeBasedUpscalerV1 import KeyframeBasedUpscalerV1 + NODE_CLASS_MAPPINGS["KeyframeBasedUpscalerV1"] = KeyframeBasedUpscalerV1 + NODE_DISPLAY_NAME_MAPPINGS["KeyframeBasedUpscalerV1"] = "Keyframe Based Upscaler V1" +except ImportError: + print("Unable to import KeyframeBasedUpscalerV1. This node will not be available.") + +try: + from .VideoRingPainter import VideoRingPainter + NODE_CLASS_MAPPINGS["VideoRingPainter"] = VideoRingPainter + NODE_DISPLAY_NAME_MAPPINGS["VideoRingPainter"] = "Video Ring Painter" +except ImportError: + print("Unable to import VideoRingPainter. This node will not be available.") + +try: + from .LensLeaks import LensLeaks + NODE_CLASS_MAPPINGS["LensLeaks"] = LensLeaks + NODE_DISPLAY_NAME_MAPPINGS["LensLeaks"] = "Lens Leaks" +except ImportError: + print("Unable to import LensLeaks. This node will not be available.") + +try: + from .ScreensaverGenerator import ScreensaverGenerator + NODE_CLASS_MAPPINGS["ScreensaverGenerator"] = ScreensaverGenerator + NODE_DISPLAY_NAME_MAPPINGS["ScreensaverGenerator"] = "Screensaver Generator" +except ImportError: + print("Unable to import ScreensaverGenerator. This node will not be available.") + +try: + from .DjzDatabendingV1 import DjzDatabendingV1 + NODE_CLASS_MAPPINGS["DjzDatabendingV1"] = DjzDatabendingV1 + NODE_DISPLAY_NAME_MAPPINGS["DjzDatabendingV1"] = "Djz Databending V1" +except ImportError: + print("Unable to import DjzDatabendingV1. This node will not be available.") + +try: + from .VideoTrails import VideoTrails + NODE_CLASS_MAPPINGS["VideoTrails"] = VideoTrails + NODE_DISPLAY_NAME_MAPPINGS["VideoTrails"] = "Video Trails" +except ImportError: + print("Unable to import VideoTrails. This node will not be available.") + +try: + from .VideoTrailsV2 import VideoTrailsV2 + NODE_CLASS_MAPPINGS["VideoTrailsV2"] = VideoTrailsV2 + NODE_DISPLAY_NAME_MAPPINGS["VideoTrailsV2"] = "Video Trails V2" +except ImportError: + print("Unable to import VideoTrailsV2. This node will not be available.") + +try: + from .ScreensaverGeneratorV2 import ScreensaverGeneratorV2 + NODE_CLASS_MAPPINGS["ScreensaverGeneratorV2"] = ScreensaverGeneratorV2 + NODE_DISPLAY_NAME_MAPPINGS["ScreensaverGeneratorV2"] = "Screensaver Generator V2" +except ImportError: + print("Unable to import ScreensaverGeneratorV2. This node will not be available.") + +try: + from .VideoMazeV1 import VideoMazeV1 + NODE_CLASS_MAPPINGS["VideoMazeV1"] = VideoMazeV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoMazeV1"] = "Video Maze V1" +except ImportError: + print("Unable to import VideoMazeV1. This node will not be available.") + +try: + from .VideoMazeV2 import VideoMazeV2 + NODE_CLASS_MAPPINGS["VideoMazeV2"] = VideoMazeV2 + NODE_DISPLAY_NAME_MAPPINGS["VideoMazeV2"] = "Video Maze V2" +except ImportError: + print("Unable to import VideoMazeV2. This node will not be available.") + +try: + from .VideoCubeV1 import VideoCubeV1 + NODE_CLASS_MAPPINGS["VideoCubeV1"] = VideoCubeV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoCubeV1"] = "Video Cube V1" +except ImportError: + print("Unable to import VideoCubeV1. This node will not be available.") + +try: + from .VideoCorridorV1 import VideoCorridorV1 + NODE_CLASS_MAPPINGS["VideoCorridorV1"] = VideoCorridorV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoCorridorV1"] = "Video Corridor V1" +except ImportError: + print("Unable to import VideoCorridorV1. This node will not be available.") + +try: + from .CathodeRayEffect import CathodeRayEffect + NODE_CLASS_MAPPINGS["CathodeRayEffect"] = CathodeRayEffect + NODE_DISPLAY_NAME_MAPPINGS["CathodeRayEffect"] = "Cathode Ray Effect" +except ImportError: + print("Unable to import CathodeRayEffect. This node will not be available.") + +try: + from .GSL_Filter_V1 import GSL_Filter_V1 + NODE_CLASS_MAPPINGS["GSL_Filter_V1"] = GSL_Filter_V1 + NODE_DISPLAY_NAME_MAPPINGS["GSL_Filter_V1"] = "GSL Filter v1" +except ImportError: + print("Unable to import GSL_Filter_V1. This node will not be available.") + +try: + from .BatchAlphaComposite import BatchAlphaComposite + NODE_CLASS_MAPPINGS["BatchAlphaComposite"] = BatchAlphaComposite + NODE_DISPLAY_NAME_MAPPINGS["BatchAlphaComposite"] = "Batch Alpha Composite" +except ImportError: + print("Unable to import BatchAlphaComposite. This node will not be available.") + +try: + from .DeadPixelEffect import DeadPixelEffect + NODE_CLASS_MAPPINGS["DeadPixelEffect"] = DeadPixelEffect + NODE_DISPLAY_NAME_MAPPINGS["DeadPixelEffect"] = "Dead Pixel Effect" +except ImportError: + print("Unable to import DeadPixelEffect. This node will not be available.") + +try: + from .ScreensaverGeneratorV3 import ScreensaverGeneratorV3 + NODE_CLASS_MAPPINGS["ScreensaverGeneratorV3"] = ScreensaverGeneratorV3 + NODE_DISPLAY_NAME_MAPPINGS["ScreensaverGeneratorV3"] = "Screensaver Generator V3" +except ImportError: + print("Unable to import ScreensaverGeneratorV3. This node will not be available.") + +try: + from .VideoPyramidV1 import VideoPyramidV1 + NODE_CLASS_MAPPINGS["VideoPyramidV1"] = VideoPyramidV1 + NODE_DISPLAY_NAME_MAPPINGS["VideoPyramidV1"] = "🎆 Video Pyramid Generator" +except ImportError: + print("Unable to import VideoPyramidV1. This node will not be available.") + +try: + from .DepthBasedPixelization import DepthBasedPixelization + NODE_CLASS_MAPPINGS["DepthBasedPixelization"] = DepthBasedPixelization + NODE_DISPLAY_NAME_MAPPINGS["DepthBasedPixelization"] = "Depth-Based Pixelization" +except ImportError: + print("Unable to import DepthBasedPixelization. This node will not be available.") + +try: + from .ThinkSeeker import ThinkSeeker + NODE_CLASS_MAPPINGS["ThinkSeeker"] = ThinkSeeker + NODE_DISPLAY_NAME_MAPPINGS["ThinkSeeker"] = "Think Tag Seeker" +except ImportError: + print("Unable to import ThinkSeeker. This node will not be available.") + +try: + from .BracketCleaner import BracketCleaner + NODE_CLASS_MAPPINGS["BracketCleaner"] = BracketCleaner + NODE_DISPLAY_NAME_MAPPINGS["BracketCleaner"] = "BracketCleaner" +except ImportError: + print("Unable to import BracketCleaner. This node will not be available.") + +try: + from .PromptCleanerV2 import PromptCleanerV2 + NODE_CLASS_MAPPINGS["PromptCleanerV2"] = PromptCleanerV2 + NODE_DISPLAY_NAME_MAPPINGS["PromptCleanerV2"] = "Prompt Cleaner V2" +except ImportError: + print("Unable to import PromptCleanerV2. This node will not be available.") + +try: + from .ZenkaiPoseMap import ZenkaiPoseMap + NODE_CLASS_MAPPINGS["ZenkaiPoseMap"] = ZenkaiPoseMap + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPoseMap"] = "Zenkai Pose Map" +except ImportError: + print("Unable to import ZenkaiPoseMap. This node will not be available.") + +try: + from .ZenkaiVideoPose import ZenkaiVideoPose + NODE_CLASS_MAPPINGS["ZenkaiVideoPose"] = ZenkaiVideoPose + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiVideoPose"] = "Zenkai Video Pose" +except ImportError: + print("Unable to import ZenkaiVideoPose. This node will not be available.") + +try: + from .VoiceEffects import VoiceEffects + NODE_CLASS_MAPPINGS["VoiceEffects"] = VoiceEffects + NODE_DISPLAY_NAME_MAPPINGS["VoiceEffects"] = "🎤 Voice Effects" +except ImportError: + print("Unable to import VoiceEffects. This node will not be available.") + +try: + from .VoiceEffects2 import VoiceEffects2 + NODE_CLASS_MAPPINGS["VoiceEffects2"] = VoiceEffects2 + NODE_DISPLAY_NAME_MAPPINGS["VoiceEffects2"] = "🎤 Voice Effects 2" +except ImportError: + print("Unable to import VoiceEffects2. This node will not be available.") + +try: + from .ZenkaiImagePromptV1 import ZenkaiImagePromptV1 + NODE_CLASS_MAPPINGS["ZenkaiImagePromptV1"] = ZenkaiImagePromptV1 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiImagePromptV1"] = "Zenkai Image Prompt V1" +except ImportError: + print("Unable to import ZenkaiImagePromptV1. This node will not be available.") + +try: + from .PromptInjectV2 import PromptInjectV2 + NODE_CLASS_MAPPINGS["PromptInjectV2"] = PromptInjectV2 + NODE_DISPLAY_NAME_MAPPINGS["PromptInjectV2"] = "Prompt Inject V2" +except ImportError: + print("Unable to import PromptInjectV2. This node will not be available.") + +try: + from .ZenkaiPromptV5 import ZenkaiPromptV5 + NODE_CLASS_MAPPINGS["ZenkaiPromptV5"] = ZenkaiPromptV5 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiPromptV5"] = "Zenkai Prompt V5" +except ImportError: + print("Unable to import ZenkaiPromptV5. This node will not be available.") + +try: + from .ZenkaiImagePromptV2 import ZenkaiImagePromptV2 + NODE_CLASS_MAPPINGS["ZenkaiImagePromptV2"] = ZenkaiImagePromptV2 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiImagePromptV2"] = "Zenkai Image Prompt V2" +except ImportError: + print("Unable to import ZenkaiImagePromptV2. This node will not be available.") + +try: + from .ProjectFolderPathNode import ProjectFolderPathNode + NODE_CLASS_MAPPINGS["ProjectFolderPathNode"] = ProjectFolderPathNode + NODE_DISPLAY_NAME_MAPPINGS["ProjectFolderPathNode"] = "Project Folder Path Node" +except ImportError: + print("Unable to import ProjectFolderPathNode. This node will not be available.") + +try: + from .Zenkai_IMPv1 import Zenkai_IMPv1 + NODE_CLASS_MAPPINGS["Zenkai_IMPv1"] = Zenkai_IMPv1 + NODE_DISPLAY_NAME_MAPPINGS["Zenkai_IMPv1"] = "Zenkai IMP v1" +except ImportError: + print("Unable to import Zenkai_IMPv1. This node will not be available.") + +try: + from .ZenkaiControlPromptV1 import ZenkaiControlPromptV1 + NODE_CLASS_MAPPINGS["ZenkaiControlPromptV1"] = ZenkaiControlPromptV1 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiControlPromptV1"] = "Zenkai Control Prompt V1" +except ImportError: + print("Unable to import ZenkaiControlPromptV1. This node will not be available.") + +try: + from .ZenkaiControlPromptV2 import ZenkaiControlPromptV2 + NODE_CLASS_MAPPINGS["ZenkaiControlPromptV2"] = ZenkaiControlPromptV2 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiControlPromptV2"] = "Zenkai Control Prompt V2" +except ImportError: + print("Unable to import ZenkaiControlPromptV2. This node will not be available.") + +try: + from .ZenkaiDepthPrompt import ZenkaiDepthPrompt + NODE_CLASS_MAPPINGS["ZenkaiDepthPrompt"] = ZenkaiDepthPrompt + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiDepthPrompt"] = "Zenkai Depth Prompt" +except ImportError: + print("Unable to import ZenkaiDepthPrompt. This node will not be available.") + +try: + from .VideoText import VideoText + NODE_CLASS_MAPPINGS["VideoText"] = VideoText + NODE_DISPLAY_NAME_MAPPINGS["VideoText"] = "Video Text" +except ImportError: + print("Unable to import VideoText. This node will not be available.") + +try: + from .VideoTextV2 import VideoTextV2 + NODE_CLASS_MAPPINGS["VideoTextV2"] = VideoTextV2 + NODE_DISPLAY_NAME_MAPPINGS["VideoTextV2"] = "Video Text V2" +except ImportError: + print("Unable to import VideoTextV2. This node will not be available.") + +try: + from .BorderCompositeAlpha import BorderCompositeAlpha + NODE_CLASS_MAPPINGS["BorderCompositeAlpha"] = BorderCompositeAlpha + NODE_DISPLAY_NAME_MAPPINGS["BorderCompositeAlpha"] = "Border Composite Alpha" +except ImportError: + print("Unable to import BorderCompositeAlpha. This node will not be available.") + +try: + from .djzTiling import djzTiling + NODE_CLASS_MAPPINGS["djzTiling"] = djzTiling + NODE_DISPLAY_NAME_MAPPINGS["djzTiling"] = "DJZ Tiling" +except ImportError: + print("Unable to import djzTiling. This node will not be available.") + +try: + from .djzTilingV2 import djzTilingV2 + NODE_CLASS_MAPPINGS["djzTilingV2"] = djzTilingV2 + NODE_DISPLAY_NAME_MAPPINGS["djzTilingV2"] = "DJZ Tiling V2" +except ImportError: + print("Unable to import djzTilingV2. This node will not be available.") + + + +try: + from .ZenkaiSceneVideoV1 import ZenkaiSceneVideoV1 + NODE_CLASS_MAPPINGS["ZenkaiSceneVideoV1"] = ZenkaiSceneVideoV1 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiSceneVideoV1"] = "Zenkai Scene Video V1" +except ImportError: + print("Unable to import ZenkaiSceneVideoV1. This node will not be available.") + +try: + from .ZenkaiAmbienceAudioV1 import ZenkaiAmbienceAudioV1 + NODE_CLASS_MAPPINGS["ZenkaiAmbienceAudioV1"] = ZenkaiAmbienceAudioV1 + NODE_DISPLAY_NAME_MAPPINGS["ZenkaiAmbienceAudioV1"] = "Zenkai Ambience Audio V1" +except ImportError: + print("Unable to import ZenkaiAmbienceAudioV1. This node will not be available.") + +try: + from .ZenakiVideoPromptV1 import ZenakiVideoPromptV1 + NODE_CLASS_MAPPINGS["ZenakiVideoPromptV1"] = ZenakiVideoPromptV1 + NODE_DISPLAY_NAME_MAPPINGS["ZenakiVideoPromptV1"] = "Zenaki Video Prompt V1" +except ImportError: + print("Unable to import ZenakiVideoPromptV1. This node will not be available.") + +try: + from .PartTimer import PartTimer + NODE_CLASS_MAPPINGS["PartTimer"] = PartTimer + NODE_DISPLAY_NAME_MAPPINGS["PartTimer"] = "Part Timer (Stopwatch)" +except ImportError: + print("Unable to import PartTimer. This node will not be available.") + +try: + from .DJZ_ParallaxV1 import DJZ_ParallaxV1 + NODE_CLASS_MAPPINGS["DJZ_ParallaxV1"] = DJZ_ParallaxV1 + NODE_DISPLAY_NAME_MAPPINGS["DJZ_ParallaxV1"] = "DJZ Parallax V1" +except ImportError: + print("Unable to import DJZ_ParallaxV1. This node will not be available.") + + +__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] diff --git a/docs/hel-892/latent-reference/djz__pyproject.toml b/docs/hel-892/latent-reference/djz__pyproject.toml new file mode 100644 index 00000000..4907608d --- /dev/null +++ b/docs/hel-892/latent-reference/djz__pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "djz-nodes" +description = "AspectSize and 100 more nodes" +version = "2.2.2" +license = {file = "LICENSE"} +dependencies = ["rtree", "trimesh", "wordcloud", "matplotlib", "opencv-python", "pydub>=0.25.1", "ffmpeg-python>=0.2.0", "opensimplex", "moderngl"] + +[project.urls] +Repository = "https://github.com/MushroomFleet/DJZ-Nodes" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "driftjohnson" +DisplayName = "DJZ-Nodes" +Icon = "" diff --git a/docs/hel-892/latent-reference/sources.json b/docs/hel-892/latent-reference/sources.json new file mode 100644 index 00000000..9a3b7502 --- /dev/null +++ b/docs/hel-892/latent-reference/sources.json @@ -0,0 +1,124 @@ +{ + "sources": [ + { + "id": "djz", + "file": "__init__.py", + "local_file": "djz____init__.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb" + }, + { + "id": "djz", + "file": "DJZLoadLatent.py", + "local_file": "djz__DJZLoadLatent.py", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab" + }, + { + "id": "core57", + "file": "nodes.py", + "local_file": "core57__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36" + }, + { + "id": "core57", + "file": "LICENSE", + "local_file": "core57__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE", + "commit": "b0338e930bbc1f9d01f005f224573d5994732932", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "id": "core68", + "file": "nodes.py", + "local_file": "core68__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3" + }, + { + "id": "core68", + "file": "comfy/sd.py", + "local_file": "core68__comfy__sd.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2" + }, + { + "id": "core68", + "file": "LICENSE", + "local_file": "core68__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "id": "vhs", + "file": "videohelpersuite/nodes.py", + "local_file": "vhs__videohelpersuite__nodes.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365" + }, + { + "id": "vhs", + "file": "videohelpersuite/utils.py", + "local_file": "vhs__videohelpersuite__utils.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504" + }, + { + "id": "vhs", + "file": "video_formats/h264-mp4.json", + "local_file": "vhs__video_formats__h264-mp4.json", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8" + }, + { + "id": "vhs", + "file": "web/js/VHS.core.js", + "local_file": "vhs__web__js__VHS.core.js", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e" + }, + { + "id": "vhs", + "file": "__init__.py", + "local_file": "vhs____init__.py", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/__init__.py", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f" + }, + { + "id": "vhs", + "file": "LICENSE", + "local_file": "vhs__LICENSE", + "url": "https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE", + "commit": "8e4d79471bf1952154768e8435a9300077b534fa", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "id": "djz", + "file": "pyproject.toml", + "local_file": "djz__pyproject.toml", + "url": "https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml", + "commit": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", + "sha256": "34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5" + }, + { + "id": "core68", + "file": "folder_paths.py", + "local_file": "core68__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py", + "commit": "265adad858e1f31b66cd3523a02b16f5d34ced52", + "sha256": "df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a" + } + ] +} diff --git a/docs/hel-892/latent-reference/vhs__LICENSE b/docs/hel-892/latent-reference/vhs__LICENSE new file mode 100644 index 00000000..f288702d --- /dev/null +++ b/docs/hel-892/latent-reference/vhs__LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/docs/hel-892/latent-reference/vhs____init__.py b/docs/hel-892/latent-reference/vhs____init__.py new file mode 100644 index 00000000..9fa995f0 --- /dev/null +++ b/docs/hel-892/latent-reference/vhs____init__.py @@ -0,0 +1,9 @@ +from .videohelpersuite.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +import folder_paths +from .videohelpersuite.server import server +from .videohelpersuite import documentation +from .videohelpersuite import latent_preview + +WEB_DIRECTORY = "./web" +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] +documentation.format_descriptions(NODE_CLASS_MAPPINGS) diff --git a/docs/hel-892/latent-reference/vhs__video_formats__h264-mp4.json b/docs/hel-892/latent-reference/vhs__video_formats__h264-mp4.json new file mode 100644 index 00000000..89d290c9 --- /dev/null +++ b/docs/hel-892/latent-reference/vhs__video_formats__h264-mp4.json @@ -0,0 +1,15 @@ +{ + "main_pass": + [ + "-n", "-c:v", "libx264", + "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le"]], + "-crf", ["crf","INT", {"default": 19, "min": 0, "max": 100, "step": 1}], + "-vf", "scale=out_color_matrix=bt709", + "-color_range", "tv", "-colorspace", "bt709", "-color_primaries", "bt709", "-color_trc", "bt709" + ], + "fake_trc": "bt709", + "audio_pass": ["-c:a", "aac"], + "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}], + "trim_to_audio": ["trim_to_audio", "BOOLEAN", {"default": false}], + "extension": "mp4" +} diff --git a/docs/hel-892/latent-reference/vhs__videohelpersuite__nodes.py b/docs/hel-892/latent-reference/vhs__videohelpersuite__nodes.py new file mode 100644 index 00000000..a7e67449 --- /dev/null +++ b/docs/hel-892/latent-reference/vhs__videohelpersuite__nodes.py @@ -0,0 +1,1110 @@ +import os +import sys +import json +import subprocess +import numpy as np +import re +import datetime +from typing import List +import torch +from PIL import Image, ExifTags +from PIL.PngImagePlugin import PngInfo +from pathlib import Path +from string import Template +import itertools +import functools + +import folder_paths +from .logger import logger +from .image_latent_nodes import * +from .load_video_nodes import LoadVideoUpload, LoadVideoPath, LoadVideoFFmpegUpload, LoadVideoFFmpegPath, LoadImagePath +from .load_images_nodes import LoadImagesFromDirectoryUpload, LoadImagesFromDirectoryPath +from .batched_nodes import VAEEncodeBatched, VAEDecodeBatched +from .utils import ffmpeg_path, get_audio, hash_path, validate_path, requeue_workflow, \ + gifski_path, calculate_file_hash, strip_path, try_download_video, is_url, \ + imageOrLatent, BIGMAX, merge_filter_args, ENCODE_ARGS, floatOrInt, cached, \ + ContainsAll +from comfy.utils import ProgressBar + +if 'VHS_video_formats' not in folder_paths.folder_names_and_paths: + folder_paths.folder_names_and_paths["VHS_video_formats"] = ((),{".json"}) +if len(folder_paths.folder_names_and_paths['VHS_video_formats'][1]) == 0: + folder_paths.folder_names_and_paths["VHS_video_formats"][1].add(".json") +audio_extensions = ['mp3', 'mp4', 'wav', 'ogg'] + +def flatten_list(l): + ret = [] + for e in l: + if isinstance(e, list): + ret.extend(e) + else: + ret.append(e) + return ret + +def iterate_format(video_format, for_widgets=True): + """Provides an iterator over widgets, or arguments""" + def indirector(cont, index): + if isinstance(cont[index], list) and (not for_widgets + or len(cont[index])> 1 and not isinstance(cont[index][1], dict)): + inp = yield cont[index] + if inp is not None: + cont[index] = inp + yield + for k in video_format: + if k == "extra_widgets": + if for_widgets: + yield from video_format["extra_widgets"] + elif k.endswith("_pass"): + for i in range(len(video_format[k])): + yield from indirector(video_format[k], i) + if not for_widgets: + video_format[k] = flatten_list(video_format[k]) + else: + yield from indirector(video_format, k) + +base_formats_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "video_formats") +@cached(5) +def get_video_formats(): + format_files = {} + for format_name in folder_paths.get_filename_list("VHS_video_formats"): + format_files[format_name] = folder_paths.get_full_path("VHS_video_formats", format_name) + for item in os.scandir(base_formats_dir): + if not item.is_file() or not item.name.endswith('.json'): + continue + format_files[item.name[:-5]] = item.path + formats = [] + format_widgets = {} + for format_name, path in format_files.items(): + with open(path, 'r') as stream: + video_format = json.load(stream) + if "gifski_pass" in video_format and gifski_path is None: + #Skip format + continue + widgets = list(iterate_format(video_format)) + formats.append("video/" + format_name) + if (len(widgets) > 0): + format_widgets["video/"+ format_name] = widgets + return formats, format_widgets + +def apply_format_widgets(format_name, kwargs): + if os.path.exists(os.path.join(base_formats_dir, format_name + ".json")): + video_format_path = os.path.join(base_formats_dir, format_name + ".json") + else: + video_format_path = folder_paths.get_full_path("VHS_video_formats", format_name) + with open(video_format_path, 'r') as stream: + video_format = json.load(stream) + for w in iterate_format(video_format): + if w[0] not in kwargs: + if len(w) > 2 and 'default' in w[2]: + default = w[2]['default'] + else: + if type(w[1]) is list: + default = w[1][0] + else: + #NOTE: This doesn't respect max/min, but should be good enough as a fallback to a fallback to a fallback + default = {"BOOLEAN": False, "INT": 0, "FLOAT": 0, "STRING": ""}[w[1]] + kwargs[w[0]] = default + logger.warn(f"Missing input for {w[0][0]} has been set to {default}") + wit = iterate_format(video_format, False) + for w in wit: + while isinstance(w, list): + if len(w) == 1: + #TODO: mapping=kwargs should be safer, but results in key errors, investigate why + w = [Template(x).substitute(**kwargs) for x in w[0]] + break + elif isinstance(w[1], dict): + w = w[1][str(kwargs[w[0]])] + elif len(w) > 3: + w = Template(w[3]).substitute(val=kwargs[w[0]]) + else: + w = str(kwargs[w[0]]) + wit.send(w) + return video_format + +def tensor_to_int(tensor, bits): + tensor = tensor.cpu().numpy() * (2**bits-1) + 0.5 + return np.clip(tensor, 0, (2**bits-1)) +def tensor_to_shorts(tensor): + return tensor_to_int(tensor, 16).astype(np.uint16) +def tensor_to_bytes(tensor): + return tensor_to_int(tensor, 8).astype(np.uint8) + +def ffmpeg_process(args, video_format, video_metadata, file_path, env): + + res = None + frame_data = yield + total_frames_output = 0 + if video_format.get('save_metadata', 'False') != 'False': + os.makedirs(folder_paths.get_temp_directory(), exist_ok=True) + metadata = json.dumps(video_metadata) + metadata_path = os.path.join(folder_paths.get_temp_directory(), "metadata.txt") + #metadata from file should escape = ; # \ and newline + metadata = metadata.replace("\\","\\\\") + metadata = metadata.replace(";","\\;") + metadata = metadata.replace("#","\\#") + metadata = metadata.replace("=","\\=") + metadata = metadata.replace("\n","\\\n") + metadata = "comment=" + metadata + with open(metadata_path, "w") as f: + f.write(";FFMETADATA1\n") + f.write(metadata) + m_args = args[:1] + ["-i", metadata_path] + args[1:] + ["-metadata", "creation_time=now"] + with subprocess.Popen(m_args + [file_path], stderr=subprocess.PIPE, + stdin=subprocess.PIPE, env=env) as proc: + try: + while frame_data is not None: + proc.stdin.write(frame_data) + #TODO: skip flush for increased speed + frame_data = yield + total_frames_output+=1 + proc.stdin.flush() + proc.stdin.close() + res = proc.stderr.read() + except BrokenPipeError as e: + err = proc.stderr.read() + #Check if output file exists. If it does, the re-execution + #will also fail. This obscures the cause of the error + #and seems to never occur concurrent to the metadata issue + if os.path.exists(file_path): + raise Exception("An error occurred in the ffmpeg subprocess:\n" \ + + err.decode(*ENCODE_ARGS)) + #Res was not set + print(err.decode(*ENCODE_ARGS), end="", file=sys.stderr) + logger.warn("An error occurred when saving with metadata") + if res != b'': + with subprocess.Popen(args + [file_path], stderr=subprocess.PIPE, + stdin=subprocess.PIPE, env=env) as proc: + try: + while frame_data is not None: + proc.stdin.write(frame_data) + frame_data = yield + total_frames_output+=1 + proc.stdin.flush() + proc.stdin.close() + res = proc.stderr.read() + except BrokenPipeError as e: + res = proc.stderr.read() + raise Exception("An error occurred in the ffmpeg subprocess:\n" \ + + res.decode(*ENCODE_ARGS)) + yield total_frames_output + if len(res) > 0: + print(res.decode(*ENCODE_ARGS), end="", file=sys.stderr) + +def gifski_process(args, dimensions, video_format, file_path, env): + frame_data = yield + with subprocess.Popen(args + video_format['main_pass'] + ['-f', 'yuv4mpegpipe', '-'], + stderr=subprocess.PIPE, stdin=subprocess.PIPE, + stdout=subprocess.PIPE, env=env) as procff: + with subprocess.Popen([gifski_path] + video_format['gifski_pass'] + + ['-W', f'{dimensions[0]}', '-H', f'{dimensions[1]}'] + + ['-q', '-o', file_path, '-'], stderr=subprocess.PIPE, + stdin=procff.stdout, stdout=subprocess.PIPE, + env=env) as procgs: + try: + while frame_data is not None: + procff.stdin.write(frame_data) + frame_data = yield + procff.stdin.flush() + procff.stdin.close() + resff = procff.stderr.read() + resgs = procgs.stderr.read() + outgs = procgs.stdout.read() + except BrokenPipeError as e: + procff.stdin.close() + resff = procff.stderr.read() + resgs = procgs.stderr.read() + raise Exception("An error occurred while creating gifski output\n" \ + + "Make sure you are using gifski --version >=1.32.0\nffmpeg: " \ + + resff.decode(*ENCODE_ARGS) + '\ngifski: ' + resgs.decode(*ENCODE_ARGS)) + if len(resff) > 0: + print(resff.decode(*ENCODE_ARGS), end="", file=sys.stderr) + if len(resgs) > 0: + print(resgs.decode(*ENCODE_ARGS), end="", file=sys.stderr) + #should always be empty as the quiet flag is passed + if len(outgs) > 0: + print(outgs.decode(*ENCODE_ARGS)) + +def to_pingpong(inp): + if not hasattr(inp, "__getitem__"): + inp = list(inp) + yield from inp + for i in range(len(inp)-2,0,-1): + yield inp[i] + +class VideoCombine: + @classmethod + def INPUT_TYPES(s): + ffmpeg_formats, format_widgets = get_video_formats() + format_widgets["image/webp"] = [['lossless', "BOOLEAN", {'default': True}]] + return { + "required": { + "images": (imageOrLatent,), + "frame_rate": ( + floatOrInt, + {"default": 8, "min": 1, "step": 1}, + ), + "loop_count": ("INT", {"default": 0, "min": 0, "max": 100, "step": 1}), + "filename_prefix": ("STRING", {"default": "AnimateDiff"}), + "format": (["image/gif", "image/webp"] + ffmpeg_formats, {'formats': format_widgets}), + "pingpong": ("BOOLEAN", {"default": False}), + "save_output": ("BOOLEAN", {"default": True}), + }, + "optional": { + "audio": ("AUDIO",), + "meta_batch": ("VHS_BatchManager",), + "vae": ("VAE",), + }, + "hidden": ContainsAll({ + "prompt": "PROMPT", + "extra_pnginfo": "EXTRA_PNGINFO", + "unique_id": "UNIQUE_ID" + }), + } + + RETURN_TYPES = ("VHS_FILENAMES",) + RETURN_NAMES = ("Filenames",) + OUTPUT_NODE = True + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "combine_video" + + def combine_video( + self, + frame_rate: int, + loop_count: int, + images=None, + latents=None, + filename_prefix="AnimateDiff", + format="image/gif", + pingpong=False, + save_output=True, + prompt=None, + extra_pnginfo=None, + audio=None, + unique_id=None, + manual_format_widgets=None, + meta_batch=None, + vae=None, + **kwargs + ): + if latents is not None: + images = latents + if images is None: + return ((save_output, []),) + if vae is not None: + if isinstance(images, dict): + images = images['samples'] + else: + vae = None + + if isinstance(images, torch.Tensor) and images.size(0) == 0: + return ((save_output, []),) + num_frames = len(images) + pbar = ProgressBar(num_frames) + if vae is not None: + downscale_ratio = getattr(vae, "downscale_ratio", 8) + width = images.size(-1)*downscale_ratio + height = images.size(-2)*downscale_ratio + frames_per_batch = (1920 * 1080 * 16) // (width * height) or 1 + #Python 3.12 adds an itertools.batched, but it's easily replicated for legacy support + def batched(it, n): + while batch := tuple(itertools.islice(it, n)): + yield batch + def batched_encode(images, vae, frames_per_batch): + for batch in batched(iter(images), frames_per_batch): + image_batch = torch.from_numpy(np.array(batch)) + yield from vae.decode(image_batch) + images = batched_encode(images, vae, frames_per_batch) + first_image = next(images) + #repush first_image + images = itertools.chain([first_image], images) + #A single image has 3 dimensions. Discard higher dimensions + while len(first_image.shape) > 3: + first_image = first_image[0] + else: + first_image = images[0] + images = iter(images) + # get output information + output_dir = ( + folder_paths.get_output_directory() + if save_output + else folder_paths.get_temp_directory() + ) + ( + full_output_folder, + filename, + _, + subfolder, + _, + ) = folder_paths.get_save_image_path(filename_prefix, output_dir) + output_files = [] + + metadata = PngInfo() + video_metadata = {} + if prompt is not None: + metadata.add_text("prompt", json.dumps(prompt)) + video_metadata["prompt"] = json.dumps(prompt) + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata.add_text(x, json.dumps(extra_pnginfo[x])) + video_metadata[x] = extra_pnginfo[x] + extra_options = extra_pnginfo.get('workflow', {}).get('extra', {}) + else: + extra_options = {} + metadata.add_text("CreationTime", datetime.datetime.now().isoformat(" ")[:19]) + + if meta_batch is not None and unique_id in meta_batch.outputs: + (counter, output_process) = meta_batch.outputs[unique_id] + else: + # comfy counter workaround + max_counter = 0 + + # Loop through the existing files + matcher = re.compile(f"{re.escape(filename)}_(\\d+)\\D*\\..+", re.IGNORECASE) + for existing_file in os.listdir(full_output_folder): + # Check if the file matches the expected format + match = matcher.fullmatch(existing_file) + if match: + # Extract the numeric portion of the filename + file_counter = int(match.group(1)) + # Update the maximum counter value if necessary + if file_counter > max_counter: + max_counter = file_counter + + # Increment the counter by 1 to get the next available value + counter = max_counter + 1 + output_process = None + + # save first frame as png to keep metadata + first_image_file = f"{filename}_{counter:05}.png" + file_path = os.path.join(full_output_folder, first_image_file) + if extra_options.get('VHS_MetadataImage', True) != False: + Image.fromarray(tensor_to_bytes(first_image)).save( + file_path, + pnginfo=metadata, + compress_level=4, + ) + output_files.append(file_path) + + format_type, format_ext = format.split("/") + if format_type == "image": + if meta_batch is not None: + raise Exception("Pillow('image/') formats are not compatible with batched output") + image_kwargs = {} + if format_ext == "gif": + image_kwargs['disposal'] = 2 + if format_ext == "webp": + #Save timestamp information + exif = Image.Exif() + exif[ExifTags.IFD.Exif] = {36867: datetime.datetime.now().isoformat(" ")[:19]} + image_kwargs['exif'] = exif + image_kwargs['lossless'] = kwargs.get("lossless", True) + file = f"{filename}_{counter:05}.{format_ext}" + file_path = os.path.join(full_output_folder, file) + if pingpong: + images = to_pingpong(images) + def frames_gen(images): + for i in images: + pbar.update(1) + yield Image.fromarray(tensor_to_bytes(i)) + frames = frames_gen(images) + # Use pillow directly to save an animated image + next(frames).save( + file_path, + format=format_ext.upper(), + save_all=True, + append_images=frames, + duration=round(1000 / frame_rate), + loop=loop_count, + compress_level=4, + **image_kwargs + ) + output_files.append(file_path) + else: + # Use ffmpeg to save a video + if ffmpeg_path is None: + raise ProcessLookupError(f"ffmpeg is required for video outputs and could not be found.\nIn order to use video outputs, you must either:\n- Install imageio-ffmpeg with pip,\n- Place a ffmpeg executable in {os.path.abspath('')}, or\n- Install ffmpeg and add it to the system path.") + + if manual_format_widgets is not None: + logger.warn("Format args can now be passed directly. The manual_format_widgets argument is now deprecated") + kwargs.update(manual_format_widgets) + + has_alpha = first_image.shape[-1] == 4 + kwargs["has_alpha"] = has_alpha + video_format = apply_format_widgets(format_ext, kwargs) + dim_alignment = video_format.get("dim_alignment", 2) + if (first_image.shape[1] % dim_alignment) or (first_image.shape[0] % dim_alignment): + #output frames must be padded + to_pad = (-first_image.shape[1] % dim_alignment, + -first_image.shape[0] % dim_alignment) + padding = (to_pad[0]//2, to_pad[0] - to_pad[0]//2, + to_pad[1]//2, to_pad[1] - to_pad[1]//2) + padfunc = torch.nn.ReplicationPad2d(padding) + def pad(image): + image = image.permute((2,0,1))#HWC to CHW + padded = padfunc(image.to(dtype=torch.float32)) + return padded.permute((1,2,0)) + images = map(pad, images) + dimensions = (-first_image.shape[1] % dim_alignment + first_image.shape[1], + -first_image.shape[0] % dim_alignment + first_image.shape[0]) + logger.warn("Output images were not of valid resolution and have had padding applied") + else: + dimensions = (first_image.shape[1], first_image.shape[0]) + if pingpong: + if meta_batch is not None: + logger.error("pingpong is incompatible with batched output") + images = to_pingpong(images) + if num_frames > 2: + num_frames += num_frames -2 + pbar.total = num_frames + if loop_count > 0: + loop_args = ["-vf", "loop=loop=" + str(loop_count)+":size=" + str(num_frames)] + else: + loop_args = [] + if video_format.get('input_color_depth', '8bit') == '16bit': + images = map(tensor_to_shorts, images) + if has_alpha: + i_pix_fmt = 'rgba64' + else: + i_pix_fmt = 'rgb48' + else: + images = map(tensor_to_bytes, images) + if has_alpha: + i_pix_fmt = 'rgba' + else: + i_pix_fmt = 'rgb24' + file = f"{filename}_{counter:05}.{video_format['extension']}" + file_path = os.path.join(full_output_folder, file) + bitrate_arg = [] + bitrate = video_format.get('bitrate') + if bitrate is not None: + bitrate_arg = ["-b:v", str(bitrate) + "M" if video_format.get('megabit') == 'True' else str(bitrate) + "K"] + args = [ffmpeg_path, "-v", "error", "-f", "rawvideo", "-pix_fmt", i_pix_fmt, + # The image data is in an undefined generic RGB color space, which in practice means sRGB. + # sRGB has the same primaries and matrix as BT.709, but a different transfer function (gamma), + # called by the sRGB standard name IEC 61966-2-1. However, video hosting platforms like YouTube + # standardize on full BT.709 and will convert the colors accordingly. This last minute change + # in colors can be confusing to users. We can counter it by lying about the transfer function + # on a per format basis, i.e. for video we will lie to FFmpeg that it is already BT.709. Also, + # because the input data is in RGB (not YUV) it is more efficient (fewer scale filter invocations) + # to specify the input color space as RGB and then later, if the format actually wants YUV, + # to convert it to BT.709 YUV via FFmpeg's -vf "scale=out_color_matrix=bt709". + "-color_range", "pc", "-colorspace", "rgb", "-color_primaries", "bt709", + "-color_trc", video_format.get("fake_trc", "iec61966-2-1"), + "-s", f"{dimensions[0]}x{dimensions[1]}", "-r", str(frame_rate), "-i", "-"] \ + + loop_args + + images = map(lambda x: x.tobytes(), images) + env=os.environ.copy() + if "environment" in video_format: + env.update(video_format["environment"]) + + if "pre_pass" in video_format: + if meta_batch is not None: + #Performing a prepass requires keeping access to all frames. + #Potential solutions include keeping just output frames in + #memory or using 3 passes with intermediate file, but + #very long gifs probably shouldn't be encouraged + raise Exception("Formats which require a pre_pass are incompatible with Batch Manager.") + images = [b''.join(images)] + os.makedirs(folder_paths.get_temp_directory(), exist_ok=True) + in_args_len = args.index("-i") + 2 # The index after ["-i", "-"] + pre_pass_args = args[:in_args_len] + video_format['pre_pass'] + merge_filter_args(pre_pass_args) + try: + subprocess.run(pre_pass_args, input=images[0], env=env, + capture_output=True, check=True) + except subprocess.CalledProcessError as e: + raise Exception("An error occurred in the ffmpeg prepass:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + if "inputs_main_pass" in video_format: + in_args_len = args.index("-i") + 2 # The index after ["-i", "-"] + args = args[:in_args_len] + video_format['inputs_main_pass'] + args[in_args_len:] + + if output_process is None: + if 'gifski_pass' in video_format: + format = 'image/gif' + output_process = gifski_process(args, dimensions, video_format, file_path, env) + audio = None + else: + args += video_format['main_pass'] + bitrate_arg + merge_filter_args(args) + output_process = ffmpeg_process(args, video_format, video_metadata, file_path, env) + #Proceed to first yield + output_process.send(None) + if meta_batch is not None: + meta_batch.outputs[unique_id] = (counter, output_process) + + for image in images: + pbar.update(1) + output_process.send(image) + if meta_batch is not None: + requeue_workflow((meta_batch.unique_id, not meta_batch.has_closed_inputs)) + if meta_batch is None or meta_batch.has_closed_inputs: + #Close pipe and wait for termination. + try: + total_frames_output = output_process.send(None) + output_process.send(None) + except StopIteration: + pass + if meta_batch is not None: + meta_batch.outputs.pop(unique_id) + if len(meta_batch.outputs) == 0: + meta_batch.reset() + else: + #batch is unfinished + #TODO: Check if empty output breaks other custom nodes + return {"ui": {"unfinished_batch": [True]}, "result": ((save_output, []),)} + + output_files.append(file_path) + + + a_waveform = None + if audio is not None: + try: + #safely check if audio produced by VHS_LoadVideo actually exists + a_waveform = audio['waveform'] + except: + pass + if a_waveform is not None: + # Create audio file if input was provided + output_file_with_audio = f"{filename}_{counter:05}-audio.{video_format['extension']}" + output_file_with_audio_path = os.path.join(full_output_folder, output_file_with_audio) + if "audio_pass" not in video_format: + logger.warn("Selected video format does not have explicit audio support") + video_format["audio_pass"] = ["-c:a", "libopus"] + + + # FFmpeg command with audio re-encoding + #TODO: expose audio quality options if format widgets makes it in + #Reconsider forcing apad/shortest + channels = audio['waveform'].size(1) + min_audio_dur = total_frames_output / frame_rate + 1 + if video_format.get('trim_to_audio', 'False') != 'False': + apad = [] + else: + apad = ["-af", "apad=whole_dur="+str(min_audio_dur)] + mux_args = [ffmpeg_path, "-v", "error", "-n", "-i", file_path, + "-ar", str(audio['sample_rate']), "-ac", str(channels), + "-f", "f32le", "-i", "-", "-c:v", "copy"] \ + + video_format["audio_pass"] \ + + apad + ["-shortest", output_file_with_audio_path] + + audio_data = audio['waveform'].squeeze(0).transpose(0,1) \ + .numpy().tobytes() + merge_filter_args(mux_args, '-af') + try: + res = subprocess.run(mux_args, input=audio_data, + env=env, capture_output=True, check=True) + except subprocess.CalledProcessError as e: + raise Exception("An error occured in the ffmpeg subprocess:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + if res.stderr: + print(res.stderr.decode(*ENCODE_ARGS), end="", file=sys.stderr) + output_files.append(output_file_with_audio_path) + #Return this file with audio to the webui. + #It will be muted unless opened or saved with right click + file = output_file_with_audio + if extra_options.get('VHS_KeepIntermediate', True) == False: + for intermediate in output_files[1:-1]: + if os.path.exists(intermediate): + os.remove(intermediate) + preview = { + "filename": file, + "subfolder": subfolder, + "type": "output" if save_output else "temp", + "format": format, + "frame_rate": frame_rate, + "workflow": first_image_file, + "fullpath": output_files[-1], + } + if num_frames == 1 and 'png' in format and '%03d' in file: + preview['format'] = 'image/png' + preview['filename'] = file.replace('%03d', '001') + return {"ui": {"gifs": [preview]}, "result": ((save_output, output_files),)} + +class LoadAudio: + @classmethod + def INPUT_TYPES(s): + #Hide ffmpeg formats if ffmpeg isn't available + return { + "required": { + "audio_file": ("STRING", {"default": "input/", "vhs_path_extensions": ['wav','mp3','ogg','m4a','flac']}), + }, + "optional" : { + "seek_seconds": ("FLOAT", {"default": 0, "min": 0, "widgetType": "VHSTIMESTAMP"}), + "duration": ("FLOAT" , {"default": 0, "min": 0, "max": 10000000, "step": 0.01, "widgetType": "VHSTIMESTAMP"}), + } + } + + RETURN_TYPES = ("AUDIO", "FLOAT") + RETURN_NAMES = ("audio", "duration") + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢/audio" + FUNCTION = "load_audio" + def load_audio(self, audio_file, seek_seconds=0, duration=0): + audio_file = strip_path(audio_file) + if audio_file is None or validate_path(audio_file) != True: + raise Exception("audio_file is not a valid path: " + audio_file) + if is_url(audio_file): + audio_file = try_download_video(audio_file) or audio_file + #Eagerly fetch the audio since the user must be using it if the + #node executes, unlike Load Video + audio = get_audio(audio_file, start_time=seek_seconds, duration=duration) + loaded_duration = audio['waveform'].size(2)/audio['sample_rate'] + return (audio, loaded_duration) + + @classmethod + def IS_CHANGED(s, audio_file, **kwargs): + return hash_path(audio_file) + + @classmethod + def VALIDATE_INPUTS(s, audio_file, **kwargs): + return validate_path(audio_file, allow_none=True) + +class LoadAudioUpload: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [] + for f in os.listdir(input_dir): + if os.path.isfile(os.path.join(input_dir, f)): + file_parts = f.split('.') + if len(file_parts) > 1 and (file_parts[-1] in audio_extensions): + files.append(f) + return {"required": { + "audio": (sorted(files),),}, + "optional": { + "start_time": ("FLOAT" , {"default": 0, "min": 0, "max": 10000000, "step": 0.01, "widgetType": "VHSTIMESTAMP"}), + "duration": ("FLOAT" , {"default": 0, "min": 0, "max": 10000000, "step": 0.01, "widgetType": "VHSTIMESTAMP"}), + }, + } + + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢/audio" + + RETURN_TYPES = ("AUDIO", "FLOAT") + RETURN_NAMES = ("audio", "duration") + FUNCTION = "load_audio" + + def load_audio(self, start_time=0, duration=0, **kwargs): + audio_file = folder_paths.get_annotated_filepath(strip_path(kwargs['audio'])) + if audio_file is None or validate_path(audio_file) != True: + raise Exception("audio_file is not a valid path: " + audio_file) + + audio = get_audio(audio_file, start_time, duration) + loaded_duration = audio['waveform'].size(2)/audio['sample_rate'] + return (audio, loaded_duration) + + @classmethod + def IS_CHANGED(s, audio, **kwargs): + audio_file = folder_paths.get_annotated_filepath(strip_path(audio)) + return hash_path(audio_file) + + @classmethod + def VALIDATE_INPUTS(s, audio, **kwargs): + audio_file = folder_paths.get_annotated_filepath(strip_path(audio)) + return validate_path(audio_file, allow_none=True) +class AudioToVHSAudio: + """Legacy method for external nodes that utilized VHS_AUDIO, + VHS_AUDIO is deprecated as a format and should no longer be used""" + @classmethod + def INPUT_TYPES(s): + return {"required": {"audio": ("AUDIO",)}} + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢/audio" + + RETURN_TYPES = ("VHS_AUDIO", ) + RETURN_NAMES = ("vhs_audio",) + FUNCTION = "convert_audio" + + def convert_audio(self, audio): + ar = str(audio['sample_rate']) + ac = str(audio['waveform'].size(1)) + mux_args = [ffmpeg_path, "-f", "f32le", "-ar", ar, "-ac", ac, + "-i", "-", "-f", "wav", "-"] + + audio_data = audio['waveform'].squeeze(0).transpose(0,1) \ + .numpy().tobytes() + try: + res = subprocess.run(mux_args, input=audio_data, + capture_output=True, check=True) + except subprocess.CalledProcessError as e: + raise Exception("An error occured in the ffmpeg subprocess:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + if res.stderr: + print(res.stderr.decode(*ENCODE_ARGS), end="", file=sys.stderr) + return (lambda: res.stdout,) + +class VHSAudioToAudio: + """Legacy method for external nodes that utilized VHS_AUDIO, + VHS_AUDIO is deprecated as a format and should no longer be used""" + @classmethod + def INPUT_TYPES(s): + return {"required": {"vhs_audio": ("VHS_AUDIO",)}} + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢/audio" + + RETURN_TYPES = ("AUDIO", ) + RETURN_NAMES = ("audio",) + FUNCTION = "convert_audio" + + def convert_audio(self, vhs_audio): + if not vhs_audio or not vhs_audio(): + raise Exception("audio input is not valid") + args = [ffmpeg_path, "-i", '-'] + try: + res = subprocess.run(args + ["-f", "f32le", "-"], input=vhs_audio(), + capture_output=True, check=True) + audio = torch.frombuffer(bytearray(res.stdout), dtype=torch.float32) + except subprocess.CalledProcessError as e: + raise Exception("An error occured in the ffmpeg subprocess:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + match = re.search(', (\\d+) Hz, (\\w+), ',res.stderr.decode(*ENCODE_ARGS)) + if match: + ar = int(match.group(1)) + #NOTE: Just throwing an error for other channel types right now + #Will deal with issues if they come + ac = {"mono": 1, "stereo": 2}[match.group(2)] + else: + ar = 44100 + ac = 2 + audio = audio.reshape((-1,ac)).transpose(0,1).unsqueeze(0) + return ({'waveform': audio, 'sample_rate': ar},) + +class PruneOutputs: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "filenames": ("VHS_FILENAMES",), + "options": (["Intermediate", "Intermediate and Utility"],) + } + } + + RETURN_TYPES = () + OUTPUT_NODE = True + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "prune_outputs" + + def prune_outputs(self, filenames, options): + if len(filenames[1]) == 0: + return () + assert(len(filenames[1]) <= 3 and len(filenames[1]) >= 2) + delete_list = [] + if options in ["Intermediate", "Intermediate and Utility", "All"]: + delete_list += filenames[1][1:-1] + if options in ["Intermediate and Utility", "All"]: + delete_list.append(filenames[1][0]) + if options in ["All"]: + delete_list.append(filenames[1][-1]) + + output_dirs = [folder_paths.get_output_directory(), + folder_paths.get_temp_directory()] + for file in delete_list: + #Check that path is actually an output directory + if (os.path.commonpath([output_dirs[0], file]) != output_dirs[0]) \ + and (os.path.commonpath([output_dirs[1], file]) != output_dirs[1]): + raise Exception("Tried to prune output from invalid directory: " + file) + if os.path.exists(file): + os.remove(file) + return () + +class BatchManager: + def __init__(self, frames_per_batch=-1): + self.frames_per_batch = frames_per_batch + self.inputs = {} + self.outputs = {} + self.unique_id = None + self.has_closed_inputs = False + self.total_frames = float('inf') + def reset(self): + self.close_inputs() + for key in self.outputs: + if getattr(self.outputs[key][-1], "gi_suspended", False): + try: + self.outputs[key][-1].send(None) + except StopIteration: + pass + self.__init__(self.frames_per_batch) + def has_open_inputs(self): + return len(self.inputs) > 0 + def close_inputs(self): + for key in self.inputs: + if getattr(self.inputs[key][-1], "gi_suspended", False): + try: + self.inputs[key][-1].send(1) + except StopIteration: + pass + self.inputs = {} + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "frames_per_batch": ("INT", {"default": 16, "min": 1, "max": BIGMAX, "step": 1}) + }, + "hidden": { + "prompt": "PROMPT", + "unique_id": "UNIQUE_ID" + }, + } + + RETURN_TYPES = ("VHS_BatchManager",) + RETURN_NAMES = ("meta_batch",) + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "update_batch" + + def update_batch(self, frames_per_batch, prompt=None, unique_id=None): + if unique_id is not None and prompt is not None: + requeue = prompt[unique_id]['inputs'].get('requeue', 0) + else: + requeue = 0 + if requeue == 0: + self.reset() + self.frames_per_batch = frames_per_batch + self.unique_id = unique_id + else: + num_batches = (self.total_frames+self.frames_per_batch-1)//frames_per_batch + print(f'Meta-Batch {requeue}/{num_batches}') + #onExecuted seems to not be called unless some message is sent + return (self,) + + +class VideoInfo: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "video_info": ("VHS_VIDEOINFO",), + } + } + + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + + RETURN_TYPES = ("FLOAT","INT", "FLOAT", "INT", "INT", "FLOAT","INT", "FLOAT", "INT", "INT") + RETURN_NAMES = ( + "source_fps🟨", + "source_frame_count🟨", + "source_duration🟨", + "source_width🟨", + "source_height🟨", + "loaded_fps🟦", + "loaded_frame_count🟦", + "loaded_duration🟦", + "loaded_width🟦", + "loaded_height🟦", + ) + FUNCTION = "get_video_info" + + def get_video_info(self, video_info): + keys = ["fps", "frame_count", "duration", "width", "height"] + + source_info = [] + loaded_info = [] + + for key in keys: + source_info.append(video_info[f"source_{key}"]) + loaded_info.append(video_info[f"loaded_{key}"]) + + return (*source_info, *loaded_info) + + +class VideoInfoSource: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "video_info": ("VHS_VIDEOINFO",), + } + } + + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + + RETURN_TYPES = ("FLOAT","INT", "FLOAT", "INT", "INT",) + RETURN_NAMES = ( + "fps🟨", + "frame_count🟨", + "duration🟨", + "width🟨", + "height🟨", + ) + FUNCTION = "get_video_info" + + def get_video_info(self, video_info): + keys = ["fps", "frame_count", "duration", "width", "height"] + + source_info = [] + + for key in keys: + source_info.append(video_info[f"source_{key}"]) + + return (*source_info,) + + +class VideoInfoLoaded: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "video_info": ("VHS_VIDEOINFO",), + } + } + + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + + RETURN_TYPES = ("FLOAT","INT", "FLOAT", "INT", "INT",) + RETURN_NAMES = ( + "fps🟦", + "frame_count🟦", + "duration🟦", + "width🟦", + "height🟦", + ) + FUNCTION = "get_video_info" + + def get_video_info(self, video_info): + keys = ["fps", "frame_count", "duration", "width", "height"] + + loaded_info = [] + + for key in keys: + loaded_info.append(video_info[f"loaded_{key}"]) + + return (*loaded_info,) + +class SelectFilename: + @classmethod + def INPUT_TYPES(s): + return {"required": {"filenames": ("VHS_FILENAMES",), "index": ("INT", {"default": -1, "step": 1, "min": -1})}} + RETURN_TYPES = ("STRING",) + RETURN_NAMES =("Filename",) + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "select_filename" + + def select_filename(self, filenames, index): + return (filenames[1][index],) +class Unbatch: + class Any(str): + def __ne__(self, other): + return False + @classmethod + def INPUT_TYPES(s): + return {"required": {"batched": ("*",)}} + RETURN_TYPES = (Any('*'),) + INPUT_IS_LIST = True + RETURN_NAMES =("unbatched",) + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "unbatch" + def unbatch(self, batched): + if isinstance(batched[0], torch.Tensor): + return (torch.cat(batched),) + if isinstance(batched[0], dict): + out = batched[0].copy() + if 'samples' in out: + out['samples'] = torch.cat([x['samples'] for x in batched]) + if 'waveform' in out: + out['waveform'] = torch.cat([x['waveform'] for x in batched]) + out.pop('batch_index', None) + return (out,) + return (functools.reduce(lambda x,y: x+y, batched),) + @classmethod + def VALIDATE_INPUTS(cls, input_types): + return True +class SelectLatest: + @classmethod + def INPUT_TYPES(s): + return {"required": {"filename_prefix": ("STRING", {'default': 'output/AnimateDiff', 'vhs_path_extensions': []}), + "filename_postfix": ("STRING", {"placeholder": ".webm"})}} + RETURN_TYPES = ("STRING",) + RETURN_NAMES =("Filename",) + CATEGORY = "Video Helper Suite 🎥🅥🅗🅢" + FUNCTION = "select_latest" + EXPERIMENTAL = True + + def select_latest(self, filename_prefix, filename_postfix): + assert False, "Not Reachable" + +NODE_CLASS_MAPPINGS = { + "VHS_VideoCombine": VideoCombine, + "VHS_LoadVideo": LoadVideoUpload, + "VHS_LoadVideoPath": LoadVideoPath, + "VHS_LoadVideoFFmpeg": LoadVideoFFmpegUpload, + "VHS_LoadVideoFFmpegPath": LoadVideoFFmpegPath, + "VHS_LoadImagePath": LoadImagePath, + "VHS_LoadImages": LoadImagesFromDirectoryUpload, + "VHS_LoadImagesPath": LoadImagesFromDirectoryPath, + "VHS_LoadAudio": LoadAudio, + "VHS_LoadAudioUpload": LoadAudioUpload, + "VHS_AudioToVHSAudio": AudioToVHSAudio, + "VHS_VHSAudioToAudio": VHSAudioToAudio, + "VHS_PruneOutputs": PruneOutputs, + "VHS_BatchManager": BatchManager, + "VHS_VideoInfo": VideoInfo, + "VHS_VideoInfoSource": VideoInfoSource, + "VHS_VideoInfoLoaded": VideoInfoLoaded, + "VHS_SelectFilename": SelectFilename, + # Batched Nodes + "VHS_VAEEncodeBatched": VAEEncodeBatched, + "VHS_VAEDecodeBatched": VAEDecodeBatched, + # Latent and Image nodes + "VHS_SplitLatents": SplitLatents, + "VHS_SplitImages": SplitImages, + "VHS_SplitMasks": SplitMasks, + "VHS_MergeLatents": MergeLatents, + "VHS_MergeImages": MergeImages, + "VHS_MergeMasks": MergeMasks, + "VHS_GetLatentCount": GetLatentCount, + "VHS_GetImageCount": GetImageCount, + "VHS_GetMaskCount": GetMaskCount, + "VHS_DuplicateLatents": RepeatLatents, + "VHS_DuplicateImages": RepeatImages, + "VHS_DuplicateMasks": RepeatMasks, + "VHS_SelectEveryNthLatent": SelectEveryNthLatent, + "VHS_SelectEveryNthImage": SelectEveryNthImage, + "VHS_SelectEveryNthMask": SelectEveryNthMask, + "VHS_SelectLatents": SelectLatents, + "VHS_SelectImages": SelectImages, + "VHS_SelectMasks": SelectMasks, + "VHS_Unbatch": Unbatch, + "VHS_SelectLatest": SelectLatest, +} +NODE_DISPLAY_NAME_MAPPINGS = { + "VHS_VideoCombine": "Video Combine 🎥🅥🅗🅢", + "VHS_LoadVideo": "Load Video (Upload) 🎥🅥🅗🅢", + "VHS_LoadVideoPath": "Load Video (Path) 🎥🅥🅗🅢", + "VHS_LoadVideoFFmpeg": "Load Video FFmpeg (Upload) 🎥🅥🅗🅢", + "VHS_LoadVideoFFmpegPath": "Load Video FFmpeg (Path) 🎥🅥🅗🅢", + "VHS_LoadImagePath": "Load Image (Path) 🎥🅥🅗🅢", + "VHS_LoadImages": "Load Images (Upload) 🎥🅥🅗🅢", + "VHS_LoadImagesPath": "Load Images (Path) 🎥🅥🅗🅢", + "VHS_LoadAudio": "Load Audio (Path)🎥🅥🅗🅢", + "VHS_LoadAudioUpload": "Load Audio (Upload)🎥🅥🅗🅢", + "VHS_AudioToVHSAudio": "Audio to legacy VHS_AUDIO🎥🅥🅗🅢", + "VHS_VHSAudioToAudio": "Legacy VHS_AUDIO to Audio🎥🅥🅗🅢", + "VHS_PruneOutputs": "Prune Outputs 🎥🅥🅗🅢", + "VHS_BatchManager": "Meta Batch Manager 🎥🅥🅗🅢", + "VHS_VideoInfo": "Video Info 🎥🅥🅗🅢", + "VHS_VideoInfoSource": "Video Info (Source) 🎥🅥🅗🅢", + "VHS_VideoInfoLoaded": "Video Info (Loaded) 🎥🅥🅗🅢", + "VHS_SelectFilename": "Select Filename 🎥🅥🅗🅢", + # Batched Nodes + "VHS_VAEEncodeBatched": "VAE Encode Batched 🎥🅥🅗🅢", + "VHS_VAEDecodeBatched": "VAE Decode Batched 🎥🅥🅗🅢", + # Latent and Image nodes + "VHS_SplitLatents": "Split Latents 🎥🅥🅗🅢", + "VHS_SplitImages": "Split Images 🎥🅥🅗🅢", + "VHS_SplitMasks": "Split Masks 🎥🅥🅗🅢", + "VHS_MergeLatents": "Merge Latents 🎥🅥🅗🅢", + "VHS_MergeImages": "Merge Images 🎥🅥🅗🅢", + "VHS_MergeMasks": "Merge Masks 🎥🅥🅗🅢", + "VHS_GetLatentCount": "Get Latent Count 🎥🅥🅗🅢", + "VHS_GetImageCount": "Get Image Count 🎥🅥🅗🅢", + "VHS_GetMaskCount": "Get Mask Count 🎥🅥🅗🅢", + "VHS_DuplicateLatents": "Repeat Latents 🎥🅥🅗🅢", + "VHS_DuplicateImages": "Repeat Images 🎥🅥🅗🅢", + "VHS_DuplicateMasks": "Repeat Masks 🎥🅥🅗🅢", + "VHS_SelectEveryNthLatent": "Select Every Nth Latent 🎥🅥🅗🅢", + "VHS_SelectEveryNthImage": "Select Every Nth Image 🎥🅥🅗🅢", + "VHS_SelectEveryNthMask": "Select Every Nth Mask 🎥🅥🅗🅢", + "VHS_SelectLatents": "Select Latents 🎥🅥🅗🅢", + "VHS_SelectImages": "Select Images 🎥🅥🅗🅢", + "VHS_SelectMasks": "Select Masks 🎥🅥🅗🅢", + "VHS_Unbatch": "Unbatch 🎥🅥🅗🅢", + "VHS_SelectLatest": "Select Latest 🎥🅥🅗🅢", +} diff --git a/docs/hel-892/latent-reference/vhs__videohelpersuite__utils.py b/docs/hel-892/latent-reference/vhs__videohelpersuite__utils.py new file mode 100644 index 00000000..75431d5a --- /dev/null +++ b/docs/hel-892/latent-reference/vhs__videohelpersuite__utils.py @@ -0,0 +1,426 @@ +import hashlib +import os +from typing import Iterable +import shutil +import subprocess +import re +import time +from collections.abc import Mapping +from typing import Union +import functools +import torch +from torch import Tensor + +import server +from .logger import logger +import folder_paths + +BIGMIN = -(2**53-1) +BIGMAX = (2**53-1) + +DIMMAX = 8192 + +ENCODE_ARGS = ("utf-8", 'backslashreplace') + +def ffmpeg_suitability(path): + try: + version = subprocess.run([path, "-version"], check=True, + capture_output=True).stdout.decode(*ENCODE_ARGS) + except: + return 0 + score = 0 + #rough layout of the importance of various features + simple_criterion = [("libvpx", 20),("264",10), ("265",3), + ("svtav1",5),("libopus", 1)] + for criterion in simple_criterion: + if version.find(criterion[0]) >= 0: + score += criterion[1] + #obtain rough compile year from copyright information + copyright_index = version.find('2000-2') + if copyright_index >= 0: + copyright_year = version[copyright_index+6:copyright_index+9] + if copyright_year.isnumeric(): + score += int(copyright_year) + return score + +class MultiInput(str): + def __new__(cls, string, allowed_types="*"): + res = super().__new__(cls, string) + res.allowed_types=allowed_types + return res + def __ne__(self, other): + if self.allowed_types == "*" or other == "*": + return False + return other not in self.allowed_types +imageOrLatent = MultiInput("IMAGE", ["IMAGE", "LATENT"]) +floatOrInt = MultiInput("FLOAT", ["FLOAT", "INT"]) + +class ContainsAll(dict): + def __contains__(self, other): + return True + def __getitem__(self, key): + return super().get(key, (None, {})) + +if "VHS_FORCE_FFMPEG_PATH" in os.environ: + ffmpeg_path = os.environ.get("VHS_FORCE_FFMPEG_PATH") +else: + ffmpeg_paths = [] + try: + from imageio_ffmpeg import get_ffmpeg_exe + imageio_ffmpeg_path = get_ffmpeg_exe() + ffmpeg_paths.append(imageio_ffmpeg_path) + except: + if "VHS_USE_IMAGEIO_FFMPEG" in os.environ: + raise + logger.warn("Failed to import imageio_ffmpeg") + if "VHS_USE_IMAGEIO_FFMPEG" in os.environ: + ffmpeg_path = imageio_ffmpeg_path + else: + system_ffmpeg = shutil.which("ffmpeg") + if system_ffmpeg is not None: + ffmpeg_paths.append(system_ffmpeg) + if os.path.isfile("ffmpeg"): + ffmpeg_paths.append(os.path.abspath("ffmpeg")) + if os.path.isfile("ffmpeg.exe"): + ffmpeg_paths.append(os.path.abspath("ffmpeg.exe")) + if len(ffmpeg_paths) == 0: + logger.error("No valid ffmpeg found.") + ffmpeg_path = None + elif len(ffmpeg_paths) == 1: + #Evaluation of suitability isn't required, can take sole option + #to reduce startup time + ffmpeg_path = ffmpeg_paths[0] + else: + ffmpeg_path = max(ffmpeg_paths, key=ffmpeg_suitability) +gifski_path = os.environ.get("VHS_GIFSKI", None) +if gifski_path is None: + gifski_path = os.environ.get("JOV_GIFSKI", None) + if gifski_path is None: + gifski_path = shutil.which("gifski") +ytdl_path = os.environ.get("VHS_YTDL", None) or shutil.which('yt-dlp') \ + or shutil.which('youtube-dl') +download_history = {} +def try_download_video(url): + if ytdl_path is None: + return None + if url in download_history: + return download_history[url] + os.makedirs(folder_paths.get_temp_directory(), exist_ok=True) + #Format information could be added to only download audio for Load Audio, + #but this gets hairy if same url is also used for video. + #Best to just always keep defaults + #dl_format = ['-f', 'ba'] if is_audio else [] + try: + res = subprocess.run([ytdl_path, "--print", "after_move:filepath", + "-P", folder_paths.get_temp_directory(), url], + capture_output=True, check=True) + #strip newline + file = res.stdout.decode(*ENCODE_ARGS)[:-1] + except subprocess.CalledProcessError as e: + raise Exception("An error occurred in the yt-dl process:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + file = None + download_history[url] = file + return file + +def is_safe_path(path, strict=False): + if "VHS_STRICT_PATHS" not in os.environ and not strict: + return True + basedir = os.path.abspath('.') + try: + common_path = os.path.commonpath([basedir, path]) + except: + #Different drive on windows + return False + return common_path == basedir + +def get_sorted_dir_files_from_directory(directory: str, skip_first_images: int=0, select_every_nth: int=1, extensions: Iterable=None): + directory = strip_path(directory) + dir_files = os.listdir(directory) + dir_files = sorted(dir_files) + dir_files = [os.path.join(directory, x) for x in dir_files] + dir_files = list(filter(lambda filepath: os.path.isfile(filepath), dir_files)) + # filter by extension, if needed + if extensions is not None: + extensions = list(extensions) + new_dir_files = [] + for filepath in dir_files: + ext = "." + filepath.split(".")[-1] + if ext.lower() in extensions: + new_dir_files.append(filepath) + dir_files = new_dir_files + # start at skip_first_images + dir_files = dir_files[skip_first_images:] + dir_files = dir_files[0::select_every_nth] + return dir_files + + +# modified from https://stackoverflow.com/questions/22058048/hashing-a-file-in-python +def calculate_file_hash(filename: str, hash_every_n: int = 1): + #Larger video files were taking >.5 seconds to hash even when cached, + #so instead the modified time from the filesystem is used as a hash + h = hashlib.sha256() + h.update(filename.encode()) + h.update(str(os.path.getmtime(filename)).encode()) + return h.hexdigest() + +prompt_queue = server.PromptServer.instance.prompt_queue +def requeue_workflow_unchecked(): + """Requeues the current workflow without checking for multiple requeues""" + currently_running = prompt_queue.currently_running + (_, _, prompt, extra_data, outputs_to_execute) = next(iter(currently_running.values())) + + #Ensure batch_managers are marked stale + prompt = prompt.copy() + for uid in prompt: + if prompt[uid]['class_type'] == 'VHS_BatchManager': + prompt[uid]['inputs']['requeue'] = prompt[uid]['inputs'].get('requeue',0)+1 + + #execution.py has guards for concurrency, but server doesn't. + #TODO: Check that this won't be an issue + number = -server.PromptServer.instance.number + server.PromptServer.instance.number += 1 + prompt_id = str(server.uuid.uuid4()) + prompt_queue.put((number, prompt_id, prompt, extra_data, outputs_to_execute)) + +requeue_guard = [None, 0, 0, {}] +def requeue_workflow(requeue_required=(-1,True)): + assert(len(prompt_queue.currently_running) == 1) + global requeue_guard + (run_number, _, prompt, _, _) = next(iter(prompt_queue.currently_running.values())) + if requeue_guard[0] != run_number: + #Calculate a count of how many outputs are managed by a batch manager + managed_outputs=0 + for bm_uid in prompt: + if prompt[bm_uid]['class_type'] == 'VHS_BatchManager': + for output_uid in prompt: + if prompt[output_uid]['class_type'] in ["VHS_VideoCombine"]: + for inp in prompt[output_uid]['inputs'].values(): + if inp == [bm_uid, 0]: + managed_outputs+=1 + requeue_guard = [run_number, 0, managed_outputs, {}] + requeue_guard[1] = requeue_guard[1]+1 + requeue_guard[3][requeue_required[0]] = requeue_required[1] + if requeue_guard[1] == requeue_guard[2] and max(requeue_guard[3].values()): + requeue_workflow_unchecked() + +def get_audio(file, start_time=0, duration=0): + args = [ffmpeg_path, "-i", file] + if start_time > 0: + args += ["-ss", str(start_time)] + if duration > 0: + args += ["-t", str(duration)] + try: + #TODO: scan for sample rate and maintain + res = subprocess.run(args + ["-f", "f32le", "-"], + capture_output=True, check=True) + audio = torch.frombuffer(bytearray(res.stdout), dtype=torch.float32) + match = re.search(', (\\d+) Hz, (\\w+), ',res.stderr.decode(*ENCODE_ARGS)) + except subprocess.CalledProcessError as e: + raise Exception(f"VHS failed to extract audio from {file}:\n" \ + + e.stderr.decode(*ENCODE_ARGS)) + if match: + ar = int(match.group(1)) + #NOTE: Just throwing an error for other channel types right now + #Will deal with issues if they come + ac = {"mono": 1, "stereo": 2}[match.group(2)] + else: + ar = 44100 + ac = 2 + audio = audio.reshape((-1,ac)).transpose(0,1).unsqueeze(0) + return {'waveform': audio, 'sample_rate': ar} + +class LazyAudioMap(Mapping): + def __init__(self, file, start_time, duration): + self.file = file + self.start_time=start_time + self.duration=duration + self._dict=None + def __getitem__(self, key): + if self._dict is None: + self._dict = get_audio(self.file, self.start_time, self.duration) + return self._dict[key] + def __iter__(self): + if self._dict is None: + self._dict = get_audio(self.file, self.start_time, self.duration) + return iter(self._dict) + def __len__(self): + if self._dict is None: + self._dict = get_audio(self.file, self.start_time, self.duration) + return len(self._dict) +def lazy_get_audio(file, start_time=0, duration=0, **kwargs): + return LazyAudioMap(file, start_time, duration) + +def is_url(url): + return url.split("://")[0] in ["http", "https"] + +def validate_sequence(path): + #Check if path is a valid ffmpeg sequence that points to at least one file + (path, file) = os.path.split(path) + if not os.path.isdir(path): + return False + match = re.search('%0?\\d+d', file) + if not match: + return False + seq = match.group() + if seq == '%d': + seq = '\\\\d+' + else: + seq = '\\\\d{%s}' % seq[1:-1] + file_matcher = re.compile(re.sub('%0?\\d+d', seq, file)) + for file in os.listdir(path): + if file_matcher.fullmatch(file): + return True + return False + +def strip_path(path): + #This leaves whitespace inside quotes and only a single " + #thus ' ""test"' -> '"test' + #consider path.strip(string.whitespace+"\"") + #or weightier re.fullmatch("[\\s\"]*(.+?)[\\s\"]*", path).group(1) + path = path.strip() + if path.startswith("\""): + path = path[1:] + if path.endswith("\""): + path = path[:-1] + return path +def hash_path(path): + if path is None: + return "input" + if is_url(path): + return "url" + if not os.path.isfile(path): + return "DNE" + return calculate_file_hash(strip_path(path)) + + +def validate_path(path, allow_none=False, allow_url=True): + if path is None: + return allow_none + if is_url(path): + #Probably not feasible to check if url resolves here + if not allow_url: + return "URLs are unsupported for this path" + return is_safe_path(path) + if not os.path.isfile(strip_path(path)): + return "Invalid file path: {}".format(path) + return is_safe_path(path) + + +def validate_index(index: int, length: int=0, is_range: bool=False, allow_negative=False, allow_missing=False) -> int: + # if part of range, do nothing + if is_range: + return index + # otherwise, validate index + # validate not out of range - only when latent_count is passed in + if length > 0 and index > length-1 and not allow_missing: + raise IndexError(f"Index '{index}' out of range for {length} item(s).") + # if negative, validate not out of range + if index < 0: + if not allow_negative: + raise IndexError(f"Negative indeces not allowed, but was '{index}'.") + conv_index = length+index + if conv_index < 0 and not allow_missing: + raise IndexError(f"Index '{index}', converted to '{conv_index}' out of range for {length} item(s).") + index = conv_index + return index + + +def convert_to_index_int(raw_index: str, length: int=0, is_range: bool=False, allow_negative=False, allow_missing=False) -> int: + try: + return validate_index(int(raw_index), length=length, is_range=is_range, allow_negative=allow_negative, allow_missing=allow_missing) + except ValueError as e: + raise ValueError(f"Index '{raw_index}' must be an integer.", e) + + +def convert_str_to_indexes(indexes_str: str, length: int=0, allow_missing=False) -> list[int]: + if not indexes_str: + return [] + int_indexes = list(range(0, length)) + allow_negative = length > 0 + chosen_indexes = [] + # parse string - allow positive ints, negative ints, and ranges separated by ':' + groups = indexes_str.split(",") + groups = [g.strip() for g in groups] + for g in groups: + # parse range of indeces (e.g. 2:16) + if ':' in g: + index_range = g.split(":", 2) + index_range = [r.strip() for r in index_range] + + start_index = index_range[0] + if len(start_index) > 0: + start_index = convert_to_index_int(start_index, length=length, is_range=True, allow_negative=allow_negative, allow_missing=allow_missing) + else: + start_index = 0 + end_index = index_range[1] + if len(end_index) > 0: + end_index = convert_to_index_int(end_index, length=length, is_range=True, allow_negative=allow_negative, allow_missing=allow_missing) + else: + end_index = length + # support step as well, to allow things like reversing, every-other, etc. + step = 1 + if len(index_range) > 2: + step = index_range[2] + if len(step) > 0: + step = convert_to_index_int(step, length=length, is_range=True, allow_negative=True, allow_missing=True) + else: + step = 1 + # if latents were passed in, base indeces on known latent count + if len(int_indexes) > 0: + chosen_indexes.extend(int_indexes[start_index:end_index][::step]) + # otherwise, assume indeces are valid + else: + chosen_indexes.extend(list(range(start_index, end_index, step))) + # parse individual indeces + else: + chosen_indexes.append(convert_to_index_int(g, length=length, allow_negative=allow_negative, allow_missing=allow_missing)) + return chosen_indexes + + +def select_indexes(input_obj: Union[Tensor, list], idxs: list): + if type(input_obj) == Tensor: + return input_obj[idxs] + else: + return [input_obj[i] for i in idxs] + +def merge_filter_args(args, ftype="-vf"): + #TODO This doesn't account for filter_complex + #Will likely need to convert all filters to filter complex in the future + #But that requires source/output deduplication + try: + start_index = args.index(ftype)+1 + index = start_index + while True: + index = args.index(ftype, index) + args[start_index] += ',' + args[index+1] + args.pop(index) + args.pop(index) + except ValueError: + pass + +def select_indexes_from_str(input_obj: Union[Tensor, list], indexes: str, err_if_missing=True, err_if_empty=True): + real_idxs = convert_str_to_indexes(indexes, len(input_obj), allow_missing=not err_if_missing) + if err_if_empty and len(real_idxs) == 0: + raise Exception(f"Nothing was selected based on indexes found in '{indexes}'.") + return select_indexes(input_obj, real_idxs) + +def hook(obj, attr): + def dec(f): + f = functools.update_wrapper(f, getattr(obj,attr)) + setattr(obj,attr,f) + return f + return dec + +def cached(duration): + def dec(f): + cached_ret = None + cache_time = 0 + def cached_func(): + nonlocal cache_time, cached_ret + if time.time() > cache_time + duration or cached_ret is None: + cache_time = time.time() + cached_ret = f() + return cached_ret + return cached_func + return dec diff --git a/docs/hel-892/latent-reference/vhs__web__js__VHS.core.js b/docs/hel-892/latent-reference/vhs__web__js__VHS.core.js new file mode 100644 index 00000000..e9026e46 --- /dev/null +++ b/docs/hel-892/latent-reference/vhs__web__js__VHS.core.js @@ -0,0 +1,2463 @@ +import { app } from '../../../scripts/app.js' +import { api } from '../../../scripts/api.js' +import { setWidgetConfig } from '../../../extensions/core/widgetInputs.js' +import { applyTextReplacements } from "../../../scripts/utils.js"; + +function chainCallback(object, property, callback) { + if (object == undefined) { + //This should not happen. + console.error("Tried to add callback to non-existant object") + return; + } + if (property in object && object[property]) { + const callback_orig = object[property] + object[property] = function () { + const r = callback_orig.apply(this, arguments); + return callback.apply(this, arguments) ?? r + }; + } else { + object[property] = callback; + } +} + +function getNodeById(id, graph=app.graph) { + let cg = graph + let node = undefined + for (let sid of (''+id).split(':')) { + node = cg?.getNodeById?.(sid) + cg = node?.subgraph + } + return node +} + +const convDict = { + VHS_LoadImages : ["directory", null, "image_load_cap", "skip_first_images", "select_every_nth"], + VHS_LoadImagesPath : ["directory", "image_load_cap", "skip_first_images", "select_every_nth"], + VHS_VideoCombine : ["frame_rate", "loop_count", "filename_prefix", "format", "pingpong", "save_image"], + VHS_LoadVideo : ["video", "force_rate", "force_size", "frame_load_cap", "skip_first_frames", "select_every_nth"], + VHS_LoadVideoPath : ["video", "force_rate", "force_size", "frame_load_cap", "skip_first_frames", "select_every_nth"], +}; +const renameDict = {VHS_VideoCombine : {save_output : "save_image"}} +function useKVState(nodeType) { + chainCallback(nodeType.prototype, "onNodeCreated", function () { + chainCallback(this, "onConfigure", function(info) { + if (!this.widgets) { + //Node has no widgets, there is nothing to restore + return + } + if (typeof(info.widgets_values) != "object") { + //widgets_values is in some unknown inactionable format + return + } + let widgetDict = info.widgets_values + if (info.widgets_values.length) { + //widgets_values is in the old list format + if (this.type in convDict) { + //widget does not have a conversion format provided + let convList = convDict[this.type]; + if(info.widgets_values.length >= convList.length) { + //has all required fields + widgetDict = {} + for (let i = 0; i < convList.length; i++) { + if(!convList[i]) { + //Element should not be processed (upload button on load image sequence) + continue + } + widgetDict[convList[i]] = info.widgets_values[i]; + } + } else { + //widgets_values is missing elements marked as required + //let it fall through to failure state + } + } + } + if ('force_size' in widgetDict) { + //force size has been phased out, Migrate state + if (widgetDict.force_size.includes?.('x')) { + let sizes = widgetDict.force_size.split('x') + if (sizes[0] != '?') { + widgetDict.custom_width = parseInt(sizes[0]) + } else { + widgetDict.custom_width = 0 + } + if (sizes[1] != '?') { + widgetDict.custom_height = parseInt(sizes[1]) + } else { + widgetDict.custom_height = 0 + } + } else { + if (['Disabled', 'Custom Height'].includes(widgetDict.force_size)) { + widgetDict.custom_width = 0 + } + if (['Disabled', 'Custom Width'].includes(widgetDict.force_size)) { + widgetDict.custom_height = 0 + } + } + } + if (widgetDict.videopreview?.params?.force_size) { + delete widgetDict.videopreview.params.force_size + } + let inputs = {} + for (let i of this.inputs) { + inputs[i.name] = i + } + if (widgetDict.length == undefined) { + for (let w of this.widgets) { + if (w.type =="button") { + continue + } + if (w.name in widgetDict) { + w.value = widgetDict[w.name]; + w.callback?.(w.value) + } else { + //Check for a legacy name that needs migrating + if (this.type in renameDict && w.name in renameDict[this.type]) { + if (renameDict[this.type][w.name] in widgetDict) { + w.value = widgetDict[renameDict[this.type][w.name]] + w.callback?.(w.value) + continue + } + } + //attempt to restore default value + let inputs = LiteGraph.getNodeType(this.type).nodeData.input; + let initialValue = null; + if (inputs?.required?.hasOwnProperty(w.name)) { + if (inputs.required[w.name][1]?.hasOwnProperty("default")) { + initialValue = inputs.required[w.name][1].default; + } else if (inputs.required[w.name][0].length) { + initialValue = inputs.required[w.name][0][0]; + } + } else if (inputs?.optional?.hasOwnProperty(w.name)) { + if (inputs.optional[w.name][1]?.hasOwnProperty("default")) { + initialValue = inputs.optional[w.name][1].default; + } else if (inputs.optional[w.name][0].length) { + initialValue = inputs.optional[w.name][0][0]; + } + } + if (initialValue) { + w.value = initialValue; + w.callback?.(w.value) + } + } + if (w.name in inputs && w.config) { + setWidgetConfig(inputs[w.name], w.config) + } + } + } else { + //Saved data was not a map made by this method + //and a conversion dict for it does not exist + //It's likely an array and that has been blindly applied + if (info?.widgets_values?.length != this.widgets.length) { + //Widget could not have restored properly + //Note if multiple node loads fail, only the latest error dialog displays + app.ui.dialog.show("Failed to restore node: " + this.title + "\nPlease remove and re-add it.") + this.bgcolor = "#C00" + } + } + }); + chainCallback(this, "onSerialize", function(info) { + info.widgets_values = {}; + if (!this.widgets) { + //object has no widgets, there is nothing to store + return; + } + for (let w of this.widgets) { + info.widgets_values[w.name] = w.value; + } + }); + }) +} +var helpDOM; +if (!app.helpDOM) { + helpDOM = document.createElement("div"); + app.VHSHelp = helpDOM +} +function initHelpDOM() { + let parentDOM = document.createElement("div"); + parentDOM.className = "VHS_floatinghelp" + document.body.appendChild(parentDOM) + parentDOM.appendChild(helpDOM) + helpDOM.className = "litegraph"; + let scrollbarStyle = document.createElement('style'); + scrollbarStyle.innerHTML = ` + .VHS_floatinghelp { + scrollbar-width: 6px; + scrollbar-color: #0003 #0000; + &::-webkit-scrollbar { + background: transparent; + width: 6px; + } + &::-webkit-scrollbar-thumb { + background: #0005; + border-radius: 20px + } + &::-webkit-scrollbar-button { + display: none; + } + } + .VHS_loopedvideo::-webkit-media-controls-mute-button { + display:none; + } + .VHS_loopedvideo::-webkit-media-controls-fullscreen-button { + display:none; + } + ` + scrollbarStyle.id = 'scroll-properties' + parentDOM.appendChild(scrollbarStyle) + chainCallback(app.canvas, "onDrawForeground", function (ctx, visible_rect){ + let n = helpDOM.node + if (!n || !n?.graph) { + parentDOM.style['left'] = '-5000px' + return + } + //draw : function(ctx, node, widgetWidth, widgetY, height) { + //update widget position, even if off screen + const transform = ctx.getTransform(); + const scale = app.canvas.ds.scale;//gets the litegraph zoom + //calculate coordinates with account for browser zoom + const bcr = app.canvas.canvas.getBoundingClientRect() + const x = transform.e*scale/transform.a + bcr.x; + const y = transform.f*scale/transform.a + bcr.y; + //TODO: text reflows at low zoom. investigate alternatives + Object.assign(parentDOM.style, { + left: (x+(n.pos[0] + n.size[0]+15)*scale) + "px", + top: (y+(n.pos[1]-LiteGraph.NODE_TITLE_HEIGHT)*scale) + "px", + width: "400px", + minHeight: "100px", + maxHeight: "600px", + overflowY: 'scroll', + transformOrigin: '0 0', + transform: 'scale(' + scale + ',' + scale +')', + fontSize: '18px', + backgroundColor: LiteGraph.NODE_DEFAULT_BGCOLOR, + boxShadow: '0 0 10px black', + borderRadius: '4px', + padding: '3px', + zIndex: 3, + position: "absolute", + display: 'inline', + }); + }); + function setCollapse(el, doCollapse) { + if (doCollapse) { + el.children[0].children[0].innerHTML = '+' + Object.assign(el.children[1].style, { + color: '#CCC', + overflowX: 'hidden', + width: '0px', + minWidth: 'calc(100% - 20px)', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + }) + for (let child of el.children[1].children) { + if (child.style.display != 'none'){ + child.origDisplay = child.style.display + } + child.style.display = 'none' + } + } else { + el.children[0].children[0].innerHTML = '-' + Object.assign(el.children[1].style, { + color: '', + overflowX: '', + width: '100%', + minWidth: '', + textOverflow: '', + whiteSpace: '', + }) + for (let child of el.children[1].children) { + child.style.display = child.origDisplay + } + } + } + helpDOM.collapseOnClick = function() { + let doCollapse = this.children[0].innerHTML == '-' + setCollapse(this.parentElement, doCollapse) + } + helpDOM.selectHelp = function(name, value) { + //attempt to navigate to name in help + function collapseUnlessMatch(items,t) { + var match = items.querySelector('[vhs_title="' + t + '"]') + if (!match) { + for (let i of items.children) { + if (i.innerHTML.slice(0,t.length+5).includes(t)) { + match = i + break + } + } + } + if (!match) { + return null + } + //For longer documentation items with fewer collapsable elements, + //scroll to make sure the entirety of the selected item is visible + //This has the unfortunate side effect of trying to scroll the main + //window if the documentation windows is forcibly offscreen, + //but it's easy to simply scroll the main window back and seems to + //have no visual side effects + match.scrollIntoView(false) + window.scrollTo(0,0) + for (let i of items.querySelectorAll('.VHS_collapse')) { + if (i.contains(match)) { + setCollapse(i, false) + } else { + setCollapse(i, true) + } + } + return match + } + let target = collapseUnlessMatch(helpDOM, name) + if (target && value) { + collapseUnlessMatch(target, value) + } + } + let titleContext = document.createElement("canvas").getContext("2d") + titleContext.font = app.canvas.title_text_font; + helpDOM.calculateTitleLength = function(text) { + return titleContext.measureText(text).width + } + helpDOM.addHelp = function(node, nodeType, description) { + if (!description) { + return + } + //Pad computed size for the clickable question mark + let originalComputeSize = node.computeSize + node.computeSize = function() { + let size = originalComputeSize.apply(this, arguments) + if (!this.title) { + return size + } + let title_width = helpDOM.calculateTitleLength(this.title) + size[0] = Math.max(size[0], title_width + LiteGraph.NODE_TITLE_HEIGHT*2) + return size + } + + node.description = description + chainCallback(node, "onDrawForeground", function (ctx) { + if (this?.flags?.collapsed) { + return + } + //draw question mark + ctx.save() + ctx.font = 'bold 20px Arial' + ctx.fillText("?", this.size[0]-17, -8) + ctx.restore() + }) + chainCallback(node, "onMouseDown", function (e, pos, canvas) { + if (this?.flags?.collapsed) { + return + } + //On click would be preferred, but this'll be good enough + if (pos[1] < 0 && pos[0] + LiteGraph.NODE_TITLE_HEIGHT > this.size[0]) { + //corner question mark clicked + if (helpDOM.node == this) { + helpDOM.node = undefined + } else { + helpDOM.node = this; + helpDOM.innerHTML = this.description || "no help provided " + for (let e of helpDOM.querySelectorAll('.VHS_collapse')) { + e.children[0].onclick = helpDOM.collapseOnClick + e.children[0].style.cursor = 'pointer' + } + for (let e of helpDOM.querySelectorAll('.VHS_precollapse')) { + setCollapse(e, true) + } + for (let e of helpDOM.querySelectorAll('.VHS_loopedvideo')) { + e?.play() + } + helpDOM.parentElement.scrollTo(0,0) + } + return true + } + }) + let timeout = null + chainCallback(node, "onMouseMove", function (e, pos, canvas) { + if (timeout) { + clearTimeout(timeout) + timeout = null + } + if (helpDOM.node != this) { + return + } + timeout = setTimeout(() => { + let n = this + if (pos[0] > 0 && pos[0] < n.size[0] + && pos[1] > 0 && pos[1] < n.size[1]) { + //TODO: provide help specific to element clicked + let inputRows = Math.max(n.inputs?.length || 0, n.outputs?.length || 0) + if (pos[1] < LiteGraph.NODE_SLOT_HEIGHT * inputRows) { + let row = Math.floor((pos[1] - 7) / LiteGraph.NODE_SLOT_HEIGHT) + if (pos[0] < n.size[0]/2) { + if (row < n.inputs.length) { + helpDOM.selectHelp(n.inputs[row].name) + } + } else { + if (row < n.outputs.length) { + helpDOM.selectHelp(n.outputs[row].name) + } + } + } else { + //probably widget, but widgets have variable height. + let basey = LiteGraph.NODE_SLOT_HEIGHT * inputRows + 6 + for (let w of n.widgets) { + if (w.y) { + basey = w.y + } + let wheight = LiteGraph.NODE_WIDGET_HEIGHT+4 + if (w.computeSize) { + wheight = w.computeSize(n.size[0])[1] + } + if (pos[1] < basey + wheight) { + helpDOM.selectHelp(w.name, w.value) + break + } + basey += wheight + } + } + } + }, 500) + }) + chainCallback(node, "onMouseLeave", function (e, pos, canvas) { + if (timeout) { + clearTimeout(timeout) + timeout = null + } + }); + } +} + +function fitHeight(node) { + node.setSize([node.size[0], node.computeSize([node.size[0], node.size[1]])[1]]) + node?.graph?.setDirtyCanvas(true); +} +function startDraggingItems(node, pointer) { + app.canvas.emitBeforeChange() + app.canvas.graph?.beforeChange() + // Ensure that dragging is properly cleaned up, on success or failure. + pointer.finally = () => { + app.canvas.isDragging = false + app.canvas.graph?.afterChange() + app.canvas.emitAfterChange() + } + app.canvas.processSelect(node, pointer.eDown, true) + app.canvas.isDragging = true +} +function processDraggedItems(e) { + if (e.shiftKey || LiteGraph.alwaysSnapToGrid) + app.graph?.snapToGrid(app.canvas.selectedItems) + app.canvas.dirty_canvas = true + app.canvas.dirty_bgcanvas = true + app.canvas.onNodeMoved?.(findFirstNode(app.canvas.selectedItems)) +} +function allowDragFromWidget(widget) { + widget.onPointerDown = function(pointer, node) { + pointer.onDragStart = () => startDraggingItems(node, pointer) + pointer.onDragEnd = processDraggedItems + app.canvas.dirty_canvas = true + return true + } +} + +async function uploadFile(file, progressCallback) { + try { + // Wrap file in formdata so it includes filename + const body = new FormData(); + const i = file.webkitRelativePath.lastIndexOf('/'); + const subfolder = file.webkitRelativePath.slice(0,i+1) + const new_file = new File([file], file.name, { + type: file.type, + lastModified: file.lastModified, + }); + body.append("image", new_file); + if (i > 0) { + body.append("subfolder", subfolder); + } + const url = api.apiURL("/upload/image") + const resp = await new Promise((resolve) => { + let req = new XMLHttpRequest() + req.upload.onprogress = (e) => progressCallback?.(e.loaded/e.total) + req.onload = () => resolve(req) + req.open('post', url, true) + req.send(body) + }) + + if (resp.status !== 200) { + alert(resp.status + " - " + resp.statusText); + } + return resp + } catch (error) { + alert(error); + } +} +function applyVHSAudioLinksFix(nodeType, nodeData, audio_slot) { + chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linfo) { + if (contype == LiteGraph.OUTPUT && slot == audio_slot) { + if (linfo?.type == "VHS_AUDIO") { + this.outputs[audio_slot].type = "AUDIO" + let tnode = app.graph._nodes_by_id[linfo.target_id] + let inputDef = LiteGraph.registered_node_types[tnode.type]?.nodeData?.input + let has_migrated = true + if (inputDef?.required) { + for (let k in inputDef.required) { + if (inputDef.required[k][0] == "VHS_AUDIO") { + has_migrated = false + break + } + } + } + if (has_migrated &&inputDef?.optional) { + for (let k in inputDef.optional) { + if (inputDef.optional[k][0] == "VHS_AUDIO") { + has_migrated = false + break + } + } + } + if (!has_migrated) { + //need to add node and migrate + app.ui.dialog.show("This workflow contains one or more nodes which use the old VHS_AUDIO format. They have been highlighted in red. An AudioToVHSAudio node must be added to convert to this legacy format") + tnode.bgcolor = "#C00" + } + } + } + }) +} +function addVAEOutputToggle(nodeType, nodeData) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + this.reject_ue_connection = (input) => input?.name == "vae" + }) + chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linfo) { + let slotType = this.inputs[slot]?.type + if (contype == LiteGraph.INPUT && slotType == "VAE") { + if (iscon && linfo) { + if (this.linkTimeout) { + clearTimeout(this.linkTimeout) + this.linkTimeout = false + } else if (this.outputs[0].type == "IMAGE") { + this.linkTimeout = setTimeout(() => { + if (this.outputs[0].type != "IMAGE") { + return + } + this.linkTimeout = false + this.disconnectOutput(0); + }, 50) + } + this.outputs[0].name = 'LATENT'; + this.outputs[0].type = 'LATENT'; + } else{ + if (this.outputs[0].type == "LATENT") { + this.linkTimeout = setTimeout(() => { + this.linkTimeout = false + this.disconnectOutput(0); + }, 50) + } + this.outputs[0].name = "IMAGE"; + this.outputs[0].type = "IMAGE"; + } + } + }); +} +function addVAEInputToggle(nodeType, nodeData) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + this.reject_ue_connection = (input) => input?.name == "vae" + }) + chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linf) { + if (contype == LiteGraph.INPUT && slot == 3 && this.inputs[3].type == "VAE") { + if (iscon && linf) { + if (this.linkTimeout) { + clearTimeout(this.linkTimeout) + this.linkTimeout = false + } else if (this.inputs[0].type == "IMAGE") { + this.linkTimeout = setTimeout(() => { + //workaround for out of order loading + if (this.inputs[0].type != "IMAGE") { + return + } + this.linkTimeout = false + this.disconnectInput(0); + }, 50) + } + this.inputs[0].type = 'LATENT'; + } else { + if (this.inputs[0].type == "LATENT") { + this.linkTimeout = setTimeout(() => { + this.linkTimeout = false + this.disconnectInput(0); + }, 50) + } + this.inputs[0].type = "IMAGE"; + } + } + }); +} +function cloneType(nodeType, nodeData) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + this.changeOutputType = function (new_type) { + this.linkTimeout = setTimeout(() => { + this.linkTimeout = false + if (this.outputs[0].type != new_type) { + this.outputs[0].type = new_type + //check and potentially remove links + if (!this.outputs[0].links) { + return + } + let removed_links = [] + for (let link_id of this.outputs[0].links) { + let link = app.graph.links[link_id] + if (!link) + debugger + let target_node = app.graph.getNodeById(link.target_id) + let target_input = target_node.inputs[link.target_slot] + let keep = LiteGraph.isValidConnection(new_type, target_input.type) + if (!keep) { + link.disconnect(app.graph, 'input') + removed_links.push(link_id) + } + target_node.onConnectionsChange?.(LiteGraph.INPUT, + link.target_slot, keep, link, target_input) + } + this.outputs[0].links = this.outputs[0].links + .filter((v) => !removed_links.includes(v)) + } + }, 50) + } + this.changeOutputType("VHS_DUMMY_NONE") + }); + chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linf) { + if (contype == LiteGraph.INPUT && slot == 0) { + let new_type = "VHS_DUMMY_NONE" + if (iscon && linf) { + new_type = app.graph.getNodeById(linf.origin_id).outputs[linf.origin_slot].type + } + if (this.linkTimeout) { + clearTimeout(this.linkTimeout) + } + this.changeOutputType(new_type) + } + }); +} + +function addDateFormatting(nodeType, field, timestamp_widget = false) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const widget = this.widgets.find((w) => w.name === field); + widget.serializeValue = () => { + return applyTextReplacements(app, widget.value); + }; + }); +} +function addTimestampWidget(nodeType, nodeData, targetWidget) { + const newWidgets = {}; + for (let key in nodeData.input.required) { + if (key == targetWidget) { + //TODO: account for duplicate entries? + newWidgets["timestamp_directory"] = ["BOOLEAN", {"default": true}] + } + newWidgets[key] = nodeData.input.required[key]; + } + nodeDta.input.required = newWidgets; + chainCallback(nodeType.prototype, "onNodeCreated", function () { + const directoryWidget = this.widgets.find((w) => w.name === "directory_name"); + const timestampWidget = this.widgets.find((w) => w.name === "timestamp_directory"); + directoryWidget.serializeValue = () => { + if (timestampWidget.value) { + //ignore actual value and return timestamp + return formatDate("yyyy-MM-ddThh:mm:ss", new Date()); + } + return directoryWidget.value + }; + timestampWidget._value = value; + Object.definteProperty(timestampWidget, "value", { + set : function(value) { + this._value = value; + directoryWidget.disabled = value; + }, + get : function() { + return this._value; + } + }); + }); +} +function initializeLoadFormat(nodeType, nodeData) { + if (!nodeData?.input?.optional?.format) { + return + } + chainCallback(nodeType.prototype, "onNodeCreated", function() { + let node = this + let formatWidget = this.widgets.find((w) => w.name === "format") + formatWidget.options.formats = nodeData.input.optional.format[1].formats + let base = {} + for (let widget of this.widgets) { + if (['force_rate', 'custom_width', 'custom_height', + 'frame_load_cap'].includes(widget.name)) { + //TODO: filter these options? + base[widget.name] = widget.options + } + } + chainCallback(formatWidget, "callback", function(value) { + let format = this.options.formats[value] + if (!format) { + return + } + if ('target_rate' in format) { + format.force_rate = {'reset': format.target_rate} + } + if ('dim' in format) { + format.custom_width = {'step': format.dim[0], 'mod': format.dim[1]} + format.custom_height = {'step': format.dim[0], 'mod': format.dim[1]} + if (format.dim[2]) { + format.custom_width.reset = format.dim[2] + } + if (format.dim[3]) { + format.custom_height.reset = format.dim[3] + } + } + if ('frames' in format) { + format.frame_load_cap = {'step': format.frames[0], 'mod': format.frames[1]} + } + for (let widget of node.widgets) { + if (widget.name in base) { + let wasDefault = widget.options?.reset == widget.value + widget.options = Object.assign({}, base[widget.name], format[widget.name]) + if (wasDefault && widget.options.reset != undefined) { + widget.value = widget.options.reset + } + widget.callback(widget.value) + } + } + + }); + let capWidget = this.widgets.find((w) => w.name === "frame_load_cap") + capWidget.annotation = (value, width) => { + let max_frames = this.video_query?.loaded?.frames + if (!max_frames || value && value < max_frames) { + return + } + let format = formatWidget.options.formats[formatWidget.value] + const div = format?.frames?.[0] ?? 1 + const mod = format?.frames?.[1] ?? 0 + let loadable_frames = max_frames + if ((max_frames % div) != mod) { + loadable_frames = ((max_frames - mod)/div|0) * div + mod + } + return loadable_frames + "\u21FD" + } + let rateWidget = this.widgets.find((w) => w.name === "force_rate") + rateWidget.annotation = (value, width) => { + if (value == 0 && this.video_query?.source?.fps != undefined) { + return roundToPrecision(this.video_query.source.fps, 2) + "\u21FD" + } + } + }); +} + +function addUploadWidget(nodeType, nodeData, widgetName, type="video") { + let accept = {'video': ["video/webm","video/mp4","video/x-matroska","image/gif"], + 'audio': ["audio/mpeg","audio/wav","audio/x-wav","audio/ogg"]} + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const node = this + const pathWidget = this.widgets.find((w) => w.name === widgetName); + const fileInput = document.createElement("input"); + chainCallback(this, "onRemoved", () => { + fileInput?.remove(); + }); + if (type == "folder") { + Object.assign(fileInput, { + type: "file", + style: "display: none", + webkitdirectory: true, + onchange: async () => { + const directory = fileInput.files[0].webkitRelativePath; + const i = directory.lastIndexOf('/'); + if (i <= 0) { + throw "No directory found"; + } + const path = directory.slice(0,directory.lastIndexOf('/')) + if (pathWidget.options.values.includes(path)) { + alert("A folder of the same name already exists"); + return; + } + let successes = 0; + const onProg = (p) => this.progress = (successes + p) / fileInput.files.length + for(const file of fileInput.files) { + if ((await uploadFile(file, onProg)).status == 200) { + successes++; + } else { + this.progress = undefined + //Upload failed, but some prior uploads may have succeeded + //Stop future uploads to prevent cascading failures + //and only add to list if an upload has succeeded + if (successes > 0) { + break + } else { + return; + } + } + } + this.progress = undefined + pathWidget.options.values.push(path); + pathWidget.value = path; + if (pathWidget.callback) { + pathWidget.callback(path) + } + }, + }); + } else { + let accept = {'video': ["video/webm","video/mp4","video/x-matroska","image/gif"], + 'audio': ["audio/mpeg","audio/wav","audio/x-wav","audio/ogg"]}[type] + async function doUpload(file) { + let resp = await uploadFile(file, (p) => node.progress = p) + node.progress = undefined + if (resp.status != 200) { + return false + } + const filename = JSON.parse(resp.responseText).name; + pathWidget.options.values.push(filename); + pathWidget.value = filename; + if (pathWidget.callback) { + pathWidget.callback(filename) + } + return true + } + Object.assign(fileInput, { + type: "file", + accept: accept.join(','), + style: "display: none", + onchange: async () => { + if (fileInput.files.length) { + return await doUpload(fileInput.files[0]) + } + }, + }); + this.onDragOver = (e) => !!e?.dataTransfer?.types?.includes?.('Files') + this.onDragDrop = async function(e) { + if (!e?.dataTransfer?.types?.includes?.('Files')) { + return false + } + //TODO: Allow dragging multiple files at once? + const item = e.dataTransfer?.files?.[0] + if (accept.includes(item?.type)) { + return await doUpload(item) + } + return false + } + } + document.body.append(fileInput); + let uploadWidget = this.addWidget("button", "choose " + type + " to upload", "image", () => { + //clear the active click event + app.canvas.node_widget = null + + fileInput.click(); + }); + uploadWidget.options.serialize = false; + + + }); +} + +function addVideoPreview(nodeType, isInput=true) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + var element = document.createElement("div"); + const previewNode = this; + var previewWidget = this.addDOMWidget("videopreview", "preview", element, { + serialize: false, + hideOnZoom: false, + getValue() { + return element.value; + }, + setValue(v) { + element.value = v; + }, + }); + allowDragFromWidget(previewWidget) + previewWidget.computeSize = function(width) { + if (this.aspectRatio && !this.parentEl.hidden) { + let height = (previewNode.size[0]-20)/ this.aspectRatio + 10; + if (!(height > 0)) { + height = 0; + } + this.computedHeight = height + 10; + return [width, height]; + } + return [width, -4];//no loaded src, widget should not display + } + element.addEventListener('contextmenu', (e) => { + e.preventDefault() + return app.canvas._mousedown_callback(e) + }, true); + element.addEventListener('pointerdown', (e) => { + e.preventDefault() + return app.canvas._mousedown_callback(e) + }, true); + element.addEventListener('mousewheel', (e) => { + e.preventDefault() + return app.canvas._mousewheel_callback(e) + }, true); + element.addEventListener('pointermove', (e) => { + e.preventDefault() + return app.canvas._mousemove_callback(e) + }, true); + element.addEventListener('pointerup', (e) => { + e.preventDefault() + return app.canvas._mouseup_callback(e) + }, true); + element.addEventListener('dragover', (e) => { + //A little hacky, but allows drag events onto the preview itself + e.preventDefault(); + e.dataTransfer.dropEffect = "copy"; + app.dragOverNode = this + }) + previewWidget.value = {hidden: false, paused: false, params: {}, + muted: app.ui.settings.getSettingValue("VHS.DefaultMute")} + previewWidget.parentEl = document.createElement("div"); + previewWidget.parentEl.className = "vhs_preview"; + previewWidget.parentEl.style['width'] = "100%" + element.appendChild(previewWidget.parentEl); + previewWidget.videoEl = document.createElement("video"); + previewWidget.videoEl.controls = false; + previewWidget.videoEl.loop = true; + previewWidget.videoEl.muted = true; + previewWidget.videoEl.style['width'] = "100%" + previewWidget.videoEl.addEventListener("loadedmetadata", () => { + + previewWidget.aspectRatio = previewWidget.videoEl.videoWidth / previewWidget.videoEl.videoHeight; + fitHeight(this); + }); + previewWidget.videoEl.addEventListener("error", () => { + //TODO: consider a way to properly notify the user why a preview isn't shown. + previewWidget.parentEl.hidden = true; + fitHeight(this); + }); + previewWidget.videoEl.onmouseenter = () => { + previewWidget.videoEl.muted = previewWidget.value.muted + }; + previewWidget.videoEl.onmouseleave = () => { + previewWidget.videoEl.muted = true; + }; + + previewWidget.imgEl = document.createElement("img"); + previewWidget.imgEl.style['width'] = "100%" + previewWidget.imgEl.hidden = true; + previewWidget.imgEl.onload = () => { + previewWidget.aspectRatio = previewWidget.imgEl.naturalWidth / previewWidget.imgEl.naturalHeight; + fitHeight(this); + }; + previewWidget.parentEl.appendChild(previewWidget.videoEl) + previewWidget.parentEl.appendChild(previewWidget.imgEl) + var timeout = null; + this.updateParameters = (params, force_update) => { + if (!previewWidget.value.params) { + if(typeof(previewWidget.value) != 'object') { + previewWidget.value = {hidden: false, paused: false} + } + previewWidget.value.params = {} + } + Object.assign(previewWidget.value.params, params) + if (!force_update && + app.ui.settings.getSettingValue("VHS.AdvancedPreviews") == 'Never') { + return; + } + if (timeout) { + clearTimeout(timeout); + } + if (force_update) { + previewWidget.updateSource(); + } else { + timeout = setTimeout(() => previewWidget.updateSource(),100); + } + }; + previewWidget.updateSource = function () { + if (this.value.params == undefined) { + return; + } + let params = {} + let advp = app.ui.settings.getSettingValue("VHS.AdvancedPreviews") + if (advp == 'Never') { + advp = false + } else if (advp == 'Input Only') { + advp = isInput + } else { + advp = true + } + Object.assign(params, this.value.params);//shallow copy + params.timestamp = Date.now() + this.parentEl.hidden = this.value.hidden; + if (params.format?.split('/')[0] == 'video' + || advp && (params.format?.split('/')[1] == 'gif') + || params.format == 'folder') { + + this.videoEl.autoplay = !this.value.paused && !this.value.hidden; + if (!advp) { + this.videoEl.src = api.apiURL('/view?' + new URLSearchParams(params)); + } else { + let target_width = (previewNode.size[0]-20)*2 || 256; + let minWidth = app.ui.settings.getSettingValue("VHS.AdvancedPreviewsMinWidth") + if (target_width < minWidth) { + target_width = minWidth + } + if (!params.custom_width || !params.custom_height) { + params.force_size = target_width+"x?" + } else { + let ar = params.custom_width/params.custom_height + params.force_size = target_width+"x"+(target_width/ar) + } + params.deadline = app.ui.settings.getSettingValue("VHS.AdvancedPreviewsDeadline") + this.videoEl.src = api.apiURL('/vhs/viewvideo?' + new URLSearchParams(params)); + } + this.videoEl.hidden = false; + this.imgEl.hidden = true; + } else if (params.format?.split('/')[0] == 'image'){ + //Is animated image + this.imgEl.src = api.apiURL('/view?' + new URLSearchParams(params)); + this.videoEl.hidden = true; + this.imgEl.hidden = false; + } + delete previewNode.video_query + const doQuery = async () => { + if (!previewWidget?.value?.params?.filename) { + return + } + let qurl = api.apiURL('/vhs/queryvideo?' + new URLSearchParams(previewWidget.value.params)) + let query = undefined + try { + let query_res = await fetch(qurl) + query = await query_res.json() + } catch(e) { + return + } + previewNode.video_query = query + } + doQuery() + } + previewWidget.callback = previewWidget.updateSource + previewWidget.parentEl.appendChild(previewWidget.videoEl) + previewWidget.parentEl.appendChild(previewWidget.imgEl) + }); +} +let copiedPath = undefined +function addPreviewOptions(nodeType) { + chainCallback(nodeType.prototype, "getExtraMenuOptions", function(_, options) { + // The intended way of appending options is returning a list of extra options, + // but this isn't used in widgetInputs.js and would require + // less generalization of chainCallback + let optNew = [] + const previewWidget = this.widgets.find((w) => w.name === "videopreview"); + + let url = null + if (previewWidget.videoEl?.hidden == false && previewWidget.videoEl.src) { + if (['input', 'output', 'temp'].includes(previewWidget.value.params.type)) { + //Use full quality video + url = api.apiURL('/view?' + new URLSearchParams(previewWidget.value.params)); + //Workaround for 16bit png: Just do first frame + url = url.replace('%2503d', '001') + } + } else if (previewWidget.imgEl?.hidden == false && previewWidget.imgEl.src) { + url = previewWidget.imgEl.src; + url = new URL(url); + } + if (this.video_query?.source) { + let info_string = this.video_query.source.size.join('x') + + '@' + this.video_query.source.fps + 'fps ' + + this.video_query.source.frames + 'frames' + optNew.push({content: info_string, disabled: true}) + } + if (url) { + optNew.push( + { + content: "Open preview", + callback: () => { + window.open(url, "_blank") + }, + }, + { + content: "Save preview", + callback: () => { + const a = document.createElement("a"); + a.href = url; + a.setAttribute("download", previewWidget.value.params.filename); + document.body.append(a); + a.click(); + requestAnimationFrame(() => a.remove()); + }, + } + ); + if (previewWidget.value.params.fullpath) { + copiedPath = previewWidget.value.params.fullpath + const blob = new Blob([previewWidget.value.params.fullpath], + { type: 'text/plain'}) + optNew.push({ + content: "Copy output filepath", + callback: async () => { + await navigator.clipboard.write([ + new ClipboardItem({ + 'text/plain': blob + })])} + }); + } + if (previewWidget.value.params.workflow) { + let wParams = {...previewWidget.value.params, + filename: previewWidget.value.params.workflow} + let wUrl = api.apiURL('/view?' + new URLSearchParams(wParams)); + optNew.push({ + content: "Save workflow image", + callback: () => { + const a = document.createElement("a"); + a.href = wUrl; + a.setAttribute("download", previewWidget.value.params.workflow); + document.body.append(a); + a.click(); + requestAnimationFrame(() => a.remove()); + } + }); + } + } + const PauseDesc = (previewWidget.value.paused ? "Resume" : "Pause") + " preview"; + if(previewWidget.videoEl.hidden == false) { + optNew.push({content: PauseDesc, callback: () => { + //animated images can't be paused and are more likely to cause performance issues. + //changing src to a single keyframe is possible, + //For now, the option is disabled if an animated image is being displayed + if(previewWidget.value.paused) { + previewWidget.videoEl?.play(); + } else { + previewWidget.videoEl?.pause(); + } + previewWidget.value.paused = !previewWidget.value.paused; + }}); + } + //TODO: Consider hiding elements if no video preview is available yet. + //It would reduce confusion at the cost of functionality + //(if a video preview lags the computer, the user should be able to hide in advance) + const visDesc = (previewWidget.value.hidden ? "Show" : "Hide") + " preview"; + optNew.push({content: visDesc, callback: () => { + if (!previewWidget.videoEl.hidden && !previewWidget.value.hidden) { + previewWidget.videoEl.pause(); + } else if (previewWidget.value.hidden && !previewWidget.videoEl.hidden && !previewWidget.value.paused) { + previewWidget.videoEl.play(); + } + previewWidget.value.hidden = !previewWidget.value.hidden; + previewWidget.parentEl.hidden = previewWidget.value.hidden; + fitHeight(this); + + }}); + optNew.push({content: "Sync preview", callback: () => { + //TODO: address case where videos have varying length + //Consider a system of sync groups which are opt-in? + for (let p of document.getElementsByClassName("vhs_preview")) { + for (let child of p.children) { + if (child.tagName == "VIDEO") { + child.currentTime=0; + } else if (child.tagName == "IMG") { + child.src = child.src; + } + } + } + }}); + const muteDesc = (previewWidget.value.muted ? "Unmute" : "Mute") + " Preview" + optNew.push({content: muteDesc, callback: () => { + previewWidget.value.muted = !previewWidget.value.muted + }}) + if(options.length > 0 && options[0] != null && optNew.length > 0) { + optNew.push(null); + } + options.unshift(...optNew); + }); +} +function addFormatWidgets(nodeType, nodeData) { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + var formatWidget = null; + var formatWidgetIndex = -1; + for(let i = 0; i < this.widgets.length; i++) { + if (this.widgets[i].name === "format"){ + formatWidget = this.widgets[i]; + formatWidgetIndex = i+1; + break + } + } + let formatWidgetsCount = 0; + chainCallback(formatWidget, "callback", (value) => { + const formats = (LiteGraph.registered_node_types[this.type] + ?.nodeData?.input?.required?.format?.[1]?.formats) + let newWidgets = []; + if (formats?.[value]) { + let formatWidgets = formats[value] + for (let wDef of formatWidgets) { + let type = wDef[2]?.widgetType ?? wDef[1] + if (Array.isArray(type)) { + type = "COMBO" + } + app.widgets[type](this, wDef[0], wDef.slice(1), app) + let w = this.widgets.pop() + w.config = wDef.slice(1) + newWidgets.push(w) + } + } + let removed = this.widgets.splice(formatWidgetIndex, + formatWidgetsCount, ...newWidgets); + let newNames = new Set(newWidgets.map((w) => w.name)) + for (let w of removed) { + w?.onRemove?.() + if (w.name in newNames) { + continue + } + //I do not like the performance of this, but it's safe + let slot = this.inputs.findIndex((i) => i.name == w.name) + if (slot >= 0) { + this.removeInput(slot) + } + } + for (let w of newWidgets) { + let existingInput = this.inputs.find((i) => i.name == w.name) + if (existingInput) { + setWidgetConfig(existingInput, w.config) + //TODO: Consider forcing disconnection if props change? + } else { + //NOTE: config is applied in wrapped addInput call + this.addInput(w.name, w.config[0], {widget: {name: w.name}}) + } + } + fitHeight(this); + formatWidgetsCount = newWidgets.length; + }); + }); +} +function addLoadCommon(nodeType, nodeData) { + addVideoPreview(nodeType); + initializeLoadFormat(nodeType, nodeData) + addPreviewOptions(nodeType); + chainCallback(nodeType.prototype, "onNodeCreated", function() { + //widget.callback adds unused arguements which need culling + const node = this + function update(key) { + return function(value) { + let params = {} + params[key] = this.value + node?.updateParameters(params) + } + } + let prior_ar = -2 + const widthWidget = this.widgets.find((w) => w.name === "custom_width"); + const heightWidget = this.widgets.find((w) => w.name === "custom_height"); + function updateAR(value) { + let new_ar = -1 + if (widthWidget.value & heightWidget.value) { + new_ar = widthWidget.value / heightWidget.value + } + if (new_ar != prior_ar) { + node?.updateParameters({'custom_width': widthWidget.value, + 'custom_height': heightWidget.value}) + prior_ar = new_ar + } + } + const offsetWidget = this.widgets.find((w) => w.name === "start_time"); + if (offsetWidget) { + Object.defineProperty(offsetWidget.options, "step", { + set : (value) => {}, + get : () => { + return 1 / (this.video_query?.loaded?.fps ?? 1) + } + }) + } + let widgetMap = {'frame_load_cap': 'frame_load_cap', + 'skip_first_frames': 'skip_first_frames', 'select_every_nth': 'select_every_nth', + 'start_time': 'start_time', 'force_rate': 'force_rate', + 'custom_width': updateAR, 'custom_height': updateAR, + 'image_load_cap': 'image_load_cap', 'skip_first_images': 'skip_first_images' + } + for (let widget of this.widgets) { + if (widget.name in widgetMap) { + if (typeof(widgetMap[widget.name]) == 'function') { + chainCallback(widget, "callback", widgetMap[widget.name]); + } else { + chainCallback(widget, "callback", update(widgetMap[widget.name])) + } + } + if (widget.type != "button") { + widget.callback?.(widget.value) + } + } + }); +} + +function path_stem(path) { + let i = path.lastIndexOf("/"); + if (i >= 0) { + return [path.slice(0,i+1),path.slice(i+1)]; + } + return ["",path]; +} +function searchBox(event, [x,y], node) { + //Ensure only one dialogue shows at a time + if (this.prompt) + return; + this.prompt = true; + + let pathWidget = this; + let dialog = document.createElement("div"); + dialog.className = "litegraph litesearchbox graphdialog rounded" + dialog.innerHTML = 'Path
' + dialog.close = () => { + dialog.remove(); + } + document.body.append(dialog); + if (app.canvas.ds.scale > 1) { + dialog.style.transform = "scale(" + app.canvas.ds.scale + ")"; + } + var name_element = dialog.querySelector(".name"); + var input = dialog.querySelector(".value"); + var options_element = dialog.querySelector(".helper"); + input.value = pathWidget.value; + + var timeout = null; + let last_path = null; + let extensions = pathWidget.options.vhs_path_extensions + + input.addEventListener("keydown", (e) => { + dialog.is_modified = true; + if (e.keyCode == 27) { + //ESC + dialog.close(); + } else if (e.keyCode == 13 && e.target.localName != "textarea") { + pathWidget.value = input.value; + if (pathWidget.callback) { + pathWidget.callback(pathWidget.value); + } + dialog.close(); + } else { + if (e.keyCode == 9) { + //TAB + input.value = last_path + options_element.firstChild.innerText; + e.preventDefault(); + e.stopPropagation(); + } else if (e.ctrlKey && (e.keyCode == 87 || e.keyCode == 66)) { + //Ctrl+w or Ctrl+b + //most browsers won't support, but it's good QOL for those that do + input.value = path_stem(input.value.slice(0,-1))[0] + e.preventDefault(); + e.stopPropagation(); + } else if (e.ctrlKey && e.keyCode == 71) { + //Ctrl+g + //Temporarily disables extension filtering to show all files + e.preventDefault(); + e.stopPropagation(); + extensions = undefined + last_path = null; + } + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(updateOptions, 10); + return; + } + this.prompt=false; + e.preventDefault(); + e.stopPropagation(); + }); + + var button = dialog.querySelector("button"); + button.addEventListener("click", (e) => { + pathWidget.value = input.value; + if (pathWidget.callback) { + pathWidget.callback(pathWidget.value); + } + //unsure why dirty is set here, but not on enter-key above + node.graph.setDirtyCanvas(true); + dialog.close(); + this.prompt = false; + }); + var rect = app.canvas.canvas.getBoundingClientRect(); + var offsetx = -20; + var offsety = -20; + if (rect) { + offsetx -= rect.left; + offsety -= rect.top; + } + + if (event) { + dialog.style.left = event.clientX + offsetx + "px"; + dialog.style.top = event.clientY + offsety + "px"; + } else { + dialog.style.left = canvas.width * 0.5 + offsetx + "px"; + dialog.style.top = canvas.height * 0.5 + offsety + "px"; + } + //Search code + let options = [] + function addResult(name, isDir) { + let el = document.createElement("div"); + el.innerText = name; + el.className = "litegraph lite-search-item"; + if (isDir) { + el.className += " is-dir"; + el.addEventListener("click", (e) => { + input.value = last_path+name + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(updateOptions, 10); + }); + } else { + el.addEventListener("click", (e) => { + pathWidget.value = last_path+name; + if (pathWidget.callback) { + pathWidget.callback(pathWidget.value); + } + dialog.close(); + pathWidget.prompt = false; + }); + } + options_element.appendChild(el); + } + async function updateOptions() { + timeout = null; + let [path, remainder] = path_stem(input.value); + if (last_path != path) { + //fetch options. Must block execution here, so update should be async? + let params = {path : path} + if (extensions) { + params.extensions = extensions + } + let optionsURL = api.apiURL('/vhs/getpath?' + new URLSearchParams(params)); + try { + let resp = await fetch(optionsURL); + options = await resp.json(); + options = options.map((o) => o.replace('.','\0')) + options = options.sort() + options = options.map((o) => o.replace('\0','.')) + } catch(e) { + options = [] + } + last_path = path; + } + options_element.innerHTML = ''; + //filter options based on remainder + for (let option of options) { + if (option.startsWith(remainder)) { + let isDir = option.endsWith('/') + addResult(option, isDir); + } + } + } + + setTimeout(async function() { + input.focus(); + await updateOptions(); + }, 10); + + return dialog; +} +function button_action(widget) { + if ( + widget.options?.reset == undefined && + widget.options?.disable == undefined + ) { + return 'None' + } + if ( + widget.options.reset != undefined && + widget.value != widget.options.reset + ) { + return 'Reset' + } + if ( + widget.options.disable != undefined && + widget.value != widget.options.disable + ) { + return 'Disable' + } + if (widget.options.reset != undefined) { + return 'No Reset' + } + return 'No Disable' +} +function fitText(ctx, text, maxLength) { + if (maxLength <= 0) { + return ['', 0] + } + let fullLength = ctx.measureText(text).width + if (fullLength < maxLength) { + return [text, fullLength] + } + //determine approx safe cutoff + let cutoff = maxLength / fullLength * text.length | 0 + let shortened = text.slice(0, Math.max(0, cutoff - 2)) + '…' + return [shortened, ctx.measureText(shortened).width] +} +function fitPath(ctx, path, maxLength) { + let fullLength = ctx.measureText(path).width + if (fullLength < maxLength) { + return [path, fullLength] + } + //determine approx safe cutoff + let len = (maxLength / fullLength * path.length | 0) - 1 + + let displayPath = '' + let filename = path_stem(path)[1] + if (filename.length > len-2) { + //may all fit, but can't squeeze more info + displayPath = filename.substr(0,len); + } else { + //TODO: find solution for windows, path[1] == ':'? + let isAbs = path[0] == '/'; + let partial = path.substr(path.length - (isAbs ? len-2:len-1)) + let cutoff = partial.indexOf('/'); + if (cutoff < 0) { + //Can occur, but there isn't a nicer way to format + displayPath = path.substr(path.length-len); + } else { + displayPath = (isAbs ? '/…':'…') + partial.substr(cutoff); + } + } + return [displayPath, ctx.measureText(displayPath).width] +} +function roundToPrecision(num, precision) { + let strnum = Number(num).toFixed(precision) + let deci = strnum.indexOf('.') + if (deci > 0) { + let i = strnum.length - 1 + while (i > deci && strnum[i] == '0') { + i-- + } + if (i == deci) { + i-- + } + return strnum.slice(0, i+1) + } + return strnum +} +function inner_value_change(widget, value, node, pos) { + widget.value = value + if (widget.options?.property && widget.options.property in node.properties) { + node.setProperty(widget.options.property, value) + } + if (widget.callback) { + widget.callback(widget.value, app.canvas, node, event) + } +} +function drawAnnotated(ctx, node, widget_width, y, H) { + const litegraph_base = LiteGraph + const show_text = app.canvas.ds.scale >= (app.canvas.low_quality_zoom_threshold ?? 0.5) + const margin = 15 + ctx.strokeStyle = litegraph_base.WIDGET_OUTLINE_COLOR + ctx.fillStyle = litegraph_base.WIDGET_BGCOLOR + ctx.beginPath() + if (show_text) + ctx.roundRect(margin, y, widget_width - margin * 2, H, [H * 0.5]) + else ctx.rect(margin, y, widget_width - margin * 2, H) + ctx.fill() + if (show_text) { + if (!this.disabled) ctx.stroke() + const button = button_action(this) + if (button != 'None') { + ctx.save() + if (button.startsWith('No ')) { + ctx.fillStyle = litegraph_base.WIDGET_OUTLINE_COLOR + ctx.strokeStyle = litegraph_base.WIDGET_OUTLINE_COLOR + } else { + ctx.fillStyle = litegraph_base.WIDGET_TEXT_COLOR + ctx.strokeStyle = litegraph_base.WIDGET_TEXT_COLOR + } + ctx.beginPath() + if (button.endsWith('Reset')) { + ctx.arc(widget_width - margin - 26, y + H/2, 4, Math.PI*3/2, Math.PI) + ctx.stroke() + ctx.beginPath() + ctx.moveTo(widget_width - margin - 26, y + H/2 - 1.5) + ctx.lineTo(widget_width - margin - 26, y + H/2 - 6.5) + ctx.lineTo(widget_width - margin - 30, y + H/2 - 3.5) + ctx.fill() + } else { + ctx.arc(widget_width - margin - 26, y + H/2, 4, Math.PI*2/3, Math.PI*8/3) + ctx.moveTo(widget_width - margin - 26 - 8 ** .5, y + H/2 + 8 ** .5) + ctx.lineTo(widget_width - margin - 26 + 8 ** .5, y + H/2 - 8 ** .5) + ctx.stroke() + } + ctx.restore() + } + ctx.fillStyle = litegraph_base.WIDGET_TEXT_COLOR + if (!this.disabled) { + ctx.beginPath() + ctx.moveTo(margin + 16, y + 5) + ctx.lineTo(margin + 6, y + H * 0.5) + ctx.lineTo(margin + 16, y + H - 5) + ctx.fill() + ctx.beginPath() + ctx.moveTo(widget_width - margin - 16, y + 5) + ctx.lineTo(widget_width - margin - 6, y + H * 0.5) + ctx.lineTo(widget_width - margin - 16, y + H - 5) + ctx.fill() + } + let freeWidth = widget_width - (40 + margin * 2 + 20) + let [valueText, valueWidth] = fitText(ctx, this.displayValue(), freeWidth) + freeWidth -= valueWidth + + ctx.textAlign = 'left' + ctx.fillStyle = litegraph_base.WIDGET_SECONDARY_TEXT_COLOR + if (freeWidth > 20) { + let [name, nameWidth] = fitText(ctx, this.label || this.name, freeWidth) + freeWidth -= nameWidth + ctx.fillText(name, margin * 2 + 5, y + H * 0.7) + } + + let value_offset = margin * 2 + 20 + ctx.textAlign = 'right' + if (this.options.unit) { + ctx.fillStyle = litegraph_base.WIDGET_OUTLINE_COLOR + let [unitText, unitWidth] = fitText(ctx, this.options.unit, freeWidth) + if (unitText == this.options.unit) { + ctx.fillText(this.options.unit, widget_width - value_offset, y + H * 0.7) + value_offset += unitWidth + freeWidth -= unitWidth + } + } + ctx.fillStyle = litegraph_base.WIDGET_TEXT_COLOR + ctx.fillText(valueText, widget_width - value_offset, y + H * 0.7) + ctx.fillStyle = litegraph_base.WIDGET_SECONDARY_TEXT_COLOR + + + let annotation = '' + if (this.annotation) { + annotation = this.annotation(this.value, freeWidth) + } else if ( + this.options.annotation && + this.value in this.options.annotation + ) { + annotation = this.options.annotation[this.value] + } + if (annotation) { + ctx.fillStyle = litegraph_base.WIDGET_OUTLINE_COLOR + let [annoDisplay, annoWidth] = fitText(ctx, annotation, freeWidth) + ctx.fillText( + annoDisplay, + widget_width - 5 - valueWidth - value_offset, + y + H * 0.7 + ) + } + } +} +function mouseAnnotated(event, [x, y], node) { + //NOTE: Mouse actions contain no history element. + //This can cause overlapping actions since each triggers on different event type (down/move/up) + //TODO: Consider further rework + const widget_width = this.width || node.size[0] + const old_value = this.value + const margin = 15 + let isButton = 0 + if (x > margin + 6 && x < margin + 16) { + isButton = -1 + } else if (x > widget_width - margin - 16 & x < widget_width - margin - 6) { + isButton = 1 + } else if (x > widget_width - margin - 34 && x < widget_width - margin - 18) { + isButton = 2 + } + var allow_scroll = true + if (allow_scroll && event.type == 'pointermove') { + if (event.deltaX) + this.value += event.deltaX * (this.options.step || 1) + if (this.options.min != null && this.value < this.options.min) { + this.value = this.options.min + } + if (this.options.max != null && this.value > this.options.max) { + this.value = this.options.max + } + } else if (event.type == 'pointerdown') { + const buttonType = button_action(this) + if (isButton == 2) { + if (buttonType == 'Reset') { + this.value = this.options.reset + } else if (buttonType == 'Disable') { + this.value = this.options.disable + } + } else { + this.value += isButton * (this.options.step || 1) + if (this.options.min != null && this.value < this.options.min) { + this.value = this.options.min + } + if (this.options.max != null && this.value > this.options.max) { + this.value = this.options.max + } + } + } //end mousedown + else if (event.type == 'pointerup') { + if (event.click_time < 200 && !isButton) { + const d_callback = (v) => { + this.value = this.parseValue?.(v) ?? Number(v) + inner_value_change(this, this.value, node, [x, y]) + } + const dialog = app.canvas.prompt( + 'Value', + this.value,//TODO: Consider making this displayValue? + d_callback, + event + ) + const input = dialog.querySelector(".value") + input.addEventListener("keydown", (e) => { + if (e.keyCode == 9) { + e.preventDefault(); + e.stopPropagation(); + d_callback(input.value) + dialog.close() + node?.graph?.setDirtyCanvas(true); + let i=0 + for (;i w.name == 'vhslatentpreview') + if (i >= 0) { + n.widgets.splice(i,1)[0].onRemove() + } + } + latentPreviewNodes = new Set() + } + }, + }, + { + id: "VHS.LatentPreviewRate", + category: ['🎥🅥🅗🅢', 'Sampling', 'Latent Preview Rate'], + name: "Playback rate override.", + type: 'number', + attrs: { + min: 0, + step: 1, + max: 60 + }, + tooltip: + 'Force a specific frame rate for the playback of latent frames. This should not be confused with the output frame rate and will not match for video models.', + defaultValue: 0, + }, + { + id: 'VHS.MetadataImage', + category: ['🎥🅥🅗🅢', 'Output', 'MetadataImage'], + name: 'Save png of first frame for metadata', + type: 'boolean', + defaultValue: true, + }, + { + id: 'VHS.KeepIntermediate', + category: ['🎥🅥🅗🅢', 'Output', 'Keep Intermediate'], + name: 'Keep required intermediate files after sucessful execution', + type: 'boolean', + defaultValue: true, + }, + ], + + async beforeRegisterNodeDef(nodeType, nodeData, app) { + if(nodeData?.name?.startsWith("VHS_")) { + useKVState(nodeType); + if (nodeData.description) { + let description = nodeData.description + let el = document.createElement("div") + el.innerHTML = description + if (!el.children.length) { + //Is plaintext. Do minor convenience formatting + let chunks = description.split('\n') + nodeData.description = chunks[0] + description = chunks.join('
') + } else { + nodeData.description = el.querySelector('#VHS_shortdesc')?.innerHTML || el.children[1]?.firstChild?.innerHTML + } + chainCallback(nodeType.prototype, "onNodeCreated", function () { + helpDOM.addHelp(this, nodeType, description) + this.setSize(this.computeSize()) + }) + } + //set widgetType to use VHS widgets where possible + for(let inp of Object.values({...nodeData.input?.required, ...nodeData.input?.optional})) { + if (["INT", "FLOAT"].includes(inp[0])) { + if (!inp[1]) { + inp[1] = {} + } + inp[1].widgetType ??= "VHS" + inp[0] + } + } + chainCallback(nodeType.prototype, "onNodeCreated", function () { + let new_widgets = [] + if (this.widgets) { + for (let w of this.widgets) { + let input = this.constructor.nodeData.input + let config = input?.required[w.name] ?? input.optional[w.name] + if (!config) { + continue + } + if (w?.type == "text" && config[1].vhs_path_extensions) { + new_widgets.push(app.widgets.VHSPATH({}, w.name, ["VHSPATH", config[1]])); + } else { + new_widgets.push(w) + } + } + this.widgets = new_widgets; + } + const originalAddInput = this.addInput; + this.addInput = function(name, type, options) { + if (options.widget) { + //Is Converted Widget + const widget = this.widgets.find((w) => w.name == name) + if (widget?.config) { + //Has override for type + type = widget.config[0] + if (type == 'FLOAT') { + type = "FLOAT,INT" + } + setWidgetConfig(options, widget.config) + } + } + return originalAddInput.apply(this, [name, type, options]) + } + }); + } + if (nodeData?.name == "VHS_LoadImages") { + addUploadWidget(nodeType, nodeData, "directory", "folder"); + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const pathWidget = this.widgets.find((w) => w.name === "directory"); + chainCallback(pathWidget, "callback", (value) => { + if (!value) { + return; + } + let params = {filename : value, type : "input", format: "folder"}; + this.updateParameters(params, true); + }); + }); + addLoadCommon(nodeType, nodeData); + } else if (nodeData?.name == "VHS_LoadImagesPath") { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const pathWidget = this.widgets.find((w) => w.name === "directory"); + chainCallback(pathWidget, "callback", (value) => { + if (!value) { + return; + } + let params = {filename : value, type : "path", format: "folder"}; + this.updateParameters(params, true); + }); + }); + addLoadCommon(nodeType, nodeData); + } else if (nodeData?.name == "VHS_LoadVideo" || nodeData?.name == "VHS_LoadVideoFFmpeg") { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const pathWidget = this.widgets.find((w) => w.name === "video"); + chainCallback(pathWidget, "callback", (value) => { + if (!value) { + return; + } + let parts = ["input", value]; + let extension_index = parts[1].lastIndexOf("."); + let extension = parts[1].slice(extension_index+1); + let format = "video" + if (["gif", "webp", "avif"].includes(extension)) { + format = "image" + } + format += "/" + extension; + let params = {filename : parts[1], type : parts[0], format: format}; + this.updateParameters(params, true); + }); + }); + addUploadWidget(nodeType, nodeData, "video"); + addLoadCommon(nodeType, nodeData); + addVAEOutputToggle(nodeType, nodeData); + applyVHSAudioLinksFix(nodeType, nodeData, 2) + } else if (nodeData?.name == "VHS_LoadAudioUpload") { + addUploadWidget(nodeType, nodeData, "audio", "audio"); + applyVHSAudioLinksFix(nodeType, nodeData, 0) + } else if (nodeData?.name == "VHS_LoadAudio"){ + applyVHSAudioLinksFix(nodeType, nodeData, 0) + } else if (nodeData?.name == "VHS_LoadVideoPath" || nodeData?.name == "VHS_LoadVideoFFmpegPath") { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const pathWidget = this.widgets.find((w) => w.name === "video"); + chainCallback(pathWidget, "callback", (value) => { + let extension_index = value.lastIndexOf("."); + let extension = value.slice(extension_index+1); + let format = "video" + if (["gif", "webp", "avif"].includes(extension)) { + format = "image" + } + format += "/" + extension; + let params = {filename : value, type: "path", format: format}; + this.updateParameters(params, true); + }); + }); + addLoadCommon(nodeType, nodeData); + addVAEOutputToggle(nodeType, nodeData); + applyVHSAudioLinksFix(nodeType, nodeData, 2) + } else if (nodeData?.name == "VHS_LoadImagePath") { + addLoadCommon(nodeType, nodeData); + addVAEOutputToggle(nodeType, nodeData); + chainCallback(nodeType.prototype, "onNodeCreated", function() { + const pathWidget = this.widgets.find((w) => w.name === "image"); + chainCallback(pathWidget, "callback", (value) => { + let extension_index = value.lastIndexOf("."); + let extension = value.slice(extension_index+1); + let format = "video" + "/" + extension; + let params = {filename : value, type: "path", format: format}; + this.updateParameters(params, true); + }); + }); + } else if (nodeData?.name == "VHS_VideoCombine") { + addDateFormatting(nodeType, "filename_prefix"); + chainCallback(nodeType.prototype, "onExecuted", function(message) { + if (message?.gifs) { + this.updateParameters(message.gifs[0], true); + } + }); + addVideoPreview(nodeType, false); + addPreviewOptions(nodeType); + addFormatWidgets(nodeType, nodeData); + addVAEInputToggle(nodeType, nodeData) + } else if (nodeData?.name == "VHS_SaveImageSequence") { + //Disabled for safety as VHS_SaveImageSequence is not currently merged + //addDateFormating(nodeType, "directory_name", timestamp_widget=true); + //addTimestampWidget(nodeType, nodeData, "directory_name") + } else if (nodeData?.name == "VHS_BatchManager") { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + this.widgets.push({name: "count", type: "dummy", value: 0, + computeSize: () => {return [0,-4]}, + afterQueued: function() {this.value++;}}); + }); + } else if (nodeData?.name == "VHS_Unbatch") { + cloneType(nodeType, nodeData) + } else if (nodeData?.name == "VHS_SelectLatest") { + chainCallback(nodeType.prototype, "onNodeCreated", function() { + this.isVirtualNode = true + chainCallback(this, "onConnectionsChange", function (contype, slot, iscon, linfo) { + if (iscon) { + this.update_links() + } + }) + + this.update_links = function(extraLinks = []) { + if (!this.outputs[0].links?.length) return + + function get_links(node) { + let links = [] + for (const l of node.outputs[0].links) { + const linkInfo = app.graph.links[l] + const n = node.graph.getNodeById(linkInfo.target_id) + if (n.type == 'Reroute') { + links = links.concat(get_links(n)) + } else { + links.push(l) + } + } + return links + } + + let links = [ + ...get_links(this).map((l) => app.graph.links[l]), + ...extraLinks + ] + let v = this.latest_file + if (!v) { + return + } + + // For each output link copy our value over the original widget value + for (const linkInfo of links) { + const node = this.graph.getNodeById(linkInfo.target_id) + const input = node.inputs[linkInfo.target_slot] + const widgetName = input.widget.name + const widget = node.widgets.find((w) => w.name === widgetName) + if (widget) { + widget.value = v + if (widget.callback) { + widget.callback( widget.value, app.canvas, + node, app.canvas.graph_mouse, {}) + } + } + } + } + let fetch_files = async () => { + let [path, remainder] = path_stem(this.widgets[0].value) + let params = {path : path} + let optionsURL = api.apiURL('/vhs/getpath?' + new URLSearchParams(params)); + let options + try { + let resp = await fetch(optionsURL); + options = await resp.json(); + } catch(e) { + options = [] + } + options = options.filter((file) => file.startsWith(remainder) && file.endsWith(this.widgets[1].value)) + if (options.length && this.latest_file != options[options.length-1]) { + this.latest_file = path + options[options.length-1] + this.update_links() + } + } + this.widgets[0].callback = fetch_files + this.widgets[1].callback = fetch_files + this.onPromptExecuted = fetch_files + this.applyToGraph = this.update_links + }) + } + }, + async getCustomWidgets() { + return { + VHSPATH(node, inputName, inputData) { + let w = { + name : inputName, + type : "VHS.PATH", + value : "", + draw : function(ctx, node, widget_width, y, H) { + //Adapted from litegraph.core.js:drawNodeWidgets + var show_text = app.canvas.ds.scale >= (app.canvas.low_quality_zoom_threshold ?? 0.5) + var margin = 15; + var text_color = LiteGraph.WIDGET_TEXT_COLOR; + var secondary_text_color = LiteGraph.WIDGET_SECONDARY_TEXT_COLOR; + ctx.textAlign = "left"; + ctx.strokeStyle = LiteGraph.WIDGET_OUTLINE_COLOR; + ctx.fillStyle = LiteGraph.WIDGET_BGCOLOR; + ctx.beginPath(); + if (show_text) + ctx.roundRect(margin, y, widget_width - margin * 2, H, [H * 0.5]); + else + ctx.rect( margin, y, widget_width - margin * 2, H ); + ctx.fill(); + if (show_text) { + if(!this.disabled) + ctx.stroke(); + ctx.save(); + ctx.beginPath(); + ctx.rect(margin, y, widget_width - margin * 2, H); + ctx.clip(); + + //ctx.stroke(); + let freeWidth = widget_width - (margin * 2 + 40) + ctx.fillStyle = secondary_text_color; + const label = this.label || this.name; + if (label != null) { + let [labelDisplay, labelWidth] = fitText(ctx, label, freeWidth) + freeWidth -= labelWidth + ctx.fillText(labelDisplay, margin * 2, y + H * 0.7); + } + ctx.fillStyle = this.value ? text_color : '#777'; + ctx.textAlign = "right"; + let disp_text = fitPath(ctx, String(this.value || this.options.placeholder), freeWidth)[0] + ctx.fillText(disp_text, widget_width - margin * 2, y + H * 0.7); + ctx.restore(); + } + }, + mouse : searchBox, + options : {}, + }; + if (inputData.length > 1) { + w.options = inputData[1] + if (inputData[1].default) { + w.value = inputData[1].default; + } + } + + if (!node.widgets) { + node.widgets = []; + } + node.widgets.push(w); + return w; + }, + VHSFLOAT(node, inputName, inputData) { + let w = { + name: inputName, + type: "VHS.ANNOTATED", + value: inputData[1]?.default ?? 0, + draw: drawAnnotated, + mouse: mouseAnnotated, + computeSize(width) { + return [width, 20] + }, + callback(v) { + if (this.options.round) { + //TODO adopt ComfyUI_frontend#4291? + v = Math.round((v + Number.EPSILON) / + this.options.round) * this.options.round + } + if (this.options.max && v > this.options.max) { + v = this.options.max + } + if (this.options.min && v < this.options.max) { + v = this.options.min + } + this.value = v + }, + config: inputData, + displayValue: function() { + return roundToPrecision(this.value, this.options.precision ?? 3) + }, + options: Object.assign({}, inputData[1]) + } + if (!node.widgets) { + node.widgets = [] + } + node.widgets.push(w) + return w + }, + VHSINT(node, inputName, inputData) { + let w = { + name: inputName, + type: "VHS.ANNOTATED", + value: inputData[1]?.default ?? 0, + draw: drawAnnotated, + mouse: mouseAnnotated, + computeSize(width) { + return [width, 20] + }, + callback(v) { + if (this.options.max && v > this.options.max) { + v = this.options.max + } + if (this.options.min && v < this.options.min) { + v = this.options.min + } + if (v == 0) { + return + } + const s = this.options.step + let sh = this.options.mod ?? 0 + this.value = Math.round((v - sh) / s) * s + sh + }, + config: inputData, + displayValue: function() { + return this.value | 0 + }, + options: Object.assign({}, inputData[1]) + } + if (!node.widgets) { + node.widgets = [] + } + node.widgets.push(w) + return w + }, + VHSTIMESTAMP(node, inputName, inputData) { + let w = { + name: inputName, + type: "VHS.TIMESTAMP", + value: inputData[1]?.default ?? 0, + draw: drawAnnotated, + mouse: mouseAnnotated, + computeSize(width) { + return [width, 20] + }, + parseValue(v) { + if (typeof(v) == "string") { + let val = 0 + for (let chunk of v.split(":")) { + val = val * 60 + parseFloat(chunk) + } + return val + } + }, + callback(v) {}, + config: inputData, + options: Object.assign({}, inputData[1]), + displayValue() { + let seconds = this.value + let hours = seconds / 3600 | 0 + seconds -= 3600 * hours + let minutes = seconds / 60 | 0 + seconds -= 60 * minutes + let display = "" + if (hours > 0) { + display += hours + ":" + } + if (hours > 0 || minutes > 0) { + if (hours > 0) { + minutes = (''+minutes).padStart(2,'0') + } + display += minutes + ":" + } + seconds = roundToPrecision(seconds, 4) + if ((seconds[1] == '.' || seconds.length == 1) && (minutes > 0 || hours > 0)) { + seconds = '0'+seconds + } + display += seconds + return display + } + } + if (!node.widgets) { + node.widgets = [] + } + node.widgets.push(w) + return w + }, + } + }, + async loadedGraphNode(node) { + //Check and migrate inputs named batch_manager from old workflows + if (node.type?.startsWith("VHS_") && node.inputs) { + const batchInput = node.inputs.find((i) => i.name == "batch_manager") + if (batchInput) { + batchInput.name = "meta_batch" + } + } + }, + async beforeConfigureGraph(graphData, missingNodeTypes) { + if(helpDOM?.node) { + helpDOM.node = undefined + } + }, + async setup() { + let originalGraphToPrompt = app.graphToPrompt + let graphToPrompt = async function() { + let res = await originalGraphToPrompt.apply(this, arguments); + res.workflow.extra['VHS_latentpreview'] = app.ui.settings.getSettingValue("VHS.LatentPreview") + res.workflow.extra['VHS_latentpreviewrate'] = app.ui.settings.getSettingValue("VHS.LatentPreviewRate") + res.workflow.extra['VHS_MetadataImage'] = app.ui.settings.getSettingValue("VHS.MetadataImage") + res.workflow.extra['VHS_KeepIntermediate'] = app.ui.settings.getSettingValue("VHS.KeepIntermediate") + return res + } + app.graphToPrompt = graphToPrompt + //Add a handler for pasting video data + document.addEventListener('paste', async (e) => { + if (!e.target.classList.contains('litegraph') && + !e.target.classList.contains('graph-canvas-container')) { + return + } + let data = e.clipboardData || window.clipboardData + let filepath = data.getData('text/plain') + let video + for (const item of data.items) { + if (item.type.startsWith('video/')) { + video = item + break + } + } + if (filepath && copiedPath == filepath) { + //Add a Load Video (Path) and populate filepath + const pastedNode = LiteGraph.createNode('VHS_LoadVideoPath') + app.graph.add(pastedNode) + pastedNode.pos[0] = app.canvas.graph_mouse[0] + pastedNode.pos[1] = app.canvas.graph_mouse[1] + pastedNode.widgets[0].value = filepath + pastedNode.widgets[0].callback?.(filepath) + } else if (video && false) { + //Disabled due to lack of testing + //Add a Load Video (Upload), then upload the file, then select the file + const pastedNode = LiteGraph.createNode('VHS_LoadVideo') + app.graph.add(pastedNode) + pastedNode.pos[0] = app.canvas.graph_mouse[0] + pastedNode.pos[1] = app.canvas.graph_mouse[1] + const pathWidget = pastedNode.widgets[0] + //TODO: upload to pasted dir? + const blob = video.getAsFile() + const resp = await uploadFile(blob) + if (resp.status != 200) { + //upload failed and file can not be added to options + return; + } + const filename = (await resp.json()).name; + pathWidget.options.values.push(filename); + pathWidget.value = filename; + pathWidget.callback?.(filename) + } else { + return + } + e.preventDefault() + e.stopImmediatePropagation() + return false + }, true) + }, + async init() { + if (app.ui.settings.getSettingValue("VHS.AdvancedPreviews") == true) { + app.ui.settings.setSettingValue("VHS.AdvancedPreviews", 'Always') + } + if (app.ui.settings.getSettingValue("VHS.AdvancedPreviews") == false) { + app.ui.settings.setSettingValue("VHS.AdvancedPreviews", 'Never') + } + if (app.VHSHelp != helpDOM) { + helpDOM = app.VHSHelp + } else { + initHelpDOM() + } + let e = app.extensions.filter((w) => w.name == 'UVR5.AudioPreviewer') + if (e.length) { + let orig = e[0].beforeRegisterNodeDef + e[0].beforeRegisterNodeDef = function(nodeType, nodeData, app) { + if(!nodeData?.name?.startsWith("VHS_")) { + return orig.apply(this, arguments); + } + } + } + }, +}); +let previewImages = [] +let animateInterval +api.addEventListener('executing', ({ detail }) => { + if (detail === null) { + for (let node of app.graph._nodes) { + if (node.type.startsWith("VHS_")) { + node.onPromptExecuted?.() + } + } + } +}) +function getLatentPreviewCtx(id, width, height) { + const node = getNodeById(id) + if (!node) { + return undefined + } + + let previewWidget = node.widgets.find((w) => w.name == "vhslatentpreview") + if (!previewWidget) { + let canvasEl = document.createElement("canvas") + previewWidget = node.addDOMWidget("vhslatentpreview", "vhscanvas", canvasEl, { + serialize: false, + hideOnZoom: false, + }); + previewWidget.serialize = false + allowDragFromWidget(previewWidget) + canvasEl.addEventListener('contextmenu', (e) => { + e.preventDefault() + return app.canvas._mousedown_callback(e) + }, true); + canvasEl.addEventListener('pointerdown', (e) => { + e.preventDefault() + return app.canvas._mousedown_callback(e) + }, true); + canvasEl.addEventListener('mousewheel', (e) => { + e.preventDefault() + return app.canvas._mousewheel_callback(e) + }, true); + canvasEl.addEventListener('pointermove', (e) => { + e.preventDefault() + return app.canvas._mousemove_callback(e) + }, true); + canvasEl.addEventListener('pointerup', (e) => { + e.preventDefault() + return app.canvas._mouseup_callback(e) + }, true); + + previewWidget.computeSize = function(width) { + if (this.aspectRatio) { + let height = (node.size[0]-20)/ this.aspectRatio + 10; + if (!(height > 0)) { + height = 0; + } + this.computedHeight = height + 10; + return [width, height]; + } + return [width, -4];//no loaded src, widget should not display + } + } + let canvasEl = previewWidget.element + if (!previewWidget.ctx || canvasEl.width != width + || canvasEl.height != height) { + previewWidget.aspectRatio = width / height + canvasEl.width = width + canvasEl.height = height + fitHeight(node) + } + return canvasEl.getContext("2d") +} +//TODO: Figure out means of concurrency here. map of active nodes and finish event? +// Information has been squirreled away to the execution store which isn't exposed. +api.addEventListener('VHS_latentpreview', ({ detail }) => { + let setting = app.ui.settings.getSettingValue("VHS.LatentPreview") + if (!setting) { + return + } + let id = detail.id + if (id == null) { + return + } + latentPreviewNodes.add(id) + + previewImages = [] + previewImages.length = detail.length + let displayIndex = 0 + if (animateInterval) { + clearTimeout(animateInterval) + } + //While progress is safely cleared on execution completion. + //Initial progress must be started here to avoid a race condition + getNodeById(id).progress = 0 + animateInterval = setInterval(() => { + if (getNodeById(id).progress == undefined) { + clearTimeout(animateInterval) + animateInterval = undefined + return + } + if (!previewImages[displayIndex]) { + return + } + getLatentPreviewCtx(id, previewImages[displayIndex].width, + previewImages[displayIndex].height)?.drawImage?.(previewImages[displayIndex],0,0) + displayIndex = (displayIndex + 1) % previewImages.length + }, 1000/detail.rate); +}); +api.addEventListener('b_preview', async (e) => { + if (!animateInterval) { + return + } + e.preventDefault() + e.stopImmediatePropagation() + e.stopPropagation() + const dv = new DataView(await e.detail.slice(0,24).arrayBuffer()) + const index = dv.getUint32(4) + //const idlen = dv.getUint8(5) + //const id = dv.getstring???(6,idlen) + previewImages[index] = await window.createImageBitmap(e.detail.slice(24)) + return false +}, true); diff --git a/docs/hel-892/加载本地latent解码固定参考中文说明.md b/docs/hel-892/加载本地latent解码固定参考中文说明.md new file mode 100644 index 00000000..193a4c9e --- /dev/null +++ b/docs/hel-892/加载本地latent解码固定参考中文说明.md @@ -0,0 +1,444 @@ +# 加载本地latent解码固定参考中文说明 + +13新顶层保存位置(12标量+1历史对象)+0新注释;旧22图649保存位置+15注释逐对象不变。23图662位置+15注释展示,155定稿0、实跑0、新增转换0。 + +复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说明块和显式受信摘要,不改变转换/执行链。来源索引local_file以docs/hel-892/latent-document-evidence为解析基准。 + +## 加载本地latent解码 + +这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。 + +固定版本仅作参考;latent/VAE兼容、实际尺寸/帧数/效果与环境未知,无音频连线,未实跑、转换保持关闭。 + +源路径:`example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json` + +SHA1:ad98277e4a2f88a4437d83a94eddf7d6b538f8da + +原字节SHA256:1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b + +规范全图SHA256:2d6b85111d5b69339309f3ece0545fed9be15c60893b19c07638bedcf593e287 + +加载10:DJZ f6ca9376132600e6245d3d9d2f1e5d0ffa448d99,cnr djz-nodes、aux MushroomFleet/DJZ-Nodes;准确注册/读取/缩放,非核心LoadLatent或V2。 + +解码3:core0.3.57,官方tag v0.3.57→b0338e930bbc1f9d01f005f224573d5994732932;加载VAE5:core0.3.68,tag v0.3.68→265adad858e1f31b66cd3523a02b16f5d34ced52;两身份分别固定,不证明真实宿主混版可用。 + +合成4:VHS8e4d79471bf1952154768e8435a9300077b534fa准确提交,不套1.7.7/1.7.9发布包或其它commit。 + +源无frontendVersion;UE10/5为7.4.1、3/4为7.1,空映射不等于无影响,身份/恢复/钩子次序未知。 + +DJZ该提交pyproject声明license.file=LICENSE,但完整树未发现LICENSE/其它许可文件(请求LICENSE为404);许可授权未知,不用core/VHS的GPL原文代替。仅静态审查,不安装执行。 + +### 具体连线与处理条件 + +这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。 + +DJZ精确实现递归枚举output目录下.latent文件、相对路径排序,无文件提供空选项;加载以output与latent_file拼接,源反斜杠原样保留,不跨平台规范化或验证可达。IS_CHANGED读取文件算SHA256、VALIDATE_INPUTS查存在仅是上游行为描述,本轮不调用。 + +DJZ通过safetensors.torch.load_file(device=cpu)读取,取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择先抛错,try中读取/字段异常却返回(1,4,8,8)零张量;该回退不能证明成功加载或可解码。源张量格式、缩放是否适配所选VAE未知,不执行反序列化。 + +VAE5按core0.3.68动态枚举vae/vae_approx及特殊选项,普通文件分支解析配置vae目录、载入权重、构造VAE并检查有效性。Wan2_1_VAE_bf16.safetensors只是引用,不证明已安装、真实dtype、架构或兼容;不能由Wan文件名或video/WanVideo_前缀猜latent来源、家族、时间结构或分辨率。 + +解码3按core0.3.57调用vae.decode(samples["samples"]);若返回五维则展平为(-1,H,W,C)图像批次。VAE对象按core0.3.68参考实现会选设备/dtype、按显存分批、OOM尝试分块、末尾通道移到最后;默认process_output夹到0~1,但分支可覆盖,不能保证未知实际VAE/输出总在此范围。实际通道、帧数、尺寸、设备/兼容/效果未知,不运行GPU。 + +三条物理边双向核验:10槽0→3.samples;5槽0→3.vae;3槽0→4.images。四节点全mode0,无子图、无注释;3原widgets_values=[]零位置,与缺键/null/{}不同。物理边不证明真实运行或最终prompt。 + +合成4无frame_rate外线,保存16只控制合成播放时间轴,不证明原始FPS、latent帧数或实际时长。images来自解码3,audio/meta_batch/vae均未接,VHS_FILENAMES未接;没有音频节点/连线,不能称保留原声音,不制造输出映射。 + +准确VHS提交按h264-mp4/libx264、yuv420p/crf19、loop0、pingpong=false、save_output=true解释;output/temp按开关选择,独立首帧PNG受VHS_MetadataImage、视频元数据受save_metadata及模板条件控制。编码器/目录权限/动态选项未知,不运行ffmpeg。 + +trim_to_audio=false只有有效audio.waveform时才进入apad/-shortest混流分支;当前无音频输入,不能从缓存MP4推断有声。中间文件受VHS_KeepIntermediate条件;未请求任何输出文件。 + +一份videopreview完整对象保留历史E盘路径、16fps、workflow PNG、paused/hidden/params,仅纯文本,不请求api/view/媒体/文件;一对象一位置,不递归计数。源无frontendVersion,各UE版本分列;包内JS不能补证宿主恢复/钩子次序。 + +源物理边:[2, 3, 0, 4, 0, "IMAGE"] + +源物理边:[4, 5, 0, 3, 1, "VAE"] + +源物理边:[5, 10, 0, 3, 0, "LATENT"] + +节点10 DJZ-LoadLatent mode=0;保存位置=1;原properties={"cnr_id": "djz-nodes", "ver": "f6ca9376132600e6245d3d9d2f1e5d0ffa448d99", "Node name for S&R": "DJZ-LoadLatent", "aux_id": "MushroomFleet/DJZ-Nodes", "ue_properties": {"widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.4.1"}} + +节点3 VAEDecode mode=0;保存位置=0;原properties={"cnr_id": "comfy-core", "ver": "0.3.57", "Node name for S&R": "VAEDecode", "ue_properties": {"widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {}}} + +节点4 VHS_VideoCombine mode=0;保存位置=11;原properties={"cnr_id": "comfyui-videohelpersuite", "ver": "8e4d79471bf1952154768e8435a9300077b534fa", "Node name for S&R": "VHS_VideoCombine", "ue_properties": {"widget_ue_connectable": {}, "version": "7.1", "input_ue_unconnectable": {}}} + +节点5 VAELoader mode=0;保存位置=1;原properties={"cnr_id": "comfy-core", "ver": "0.3.68", "Node name for S&R": "VAELoader", "ue_properties": {"widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.4.1"}} + +### 使用与核对 + +这张图从output目录中引用一份latent,经所选VAE解码为图像批次,再按保存的16帧/秒合成视频。图中没有音频连线,不能称保留原视频声音。latent与VAE是否兼容、实际帧数/尺寸及效果未知;历史预览只作文本参考,未实跑、转换保持关闭。 + +素材要求:一份与所选VAE兼容的latent文件和对应VAE权重;这里只保留引用,不索取、读取或反序列化latent、不加载权重。 + +操作1:获准执行前分别核DJZ精确提交、core0.3.57解码/core0.3.68加载、VHS准确提交及宿主/UE;本轮保持停用。 + +操作2:核latent相对output路径与VAE引用,先确认格式、缩放、维度及兼容;不能因文件名带Wan或bf16就推断模型家族或dtype。 + +操作3:核10→3.samples、5→3.vae、3→4.images;播放帧率保存16且无外线。当前无音频连线,不承诺原声音或原时长。 + +常见问题:空选择会报错;DJZ读取异常可能回退零张量,看到张量不等于加载成功。解码错误/尺寸帧数异常需核latent_tensor、格式标记、VAE架构与输入维度,当前均未实测。 + +常见问题:MP4无声符合当前无audio输入;历史预览、旧E盘路径和workflow PNG不是当前输出证明。正式目录、编码器、权限和实际效果仍待获准核验,未定稿、未实跑。 + +### 逐保存位置说明 + +#### 1. 节点10 · latent文件引用(latent_file) + +保存latents反斜杠引用原文,仅按output目录拼接;不规范化、不验证可达、不读取latent。准确DJZ用safetensors.torch.load_file(device=cpu),取latent_tensor转float;有latent_format_version_0键乘1,否则乘1/0.18215。空选择在try外抛错;读取/键等异常返回(1,4,8,8)零张量,不能把该回退当成功读取或兼容证明。不是核心LoadLatent或DJZ V2。 + +```json +"latents\\ComfyUI_00001_nmxvu_1762517653.latent" +``` + +类:DJZ-LoadLatent;JSON类型:str;角色:scalar。 + +源位置:`/nodes/0/widgets_values/0` + +定义默认:output递归枚举并排序;无文件时仅空字符串;无固定默认;单位:文件引用 + +范围/条件:仅扫描大小写敏感的.latent后缀;目标动态列表未知 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [0] 精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证;DJZLoadLatent.py 7~112行;commit f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py +- [1] 准确DJZ-LoadLatent注册;V2独立注册,不套V2;__init__.py 123~136行;commit f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py +- [2] 精确元数据声明LICENSE,但此提交树无该文件,许可授权未知;pyproject.toml 1~15行;commit f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml + +#### 2. 节点4 · 合成播放帧率(frame_rate) + +保存16,无外线覆盖;这是合成时间轴设置,不是原始FPS或实际时长证明。若解码批次可用,时长与输出帧数/16及编码条件有关;实际帧数未知。 + +```json +16 +``` + +类:VHS_VideoCombine;JSON类型:int;角色:scalar。 + +源位置:`/nodes/2/widgets_values/frame_rate` + +定义默认:8;单位:帧/秒 + +范围/条件:min1、step1;schema未设max + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [19] 精确VHS floatOrInt类型与工具常量;videohelpersuite/utils.py 19~56行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py + +#### 3. 节点4 · 附加循环次数(loop_count) + +保存0;视频分支不额外循环,不将GIF循环语义套给MP4。 + +```json +0 +``` + +类:VHS_VideoCombine;JSON类型:int;角色:scalar。 + +源位置:`/nodes/2/widgets_values/loop_count` + +定义默认:0;单位:次 + +范围/条件:0~100,step1 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +#### 4. 节点4 · 输出文件名前缀(filename_prefix) + +保存video/WanVideo_,仅是输出前缀,不是固定产物文件名,不证明模型家族或源latent来自视频;不访问目录。 + +```json +"video/WanVideo_" +``` + +类:VHS_VideoCombine;JSON类型:str;角色:scalar。 + +源位置:`/nodes/2/widgets_values/filename_prefix` + +定义默认:AnimateDiff;单位:路径/前缀 + +范围/条件:目标目录/权限/计数未知 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +#### 5. 节点4 · 合成编码格式(format) + +保存H264 MP4,准确模板使用libx264;音频另有AAC条件。本图无音频输入,不能称保留原视频声音;未执行ffmpeg。 + +```json +"video/h264-mp4" +``` + +类:VHS_VideoCombine;JSON类型:str;角色:scalar。 + +源位置:`/nodes/2/widgets_values/format` + +定义默认:schema动态格式列表;函数回退image/gif;单位:格式选择 + +范围/条件:本图video/h264-mp4;动态编码器/格式列表未知 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [14] 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 1~15行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json +- [18] 精确VHS格式动态控件;未确证未知宿主恢复;web/js/VHS.core.js 1160~1225行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +#### 6. 节点4 · 像素格式(pix_fmt) + +保存yuv420p,传给编码模板;编码前可能按格式dim_alignment补边,实际编码器支持及尺寸未知。 + +```json +"yuv420p" +``` + +类:VHS_VideoCombine;JSON类型:str;角色:scalar。 + +源位置:`/nodes/2/widgets_values/pix_fmt` + +定义默认:yuv420p(模板首项);单位:像素格式 + +范围/条件:yuv420p或yuv420p10le + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [14] 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 1~15行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [18] 精确VHS格式动态控件;未确证未知宿主恢复;web/js/VHS.core.js 1160~1225行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +#### 7. 节点4 · 恒定质量因子(crf) + +保存19传给libx264 -crf;通常数值较低质量较高且文件较大,不保证码率、大小或成功。 + +```json +19 +``` + +类:VHS_VideoCombine;JSON类型:int;角色:scalar。 + +源位置:`/nodes/2/widgets_values/crf` + +定义默认:19;单位:CRF + +范围/条件:0~100,step1 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [14] 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 1~15行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +#### 8. 节点4 · 保存视频元数据(save_metadata) + +保存true,视频元数据按模板条件写入;独立首帧PNG由VHS_MetadataImage(默认开启)另控,不把此开关当所有PNG保存开关。历史workflow PNG不是当前已生成证明。 + +```json +true +``` + +类:VHS_VideoCombine;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/2/widgets_values/save_metadata` + +定义默认:true;单位:开关 + +范围/条件:true/false;prompt/extra_pnginfo与格式模板有条件 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [13] 精确8e4d7947格式模板、str(False)及元数据条件;videohelpersuite/nodes.py 48~165行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [14] 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 1~15行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json + +#### 9. 节点4 · 音频裁切策略(trim_to_audio) + +保存false;本图audio未接,不进入音频混流,不保留原声音。若以后接有效音频,准确本版str(False)条件会采用apad=whole_dur(总帧数/合成帧率+1)与-shortest;不保证同步,本轮不改图或运行。 + +```json +false +``` + +类:VHS_VideoCombine;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/2/widgets_values/trim_to_audio` + +定义默认:false;单位:开关 + +范围/条件:仅audio及有效waveform存在才混流 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [13] 精确8e4d7947格式模板、str(False)及元数据条件;videohelpersuite/nodes.py 48~165行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [14] 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 1~15行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json + +#### 10. 节点4 · 往返追加(pingpong) + +保存false,不追加逆序中间帧;解码批次本身的时序/含义未知,不按名称推断。 + +```json +false +``` + +类:VHS_VideoCombine;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/2/widgets_values/pingpong` + +定义默认:false;单位:开关 + +范围/条件:true/false + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +#### 11. 节点4 · 保存正式输出(save_output) + +保存true选择正式output目录;可能有独立首帧PNG与无声MP4,存在性未知。VHS_FILENAMES未接,不新增映射或执行出口;中间文件保留受VHS_KeepIntermediate条件影响。 + +```json +true +``` + +类:VHS_VideoCombine;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/2/widgets_values/save_output` + +定义默认:true;单位:开关 + +范围/条件:true选output,false选temp;目标权限未知 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [11] 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 234~388行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [12] 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 420~627行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py +- [15] 精确VHS_VideoCombine注册;videohelpersuite/nodes.py 1020~1032行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +#### 12. 节点4 · 历史合成预览对象(videopreview) + +完整保留paused/hidden/params、E盘fullpath、16fps及workflow PNG纯文本;不请求api/view、媒体或文件,不证明真实输出、原始FPS或兼容成功。 + +```json +{ + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideo__00001.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideo__00001.png", + "fullpath": "E:\\ComfyUI-Data\\output\\video\\WanVideo__00001.mp4" + } +} +``` + +类:VHS_VideoCombine;JSON类型:dict;角色:frontend_history。 + +源位置:`/nodes/2/widgets_values/videopreview` + +定义默认:无服务端默认;单位:历史状态 + +范围/条件:整对象一位置;不递归增加位置 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [17] 精确VHS历史预览控件;纯文本保留,不加载预览媒体;web/js/VHS.core.js 850~918行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js +- [16] 精确VHS序列化/恢复回调,不证明未知宿主与UE次序;web/js/VHS.core.js 41~168行;commit 8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +#### 13. 节点5 · VAE文件引用(vae_name) + +保存Wan2_1_VAE_bf16.safetensors,只是引用。core0.3.68普通分支get_full_path_or_raise(vae,vae_name)→load_torch_file→comfy.sd.VAE→有效性检查;不证明安装、实际dtype、模型架构或与latent兼容。文件名不证明latent来源、分辨率、时间结构或Wan家族;本轮不加载模型。 + +```json +"Wan2_1_VAE_bf16.safetensors" +``` + +类:VAELoader;JSON类型:str;角色:scalar。 + +源位置:`/nodes/3/widgets_values/0` + +定义默认:vae_list动态列表,无固定默认;单位:文件引用 + +范围/条件:配置vae/vae_approx目录与成对近似VAE选项,附pixel_space;目标列表未知 + +源mode=0;该节点声明版本与UE原文逐节点保留。源无frontendVersion,真实宿主恢复/钩子次序、动态选项与安装未知;保存态不是最终prompt或运行证明。 + +依据: +- [5] core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查;nodes.py 694~788行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py +- [6] core0.3.68准确VAELoader注册;nodes.py 1945~1958行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py +- [10] core0.3.68配置的vae路径解析,目标目录存在性未知;folder_paths.py 282~308行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py +- [7] core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型;comfy/sd.py 277~330行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py +- [8] core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查;comfy/sd.py 582~618行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py +- [9] core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知;comfy/sd.py 695~732行;commit 265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py + +### 零保存节点与源注释 + +3 VAEDecode:原widgets_values=[]零位置;两个具名连线输入samples/vae,不是缺键/null/{},五维结果按准确core0.3.57展平成图像批次,实际兼容未知。 + +### 固定原件索引 + +0. 精确DJZ加载:output递归枚举、路径拼接、safetensors读取、缩放、零张量回退与验证;DJZLoadLatent.py 第7~112行;提交f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 9e756b8705a88786b6c132302114250aadac6f2e4a13eaaf37cfa3434fd998ab;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/DJZLoadLatent.py + +1. 准确DJZ-LoadLatent注册;V2独立注册,不套V2;__init__.py 第123~136行;提交f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 3ba570898794b3269f411ea4a29b52f8e71da876219fe21420588c0183826dcb;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/__init__.py + +2. 精确元数据声明LICENSE,但此提交树无该文件,许可授权未知;pyproject.toml 第1~15行;提交f6ca9376132600e6245d3d9d2f1e5d0ffa448d99;SHA256 34e320585a543506209ee081a2075c17d3abc7a7e58e4a549e440b431f30b9d5;https://raw.githubusercontent.com/MushroomFleet/DJZ-Nodes/f6ca9376132600e6245d3d9d2f1e5d0ffa448d99/pyproject.toml + +3. core0.3.57 VAEDecode输入samples/vae、五维结果展平为图像批次;nodes.py 第278~298行;提交b0338e930bbc1f9d01f005f224573d5994732932;SHA256 574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py + +4. core0.3.57准确VAEDecode注册;nodes.py 第1941~1954行;提交b0338e930bbc1f9d01f005f224573d5994732932;SHA256 574438d9da16d8a29419ef4cc4c07ce3d1dfdca6d6c0a32d1dab1d3441220e36;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/nodes.py + +5. core0.3.68 VAELoader动态枚举、文件路径、载入VAE与有效性检查;nodes.py 第694~788行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py + +6. core0.3.68准确VAELoader注册;nodes.py 第1945~1958行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c92e2e6e3af2ca1a1219276a28660a415f51eb0b02b994e2fb3639d3aca916b3;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/nodes.py + +7. core0.3.68 VAE默认像素归一化与可覆盖分支,非按文件名识别模型;comfy/sd.py 第277~330行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py + +8. core0.3.68实际dtype/设备由实现与运行环境选择;有效性检查;comfy/sd.py 第582~618行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py + +9. core0.3.68 VAE对象解码、显存分批/OOM回退与通道移到末维;跨版本宿主未知;comfy/sd.py 第695~732行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 c6446346eac9fa085a8ba020d440294592cf7e7664c53710eddcc95957d310f2;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/comfy/sd.py + +10. core0.3.68配置的vae路径解析,目标目录存在性未知;folder_paths.py 第282~308行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 df82630df610edbaf86cecf0376871e1d026a05c12aa439670916099ecdd4f7a;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/folder_paths.py + +11. 精确8e4d7947合成schema、output/temp目录与首帧PNG条件;videohelpersuite/nodes.py 第234~388行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +12. 精确8e4d7947视频编码、可选音频waveform条件与预览返回;videohelpersuite/nodes.py 第420~627行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +13. 精确8e4d7947格式模板、str(False)及元数据条件;videohelpersuite/nodes.py 第48~165行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +14. 精确h264-mp4/libx264、像素格式、CRF、AAC及元数据/音频裁切默认;video_formats/h264-mp4.json 第1~15行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/video_formats/h264-mp4.json + +15. 精确VHS_VideoCombine注册;videohelpersuite/nodes.py 第1020~1032行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/nodes.py + +16. 精确VHS序列化/恢复回调,不证明未知宿主与UE次序;web/js/VHS.core.js 第41~168行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +17. 精确VHS历史预览控件;纯文本保留,不加载预览媒体;web/js/VHS.core.js 第850~918行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +18. 精确VHS格式动态控件;未确证未知宿主恢复;web/js/VHS.core.js 第1160~1225行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 4256a14d27f4dbc4cf415e4d61103df89e7fabe193991b14ac3b7e132d76767e;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/web/js/VHS.core.js + +19. 精确VHS floatOrInt类型与工具常量;videohelpersuite/utils.py 第19~56行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/videohelpersuite/utils.py + +20. 该准确提交许可原文;不代替DJZ许可;LICENSE 第1~674行;提交b0338e930bbc1f9d01f005f224573d5994732932;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0338e930bbc1f9d01f005f224573d5994732932/LICENSE + +21. 该准确提交许可原文;不代替DJZ许可;LICENSE 第1~674行;提交265adad858e1f31b66cd3523a02b16f5d34ced52;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/265adad858e1f31b66cd3523a02b16f5d34ced52/LICENSE + +22. 该准确提交许可原文;不代替DJZ许可;LICENSE 第1~674行;提交8e4d79471bf1952154768e8435a9300077b534fa;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Kosinkadink/ComfyUI-VideoHelperSuite/8e4d79471bf1952154768e8435a9300077b534fa/LICENSE diff --git a/e2e/latent-document.mjs b/e2e/latent-document.mjs new file mode 100644 index 00000000..e8e3f21b --- /dev/null +++ b/e2e/latent-document.mjs @@ -0,0 +1,101 @@ +// Local GET-only: new concat 42 positions and twenty frozen summaries. +import fs from 'node:fs'; +import assert from 'node:assert/strict'; +const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright'); +const out='.local-evidence/latent-document/browser';fs.mkdirSync(out,{recursive:true}); +const checks=[],requests=[],errors=[],blockedFonts=[],assertionGroups={};let group='aggregate'; +function check(condition,label){assert.ok(condition,label);checks.push(label);assertionGroups[group]=(assertionGroups[group]||0)+1;console.log('PASS '+label);} +const browser=await chromium.launch({headless:true,executablePath:process.env.BROWSER_EXECUTABLE}); +try { + const page=await browser.newPage({viewport:{width:1440,height:1000}}); + await page.route('**/*',route=>{ + const u=new URL(route.request().url()); + if(u.hostname==='fonts.googleapis.com'){blockedFonts.push(String(u));return route.fulfill({contentType:'text/css',body:''});} + if(route.request().method()!=='GET'||u.hostname!=='127.0.0.1'||u.pathname==='/api/view'||(/\.(mp4|png|wav|mp3|webm)$/i.test(u.pathname)&&u.pathname!=='/favicon.png')){errors.push('Forbidden request '+u);return route.abort();} + return route.continue(); + }); + page.on('request',r=>{if(r.url().includes('/api/'))requests.push({method:r.method(),url:r.url()});}); + page.on('pageerror',e=>errors.push(e.message)); + requests.push({method:'GET',url:'http://127.0.0.1:8247/api/workflows'}); + const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json(); + const names=['加载本地latent解码','截取视频每一帧','双图像或视频合并显示','视频转gif动图图片','加载图片合成视频','视频倒放','NLF_视频人物动作骨架获取','openpose-video-姿态检测','sdpose_视频人物姿势骨架提取','gemma4_提示词反推(图像视频音频)','图像合并成四宫格','图像分割-多宫格分割','Qwen_image2.1_图像编辑_背景移除','Qwen_image2.1_图像编辑_提示词增强','Qwen_image2.1_文生图_提示词增强','ControlNet_aux_常用样例','Qwen3-ASR-语音转文字','Qwen3-ASR-Subtitle语音转字幕','Minimax-H3提示词增强','音频转MP3格式','音频人声分离','视频-音频分离','图像嵌入文字描述']; + const details=[]; + for(const name of names){const r=records.find(r=>r.name===name);assert.ok(r);const url=`http://127.0.0.1:8247/api/workflows/${r.id}`;requests.push({method:'GET',url});details.push(await(await fetch(url)).json());} + check(details.length===23&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===662,'23图662保存位置'); + check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===15,'23图15源注释'); + await page.goto('http://127.0.0.1:5173/connections',{waitUntil:'networkidle'}); + const dialog=page.getByRole('dialog',{name:'工作流说明'}); + const fixedCard=dialog.locator('.card').filter({has:page.getByText('固定版本参数说明',{exact:true})}); + async function begin(name){const row=page.locator('.wf-row').filter({has:page.locator('.wf-name').filter({hasText:name})}).first();const button=row.getByRole('button',{name:'说明',exact:true});await button.focus();await page.keyboard.press('Enter');return button;} + async function loaded(){await dialog.getByText('用途与来源',{exact:true}).waitFor();await dialog.evaluate(el=>Promise.all(el.getAnimations().map(a=>a.finished)));} + for(const width of [1440,390]){ + await page.setViewportSize({width,height:width===390?844:1000}); + for(const d of details){ + group=details.indexOf(d)<1?'new_latent':'old_twenty_two';const b=d.doc_json.fixed_version,button=await begin(d.name);await loaded(); + const overview=dialog.locator('.card').filter({has:page.getByText('用途与来源',{exact:true})}); + check((await overview.innerText()).includes(b.user_overview),`${width} ${d.name}默认中文用途`); + check(!(await dialog.getByText('源图与审校记录',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}源审校默认折叠`); + check(!(await dialog.getByText('核对范围与来源依据',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}技术范围默认折叠`); + const visible=await fixedCard.innerText(); + check(!visible.includes('执行标量')&&!visible.includes('widgetId')&&!visible.includes(b.source_sha256)&&!visible.includes('UUID'),`${width} ${d.name}默认无执行计数/实现标识`); + check(visible.includes('依据固定版本整理,目标环境与实际效果未核对。'),`${width} ${d.name}默认依据限制可见`); + for(const t of ['说明未定稿','未验证实跑','未检查'])check((await dialog.innerText()).includes(t),`${width} ${d.name} ${t}`); + check(!d.is_enabled&&!d.doc_completed_at&&!d.exec_verified_at,`${width} ${d.name}停用/时间戳空`); + check(await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===b.fields.length,`${width} ${d.name}参数全保留`); + check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${d.name}默认无溢出`); + await dialog.locator('.drawer-body').evaluate(el=>el.scrollTop=0); + if(details.indexOf(d)<1)await page.screenshot({path:`${out}/${width}-${d.id}-default.png`}); + if(details.indexOf(d)>0){await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}旧图归还焦点`);continue;} + await dialog.getByText('源图与审校记录',{exact:true}).click(); + check((await overview.innerText()).includes(d.doc_json.purpose)&&(await overview.innerText()).includes(d.source_repo_path),`${width} ${d.name}原用途/源路径展开保留`); + await dialog.getByText('核对范围与来源依据',{exact:true}).click(); + const flowText=await fixedCard.innerText(); + for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`); + await dialog.getByText('版本、源图与连线依据',{exact:true}).click(); + check((await fixedCard.innerText()).includes(b.source_sha256)&&b.versions.every(v=>(v&&true)),`${width} ${d.name}原件摘要可展开`); + const versionText=await fixedCard.innerText(); + for(const v of b.versions)check(versionText.includes(v),`${width} ${d.name}版本 ${b.versions.indexOf(v)}`); + if(details.indexOf(d)<1){ + for(const f of b.fields){ + const summary=fixedCard.locator(`details[data-fixed-field="${f.pointer}"] > summary`);await summary.focus();await page.keyboard.press('Enter');const box=summary.locator('..'); + check(await box.evaluate(el=>el.open),`${width} ${f.node_id}.${f.field}键盘展开`); + let text=await box.innerText();check(text.includes(f.effect)&&text.includes(f.limits)&&text.includes(f.schema_default)&&text.includes(f.execution_note)&&text.includes(f.unit),`${width} ${f.node_id}.${f.field}用途/单位/范围/来源条件`); + check(await box.locator(':scope > pre').textContent()===(typeof f.value==='string'?f.value:JSON.stringify(f.value,null,2)),`${width} ${f.node_id}.${f.field}精确保留现值`); + check(!text.includes(f.pointer),`${width} ${f.node_id}.${f.field}指针默认折叠`); + await box.getByText('来源依据',{exact:true}).click();text=await box.innerText(); + check(text.includes(f.pointer)&&text.includes(f.class_type)&&text.includes(f.json_type)&&f.evidence.every(i=>{const e=b.sources[i];return text.includes(e.commit)&&text.includes(e.sha256)&&text.includes(e.lines.join('~'));}),`${width} ${f.node_id}.${f.field}精确源码/类型/指针`); + check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${f.node_id}.${f.field}展开无溢出`); + if((f.field==='trim_to_audio')||(f.field==='latent_file'))await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`}); + await summary.click(); + } + for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);await summary.click();} + await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`); + } + await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}关闭归还焦点`); + } + } + group='shared_regressions'; + for(const name of ['旧工作流回退(隔离测试夹具)','空说明回退(隔离测试夹具)']){await begin(name);await loaded();check((await dialog.innerText()).includes('隔离库旧条目回退测试'),'旧/空说明回退 '+name);await page.keyboard.press('Escape');} + // Missing summary and mismatched bindings are tested with local GET fixtures, without writes. + for(const variant of ['missing-overview','mismatched','html-summary']){ + const d=structuredClone(details[0]); + if(variant==='missing-overview')delete d.doc_json.fixed_version.user_overview; + if(variant==='mismatched')d.doc_json.fixed_version={matched:false,notice:'固定版本参数说明待核对:源文件、声明版本或说明依据未匹配,未采用旧定义。'}; + if(variant==='html-summary')d.doc_json.fixed_version.user_overview='仅纯文本'; + await page.route(`**/api/workflows/${d.id}`,route=>route.fulfill({json:d}));await begin(d.name);await loaded(); + if(variant==='missing-overview')check((await dialog.innerText()).includes('这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。'),'缺摘要自然中文回退'); + if(variant==='mismatched')check((await dialog.innerText()).includes(d.doc_json.fixed_version.notice)&&!await dialog.getByText('核对范围与来源依据',{exact:true}).count(),'错绑定提示明确且不展示旧字段'); + if(variant==='html-summary')check((await dialog.innerText()).includes(d.doc_json.fixed_version.user_overview)&&await dialog.locator('img').count()===0,'摘要HTML仅纯文本不创建图像或请求'); + check(!(await dialog.innerText()).includes('undefined'),'回退不暴露undefined');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${d.id}`); + } + let release,entered,delivered;const hold=new Promise(r=>release=r),intercept=new Promise(r=>entered=r),done=new Promise(r=>delivered=r); + await page.route(`**/api/workflows/${details[0].id}`,async route=>{entered();await hold;await route.fulfill({json:details[0]});delivered();}); + await begin(details[0].name);await intercept;await page.keyboard.press('Escape');await begin(details[1].name);await loaded();release();await done; + check((await dialog.innerText()).includes(details[1].doc_json.fixed_version.user_overview)&&await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===details[1].doc_json.fixed_version.fields.length,'迟到latent图响应不覆盖旧帧图摘要/31字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`); + await page.route(`**/api/workflows/${details[0].id}`,route=>route.fulfill({status:500,json:{detail:'隔离失败夹具'}}));await begin(details[0].name);await dialog.getByRole('alert').waitFor({timeout:20000});check(await dialog.getByRole('button',{name:'重试',exact:true}).isVisible(),'GET失败显示重试');check(await dialog.getByText('用途与来源',{exact:true}).count()===0,'读取失败隐藏旧摘要');await page.unroute(`**/api/workflows/${details[0].id}`);await dialog.getByRole('button',{name:'重试',exact:true}).click();await loaded();check((await dialog.innerText()).includes(details[0].doc_json.fixed_version.user_overview),'重试恢复摘要');await page.keyboard.press('Escape'); + check(errors.length===0,'无脚本错误或禁止请求 '+JSON.stringify(errors));check(requests.every(r=>r.method==='GET'&&new URL(r.url).hostname==='127.0.0.1'&&!r.url.includes('/api/view')),'全程本地GET无写/生成/目标/历史预览请求'); + const polling=requests.filter(r=>['/api/jobs','/api/events'].includes(new URL(r.url).pathname)); + const fixed=requests.filter(r=>!polling.includes(r)); + const frequencies=rs=>Object.fromEntries([...new Set(rs.map(r=>new URL(r.url).pathname))].sort().map(p=>[p,rs.filter(r=>new URL(r.url).pathname===p).length])); + fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({request_accounting:{fixed_count:fixed.length,fixed_paths:frequencies(fixed),polling_count:polling.length,polling_paths:frequencies(polling),polling_tolerance:1,reason:'定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。'},assertion_count:checks.length,assertionGroups,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2)); +} finally {await browser.close();} diff --git a/e2e/run-latent-document.py b/e2e/run-latent-document.py new file mode 100644 index 00000000..644cfa1a --- /dev/null +++ b/e2e/run-latent-document.py @@ -0,0 +1,78 @@ +"""Foreground local browser check; stop every owned service before returning.""" + +from __future__ import annotations + +import os +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] +OUT = ROOT / ".local-evidence/latent-document/browser" + + +def main(): + OUT.mkdir(parents=True, exist_ok=True) + # Refuse to reuse another operator's service or port. + import socket + + for port in (8247, 5173): + with socket.socket() as sock: + sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + sock.bind(("127.0.0.1", port)) + processes = [] + logs = [] + try: + commands = [ + ([sys.executable, str(ROOT / "e2e/workflow-document-server.py")], ROOT), + ( + ["node", "node_modules/vite/bin/vite.js", "--host", "127.0.0.1"], + ROOT / "calliope-web", + ), + ] + for i, (command, cwd) in enumerate(commands): + log = (OUT / f"service-{i}.log").open("w") + logs.append(log) + processes.append( + subprocess.Popen(command, cwd=cwd, stdout=log, stderr=log, start_new_session=True) + ) + for url in ( + "http://127.0.0.1:8247/api/workflows", + "http://127.0.0.1:5173/connections", + ): + deadline = time.monotonic() + 30 + while True: + if any(p.poll() is not None for p in processes): + raise RuntimeError("Local service exited; inspect service logs") + try: + with urllib.request.urlopen(url, timeout=1) as response: + if response.status == 200: + break + except (urllib.error.URLError, TimeoutError): + pass + if time.monotonic() > deadline: + raise TimeoutError(url) + time.sleep(0.2) + names = ["latent"] + for name in names: + subprocess.run(["node", f"e2e/{name}-document.mjs"], cwd=ROOT, check=True) + finally: + for p in processes: + if p.poll() is None: + os.killpg(p.pid, signal.SIGTERM) + try: + p.wait(timeout=10) + except subprocess.TimeoutExpired: + os.killpg(p.pid, signal.SIGKILL) + p.wait(timeout=5) + for log in logs: + log.close() + print("All owned browser services stopped.") + + +if __name__ == "__main__": + main()