HEL-892 document VOSR2 batched loop source and interface conflicts
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
|
||||
}
|
||||
@@ -0,0 +1,781 @@
|
||||
新增上游原件字节冻结,保留其原有尾空白/文件末尾空行;不改上游以求diff空白通过。自写Python Ruff/format已通过。
|
||||
docs/hel-892/vosr2-loop-document-evidence/pytest-initial.txt:23: trailing whitespace.
|
||||
+E
|
||||
docs/hel-892/vosr2-loop-reference/batch____init__.py:28: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-show____init__.py:28: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__py__nodes__logic.py:1809: new blank line at EOF.
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:802: space before tab in indent.
|
||||
+ let preset_i = 3;
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:803: space before tab in indent.
|
||||
+ let vector_i = 4;
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:804: space before tab in indent.
|
||||
+ let file_i = 5;
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:892: space before tab in indent.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:1239: trailing whitespace.
|
||||
+ 'lora_name', 'lora1_name', 'lora2_name', 'lora3_name',
|
||||
docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js:1240: trailing whitespace.
|
||||
+ 'refiner_lora1_name', 'refiner_lora2_name', 'upscale_method',
|
||||
docs/hel-892/vosr2-loop-reference/easy-start____init__.py:28: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:634: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:650: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:655: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:659: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:667: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:691: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:712: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:717: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:721: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:729: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:744: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:753: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py:2003: new blank line at EOF.
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:802: space before tab in indent.
|
||||
+ let preset_i = 3;
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:803: space before tab in indent.
|
||||
+ let vector_i = 4;
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:804: space before tab in indent.
|
||||
+ let file_i = 5;
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:892: space before tab in indent.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:1239: trailing whitespace.
|
||||
+ 'lora_name', 'lora1_name', 'lora2_name', 'lora3_name',
|
||||
docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js:1240: trailing whitespace.
|
||||
+ 'refiner_lora1_name', 'refiner_lora2_name', 'upscale_method',
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:41: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:112: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:114: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:130: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:132: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:133: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:137: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:140: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:143: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:148: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:151: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:158: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:174: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:175: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:177: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:179: trailing whitespace.
|
||||
+ latent_samples = samples["samples"]
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:183: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:186: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:197: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:251: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:254: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:274: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:295: trailing whitespace.
|
||||
+Creates single string, or a list of strings, from
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:296: trailing whitespace.
|
||||
+multiple input strings.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:297: trailing whitespace.
|
||||
+You can set how many inputs the node has,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:327: trailing whitespace.
|
||||
+ },
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:346: trailing whitespace.
|
||||
+ "required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:350: trailing whitespace.
|
||||
+ },
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:371: trailing whitespace.
|
||||
+ c.append(n)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:612: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:614: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:616: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:620: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:631: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:637: trailing whitespace.
|
||||
+Returns the inputs unchanged, they are only used as triggers,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:638: trailing whitespace.
|
||||
+and performs comfy model management functions and garbage collection,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:656: trailing whitespace.
|
||||
+ "text": [f"{freemem_before:,.0f}x{freemem_after:,.0f}"]},
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:657: trailing whitespace.
|
||||
+ "result": (any_input, image_pass, model_pass, freemem_before, freemem_after)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:662: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:715: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:718: trailing whitespace.
|
||||
+ def INPUT_TYPES(cls):
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:737: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:759: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:783: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:798: trailing whitespace.
|
||||
+Generates an empty latent image with the specified dimensions.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:808: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:811: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:813: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:844: trailing whitespace.
|
||||
+Selects a node and it's specified widget and outputs the value as a string.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:845: trailing whitespace.
|
||||
+If no node id or title is provided it will use the 'any_input' link and use that node.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:847: trailing whitespace.
|
||||
+Alternatively you can search with the node title. Node titles ONLY exist if they
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1028: trailing whitespace.
|
||||
+Does nothing, used to trigger generic workflow output.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1034: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1051: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1062: trailing whitespace.
|
||||
+ adjusted_sigmas[i] = 0.0001
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1064: trailing whitespace.
|
||||
+ adjusted_sigmas[0] = 0.0001
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1072: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1087: trailing whitespace.
|
||||
+Creates a sigmas tensor from a string of comma separated values.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1088: trailing whitespace.
|
||||
+Examples:
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1089: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1090: trailing whitespace.
|
||||
+Nvidia's optimized AYS 10 step schedule for SD 1.5:
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1091: trailing whitespace.
|
||||
+14.615, 6.475, 3.861, 2.697, 1.886, 1.396, 0.963, 0.652, 0.399, 0.152, 0.029
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1092: trailing whitespace.
|
||||
+SDXL:
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1093: trailing whitespace.
|
||||
+14.615, 6.315, 3.771, 2.181, 1.342, 0.862, 0.555, 0.380, 0.234, 0.113, 0.029
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1094: trailing whitespace.
|
||||
+SVD:
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1095: trailing whitespace.
|
||||
+700.00, 54.5, 15.886, 7.977, 4.248, 1.789, 0.981, 0.403, 0.173, 0.034, 0.002
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1105: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1114: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1117: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1121: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1139: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1144: trailing whitespace.
|
||||
+ "latents":("LATENT",),
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1156: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1160: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1183: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1185: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1189: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1198: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1204: trailing whitespace.
|
||||
+Reacts to the sound level of the input.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1205: trailing whitespace.
|
||||
+Uses your browsers sound input options and requires.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1208: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1217: trailing whitespace.
|
||||
+ return (sound_level, sound_level_int, )
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1218: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1222: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1238: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1245: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1267: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1309: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1328: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1335: trailing whitespace.
|
||||
+ azimuth = float(azimuth_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1346: trailing whitespace.
|
||||
+ elevation_val = float(elevation_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1359: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1379: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1400: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1442: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1448: trailing whitespace.
|
||||
+Allow scheduling of the azimuth and elevation conditions for SV3D.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1449: trailing whitespace.
|
||||
+Note that SV3D is still a video model and the schedule needs to always go forward
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1466: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1473: trailing whitespace.
|
||||
+ azimuth = float(azimuth_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1484: trailing whitespace.
|
||||
+ elevation_val = float(elevation_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1512: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1534: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1552: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1561: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1569: trailing whitespace.
|
||||
+A T5 model fine-tuned on the SuperPrompt dataset for
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1570: trailing whitespace.
|
||||
+upsampling text prompts to more detailed descriptions.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1571: trailing whitespace.
|
||||
+Meant to be used as a pre-generation step for text-to-image
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1572: trailing whitespace.
|
||||
+models that benefit from more detailed prompts.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1584: trailing whitespace.
|
||||
+ snapshot_download(repo_id="roborovski/superprompt-v1",
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1585: trailing whitespace.
|
||||
+ local_dir=checkpoint_path,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1592: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1598: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1603: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1619: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1624: trailing whitespace.
|
||||
+Visualizes the camera poses, from Animatediff-Evolved CameraCtrl Pose
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1625: trailing whitespace.
|
||||
+or a .txt file with RealEstate camera intrinsics and coordinates, in a 3D plot.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1627: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1697: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1756: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1757: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1758: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1804: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1842: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1859: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1870: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1884: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1906: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1928: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1940: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1950: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1958: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1966: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1973: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:1980: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2044: trailing whitespace.
|
||||
+ k = new_modelpatcher.add_patches(loaded, strength_model)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2045: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2052: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2066: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2076: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2085: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2137: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2163: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2268: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2290: trailing whitespace.
|
||||
+ Add noise to an image.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2515: trailing whitespace.
|
||||
+ return sampling_function(self.inner_model, x, timestep, uncond, self.conds.get("positive", None), cfg, model_options=model_options, seed=seed)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2520: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2533: trailing whitespace.
|
||||
+CFG Guider that allows for scheduled CFG changes over steps, the steps outside the range will use CFG 1.0 thus being processed faster.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2534: trailing whitespace.
|
||||
+cfg input can be a list of floats matching step count, or a single float for all steps.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2538: trailing whitespace.
|
||||
+ guider = Guider_ScheduledCFG(model)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2552: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2563: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2569: trailing whitespace.
|
||||
+ d,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2570: trailing whitespace.
|
||||
+ 10000.0,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2575: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2577: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2579: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2588: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2599: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2604: trailing whitespace.
|
||||
+ model_class.params.hidden_size // model_class.params.num_heads,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2605: trailing whitespace.
|
||||
+ model_class.params.theta,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2606: trailing whitespace.
|
||||
+ model_class.params.axes_dim,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2610: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2612: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2661: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2682: trailing whitespace.
|
||||
+ timer = Timer(name=name)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2685: trailing whitespace.
|
||||
+ "text": [f"{timer.start_time}"]},
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2686: trailing whitespace.
|
||||
+ "result": (any_input, timer, 0)
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2726: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2759: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2879: trailing whitespace.
|
||||
+Calculator node that evaluates a mathematical expression using inputs a and b.
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2880: trailing whitespace.
|
||||
+ Supported operations: +, -, *, /, //, %, **, <<, >>, unary +/-
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2881: trailing whitespace.
|
||||
+ Supported comparisons: ==, !=, <, <=, >, >=
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2882: trailing whitespace.
|
||||
+ Supported logic: and, or, not
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2883: trailing whitespace.
|
||||
+ Supported functions: abs(), round(), min(), max(), pow(), sqrt(), sin(), cos(), tan(), log(), log10(), exp(), floor(), ceil()
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2884: trailing whitespace.
|
||||
+ Supported constants: pi, euler, True, False
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2906: trailing whitespace.
|
||||
+ ast.FloorDiv: operator.floordiv, ast.Mod: operator.mod, ast.Pow: operator.pow,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2907: trailing whitespace.
|
||||
+ ast.USub: operator.neg, ast.UAdd: operator.pos, ast.LShift: operator.lshift,
|
||||
docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py:2909: trailing whitespace.
|
||||
+ ast.LtE: operator.le, ast.Gt: operator.gt, ast.GtE: operator.ge, ast.And: operator.and_,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:32: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:103: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:105: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:121: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:123: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:124: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:128: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:131: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:134: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:139: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:142: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:149: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:165: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:166: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:168: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:170: trailing whitespace.
|
||||
+ latent_samples = samples["samples"]
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:174: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:177: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:188: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:242: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:245: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:265: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:286: trailing whitespace.
|
||||
+Creates single string, or a list of strings, from
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:287: trailing whitespace.
|
||||
+multiple input strings.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:288: trailing whitespace.
|
||||
+You can set how many inputs the node has,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:318: trailing whitespace.
|
||||
+ },
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:337: trailing whitespace.
|
||||
+ "required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:341: trailing whitespace.
|
||||
+ },
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:362: trailing whitespace.
|
||||
+ c.append(n)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:603: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:605: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:607: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:611: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:622: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:628: trailing whitespace.
|
||||
+Returns the inputs unchanged, they are only used as triggers,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:629: trailing whitespace.
|
||||
+and performs comfy model management functions and garbage collection,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:647: trailing whitespace.
|
||||
+ "text": [f"{freemem_before:,.0f}x{freemem_after:,.0f}"]},
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:648: trailing whitespace.
|
||||
+ "result": (any_input, image_pass, model_pass, freemem_before, freemem_after)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:653: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:706: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:709: trailing whitespace.
|
||||
+ def INPUT_TYPES(cls):
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:728: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:750: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:774: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:789: trailing whitespace.
|
||||
+Generates an empty latent image with the specified dimensions.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:799: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:802: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:804: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:825: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:836: trailing whitespace.
|
||||
+Selects a node and it's specified widget and outputs the value as a string.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:837: trailing whitespace.
|
||||
+If no node id or title is provided it will use the 'any_input' link and use that node.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:838: trailing whitespace.
|
||||
+To see node id's, enable node id display from Manager badge menu.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:839: trailing whitespace.
|
||||
+Alternatively you can search with the node title. Node titles ONLY exist if they
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:840: trailing whitespace.
|
||||
+are manually edited!
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:869: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:882: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:927: trailing whitespace.
|
||||
+Does nothing, used to trigger generic workflow output.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:933: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:950: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:961: trailing whitespace.
|
||||
+ adjusted_sigmas[i] = 0.0001
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:963: trailing whitespace.
|
||||
+ adjusted_sigmas[0] = 0.0001
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:971: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:986: trailing whitespace.
|
||||
+Creates a sigmas tensor from a string of comma separated values.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:987: trailing whitespace.
|
||||
+Examples:
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:988: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:989: trailing whitespace.
|
||||
+Nvidia's optimized AYS 10 step schedule for SD 1.5:
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:990: trailing whitespace.
|
||||
+14.615, 6.475, 3.861, 2.697, 1.886, 1.396, 0.963, 0.652, 0.399, 0.152, 0.029
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:991: trailing whitespace.
|
||||
+SDXL:
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:992: trailing whitespace.
|
||||
+14.615, 6.315, 3.771, 2.181, 1.342, 0.862, 0.555, 0.380, 0.234, 0.113, 0.029
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:993: trailing whitespace.
|
||||
+SVD:
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:994: trailing whitespace.
|
||||
+700.00, 54.5, 15.886, 7.977, 4.248, 1.789, 0.981, 0.403, 0.173, 0.034, 0.002
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1004: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1013: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1016: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1020: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1038: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1043: trailing whitespace.
|
||||
+ "latents":("LATENT",),
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1055: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1059: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1082: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1084: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1088: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1097: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1103: trailing whitespace.
|
||||
+Reacts to the sound level of the input.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1104: trailing whitespace.
|
||||
+Uses your browsers sound input options and requires.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1107: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1116: trailing whitespace.
|
||||
+ return (sound_level, sound_level_int, )
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1117: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1121: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1137: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1144: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1166: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1208: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1227: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1234: trailing whitespace.
|
||||
+ azimuth = float(azimuth_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1245: trailing whitespace.
|
||||
+ elevation_val = float(elevation_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1258: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1278: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1299: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1341: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1347: trailing whitespace.
|
||||
+Allow scheduling of the azimuth and elevation conditions for SV3D.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1348: trailing whitespace.
|
||||
+Note that SV3D is still a video model and the schedule needs to always go forward
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1365: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1372: trailing whitespace.
|
||||
+ azimuth = float(azimuth_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1383: trailing whitespace.
|
||||
+ elevation_val = float(elevation_str.strip()[1:-1])
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1411: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1433: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1458: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1491: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1500: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1508: trailing whitespace.
|
||||
+A T5 model fine-tuned on the SuperPrompt dataset for
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1509: trailing whitespace.
|
||||
+upsampling text prompts to more detailed descriptions.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1510: trailing whitespace.
|
||||
+Meant to be used as a pre-generation step for text-to-image
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1511: trailing whitespace.
|
||||
+models that benefit from more detailed prompts.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1523: trailing whitespace.
|
||||
+ snapshot_download(repo_id="roborovski/superprompt-v1",
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1524: trailing whitespace.
|
||||
+ local_dir=checkpoint_path,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1531: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1537: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1542: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1558: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1563: trailing whitespace.
|
||||
+Visualizes the camera poses, from Animatediff-Evolved CameraCtrl Pose
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1564: trailing whitespace.
|
||||
+or a .txt file with RealEstate camera intrinsics and coordinates, in a 3D plot.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1566: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1636: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1695: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1696: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1697: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1732: trailing whitespace.
|
||||
+ print(f'{k}: {v.std()}')
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1743: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1781: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1798: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1809: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1823: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1845: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1856: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1866: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1874: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1882: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1889: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1896: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1960: trailing whitespace.
|
||||
+ k = new_modelpatcher.add_patches(loaded, strength_model)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1961: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1968: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1982: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:1992: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2001: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2054: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2080: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2130: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2186: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2208: trailing whitespace.
|
||||
+ Add noise to an image.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2298: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2352: trailing whitespace.
|
||||
+ return sampling_function(self.inner_model, x, timestep, uncond, self.conds.get("positive", None), cfg, model_options=model_options, seed=seed)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2353: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2357: trailing whitespace.
|
||||
+ return {"required": {
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2370: trailing whitespace.
|
||||
+CFG Guider that allows for scheduled CFG changes over steps, the steps outside the range will use CFG 1.0 thus being processed faster.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2371: trailing whitespace.
|
||||
+cfg input can be a list of floats matching step count, or a single float for all steps.
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2375: trailing whitespace.
|
||||
+ guider = Guider_ScheduledCFG(model)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2379: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2389: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2400: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2406: trailing whitespace.
|
||||
+ d,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2407: trailing whitespace.
|
||||
+ 10000.0,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2412: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2414: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2416: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2425: trailing whitespace.
|
||||
+ }
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2436: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2441: trailing whitespace.
|
||||
+ model_class.params.hidden_size // model_class.params.num_heads,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2442: trailing whitespace.
|
||||
+ model_class.params.theta,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2443: trailing whitespace.
|
||||
+ model_class.params.axes_dim,
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2447: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2449: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2498: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2519: trailing whitespace.
|
||||
+ timer = Timer(name=name)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2522: trailing whitespace.
|
||||
+ "text": [f"{timer.start_time}"]},
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2523: trailing whitespace.
|
||||
+ "result": (any_input, timer, 0)
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2563: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py:2596: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/loop-end____init__.py:28: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/merge____init__.py:33: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/save____init__.py:33: trailing whitespace.
|
||||
+
|
||||
docs/hel-892/vosr2-loop-reference/show-new____init__.py:40: trailing whitespace.
|
||||
+
|
||||
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"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_thirty_five_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"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
@@ -0,0 +1,932 @@
|
||||
"Source-bound VOSR2 loop explanation; never an execution/conversion contract."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "vosr2-loop-reference"
|
||||
PATHS = [
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合"
|
||||
"并-音频分离-视频截取合并-图像视频放大/高清放"
|
||||
"大/VOSR2_视频放大_分批循环长视频.json"
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
sub = g["definitions"]["subgraphs"][0]
|
||||
refs = []
|
||||
|
||||
def ref(directory, filename, first, last, claim):
|
||||
root = OUT.parent / directory
|
||||
manifest = "sources.json"
|
||||
if filename.startswith("easy-"):
|
||||
manifest = "package-sources.json"
|
||||
es = json.loads((root / manifest).read_bytes())["sources"]
|
||||
e = next(e for e in es if e["local_file"] == filename)
|
||||
data = (root / filename).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
assert 1 <= first <= last <= len(data.decode().splitlines()), (filename, first, last)
|
||||
refs.append(
|
||||
{
|
||||
**e,
|
||||
"local_file": "../" + directory + "/" + filename,
|
||||
"lines": [first, last],
|
||||
"claim": claim,
|
||||
"license": e.get("license", "以同目录准确LICENSE为准;目标安装未知"),
|
||||
}
|
||||
)
|
||||
return len(refs) - 1
|
||||
|
||||
def new(file, first, last, claim):
|
||||
return ref("vosr2-loop-reference", file, first, last, claim)
|
||||
|
||||
math = new(
|
||||
"core-math__comfy_extras__nodes_math.py",
|
||||
12,
|
||||
123,
|
||||
("core0.35.1函数表、Autogrow多类型输入、默认/求值及三出口;未求值"),
|
||||
)
|
||||
video = new(
|
||||
"core-video__comfy_extras__nodes_video.py",
|
||||
75,
|
||||
123,
|
||||
("core0.29.0 SaveVideo仅三个控件与VIDEO口;无format.codec动态层,四值恢复未知"),
|
||||
)
|
||||
typ = new(
|
||||
"core-video__comfy_api__latest___util__video_types.py",
|
||||
1,
|
||||
50,
|
||||
("准确容器/codec枚举、AUTO扩展选择;不是当前产物或编码器保证"),
|
||||
)
|
||||
kjold = new("kj-old__nodes__nodes.py", 42, 58, "15准确INTConstant默认0/有符号范围/原值返回")
|
||||
kjnew = new(
|
||||
"kj-new__nodes__nodes.py", 42, 58, "206/214准确INTConstant默认0/有符号范围/原值返回"
|
||||
)
|
||||
for key in ["kj-old", "kj-new"]:
|
||||
new(key + "____init__.py", 1, 28, "准确包注册入口与常量类配置")
|
||||
show = new(
|
||||
"easy-show__py__nodes__logic.py",
|
||||
1368,
|
||||
1414,
|
||||
("EasyUse1.3.4 showAnything输入list及历史text保存;不证明实跑"),
|
||||
)
|
||||
showjs = new(
|
||||
("easy-show__web_version__v1__js__easy__easyDynamicWidgets.js"),
|
||||
1138,
|
||||
1187,
|
||||
"准确1.3.4文本显示populate/按保存历史恢复,未执行JS",
|
||||
)
|
||||
new("easy-show__py__nodes__logic.py", 1742, 1758, "1.3.4 showAnything/循环注册")
|
||||
shownew = new(
|
||||
"show-new__py__nodes__logic.py",
|
||||
1347,
|
||||
1391,
|
||||
("218准确新版showAnything schema/显示与UI结果;与1.3.4分列"),
|
||||
)
|
||||
new("show-new__py__nodes__logic.py", 1728, 1732, "准确showAnything注册")
|
||||
start = new(
|
||||
"easy-start__py__nodes__logic.py",
|
||||
928,
|
||||
970,
|
||||
"1.3.6 ForStart总量默认范围及扩图;不实际运行循环",
|
||||
)
|
||||
end = new(
|
||||
"loop-end__py__nodes__logic.py",
|
||||
805,
|
||||
869,
|
||||
"准确ForEnd rawLink/动态扩图/上游总量;非同版循环已验证",
|
||||
)
|
||||
new(
|
||||
"batch__py__nodes__logic.py",
|
||||
1184,
|
||||
1254,
|
||||
("准确batchAnything分类型累积及None/列表/元组条件;不保证跨批路径"),
|
||||
)
|
||||
save = new("save__nodes__video.py", 24, 60, "内部saveVideo动态模式与fps默认24/1~120")
|
||||
saveimpl = new(
|
||||
"save__nodes__video.py",
|
||||
111,
|
||||
223,
|
||||
("内部hide仍写temp、AUTO容器/codec、返回相对路径,音频未接"),
|
||||
)
|
||||
merge = new(
|
||||
"merge__nodes__video.py",
|
||||
662,
|
||||
755,
|
||||
("准确merge只声明paths/frame_count,源码无audio/audio_mode接口;与保存图冲突"),
|
||||
)
|
||||
mergeimpl = new(
|
||||
"merge__nodes__video.py", 755, 843, "多路径兼容检查、拼接与清理条件;不运行FFmpeg/媒体"
|
||||
)
|
||||
for key in ["save", "merge"]:
|
||||
new(
|
||||
key + "__nodes____init__.py",
|
||||
1,
|
||||
len((REF / (key + "__nodes____init__.py")).read_text().splitlines()),
|
||||
"节点模块注册入口",
|
||||
)
|
||||
n = (REF / (key + "____init__.py")).read_text().splitlines()
|
||||
new(key + "____init__.py", 1, len(n), "准确EasyMedia包入口;未执行导入")
|
||||
new(
|
||||
"info__videohelpersuite__nodes.py",
|
||||
950,
|
||||
981,
|
||||
("准确4ee72c VideoInfoLoaded实现仅五出口;源保存六出口含file_path冲突,槽5不可先视可用"),
|
||||
)
|
||||
new("info__videohelpersuite__nodes.py", 1047, 1052, "VideoInfoLoaded准确注册")
|
||||
path = ref(
|
||||
"vosr2-reference",
|
||||
"vhs__videohelpersuite__load_video_nodes.py",
|
||||
477,
|
||||
525,
|
||||
("准确4d907bee LoadVideoPath schema与路径校验/条件URL读取;未运行"),
|
||||
)
|
||||
pathimpl = ref(
|
||||
"vosr2-reference",
|
||||
"vhs__videohelpersuite__load_video_nodes.py",
|
||||
24,
|
||||
168,
|
||||
"准确4d907bee格式/尺寸/取样计数与音频时间条件",
|
||||
)
|
||||
pathrun = ref(
|
||||
"vosr2-reference",
|
||||
"vhs__videohelpersuite__load_video_nodes.py",
|
||||
169,
|
||||
422,
|
||||
"准确4d907bee实际加载/返回信息/懒音频;未执行",
|
||||
)
|
||||
pymath = ref(
|
||||
"storyboard-reference",
|
||||
"math__py__math_expression.py",
|
||||
98,
|
||||
245,
|
||||
("准确pysssss表达式schema/AST解释器与INT/FLOAT返回;未求值"),
|
||||
)
|
||||
lg = ref(
|
||||
"simple-vfi-reference",
|
||||
"litegraph__package__dist__litegraph.es.js",
|
||||
3780,
|
||||
3834,
|
||||
"准确LiteGraph0.15.15位置序列化/恢复,组合恢复未知",
|
||||
)
|
||||
sg = ref(
|
||||
"simple-vfi-reference",
|
||||
"litegraph__package__dist__litegraph.es.js",
|
||||
13445,
|
||||
13641,
|
||||
("准确子图slot声明/linkIds原样序列化及-10/-20边界对象;不证明负槽-3可恢复"),
|
||||
)
|
||||
front = ref(
|
||||
"simple-vfi-reference",
|
||||
"frontend__src__scripts__app.ts",
|
||||
719,
|
||||
735,
|
||||
"frontend1.23.0准确入口;不以较新前端修复覆盖历史差异",
|
||||
)
|
||||
# Reuse applicable fixed definitions and citations, without other graph facts.
|
||||
oldvosr = json.loads((OUT.parent / "vosr2-document-evidence/definition-0.json").read_bytes())
|
||||
oldload = json.loads(
|
||||
(OUT.parent / "simple-vfi-document-evidence/definition-0.json").read_bytes()
|
||||
)
|
||||
|
||||
def template(block, cls, name):
|
||||
f = copy.deepcopy(
|
||||
next(f for f in block["fields"] if f["class_type"] == cls and f["field"] == name)
|
||||
)
|
||||
es = []
|
||||
for i in f["evidence"]:
|
||||
e = copy.deepcopy(block["sources"][i])
|
||||
if e not in refs:
|
||||
refs.append(e)
|
||||
es.append(refs.index(e))
|
||||
return {k: f[k] for k in ["label", "schema_default", "unit", "limits", "effect"]} | {
|
||||
"evidence": es
|
||||
}
|
||||
|
||||
def spec(label, default, unit, limits, effect, evidence):
|
||||
return dict(
|
||||
label=label,
|
||||
schema_default=default,
|
||||
unit=unit,
|
||||
limits=limits,
|
||||
effect=effect,
|
||||
evidence=evidence,
|
||||
)
|
||||
|
||||
fields = []
|
||||
comments = []
|
||||
zero = []
|
||||
aliases = {
|
||||
23: "212.INT→23;名称loop_count",
|
||||
16: "15.INT100→16;名称batch_size",
|
||||
128: "128→118.paths;名称loop_output",
|
||||
123: "123→118.audio;名称audio",
|
||||
121: "3.audio→121;名称audio",
|
||||
190: "190→209.force_rate;名称fps",
|
||||
112: "193槽0→112;名称fps",
|
||||
194: "193槽5→194及211;名称video_file_name",
|
||||
18: "18→212.values.b;名称batch_size",
|
||||
148: "206.INT2→148;名称scale_multiplier",
|
||||
215: "214.INT0→215→3.skip_first_frames;名称跳过帧数",
|
||||
150: "150→209.upscale;名称scale_multiplier",
|
||||
42: "42→209.b;名称batch_size",
|
||||
28: "28→209.total;名称loop_count",
|
||||
216: "216→209.c;名称跳过帧数",
|
||||
195: "195→209.video;名称video_file_name",
|
||||
125: "209出口0→125;名称loop_output",
|
||||
}
|
||||
hostnames = ["total", "b", "upscale", "video", "force_rate", "seed"]
|
||||
hosteffects = [
|
||||
(
|
||||
"宿主总量缓存1,外线221来自Get28(loop_count),"
|
||||
"定义输入0经82到ForStart.total;不证明别名值或"
|
||||
"次数。"
|
||||
),
|
||||
(
|
||||
"宿主每批缓存0,外线222来自Get42(batch_size),"
|
||||
"定义输入1经42到Math.b、215到207.cap;不能把缓"
|
||||
"存0当实际批量。"
|
||||
),
|
||||
(
|
||||
"宿主倍率缓存2,外线223来自Get150(scale_multip"
|
||||
"lier),输入2经212覆盖205.upscale;同值不证明"
|
||||
"恢复等价。"
|
||||
),
|
||||
(
|
||||
"宿主路径缓存空串,外线224来自Get195(video_fil"
|
||||
"e_name),输入3经213覆盖207.video;Info槽5接口"
|
||||
"冲突和别名作用域未证。"
|
||||
),
|
||||
(
|
||||
"宿主FPS缓存24,外线225来自Get190(fps),输入4"
|
||||
"经214到207.force_rate且233到116.input_mode.fp"
|
||||
"s;不是素材原FPS。"
|
||||
),
|
||||
(
|
||||
"宿主seed缓存42,根seed口无外线,定义输入5经23"
|
||||
"1覆盖205.seed缓存42;不能以相同值推定promoted"
|
||||
"恢复已验证。"
|
||||
),
|
||||
]
|
||||
for scope, base, ns in [
|
||||
("root", "", g["nodes"]),
|
||||
(sub["id"], "/definitions/subgraphs/0", sub["nodes"]),
|
||||
]:
|
||||
for ni, n in enumerate(ns):
|
||||
nb = f"{base}/nodes/{ni}"
|
||||
nid = n["id"]
|
||||
w = n.get("widgets_values")
|
||||
named = n.get("widgets_values_named", {})
|
||||
display = str(nid) if scope == "root" else f"209:{nid}"
|
||||
if n["type"] == "MarkdownNote":
|
||||
meanings = {
|
||||
49: (
|
||||
"作者将总帧数/批帧数向上取整作为意图;别名、FP"
|
||||
"S/采样和循环扩图未验证,不等于实际循环次数。"
|
||||
),
|
||||
73: "作者对ceil的释义;未求值或证明输入正确。",
|
||||
48: (
|
||||
"作者建议按配置限制批量并列短边倍率样例、读取"
|
||||
"帧上限/跳帧控制;不是准确VOSR2 schema或显存/"
|
||||
"时长/效果保证,不据此运行或下载。"
|
||||
),
|
||||
}
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=display,
|
||||
pointer=nb + "/widgets_values/0",
|
||||
named_pointer=nb + "/widgets_values_named/text",
|
||||
text=w[0],
|
||||
meaning=meanings[nid],
|
||||
)
|
||||
)
|
||||
continue
|
||||
if not w:
|
||||
zero.append(
|
||||
dict(
|
||||
node_id=display,
|
||||
class_type=n["type"],
|
||||
effect=(
|
||||
"widgets_values缺键,不补null/[]。"
|
||||
if "widgets_values" not in n
|
||||
else "widgets_values={},零保存位置。"
|
||||
)
|
||||
+ "只保留源端口/属性;版本与组合恢复未证。",
|
||||
)
|
||||
)
|
||||
continue
|
||||
if isinstance(w, dict):
|
||||
items = [(k, k, v) for k, v in w.items()]
|
||||
elif nid == 104:
|
||||
items = [(i, "text", v) for i, v in enumerate(w)]
|
||||
else:
|
||||
names = list(named)
|
||||
assert len(w) == len(names), (nid, len(w), names)
|
||||
items = [(i, names[i], v) for i, v in enumerate(w)]
|
||||
for key, name, value in items:
|
||||
cls = n["type"]
|
||||
if cls in ["SetNode", "GetNode"]:
|
||||
f = spec(
|
||||
("设置" if cls == "SetNode" else "读取") + "名称:" + str(value),
|
||||
"准确提供方/版本未知,默认未知",
|
||||
"名称文本",
|
||||
("仅保存名称;aux_id是提供方线索,作用域/查找及加载顺序未知"),
|
||||
aliases[nid]
|
||||
+ (
|
||||
"。保存名和线不证明无物理边的Set/Get传值;不继"
|
||||
"承旧profile信任,不求别名值。"
|
||||
),
|
||||
[front, lg],
|
||||
)
|
||||
elif cls == "easy showAnything":
|
||||
intent = {
|
||||
21: "212.INT到显示21",
|
||||
211: "194输出到路径显示211",
|
||||
19: "3.frame_count到显示19",
|
||||
104: "209出口1(之前循环结果)到104",
|
||||
218: "219.INT到显示218",
|
||||
}[nid]
|
||||
f = spec(
|
||||
"历史显示文本" + (f"位置{key + 1}" if nid == 104 else ""),
|
||||
"无后端text输入默认;前端历史显示",
|
||||
"文本",
|
||||
"只读显示缓存,不是执行输入/结果证明",
|
||||
intent
|
||||
+ ";保存字符串原样显示。"
|
||||
+ (
|
||||
("15条相同temp路径分别保留15位置,不去重、不当15次成功或有效文件。")
|
||||
if nid == 104
|
||||
else "保存路径/数字文本不当当前产物或实际统计。"
|
||||
),
|
||||
([shownew, lg] if nid == 218 else [show, showjs, lg]),
|
||||
)
|
||||
elif cls == "ComfyMathExpression":
|
||||
f = spec(
|
||||
"表达式意图",
|
||||
"a + b",
|
||||
"表达式文本",
|
||||
"输入FLOAT/INT/BOOLEAN;非空数值/有限性检查;未求值",
|
||||
(
|
||||
(
|
||||
"212保存ceil(a/b),a接3.frame_count、b接Get18("
|
||||
"batch_size),INT出口接21/23。"
|
||||
)
|
||||
if nid == 212
|
||||
else ("219保存a + 1,a接209.index,INT出口接218;不是已运行循环数。")
|
||||
)
|
||||
+ ("准确core0.35.1 Autogrow values与源端口逐项保留,未执行simpleeval。"),
|
||||
[math],
|
||||
)
|
||||
elif cls == "MathExpression|pysssss":
|
||||
f = spec(
|
||||
"每批起点表达式",
|
||||
"schema无显式默认;前端空串仅参考",
|
||||
"表达式文本",
|
||||
"AST允许的运算/函数与a/b/c输入;未求值",
|
||||
(
|
||||
"33保存a*b+c:a接86.index、b接边界输入1、c接输"
|
||||
"入6,INT输出216→207.skip_first_frames;只解释"
|
||||
"意图,实际索引/起点未知。"
|
||||
),
|
||||
[pymath],
|
||||
)
|
||||
elif cls == "INTConstant":
|
||||
target = {
|
||||
15: "15保存100→16.Set(batch_size)",
|
||||
206: "206保存2→148.Set(scale_multiplier)",
|
||||
214: "214保存0→215.Set(跳过帧数),再直连3.skip_first_frames",
|
||||
}[nid]
|
||||
f = spec(
|
||||
"批量帧数常量"
|
||||
if nid == 15
|
||||
else "倍率常量"
|
||||
if nid == 206
|
||||
else "跳过帧数常量",
|
||||
"0",
|
||||
"整数(本图接帧数/倍率命名链)",
|
||||
("-0xffffffffffffffff~0xffffffffffffffff;准确schema未显式step"),
|
||||
target
|
||||
+ ("。准确类原值返回;别名后续取值/作用域仍未知,不当目标参数已生效。"),
|
||||
[kjold if nid == 15 else kjnew],
|
||||
)
|
||||
elif nid == 209:
|
||||
hi = hostnames.index(name)
|
||||
f = spec(
|
||||
"宿主缓存:" + name,
|
||||
"子图暴露恢复默认未知,不由缓存当schema默认",
|
||||
"宿主控件缓存",
|
||||
"六缓存/七输入与内部控件分开;不得按数组推造promoted图",
|
||||
hosteffects[hi],
|
||||
[sg, lg],
|
||||
)
|
||||
elif cls == "VOSR2Upscale" or cls == "VOSR2ModelLoader":
|
||||
f = template(oldvosr, cls, name)
|
||||
# Replace old instance facts; retain applicable schema prose.
|
||||
if name == "upscale":
|
||||
f["effect"] = (
|
||||
"205缓存倍率2,外线212来自边界输入2覆盖;准确V"
|
||||
"OSR2按倍率放大,实际尺寸/画质和恢复未验证。"
|
||||
)
|
||||
elif name == "seed":
|
||||
f["effect"] = (
|
||||
"205缓存seed42,外线231来自边界seed;根209缓存"
|
||||
"42无外线,同值不证明恢复等价,未生成随机数。"
|
||||
)
|
||||
elif name == "fixed":
|
||||
f["effect"] = (
|
||||
"前端seed后续控制fixed,独立于后端seed42;未运"
|
||||
"行/更新种子,不推循环中每批实际种子。"
|
||||
)
|
||||
elif name == "model":
|
||||
f["effect"] = (
|
||||
"204保存VOSR2模型选项,模型出口208接205。准确l"
|
||||
"oader在所需文件缺失时条件下载,齐全不下载;本"
|
||||
"轮未加载/下载。"
|
||||
)
|
||||
elif name == "dtype":
|
||||
f["effect"] = (
|
||||
"204保存default,准确实现委托设备选择计算类型"
|
||||
",VAE fp32;不证明本机精度、设备或显存。"
|
||||
)
|
||||
else:
|
||||
f["effect"] = (
|
||||
"205保存"
|
||||
+ name
|
||||
+ "="
|
||||
+ json.dumps(value, ensure_ascii=False)
|
||||
+ "。"
|
||||
+ f["effect"]
|
||||
)
|
||||
elif cls in ["VHS_LoadVideo", "VHS_LoadVideoPath"]:
|
||||
f = template(oldload, "VHS_LoadVideo", name)
|
||||
effects = {
|
||||
"video": (
|
||||
"根3保存上传文件名0-sample-7-1.mp4;素材未读取,文件名不保证存在。"
|
||||
)
|
||||
if nid == 3
|
||||
else (
|
||||
"内部207路径缓存空串,由边界输入3经213覆盖;路"
|
||||
"径别名未证、Info接口冲突,不验证文件/URL。"
|
||||
),
|
||||
"force_rate": (
|
||||
"根3保存24fps,无该口外线;采样FPS不等于素材原"
|
||||
"FPS,音频时间取决于准确加载实现。"
|
||||
)
|
||||
if nid == 3
|
||||
else (
|
||||
"内部207缓存0,由边界FPS经214覆盖;该FPS另经23"
|
||||
"3到116,别名/恢复未证,不能将0或24当实际FPS。"
|
||||
),
|
||||
"custom_width": (
|
||||
"保存0,不主动指定宽;仍受AnimateDiff dim对齐"
|
||||
"和目标素材/实现条件限制,不保证原尺寸。"
|
||||
),
|
||||
"custom_height": (
|
||||
"保存0,不主动指定高;宽高同时0与格式dim一起决定,不保证最终尺寸。"
|
||||
),
|
||||
"frame_load_cap": (
|
||||
"根3保存0,不设此上限;IMAGE出口links=[]未进放"
|
||||
"大链,不代表零开销或保证整片成功。"
|
||||
)
|
||||
if nid == 3
|
||||
else (
|
||||
"内部207缓存0,由边界b经215覆盖,另一路b到33表达式;实际每批帧数未证。"
|
||||
),
|
||||
"skip_first_frames": (
|
||||
"根3缓存0,物理250来自215.SetNode;上游214保存"
|
||||
"0,SetNode准确实现未知,不保证实际跳过为0。"
|
||||
)
|
||||
if nid == 3
|
||||
else (
|
||||
"内部207缓存0,由33.INT经216覆盖;33的a*b+c未求值,不把缓存当实际起点。"
|
||||
),
|
||||
"select_every_nth": (
|
||||
"保存1,每个采样位置保留;准确实现按采样计数取"
|
||||
"帧,声音偏移/时长计算不保证真实同步。"
|
||||
),
|
||||
"format": (
|
||||
"保存AnimateDiff是读取尺寸/帧格式约束,不是MP4"
|
||||
"编码格式;内置dim按8对齐,target_rate8不等于"
|
||||
"重写force_rate。"
|
||||
),
|
||||
"videopreview": (
|
||||
"完整历史预览对象独立一保存位置,包含路径、采"
|
||||
"样缓存及hidden/paused;不是当前视频/成功产物"
|
||||
",不请求任何URL。"
|
||||
),
|
||||
}
|
||||
f["effect"] = effects[name]
|
||||
if nid == 207:
|
||||
f["evidence"] = [path, pathimpl, pathrun, lg]
|
||||
if name == "video":
|
||||
f.update(
|
||||
schema_default=(
|
||||
"STRING schema无显式default;placeholder X://i"
|
||||
"nsert/path/here.mp4"
|
||||
),
|
||||
limits="有效本地路径/条件URL,校验与存在性未运行",
|
||||
)
|
||||
elif nid == 99:
|
||||
defs = {
|
||||
"filename_prefix": (
|
||||
"最终文件名前缀",
|
||||
"video/ComfyUI",
|
||||
"相对路径前缀",
|
||||
"folder_paths计数/目录规则",
|
||||
(
|
||||
"保存video/vosr2;118.VIDEO经127接99.video;不"
|
||||
"等于历史temp目录或当前产物。"
|
||||
),
|
||||
),
|
||||
"format": (
|
||||
"保存容器缓存",
|
||||
"auto",
|
||||
"容器枚举",
|
||||
"准确VideoContainer枚举auto/mp4",
|
||||
(
|
||||
"保存auto;准确0.29.0是普通Combo,源是COMFY_DY"
|
||||
"NAMICCOMBO_V3,恢复未知。"
|
||||
),
|
||||
),
|
||||
"format.codec": (
|
||||
"动态编解码子项缓存",
|
||||
"准确0.29.0无此输入,默认未知",
|
||||
"未知动态项",
|
||||
"源动态口与准确schema冲突",
|
||||
(
|
||||
"保存auto;源额外format.codec动态层在准确0.29."
|
||||
"0 SaveVideo不存在,不按位置映射成其它参数。"
|
||||
),
|
||||
),
|
||||
"codec": (
|
||||
"保存编解码器缓存",
|
||||
"auto",
|
||||
"codec枚举",
|
||||
"准确VideoCodec枚举auto/h264;目标编码器未知",
|
||||
(
|
||||
"保存auto;准确schema普通Combo与源动态口不同;"
|
||||
"三个auto分项保留,四值恢复未证,不借新版修复"
|
||||
"。"
|
||||
),
|
||||
),
|
||||
}
|
||||
f = spec(*defs[name], [video, typ, lg])
|
||||
elif nid == 118:
|
||||
f = spec(
|
||||
"合并后帧数上限" if name == "frame_count" else "音频模式保存项",
|
||||
"-1" if name == "frame_count" else "准确007fa6ff无此输入/默认未知",
|
||||
"帧" if name == "frame_count" else "保存枚举",
|
||||
"min -1/step1,无显式max;大于0裁切"
|
||||
if name == "frame_count"
|
||||
else ("准确schema/execute无audio与audio_mode;不可承诺此值生效"),
|
||||
(
|
||||
"118保存frame_count=-1,准确实现不按此上限裁切"
|
||||
",但输入片段/完整帧数仍未知。"
|
||||
)
|
||||
if name == "frame_count"
|
||||
else (
|
||||
"118保存audio_mode=merge且123.audio经128接入;"
|
||||
"准确007fa6ff只有paths与frame_count,不接受aud"
|
||||
"io/audio_mode。源接口与准确实现冲突,不能声称"
|
||||
"最终拼回声音或音画同步。"
|
||||
),
|
||||
[merge, mergeimpl],
|
||||
)
|
||||
elif nid == 116:
|
||||
defs = {
|
||||
"input_mode": (
|
||||
"子图保存输入模式",
|
||||
"首项images+audio",
|
||||
"动态模式",
|
||||
"images+audio/video",
|
||||
(
|
||||
"保存images+audio;205图像经210进images口,aud"
|
||||
"io口link=null,不能声称分块保留音频。"
|
||||
),
|
||||
),
|
||||
"input_mode.fps": (
|
||||
"分块视频帧率缓存",
|
||||
"24.0",
|
||||
"帧/秒",
|
||||
"1.0~120.0,step1",
|
||||
(
|
||||
"保存24,由边界FPS经233覆盖;同源另接207读取FP"
|
||||
"S,恢复/别名未知,不保证时长。"
|
||||
),
|
||||
),
|
||||
"output_mode": (
|
||||
"分块视频保存模式",
|
||||
"首项save",
|
||||
"动态模式",
|
||||
"save/preview_only/hide/hide&save",
|
||||
(
|
||||
"保存hide,准确实现仍写temp目录、AUTO格式/code"
|
||||
"c并隐藏预览;返回temp相对路径,不是禁写文件。"
|
||||
),
|
||||
),
|
||||
"filename_prefix": (
|
||||
"分块文件名前缀",
|
||||
"ComfyUI",
|
||||
"相对前缀",
|
||||
"folder_paths分配目录/计数;权限未知",
|
||||
(
|
||||
"保存vosr2/vosr2,路径槽1到103累积和210.Purge"
|
||||
";不保证文件存在或循环成功。"
|
||||
),
|
||||
),
|
||||
}
|
||||
f = spec(*defs[name], [save, saveimpl])
|
||||
elif nid == 210:
|
||||
f = spec(
|
||||
"清缓存开关" if name == "purge_cache" else "清模型开关",
|
||||
"提供方/版本缺失,默认未知",
|
||||
"JSON布尔",
|
||||
"准确schema/行为/副作用未知;仅源输入名BOOLEAN",
|
||||
(
|
||||
"保存true,路径232从116槽1到anything。只记录清"
|
||||
"缓存/清模型命名意图,未运行清理,不能借另一图"
|
||||
"版本解释或保证显存。"
|
||||
),
|
||||
[sg],
|
||||
)
|
||||
elif nid == 86:
|
||||
f = spec(
|
||||
"循环总量缓存",
|
||||
"1",
|
||||
"次数",
|
||||
"1~100000,step1;扩图依赖未验证",
|
||||
(
|
||||
"86保存1,边界输入0经82覆盖total;准确1.3.6按h"
|
||||
"idden初值或0作为索引并扩图。与不同提交ForEnd"
|
||||
"组合未验证,不求实际循环次数。"
|
||||
),
|
||||
[start, end],
|
||||
)
|
||||
else:
|
||||
raise AssertionError((nid, name))
|
||||
inp = next(
|
||||
(
|
||||
ii
|
||||
for ii, p in enumerate(n.get("inputs", []))
|
||||
if p.get("widget", {}).get("name") == name or p["name"] == name
|
||||
),
|
||||
None,
|
||||
)
|
||||
f.update(
|
||||
node_id=display,
|
||||
definition_node_id=str(nid),
|
||||
scope=scope,
|
||||
class_type=cls,
|
||||
field=(f"text[{key}]" if nid == 104 else name),
|
||||
pointer=f"{nb}/widgets_values/{key}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
input_pointer=f"{nb}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无对应输入口,不制造",
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "前端保存状态",
|
||||
role="history_object"
|
||||
if isinstance(value, (dict, list))
|
||||
else "frontend_control"
|
||||
if cls in ["SetNode", "GetNode", "easy showAnything"] or name == "fixed"
|
||||
else "scalar",
|
||||
execution_note="仅mode0保存态;"
|
||||
+ (
|
||||
"输入口有外线覆盖,缓存与线分别保留;"
|
||||
if inp is not None and n["inputs"][inp].get("link") is not None
|
||||
else ""
|
||||
)
|
||||
+ "组合恢复/实际取值未证,转换关闭、未实跑。",
|
||||
)
|
||||
if name in named:
|
||||
f.update(
|
||||
named_pointer=nb + "/widgets_values_named/" + name, named_value=named[name]
|
||||
)
|
||||
fields.append(f)
|
||||
assert len(fields) == 89 and len(comments) == 3
|
||||
overview = (
|
||||
"这张图想把长视频按批读取、用VOSR2放大,逐批保"
|
||||
"存后再合成。根加载器的图像没有接到放大链,内"
|
||||
"部另按路径读取;循环、Set/Get名称传值和子图特"
|
||||
"殊出口尚未验证。准确版本还存在视频信息第六口"
|
||||
"、最终合并音频口及保存动态口冲突,因此不能保"
|
||||
"证分批连续、完整帧数、音轨或同步。当前仅供阅"
|
||||
"读参考,保持停用,未实跑。"
|
||||
)
|
||||
flow = [
|
||||
(
|
||||
"根36节点/27物理边,定义9节点/22含边界记录,全"
|
||||
"部mode0。根62非注释位置、内部27位置;另3完整M"
|
||||
"arkdownNote。89位置包含2完整videopreview对象"
|
||||
";104的15条相同路径是15位置,不是15次成功。"
|
||||
),
|
||||
(
|
||||
"根3.IMAGE出口links=[];3.audio→121.Set(audio)"
|
||||
",3.video_info→193,3.frame_count→19显示与212"
|
||||
".values.a。15.INTConstant100→16.Set(batch_siz"
|
||||
"e),Get18→212.values.b。212保存ceil(a/b),INT"
|
||||
"→21显示/23.Set(loop_count),未求值。"
|
||||
),
|
||||
(
|
||||
"193源保存六出口含file_path槽5→194.Set(video_f"
|
||||
"ile_name)→211显示,槽0→112.Set(fps)。独立固定"
|
||||
"4ee72c原件实际VideoInfoLoaded RETURN_TYPES/RE"
|
||||
"TURN_NAMES/get_video_info均仅五槽,无file_pat"
|
||||
"h;这是源接口冲突,不能套五槽实现证明第六口有"
|
||||
"效,也不借新版本补齐。"
|
||||
),
|
||||
(
|
||||
"206.INTConstant2→148.Set(scale_multiplier),2"
|
||||
"14.INTConstant0→215.Set(跳过帧数)且215物理250"
|
||||
"→3.skip_first_frames。Get28/42/150/195/190/21"
|
||||
"6分别→209.total/b/upscale/video/force_rate/c"
|
||||
";根seed缓存42无外线。aux只给KJ提供方线索,别"
|
||||
"名无准确版本,作用域/实际取值/循环次数未知;"
|
||||
"不继承旧profile信任,不重开历史别名调查。"
|
||||
),
|
||||
(
|
||||
'209六缓存[1,0,2,"",24,42]与七输入口独立保留;'
|
||||
'内部205八缓存[2,42,"fixed","wavelet",512,64,5'
|
||||
"12,64]独立保留,不能同值证明覆盖等价,不造pro"
|
||||
"moted运行图。209出口0→125.Set(loop_output),"
|
||||
"出口1→104.Show,出口2→219(a + 1)→218显示。"
|
||||
),
|
||||
(
|
||||
"内部86.ForStart索引→33.Math(a*b+c),边界b同时"
|
||||
"到33.b与207.cap,c到33.c;33.INT→207.skip。vi"
|
||||
"deo/FPS分别外线覆盖207,FPS还→116.input_mode."
|
||||
"fps。207.images→205.VOSR2,204模型→205,倍率"
|
||||
"和seed边界覆盖205。"
|
||||
),
|
||||
(
|
||||
"205→116.images;116保存images+audio但音频口li"
|
||||
"nk=null,路径槽1→103.batchAnything及210.Purge"
|
||||
"VRAM,VIDEO出口links=[]。86.flow与103累积结果"
|
||||
"→129.ForEnd。Start1.3.6、End595e0738、batch62"
|
||||
"5efbfa分别固定,不能合成同版或声称循环成功。"
|
||||
),
|
||||
(
|
||||
"特殊原始端点143:129.value1槽0→-20,target_sl"
|
||||
"ot=-3;输出声明0.linkIds=[143,143]重复。准确"
|
||||
"前端1.23.0/锁定LiteGraph0.15.15子图slots/link"
|
||||
"Ids序列化保留原记录,但未证明负槽/重复声明在"
|
||||
"扩展组合的恢复和graphToPrompt行为,不能先判无"
|
||||
"效、修复或推算有效输出。254:103槽0→-20槽1("
|
||||
"之前结果);255:86.index槽1→-20槽2,分别保留"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"内部116 output_mode=hide在准确a22fdcf实现仍写"
|
||||
"temp、AUTO容器/codec并返回相对路径;可按偶数"
|
||||
"尺寸裁切。原音频未接,不声称分块保声。保存路"
|
||||
"径不是成功产物,未执行媒体/编码。"
|
||||
),
|
||||
(
|
||||
"最终128.Get(loop_output)与123.Get(audio)接118"
|
||||
",再118.VIDEO→99.SaveVideo。118保存frame_coun"
|
||||
"t=-1与audio_mode=merge;准确007fa6ff schema/e"
|
||||
"xecute只有paths/frame_count,无audio/audio_mo"
|
||||
"de,源额外口冲突。即使有路径,别名/完整帧数/"
|
||||
"音频替换与同步仍不能保证。"
|
||||
),
|
||||
(
|
||||
'99保存["video/vosr2","auto","auto","auto"],'
|
||||
"具名filename_prefix/format/format.codec/codec"
|
||||
"四项;准确core0.29.0 SaveVideo仅普通filename_"
|
||||
"prefix/format/codec三控件,源COMFY_DYNAMICCOM"
|
||||
"BO_V3和format.codec与其不符,准确恢复未知,不"
|
||||
"套新版修复。准确类输出VIDEO且写output目录/条"
|
||||
"件metadata;不当本轮产物。"
|
||||
),
|
||||
(
|
||||
"根3.force_rate24与子图FPS缓存/边界分开;VHS读"
|
||||
"取尺寸/跳帧/抽帧与音频时间按各自准确实现解释"
|
||||
",不能保证整片/同步。根extra VHS_MetadataImag"
|
||||
"e=false与KeepIntermediate=false只是该保存图元"
|
||||
"数据,内部saveVideo按其自身准确实现,不套VHS "
|
||||
"Combine开关。"
|
||||
),
|
||||
(
|
||||
"VOSR2 c9450b固定:loader所需DiT/配置、VAE、DI"
|
||||
"NOv2文件齐全时不下载,缺失才条件下载;HF调用r"
|
||||
"evision未固定。这里只静态引用,未执行/下载/反"
|
||||
"序列化。倍率、颜色对齐、分块与default dtype不"
|
||||
"能保证画质/显存。"
|
||||
),
|
||||
(
|
||||
"两个完整历史videopreview对象不拆计数;temp重"
|
||||
"复路径/原韩秋雪路径/1500/15/14显示都不是实跑"
|
||||
"。193 widgets={}零位置;Label213、内部129/103"
|
||||
"缺widgets_values,不补null/[]。Label属性含Ari"
|
||||
"al字体,仅文本不下载字体。"
|
||||
),
|
||||
(
|
||||
"Set/Get/Label提供方准确版本未知;Purge210无提"
|
||||
"供方/版本,true/true仅保存布尔与命名意图,不"
|
||||
"借另一图版本。UE7.0.1/7.5.1/7.8空连接表不证明"
|
||||
"无覆盖,前端/动态口/插件组合恢复未知。"
|
||||
),
|
||||
(
|
||||
"旧35块1106位置+25注释逐对象冻结;新增89位置"
|
||||
"+3注释,现36图1195+28仅参考。155停用未检查/"
|
||||
"时间戳空、完整定稿0/必要实跑0/新增转换0;16/1"
|
||||
"39、1217/3660/294与145UI9参考候选136关闭保持"
|
||||
",case06排除。"
|
||||
),
|
||||
*["原边 root " + json.dumps(e, ensure_ascii=False) for e in g["links"]],
|
||||
*["原边 " + sub["id"] + " " + json.dumps(e, ensure_ascii=False) for e in sub["links"]],
|
||||
*["原边界输入 " + json.dumps(e, ensure_ascii=False) for e in sub["inputs"]],
|
||||
*["原边界输出 " + json.dumps(e, ensure_ascii=False) for e in sub["outputs"]],
|
||||
*["注释中文说明:" + c["meaning"] for c in comments],
|
||||
]
|
||||
# Include exact licenses for newly pinned source identities and release artifacts.
|
||||
for key in [
|
||||
"kj-old",
|
||||
"kj-new",
|
||||
"show-new",
|
||||
"loop-end",
|
||||
"batch",
|
||||
"save",
|
||||
"merge",
|
||||
"info",
|
||||
"core-math",
|
||||
"core-video",
|
||||
"easy-show",
|
||||
"easy-start",
|
||||
]:
|
||||
filename = key + "__LICENSE"
|
||||
new(
|
||||
filename,
|
||||
1,
|
||||
len((REF / filename).read_text().splitlines()),
|
||||
"准确许可原文;仅供静态引用,不证明目标安装",
|
||||
)
|
||||
versions = [
|
||||
e["id"] + "→" + e["commit"] for e in json.loads((REF / "identities.json").read_bytes())
|
||||
]
|
||||
versions += [
|
||||
("easy-show→comfyui-easy-use1.3.4;准确包SHA见来源;包到Git绑定未知"),
|
||||
("easy-start→comfyui-easy-use1.3.6;准确包SHA见来源;包到Git绑定未知"),
|
||||
("Set/Get/Label/Purge准确提供方或版本未知;UE组合恢复未知"),
|
||||
("frontend1.23.0→准确tag与LiteGraph0.15.15锁包;VHS根1.7.7包Git绑定未知"),
|
||||
]
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
|
||||
notice=("仅固定来源参考;循环/别名/特殊边界未证且准确版本接口冲突,转换关闭、未实跑。"),
|
||||
user_overview=overview,
|
||||
versions=versions,
|
||||
counts=dict(
|
||||
saved_fields=89,
|
||||
linked_saved_fields=14,
|
||||
frontend_only=39,
|
||||
root_saved_fields=62,
|
||||
internal_saved_fields=27,
|
||||
source_nodes=45,
|
||||
root_nodes=36,
|
||||
internal_nodes=9,
|
||||
physical_edges=27,
|
||||
internal_edge_records=22,
|
||||
source_notes=3,
|
||||
history_objects=2,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=refs,
|
||||
comments=comments,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(refs))),
|
||||
zero_saved_nodes=zero,
|
||||
boundaries=[],
|
||||
steps=[
|
||||
overview,
|
||||
(
|
||||
"操作1:只读核对根加载与内部分批读取的不同链路"
|
||||
"、七边界和特殊出口;保持停用,不修原图。"
|
||||
),
|
||||
(
|
||||
"操作2:核准准确版本接口冲突、别名/扩展恢复与"
|
||||
"目标模型/素材/编码依赖;未确认前不放行。"
|
||||
),
|
||||
(
|
||||
"操作3:全量完成并审核前仅读参考说明,不构造pr"
|
||||
"ompt、不运行插件/表达式/循环/模型/媒体。"
|
||||
),
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
14 files already formatted
|
||||
PASS 14 authored Python files and one JS syntax check
|
||||
@@ -0,0 +1,365 @@
|
||||
F841 Local variable `batch` is assigned to but never used
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:108:5
|
||||
|
|
||||
106 | "准确ForEnd rawLink/动态扩图/上游总量;非同版循环已验证",
|
||||
107 | )
|
||||
108 | batch = new(
|
||||
| ^^^^^
|
||||
109 | "batch__py__nodes__logic.py",
|
||||
110 | 1184,
|
||||
|
|
||||
help: Remove assignment to unused variable `batch`
|
||||
|
||||
F841 Local variable `info` is assigned to but never used
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:139:5
|
||||
|
|
||||
137 | n = (REF / (key + "____init__.py")).read_text().splitlines()
|
||||
138 | new(key + "____init__.py", 1, len(n), "准确EasyMedia包入口;未执行导入")
|
||||
139 | info = new(
|
||||
| ^^^^
|
||||
140 | "info__videohelpersuite__nodes.py",
|
||||
141 | 950,
|
||||
|
|
||||
help: Remove assignment to unused variable `info`
|
||||
|
||||
E501 Line too long (103 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:195:101
|
||||
|
|
||||
193 | "frontend1.23.0准确入口;不以较新前端修复覆盖历史差异",
|
||||
194 | )
|
||||
195 | # Reuse only previously fixed, applicable definitions and exact citations, never other graph facts.
|
||||
| ^^^
|
||||
196 | oldvosr = json.loads((OUT.parent / "vosr2-document-evidence/definition-0.json").read_bytes())
|
||||
197 | oldload = json.loads(
|
||||
|
|
||||
|
||||
E501 Line too long (116 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:268:66
|
||||
|
|
||||
266 | … if n["type"] == "MarkdownNote":
|
||||
267 | … meanings = {
|
||||
268 | … 49: "作者将总帧数/批帧数向上取整作为意图;别名、FPS/采样和循环扩图未验证,不等于实际循环次数。",
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
269 | … 73: "作者对ceil的释义;未求值或证明输入正确。",
|
||||
270 | … 48: "作者建议按配置限制批量并列短边倍率样例、读取帧上限/跳帧控制;不是准确VOSR2 schema或显存/时长/效果保证,不据此运行…
|
||||
|
|
||||
|
||||
E501 Line too long (148 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:270:67
|
||||
|
|
||||
268 | … ;别名、FPS/采样和循环扩图未验证,不等于实际循环次数。",
|
||||
269 | … 正确。",
|
||||
270 | … 样例、读取帧上限/跳帧控制;不是准确VOSR2 schema或显存/时长/效果保证,不据此运行或下载。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
271 | …
|
||||
272 | …
|
||||
|
|
||||
|
||||
F841 Local variable `e` is assigned to but never used
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:306:17
|
||||
|
|
||||
304 | for key, name, value in items:
|
||||
305 | cls = n["type"]
|
||||
306 | e = []
|
||||
| ^
|
||||
307 | if cls in ["SetNode", "GetNode"]:
|
||||
308 | f = spec(
|
||||
|
|
||||
help: Remove assignment to unused variable `e`
|
||||
|
||||
E501 Line too long (103 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:314:72
|
||||
|
|
||||
312 | "仅保存名称;aux_id是提供方线索,作用域/查找及加载顺序未知",
|
||||
313 | aliases[nid]
|
||||
314 | + "。保存名和线不证明无物理边的Set/Get传值;不继承旧profile信任,不求别名值。",
|
||||
| ^^
|
||||
315 | [front, lg],
|
||||
316 | )
|
||||
|
|
||||
|
||||
E501 Line too long (119 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:393:101
|
||||
|
|
||||
391 | elif cls == "VOSR2Upscale" or cls == "VOSR2ModelLoader":
|
||||
392 | f = template(oldvosr, cls, name)
|
||||
393 | # old effects can mention another instance; keep schema prose while replacing instance facts below.
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
394 | if name == "upscale":
|
||||
395 | f["effect"] = (
|
||||
|
|
||||
|
||||
E501 Line too long (114 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:412:75
|
||||
|
|
||||
410 | elif name == "dtype":
|
||||
411 | f["effect"] = (
|
||||
412 | "204保存default,准确实现委托设备选择计算类型,VAE fp32;不证明本机精度、设备或显存。"
|
||||
| ^^^^^^^^^^^^^
|
||||
413 | )
|
||||
414 | else:
|
||||
|
|
||||
|
||||
E501 Line too long (119 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:428:72
|
||||
|
|
||||
426 | "video": "根3保存上传文件名0-sample-7-1.mp4;素材未读取,文件名不保证存在。"
|
||||
427 | if nid == 3
|
||||
428 | else "内部207路径缓存空串,由边界输入3经213覆盖;路径别名未证、Info接口冲突,不验证文件/URL。",
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
429 | "force_rate": "根3保存24fps,无该口外线;采样FPS不等于素材原FPS,音频时间取决于准确加载实现。"
|
||||
430 | if nid == 3
|
||||
|
|
||||
|
||||
E501 Line too long (118 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:429:77
|
||||
|
|
||||
427 | if nid == 3
|
||||
428 | else "内部207路径缓存空串,由边界输入3经213覆盖;路径别名未证、Info接口冲突,不验证文件/URL。",
|
||||
429 | "force_rate": "根3保存24fps,无该口外线;采样FPS不等于素材原FPS,音频时间取决于准确加载实现。"
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
430 | if nid == 3
|
||||
431 | else "内部207缓存0,由边界FPS经214覆盖;该FPS另经233到116,别名/恢复未证,不能将0或24当实际FPS。",
|
||||
|
|
||||
|
||||
E501 Line too long (122 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:431:76
|
||||
|
|
||||
429 | "force_rate": "根3保存24fps,无该口外线;采样FPS不等于素材原FPS,音频时间取决于准确加载实现。"
|
||||
430 | if nid == 3
|
||||
431 | else "内部207缓存0,由边界FPS经214覆盖;该FPS另经233到116,别名/恢复未证,不能将0或24当实际FPS。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
432 | "custom_width": "保存0,不主动指定宽;仍受AnimateDiff dim对齐和目标素材/实现条件限制,不保证原尺寸。",
|
||||
433 | "custom_height": "保存0,不主动指定高;宽高同时0与格式dim一起决定,不保证最终尺寸。",
|
||||
|
|
||||
|
||||
E501 Line too long (126 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:432:80
|
||||
|
|
||||
430 | if nid == 3
|
||||
431 | else "内部207缓存0,由边界FPS经214覆盖;该FPS另经233到116,别名/恢复未证,不能将0或24当实际FPS。",
|
||||
432 | "custom_width": "保存0,不主动指定宽;仍受AnimateDiff dim对齐和目标素材/实现条件限制,不保证原尺寸。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
433 | "custom_height": "保存0,不主动指定高;宽高同时0与格式dim一起决定,不保证最终尺寸。",
|
||||
434 | "frame_load_cap": "根3保存0,不设此上限;IMAGE出口links=[]未进放大链,不代表零开销或保证整片成功。"
|
||||
|
|
||||
|
||||
E501 Line too long (109 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:433:75
|
||||
|
|
||||
431 | else "内部207缓存0,由边界FPS经214覆盖;该FPS另经233到116,别名/恢复未证,不能将0或24当实际FPS。",
|
||||
432 | "custom_width": "保存0,不主动指定宽;仍受AnimateDiff dim对齐和目标素材/实现条件限制,不保证原尺寸。",
|
||||
433 | "custom_height": "保存0,不主动指定高;宽高同时0与格式dim一起决定,不保证最终尺寸。",
|
||||
| ^^^^^^^^
|
||||
434 | "frame_load_cap": "根3保存0,不设此上限;IMAGE出口links=[]未进放大链,不代表零开销或保证整片成功。"
|
||||
435 | if nid == 3
|
||||
|
|
||||
|
||||
E501 Line too long (123 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:434:80
|
||||
|
|
||||
432 | "custom_width": "保存0,不主动指定宽;仍受AnimateDiff dim对齐和目标素材/实现条件限制,不保证原尺寸。",
|
||||
433 | "custom_height": "保存0,不主动指定高;宽高同时0与格式dim一起决定,不保证最终尺寸。",
|
||||
434 | "frame_load_cap": "根3保存0,不设此上限;IMAGE出口links=[]未进放大链,不代表零开销或保证整片成功。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
435 | if nid == 3
|
||||
436 | else "内部207缓存0,由边界b经215覆盖,另一路b到33表达式;实际每批帧数未证。",
|
||||
|
|
||||
|
||||
E501 Line too long (101 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:436:72
|
||||
|
|
||||
434 | … "frame_load_cap": "根3保存0,不设此上限;IMAGE出口links=[]未进放大链,不代表零开销或保证整片成功。"
|
||||
435 | … if nid == 3
|
||||
436 | … else "内部207缓存0,由边界b经215覆盖,另一路b到33表达式;实际每批帧数未证。",
|
||||
| ^
|
||||
437 | … "skip_first_frames": "根3缓存0,物理250来自215.SetNode;上游214保存0,SetNode准确实现未知,不保证实际跳过为0。"
|
||||
438 | … if nid == 3
|
||||
|
|
||||
|
||||
E501 Line too long (135 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:437:87
|
||||
|
|
||||
435 | … if nid == 3
|
||||
436 | … else "内部207缓存0,由边界b经215覆盖,另一路b到33表达式;实际每批帧数未证。",
|
||||
437 | … "skip_first_frames": "根3缓存0,物理250来自215.SetNode;上游214保存0,SetNode准确实现未知,不保证实际跳过为0。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
438 | … if nid == 3
|
||||
439 | … else "内部207缓存0,由33.INT经216覆盖;33的a*b+c未求值,不把缓存当实际起点。",
|
||||
|
|
||||
|
||||
E501 Line too long (102 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:439:76
|
||||
|
|
||||
437 | … "skip_first_frames": "根3缓存0,物理250来自215.SetNode;上游214保存0,SetNode准确实现未知,不保证实际跳过为0。"
|
||||
438 | … if nid == 3
|
||||
439 | … else "内部207缓存0,由33.INT经216覆盖;33的a*b+c未求值,不把缓存当实际起点。",
|
||||
| ^^
|
||||
440 | … "select_every_nth": "保存1,每个采样位置保留;准确实现按采样计数取帧,声音偏移/时长计算不保证真实同步。",
|
||||
441 | … "format": "保存AnimateDiff是读取尺寸/帧格式约束,不是MP4编码格式;内置dim按8对齐,target_rate8不等于重写force_rate。",
|
||||
|
|
||||
|
||||
E501 Line too long (129 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:440:74
|
||||
|
|
||||
438 | … if nid == 3
|
||||
439 | … else "内部207缓存0,由33.INT经216覆盖;33的a*b+c未求值,不把缓存当实际起点。",
|
||||
440 | … "select_every_nth": "保存1,每个采样位置保留;准确实现按采样计数取帧,声音偏移/时长计算不保证真实同步。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
441 | … "format": "保存AnimateDiff是读取尺寸/帧格式约束,不是MP4编码格式;内置dim按8对齐,target_rate8不等于重写force_rate。",
|
||||
442 | … "videopreview": "完整历史预览对象独立一保存位置,包含路径、采样缓存及hidden/paused;不是当前视频/成功产物,不请求任何URL。",
|
||||
|
|
||||
|
||||
E501 Line too long (142 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:441:78
|
||||
|
|
||||
439 | … else "内部207缓存0,由33.INT经216覆盖;33的a*b+c未求值,不把缓存当实际起点。",
|
||||
440 | … "select_every_nth": "保存1,每个采样位置保留;准确实现按采样计数取帧,声音偏移/时长计算不保证真实同步。",
|
||||
441 | … "format": "保存AnimateDiff是读取尺寸/帧格式约束,不是MP4编码格式;内置dim按8对齐,target_rate8不等于重写force_rate。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
442 | … "videopreview": "完整历史预览对象独立一保存位置,包含路径、采样缓存及hidden/paused;不是当前视频/成功产物,不请求任何URL。",
|
||||
443 | … }
|
||||
|
|
||||
|
||||
E501 Line too long (148 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:442:75
|
||||
|
|
||||
440 | … 位置保留;准确实现按采样计数取帧,声音偏移/时长计算不保证真实同步。",
|
||||
441 | … /帧格式约束,不是MP4编码格式;内置dim按8对齐,target_rate8不等于重写force_rate。",
|
||||
442 | … 立一保存位置,包含路径、采样缓存及hidden/paused;不是当前视频/成功产物,不请求任何URL。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
443 | …
|
||||
444 | …
|
||||
|
|
||||
|
||||
E501 Line too long (119 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:473:82
|
||||
|
|
||||
471 | "未知动态项",
|
||||
472 | "源动态口与准确schema冲突",
|
||||
473 | "保存auto;源额外format.codec动态层在准确0.29.0 SaveVideo不存在,不按位置映射成其它参数。",
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
474 | ),
|
||||
475 | "codec": (
|
||||
|
|
||||
|
||||
E501 Line too long (191 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:494:89
|
||||
|
|
||||
492 | … /完整帧数仍未知。"
|
||||
493 | …
|
||||
494 | …07fa6ff只有paths与frame_count,不接受audio/audio_mode。源接口与准确实现冲突,不能声称最终拼回声音或音画同步。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
495 | …
|
||||
496 | …
|
||||
|
|
||||
|
||||
E501 Line too long (309 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:589:62
|
||||
|
|
||||
587 | …
|
||||
588 | …
|
||||
589 | … 大链,内部另按路径读取;循环、Set/Get名称传值和子图特殊出口尚未验证。准确版本还存在视频信息第六口、最终合并音频口及保存动态口冲突,因此不能保证分批连续、完整帧数、音轨或同步。当前仅供阅读参考,保持停用,未实跑。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
590 | …
|
||||
591 | … MarkdownNote。89位置包含2完整videopreview对象;104的15条相同路径是15位置,不是15次成功。",
|
||||
|
|
||||
|
||||
E501 Line too long (258 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:593:84
|
||||
|
|
||||
591 | … 整MarkdownNote。89位置包含2完整videopreview对象;104的15条相同路径是15位置,不是15次成功。",
|
||||
592 | … 212.values.a。15.INTConstant100→16.Set(batch_size),Get18→212.values.b。212保存ceil(a/b),INT→21显示/23.Set(loop_count),未求值。",
|
||||
593 | … 定4ee72c原件实际VideoInfoLoaded RETURN_TYPES/RETURN_NAMES/get_video_info均仅五槽,无file_path;这是源接口冲突,不能套五槽实现证明第六口有效,也不借新版本补齐。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
594 | … 250→3.skip_first_frames。Get28/42/150/195/190/216分别→209.total/b/upscale/video/force_rate/c;根seed缓存42无外线。aux只给KJ提供方线索,别名无准确版本,作用域/实际取值…
|
||||
595 | …64,512,64]独立保留,不能同值证明覆盖等价,不造promoted运行图。209出口0→125.Set(loop_output),出口1→104.Show,出口2→219(a + 1)→218显示。',
|
||||
|
|
||||
|
||||
E501 Line too long (232 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:595:83
|
||||
|
|
||||
593 | … 定4ee72c原件实际VideoInfoLoaded RETURN_TYPES/RETURN_NAMES/get_video_info均仅五槽,无file_path;这是源接口冲突,不能套五槽实现证明第六口有效…
|
||||
594 | … 250→3.skip_first_frames。Get28/42/150/195/190/216分别→209.total/b/upscale/video/force_rate/c;根seed缓存42无外线。aux只给KJ提供方线索,别名…
|
||||
595 | …64,512,64]独立保留,不能同值证明覆盖等价,不造promoted运行图。209出口0→125.Set(loop_output),出口1→104.Show,出口2→219(a + 1)→218显示。',
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
596 | …。video/FPS分别外线覆盖207,FPS还→116.input_mode.fps。207.images→205.VOSR2,204模型→205,倍率和seed边界覆盖205。",
|
||||
597 | …urgeVRAM,VIDEO出口links=[]。86.flow与103累积结果→129.ForEnd。Start1.3.6、End595e0738、batch625efbfa分别固定,不能合成同版或声称循环成功。",
|
||||
|
|
||||
|
||||
E501 Line too long (177 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:599:76
|
||||
|
|
||||
597 | …3.batchAnything及210.PurgeVRAM,VIDEO出口links=[]。86.flow与103累积结果→129.ForEnd。Start1.3.6、End595e0738、batch625efbfa分别固定…
|
||||
598 | …nkIds=[143,143]重复。准确前端1.23.0/锁定LiteGraph0.15.15子图slots/linkIds序列化保留原记录,但未证明负槽/重复声明在扩展组合的恢复和gr…
|
||||
599 | …c并返回相对路径;可按偶数尺寸裁切。原音频未接,不声称分块保声。保存路径不是成功产物,未执行媒体/编码。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
600 | …veVideo。118保存frame_count=-1与audio_mode=merge;准确007fa6ff schema/execute只有paths/frame_count,无audio/audio_mode,源额外口冲…
|
||||
601 | …format/format.codec/codec四项;准确core0.29.0 SaveVideo仅普通filename_prefix/format/codec三控件,源COMFY_DYNAMICCOMBO_V3和format.cod…
|
||||
|
|
||||
|
||||
E501 Line too long (261 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:600:92
|
||||
|
|
||||
598 | … 确前端1.23.0/锁定LiteGraph0.15.15子图slots/linkIds序列化保留原记录,但未证明负槽/重复声明在扩展组合的恢复和graphToPrompt行为,不能先判无效、修复或推算有效输出。254:103槽…
|
||||
599 | … 数尺寸裁切。原音频未接,不声称分块保声。保存路径不是成功产物,未执行媒体/编码。",
|
||||
600 | …count=-1与audio_mode=merge;准确007fa6ff schema/execute只有paths/frame_count,无audio/audio_mode,源额外口冲突。即使有路径,别名/完整帧数/音频替换与同步仍不能保证。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
601 | …dec四项;准确core0.29.0 SaveVideo仅普通filename_prefix/format/codec三控件,源COMFY_DYNAMICCOMBO_V3和format.codec与其不符,准确恢复未知,不套新版修复。准确类输出VIDEO且写ou…
|
||||
602 | … 释,不能保证整片/同步。根extra VHS_MetadataImage=false与KeepIntermediate=false只是该保存图元数据,内部saveVideo按其自身准确实现,不套VHS Combine开关。",
|
||||
|
|
||||
|
||||
E501 Line too long (305 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:601:95
|
||||
|
|
||||
599 | … 数尺寸裁切。原音频未接,不声称分块保声。保存路径不是成功产物,未执行媒体/编码。",
|
||||
600 | …count=-1与audio_mode=merge;准确007fa6ff schema/execute只有paths/frame_count,无audio/audio_mode,源额外口冲突。即使有路径,别名/完整帧数/音频替换与同步仍不能保证。",
|
||||
601 | …dec四项;准确core0.29.0 SaveVideo仅普通filename_prefix/format/codec三控件,源COMFY_DYNAMICCOMBO_V3和format.codec与其不符,准确恢复未知,不套新版修复。准确类输出VIDEO且写output目录/条件metadata;不当本轮产物。',
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
602 | … 释,不能保证整片/同步。根extra VHS_MetadataImage=false与KeepIntermediate=false只是该保存图元数据,内部saveVideo按其自身准确实现,不套VHS Combine开关。",
|
||||
603 | … 用revision未固定。这里只静态引用,未执行/下载/反序列化。倍率、颜色对齐、分块与default dtype不能保证画质/显存。",
|
||||
|
|
||||
|
||||
E501 Line too long (248 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:602:67
|
||||
|
|
||||
600 | …count=-1与audio_mode=merge;准确007fa6ff schema/execute只有paths/frame_count,无audio/audio_mode,源额外口冲突。即使有路径,别名/完整帧数/音频替换与同步仍不…
|
||||
601 | …dec四项;准确core0.29.0 SaveVideo仅普通filename_prefix/format/codec三控件,源COMFY_DYNAMICCOMBO_V3和format.codec与其不符,准确恢复未知,不套新版修复。准确类…
|
||||
602 | … 释,不能保证整片/同步。根extra VHS_MetadataImage=false与KeepIntermediate=false只是该保存图元数据,内部saveVideo按其自身准确实现,不套VHS Combine开关。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
603 | … 用revision未固定。这里只静态引用,未执行/下载/反序列化。倍率、颜色对齐、分块与default dtype不能保证画质/显存。",
|
||||
604 | … 。193 widgets={}零位置;Label213、内部129/103缺widgets_values,不补null/[]。Label属性含Arial字体,仅文本不下载字体。",
|
||||
|
|
||||
|
||||
E501 Line too long (208 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:603:73
|
||||
|
|
||||
601 | …odec/codec四项;准确core0.29.0 SaveVideo仅普通filename_prefix/format/codec三控件,源COMFY_DYNAMICCOMBO_V3和format.codec与其不符,准…
|
||||
602 | … 实现解释,不能保证整片/同步。根extra VHS_MetadataImage=false与KeepIntermediate=false只是该保存图元数据,内部saveVideo按其自身准确…
|
||||
603 | … ;HF调用revision未固定。这里只静态引用,未执行/下载/反序列化。倍率、颜色对齐、分块与default dtype不能保证画质/显存。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
604 | … 不是实跑。193 widgets={}零位置;Label213、内部129/103缺widgets_values,不补null/[]。Label属性含Arial字体,仅文本不下载字体。",
|
||||
605 | … 意图,不借另一图版本。UE7.0.1/7.5.1/7.8空连接表不证明无覆盖,前端/动态口/插件组合恢复未知。",
|
||||
|
|
||||
|
||||
E501 Line too long (215 > 100)
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/build_definition.py:604:70
|
||||
|
|
||||
602 | … 解释,不能保证整片/同步。根extra VHS_MetadataImage=false与KeepIntermediate=false只是该保存图元数据,内部saveVideo按其自身准确实现…
|
||||
603 | …F调用revision未固定。这里只静态引用,未执行/下载/反序列化。倍率、颜色对齐、分块与default dtype不能保证画质/显存。",
|
||||
604 | … 实跑。193 widgets={}零位置;Label213、内部129/103缺widgets_values,不补null/[]。Label属性含Arial字体,仅文本不下载字体。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
605 | … ,不借另一图版本。UE7.0.1/7.5.1/7.8空连接表不证明无覆盖,前端/动态口/插件组合恢复未知。",
|
||||
606 | … 检查/时间戳空、完整定稿0/必要实跑0/新增转换0;16/139、1217/3660/294与145UI9参考候选136关闭保持,case06排除。",
|
||||
|
|
||||
|
||||
Found 32 errors.
|
||||
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/docs/hel-892/vosr2-loop-document-evidence/check_code.py", line 40, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/docs/hel-892/vosr2-loop-document-evidence/check_code.py", line 18, in main
|
||||
subprocess.run(
|
||||
File "/usr/lib/python3.10/subprocess.py", line 526, in run
|
||||
raise CalledProcessError(retcode, process.args,
|
||||
subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_vosr2_loop_fixed_document.py', 'e2e/run-vosr2-loop-document.py', 'docs/hel-892/vosr2-loop-document-evidence/build_definition.py', 'docs/hel-892/vosr2-loop-document-evidence/check_code.py', 'docs/hel-892/vosr2-loop-document-evidence/fetch_packages.py', 'docs/hel-892/vosr2-loop-document-evidence/fetch_sources.py', 'docs/hel-892/vosr2-loop-document-evidence/inventory.py', 'docs/hel-892/vosr2-loop-document-evidence/rebuild.py', 'docs/hel-892/vosr2-loop-document-evidence/recompute.py', 'docs/hel-892/vosr2-loop-document-evidence/render_report.py', 'docs/hel-892/vosr2-loop-document-evidence/repeat.py', 'docs/hel-892/vosr2-loop-document-evidence/request_counts.py', 'docs/hel-892/vosr2-loop-document-evidence/verify_sources.py']' returned non-zero exit status 1.
|
||||
@@ -0,0 +1,42 @@
|
||||
invalid-syntax: Expected `)`, found string
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/request_counts.py:25:13
|
||||
|
|
||||
23 | ('就绪GET单列1;浏览记录含Node直连及Playwright'
|
||||
24 | '本地拦截的GET,')
|
||||
25 | "服务日志只含真正到后端者,不机械等同。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
26 | "轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
27 | ),
|
||||
|
|
||||
|
||||
invalid-syntax: Expected a statement
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/request_counts.py:28:5
|
||||
|
|
||||
26 | "轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
27 | ),
|
||||
28 | )
|
||||
| ^
|
||||
29 | browser = json.loads((OUT / "browser-results.json").read_bytes())
|
||||
30 | assert browser["errors"] == []
|
||||
|
|
||||
|
||||
invalid-syntax: Expected a statement
|
||||
--> docs/hel-892/vosr2-loop-document-evidence/request_counts.py:28:6
|
||||
|
|
||||
26 | "轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
27 | ),
|
||||
28 | )
|
||||
| ^
|
||||
29 | browser = json.loads((OUT / "browser-results.json").read_bytes())
|
||||
30 | assert browser["errors"] == []
|
||||
|
|
||||
|
||||
Found 3 errors.
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/docs/hel-892/vosr2-loop-document-evidence/check_code.py", line 40, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/docs/hel-892/vosr2-loop-document-evidence/check_code.py", line 18, in main
|
||||
subprocess.run(
|
||||
File "/usr/lib/python3.10/subprocess.py", line 526, in run
|
||||
raise CalledProcessError(retcode, process.args,
|
||||
subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_vosr2_loop_fixed_document.py', 'e2e/run-vosr2-loop-document.py', 'docs/hel-892/vosr2-loop-document-evidence/build_definition.py', 'docs/hel-892/vosr2-loop-document-evidence/check_code.py', 'docs/hel-892/vosr2-loop-document-evidence/fetch_packages.py', 'docs/hel-892/vosr2-loop-document-evidence/fetch_sources.py', 'docs/hel-892/vosr2-loop-document-evidence/inventory.py', 'docs/hel-892/vosr2-loop-document-evidence/rebuild.py', 'docs/hel-892/vosr2-loop-document-evidence/recompute.py', 'docs/hel-892/vosr2-loop-document-evidence/render_report.py', 'docs/hel-892/vosr2-loop-document-evidence/repeat.py', 'docs/hel-892/vosr2-loop-document-evidence/request_counts.py', 'docs/hel-892/vosr2-loop-document-evidence/verify_sources.py']' returned non-zero exit status 1.
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
14 files already formatted
|
||||
PASS 14 authored Python files and one JS syntax check
|
||||
@@ -0,0 +1,40 @@
|
||||
"Check changed authored Python only; upstream originals remain byte-for-byte."
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
FILES = [
|
||||
("calliope-backend/src/calliope/comfyui/fixed_document.py"),
|
||||
("calliope-backend/tests/test_vosr2_loop_fixed_document.py"),
|
||||
"e2e/run-vosr2-loop-document.py",
|
||||
] + [str(p.relative_to(ROOT)) for p in sorted(OUT.glob("*.py"))]
|
||||
|
||||
|
||||
def main():
|
||||
for command in [["check"], ["format", "--check"]]:
|
||||
subprocess.run(
|
||||
[
|
||||
"uv",
|
||||
"run",
|
||||
"--project",
|
||||
"calliope-backend",
|
||||
"--offline",
|
||||
"ruff",
|
||||
*command,
|
||||
"--config",
|
||||
"calliope-backend/pyproject.toml",
|
||||
*FILES,
|
||||
],
|
||||
cwd=ROOT,
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(["node", "--check", "e2e/vosr2-loop-document.mjs"], cwd=ROOT, check=True)
|
||||
(OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n")
|
||||
print("PASS", len(FILES), "authored Python files and one JS syntax check")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
第55批仅VOSR2分批循环长视频单图参考说明,基线d70a286f,继续原PR25(main)。新增89保存位置+3完整注释:根62/内部27、2完整历史对象、Show104重复15条逐项保留;旧35块1106+25逐对象不变,现36图1195+28仅参考。155完整定稿0/必要实跑0/新增转换0,全量未完成。
|
||||
|
||||
实际`source_reviews.json`仅本图增加fixed_version_document,`fixed_document.py`仅新增代码持有摘要允许项;说明经原build_document、GET及现有Drawer展示,未改Drawer/前端产品/样式。图原字节、规范全图、定义摘要均绑定;调用方重算摘要不能扩信任。89位置保留JSON类型/原值、作用域、可得具名与物理指针、对应输入口、用途/默认/单位/范围/条件及准确原件行号。
|
||||
|
||||
根36节点27物理边、内部9节点22含边界记录,全mode0。7边界/6宿主缓存/内部8缓存逐项区分;143 target_slot=-3与linkIds=[143,143]重复单列,254/255独立,不先判无效或修复。Set/Get无准确版本,aux仅线索,不求别名或表达式/循环。两个历史预览、15条temp路径及15/1500/14显示均非实跑。
|
||||
|
||||
独立准确源码发现三处接口冲突,说明已明确:193保存六出口含file_path🟦,但4ee72c实现只有五出口;118保存audio/audio_mode,007fa6ff实现无此接口;99四值/动态format.codec与core0.29.0三个普通控件不同。根3图像出口空、内部另读路径、116音频未接且hide仍写temp,不保证整片/分批连续/音轨/同步/尺寸/资源/画质。Purge/Label/SetGet未知分层,UE扩展组合恢复未知,不继承旧profile信任。
|
||||
|
||||
完整中文:`docs/hel-892/VOSR2分批循环长视频固定参考中文说明.md`。local_file基准:`docs/hel-892/vosr2-loop-document-evidence`。70行号引用/48被引文本、共63准确文本含补充注册与许可全部核验;新提交及tag用tree/blob,EasyUse1.3.4/1.3.6与已有VHS/LiteGraph用准确包SHA/成员;包到Git绑定未知。`registration-index.json`补列循环/批次/保存/常量注册行号。`independent-inventory.json`独立逐位置核准,未从定义反推位置。
|
||||
|
||||
最终536后台通过(523专项+13库回归);2154浏览通过(1298本图+840旧35概要+2汇总+14共享),8张截图目验。14自写Python Ruff/format、JS语法、离线wheel/sdist资源字节、双次重建及渲染确定性通过。真实基线旧代码隔离库1更新/154跳过,154整行不变;幂等155跳过/精确回退1/再升级1;升级前后用户编辑各1冲突、整行29列保护。155均停用未检查、时间戳空,16/139与1217/3660/294保持;163原件/191资源/28profiles/9候选hash/六差分/执行资格及Drawer整文件不变、case06排除。复现入口`validation-commands.txt`,开发失败修正及未测范围另列;不称全仓全绿。
|
||||
|
||||
全本地GET。浏览固定121/轮询14,后端固定116含就绪1/轮询14;6详情夹具/1字体CSS拦截单列,禁止请求0。finally停两服务,8247/5173释放。尚待准确扩展组合/节点安装、模型素材/编码器、资源耗时和真实输出验证;循环与三个接口冲突未解决前不放行。未连目标、不停TTS、不启ComfyUI、不执行上游代码/模型/媒体/FFmpeg/别名/循环/表达式/清显存/GPU,不下载权重素材字体运行库、不加依赖付费、不写在线库、不合并部署。由总管审核后继续全量工作。
|
||||
@@ -0,0 +1,11 @@
|
||||
本轮开发记录(不累加为最终通过计数):
|
||||
|
||||
- 首次准确源码收件把 Easy-Media 仓库名少写连字符,GitHub 返回404;按官方仓库准确名称修正后取得指定提交,SHA/tree/blob核验通过。未用最新版替代,未执行源码。
|
||||
- 首次引用范围有末行越界;改为原件实际行号。EasyUse1.3.6 ForStart位置与1.3.4不同,独立回读后固定928~970,未混用旧版实现。
|
||||
- 首次专项535通过/1失败:测试把源端口`file_path🟦`写成`file_path`,已修为完整原名,没有改源或撤回接口冲突。最终523专项+13库回归=536通过。
|
||||
- 初次Ruff有未用变量、长行和格式问题。拆长字符串时曾引入相邻字面量语法/调用错误,已修正并静态扫描无常量调用,双次重建/渲染确定性及14份自写Python Ruff/format最终通过。保留初次与中间检查日志。
|
||||
- 首次浏览2152断言通过,但目验技术折叠区发现覆盖/前端计数未填;补明14/39并添加准确计数断言,再独立全量浏览2154通过。两个浏览结果不相加;交付仅最终截图/结果,初次控制台日志保留。最终包/测试/导入保护/确定性均以本轮最终定义重跑。
|
||||
- 本轮独立源码与描述预读有三处接口不一致:Info保存六槽但4ee72c代码仅五槽;merge保存音频口但007fa6ff代码无音频接口;SaveVideo四值动态口与core0.29.0三个普通控件不同。交付如实记冲突与未知,没有改图/猜恢复/借新版修复。
|
||||
- 未跑未改全后台/前端全套/冻结转换。既有全后台失败不在本次验证内;不称全仓全绿。
|
||||
|
||||
- 新checkout未配置Git身份,首次commit被Git拒绝,未形成提交;随后仅本次命令使用原任务分支上一提交的leefer身份,不改全局/共享Git配置。首次push因提交未形成仅报告up-to-date;交付以最终真实提交/远端head为准。
|
||||
@@ -0,0 +1,64 @@
|
||||
"Preserve exact EasyUse release text; no dependency installation/execution."
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import urllib.request
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent.parent / "vosr2-loop-reference"
|
||||
|
||||
|
||||
def get(url, limit):
|
||||
with urllib.request.urlopen(url, timeout=40) as r:
|
||||
data = r.read(limit + 1)
|
||||
assert len(data) <= limit
|
||||
return data
|
||||
|
||||
|
||||
def main():
|
||||
entries = []
|
||||
for key, version in [("easy-show", "1.3.4"), ("easy-start", "1.3.6")]:
|
||||
meta = get(f"https://api.comfy.org/nodes/comfyui-easy-use/versions/{version}", 200000)
|
||||
m = json.loads(meta)
|
||||
(OUT / (key + "-registry.json")).write_bytes(meta)
|
||||
raw = get(m["downloadUrl"], 20000000)
|
||||
(OUT / (key + "-source.zip")).write_bytes(raw)
|
||||
sha = hashlib.sha256(raw).hexdigest()
|
||||
with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||||
names = z.namelist()
|
||||
(OUT / (key + "-members.json")).write_text(json.dumps(names, indent=2) + "\n")
|
||||
for f in [
|
||||
"__init__.py",
|
||||
"py/nodes/logic.py",
|
||||
"web_version/v1/js/easy/easy.js",
|
||||
"web_version/v1/js/easy/easyDynamicWidgets.js",
|
||||
"LICENSE",
|
||||
"pyproject.toml",
|
||||
]:
|
||||
if f not in names:
|
||||
print("MISSING", key, f)
|
||||
continue
|
||||
b = z.read(f)
|
||||
name = key + "__" + f.replace("/", "__")
|
||||
(OUT / name).write_bytes(b)
|
||||
entries.append(
|
||||
dict(
|
||||
id=key,
|
||||
file=f,
|
||||
local_file=name,
|
||||
url=m["downloadUrl"],
|
||||
commit=f"comfyui-easy-use@{version};package-sha256:{sha}",
|
||||
sha256=hashlib.sha256(b).hexdigest(),
|
||||
package_sha256=sha,
|
||||
package_file=key + "-source.zip",
|
||||
member=f,
|
||||
license="GPL-3.0;准确包内LICENSE;包到Git绑定未知",
|
||||
)
|
||||
)
|
||||
(OUT / "package-sources.json").write_text(json.dumps(dict(sources=entries), indent=2) + "\n")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,84 @@
|
||||
"Fetch bounded exact source text only, without importing upstream code."
|
||||
|
||||
import importlib.util
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
"bounded_fetch", OUT.parent / "simple-vfi-document-evidence/fetch_sources.py"
|
||||
)
|
||||
mod = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(mod)
|
||||
mod.REF = OUT.parent / "vosr2-loop-reference"
|
||||
SPECS = {
|
||||
"info": (
|
||||
"Kosinkadink/ComfyUI-VideoHelperSuite",
|
||||
"4ee72c065db22c9d96c2427954dc69e7b908444b",
|
||||
["__init__.py", "videohelpersuite/nodes.py", "LICENSE"],
|
||||
),
|
||||
"kj-old": (
|
||||
"kijai/ComfyUI-KJNodes",
|
||||
"c661baadd9683c0033cd2a6ad90157c6d099a6c2",
|
||||
["__init__.py", "nodes/nodes.py", "LICENSE"],
|
||||
),
|
||||
"kj-new": (
|
||||
"kijai/ComfyUI-KJNodes",
|
||||
"57105374f47d0fbb49c9c3926fb981702e0a4b5c",
|
||||
["__init__.py", "nodes/nodes.py", "LICENSE"],
|
||||
),
|
||||
"show-new": (
|
||||
"yolain/ComfyUI-Easy-Use",
|
||||
"450b1ce4ce43b2280521c87f5fa388a898fb2ad2",
|
||||
["__init__.py", "py/nodes/logic.py", "LICENSE"],
|
||||
),
|
||||
"loop-end": (
|
||||
"yolain/ComfyUI-Easy-Use",
|
||||
"595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
["__init__.py", "py/nodes/logic.py", "LICENSE"],
|
||||
),
|
||||
"batch": (
|
||||
"yolain/ComfyUI-Easy-Use",
|
||||
"625efbfa2fc20c31797dfffcbb41a26b6d91ab7b",
|
||||
["__init__.py", "py/nodes/logic.py", "LICENSE"],
|
||||
),
|
||||
"save": (
|
||||
"yolain/ComfyUI-Easy-Media",
|
||||
"a22fdcfbef30a0ceba4a930cc72cb5b99e801546",
|
||||
[
|
||||
"__init__.py",
|
||||
"nodes/__init__.py",
|
||||
"nodes/video.py",
|
||||
"utils/video.py",
|
||||
"utils/__init__.py",
|
||||
"LICENSE",
|
||||
],
|
||||
),
|
||||
"merge": (
|
||||
"yolain/ComfyUI-Easy-Media",
|
||||
"007fa6ff85e6d8f420b9b51ac710c0f0d759c430",
|
||||
[
|
||||
"__init__.py",
|
||||
"nodes/__init__.py",
|
||||
"nodes/video.py",
|
||||
"utils/video.py",
|
||||
"utils/__init__.py",
|
||||
"LICENSE",
|
||||
],
|
||||
),
|
||||
"core-math": ("Comfy-Org/ComfyUI", "v0.35.1", ["comfy_extras/nodes_math.py", "LICENSE"]),
|
||||
"core-video": (
|
||||
"Comfy-Org/ComfyUI",
|
||||
"v0.29.0",
|
||||
["comfy_extras/nodes_video.py", "comfy_api/latest/_util/video_types.py", "LICENSE"],
|
||||
),
|
||||
}
|
||||
if __name__ == "__main__":
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
with ThreadPoolExecutor(max_workers=4) as pool:
|
||||
rows = list(pool.map(mod.one, SPECS.items()))
|
||||
(mod.REF / "identities.json").write_text(json.dumps([r[0] for r in rows], indent=2) + "\n")
|
||||
(mod.REF / "sources.json").write_text(
|
||||
json.dumps({"sources": [e for r in rows for e in r[1]]}, indent=2) + "\n"
|
||||
)
|
||||
@@ -0,0 +1,745 @@
|
||||
{
|
||||
"base": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"sha256": "024a7e6a228b81721f64924486be8c757cd6f65a8fad9ec2d8170f44b8b68fc6",
|
||||
"bytes": 10423,
|
||||
"purpose": "代码持有本图定义SHA256允许项;不改变绑定算法"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"sha256": "b1669ad580ad1310c1909d264070ff23ad958ec55522c752e394f03293a3d876",
|
||||
"bytes": 4473724,
|
||||
"purpose": "只新增本图固定参考中文定义,其余156审校对象除该字段均不变"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_vosr2_loop_fixed_document.py",
|
||||
"sha256": "1ad79bc6687b814b68a795fccc877f36be90932f80ef739183112c09ed87cd68",
|
||||
"bytes": 9402,
|
||||
"purpose": "逐保存位置/节点/连线/边界/注释/静态接口冲突和失败关闭专项"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/VOSR2分批循环长视频固定参考中文说明.md",
|
||||
"sha256": "74ba0909d0c24b7ae42935725600ac299870c6be5b075a9835aa0c9e18549940",
|
||||
"bytes": 204489,
|
||||
"purpose": "完整中文逐位置说明及行号依据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/actual-VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "00d240de84c957249a02e8f6eee0b53584d736db076c51dbf0941563f8f15816",
|
||||
"bytes": 234145,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/audit-summary.json",
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"bytes": 797,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/authored-diff-check.txt",
|
||||
"purpose": "本轮自写差分空白检查及上游字节保留记录",
|
||||
"sha256": "1e4bdc98fee8ca7db7fb1f9826be8be86d1bd02ddee1f4617344d3d5d4384877",
|
||||
"bytes": 44385
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/boundaries.json",
|
||||
"sha256": "87758be6ac6a303a6ee8d41d739d72a59a63c8b994f862e6331ab60ed8a09bc6",
|
||||
"bytes": 38633,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/browser-final.txt",
|
||||
"sha256": "e1900a79208b62baf77d2caca6c7c13249dfee4791ddc2e7962d0aaaf13d6441",
|
||||
"bytes": 110437,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/browser-initial.txt",
|
||||
"sha256": "cf74076e7a2a61f3b39c67579285e0fc00d23809b3687af35cd6c40f2251867c",
|
||||
"bytes": 110352,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/browser-results.json",
|
||||
"sha256": "03befb207702ddd4a51ffa06367f2c3771a6f1528b6d30a8977148bb76136cf7",
|
||||
"bytes": 129313,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/build-final.txt",
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
|
||||
"bytes": 211,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/build_definition.py",
|
||||
"sha256": "d672dd0fbb6c2e36efd2c1a047c4d80c8e60ffe1f7273b0b372642862751c40b",
|
||||
"bytes": 42749,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/check-code-final.txt",
|
||||
"sha256": "f13a665b53482d1dceeb38f992ce3c317dd520fd0bfcecb96e398c69cd24f7b0",
|
||||
"bytes": 100,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/check-code-initial.txt",
|
||||
"sha256": "3ee463268bdc0be1ffbc9e7e155bb8ebfff65467c368b4c2e1a45114bf2a0cf8",
|
||||
"bytes": 27675,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/check-code-stage2.txt",
|
||||
"sha256": "7b056384fe8a1dc2d609fb137e80b9f43c14b77ebd2af2a861a7cd58bd75f0ea",
|
||||
"bytes": 2730,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/check-code-stage3.txt",
|
||||
"sha256": "f13a665b53482d1dceeb38f992ce3c317dd520fd0bfcecb96e398c69cd24f7b0",
|
||||
"bytes": 100,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/check_code.py",
|
||||
"sha256": "e38e3171c8b5167d2714d5cb617e0ef1da21d09d43d53be455499024847532f0",
|
||||
"bytes": 1228,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/definition-0.json",
|
||||
"sha256": "5bb93d55eef1afdbf2a94166af84f3159e29bb2ff059f1e10bac8bf747eb6007",
|
||||
"bytes": 161445,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/delivery-summary.md",
|
||||
"sha256": "c4f380f5f62b4e6dfdcd763c58a9e15e03127a30d439b1c5d59e1f9e93ffcfea",
|
||||
"bytes": 3466,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/development-corrections.md",
|
||||
"sha256": "211a074413b332d39f5843f35d1c3e7f829f3674ef310feada30bc96ad596bea",
|
||||
"bytes": 1934,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/fetch_packages.py",
|
||||
"sha256": "694e711e48752d0cc13dc4ab20c2ee6474eb0629bb74f5de91e137571def6292",
|
||||
"bytes": 2293,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/fetch_sources.py",
|
||||
"sha256": "b34a0cf2f45d36876235f041df211be4cda8344ffd9d0fbdae89ed821e77ff12",
|
||||
"bytes": 2740,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/fixed-source-index.json",
|
||||
"sha256": "7c90a4d932fa38d1a48171414e4693567be20ab9befe8dc904ac9b59ff14d2a7",
|
||||
"bytes": 59089,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/frozen-resource-check.json",
|
||||
"sha256": "c13e44c6a00be10f74f1d7413b2c3718d125c52d42711ca1d5aa7189dd1e239c",
|
||||
"bytes": 40348,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/import-protection.json",
|
||||
"sha256": "c893476498fedacbc1a50fda8801829b0d9b859d6d71ab1a04e437309672299e",
|
||||
"bytes": 1270,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/independent-inventory.json",
|
||||
"sha256": "abe7c4471bf875413e05fad28392a6a82dfeeee4b2d8a5543c56f6cec443c066",
|
||||
"bytes": 20595,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/inventory.py",
|
||||
"sha256": "72d46f99bb5d91a36c36062005f745e1040c42a12617f798eabc5220a0249e56",
|
||||
"bytes": 2318,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/package-check.json",
|
||||
"sha256": "9d38ae2a714c4341c705ae46df1f00db21c1bb35836cf9d5f73ea2e8648b0a9a",
|
||||
"bytes": 550,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/pins.json",
|
||||
"sha256": "c1ddb4f198719490daa10ad8f3b7bdc03be08be2389f705bc6bd8c928d61db73",
|
||||
"bytes": 242,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/pr-baseline.json",
|
||||
"sha256": "577a6ebe660b3f810576c7728331ea06fb54b8bebfcf2a47f054e87eb03c7b4f",
|
||||
"bytes": 239,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/pytest-final.txt",
|
||||
"sha256": "b229b19c4f337d696d2942850a05102eb21b8b94adc20fff5ffab1c6a9644b89",
|
||||
"bytes": 1280,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/pytest-initial.txt",
|
||||
"sha256": "df695dccd2f4fe75a827e7540d0b4274ab7cb520be3133ae9f2f6dc2e3ce639d",
|
||||
"bytes": 2550,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/python-check-files.json",
|
||||
"sha256": "83010d1ea08e6a8f41583cc1ecd7dfa6fe427ed9961a5048cb6e26889cbfc512",
|
||||
"bytes": 848,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/rebuild.py",
|
||||
"sha256": "0b07f0cb5a4094696fc5855545244f87047511694aa354ccf9670c3ea9f52083",
|
||||
"bytes": 2448,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/recompute-final.txt",
|
||||
"sha256": "41aaff0a370acfb8c8edce10ce99dee0933977a3fb7df2e44d1bd6b0b15fc665",
|
||||
"bytes": 229,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/recompute-initial.txt",
|
||||
"sha256": "4ef2d12d574a61c344ef01fe33694d4a4a6a731fde65559168111ea21eb75183",
|
||||
"bytes": 229,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/recompute.py",
|
||||
"sha256": "f15ed6b169469dc1a88d4b5f1a54612471c33271090e071d7c4a1e73f412e960",
|
||||
"bytes": 12281,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/registration-index.json",
|
||||
"sha256": "817ed8120bd643e9eebb58fcf839d542946a86ebeff59ff607ef76584c8487bb",
|
||||
"bytes": 4411,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/render_report.py",
|
||||
"sha256": "f3c2ae02bce25fe82805173adf54b808cfb99b6974d0d3f1171d7940046ae70d",
|
||||
"bytes": 4526,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/repeat.py",
|
||||
"sha256": "6533a6bb9d6dfa0834698b9ce6f8c505472f1124afed2ff1528e65c2144eaada",
|
||||
"bytes": 1291,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/repeatability.json",
|
||||
"sha256": "ba6e71963fbf2a078625a99820b3ffa6377bb6e0232dbe639df8db75d2768825",
|
||||
"bytes": 427,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/request-counts-final.txt",
|
||||
"sha256": "1ccf65d4cf0b83f1d03288d60d4770cc62c6c42815246568080e0618bedd61e5",
|
||||
"bytes": 1264,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/request_counts.py",
|
||||
"sha256": "4ec087f8907912353191132b1e70c74fb1a27a2653294f0a3cf53129f1549262",
|
||||
"bytes": 1389,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/review-delta.json",
|
||||
"sha256": "b598fbcd4e8a1470ca6287373b40275a353ad2ddc31c0acde16680ea5b4c041a",
|
||||
"bytes": 465,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/ruff-initial.txt",
|
||||
"sha256": "05a062d642417c6196444edc2920dae7141e3d67a2ef7961f86382cf4d7c1286",
|
||||
"bytes": 101477,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/server-request-accounting.json",
|
||||
"sha256": "c5312d56fbace81d45b414919ba6d97aad3ebae8e89974a4a31c07bfb7575422",
|
||||
"bytes": 1446,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/service-0.txt",
|
||||
"sha256": "42cb73f40213b316fff8de00173ae4dc786a1502084ab94c3894e68726ab8e4f",
|
||||
"bytes": 9260,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/service-stop.json",
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
|
||||
"bytes": 65,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/source-check.json",
|
||||
"sha256": "856a224f4c283d8d6a08175d4628df97caa95d6146c8087335b0689da94d9e75",
|
||||
"bytes": 753,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/validation-commands.txt",
|
||||
"sha256": "edd3e89a35e5116db237871349df714949cd80740c4b7986f15d5175501f5a2b",
|
||||
"bytes": 1816,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/verify_sources.py",
|
||||
"sha256": "772a389157177609300698f70af5429561409741e91677efa89a820f181b3f5e",
|
||||
"bytes": 5073,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-document-evidence/visual-inspection.md",
|
||||
"sha256": "c6998d67a1888384d7d4b2c420b72b1047fb413b13d52037c77f196d7569f206",
|
||||
"bytes": 925,
|
||||
"purpose": "本轮重建/验证/保护/打包/浏览/实际数据或检查证据,详见文件内容"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/batch-tree.json",
|
||||
"sha256": "b7c00eb13837bd79b34e9212a676f7fa3a8c48372d7b609adebca078c8829864",
|
||||
"bytes": 56880,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/batch__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/batch____init__.py",
|
||||
"sha256": "f70f31cea09878a41e952cabd6dd4a8d75c11d7a38df469089fb3a936f1e9989",
|
||||
"bytes": 3630,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/batch__py__nodes__logic.py",
|
||||
"sha256": "b31e91bccdb14397a43f9702e7d05454580b6b65664a6e506a277782059e8e1a",
|
||||
"bytes": 63188,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-math-tag.json",
|
||||
"sha256": "4d4d728aa39c6383f7503931f505127938ff163eaff3c373e08a7aa5660beb6e",
|
||||
"bytes": 339,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-math-tree.json",
|
||||
"sha256": "db9993d1952279c33f86984907e5802b4caaa3db9d436a2d0e53ce979a9964fe",
|
||||
"bytes": 312437,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-math__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-math__comfy_extras__nodes_math.py",
|
||||
"sha256": "073b822a7c39f2320e9de91a4bc941d2078c79024bd65e9dd9e05e3a3ffaa153",
|
||||
"bytes": 3737,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-video-tag.json",
|
||||
"sha256": "7725eab00f01009fdc335f76b68d6a511f352adace48d9a00d30704d817b00c5",
|
||||
"bytes": 339,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-video-tree.json",
|
||||
"sha256": "34f4fb4876adc1fea3553b1c912dff2803241635e5e24240628d3b8b5c63abd2",
|
||||
"bytes": 281706,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-video__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-video__comfy_api__latest___util__video_types.py",
|
||||
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f",
|
||||
"bytes": 1286,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/core-video__comfy_extras__nodes_video.py",
|
||||
"sha256": "421dcb63c0159c14c68d4cfbfd7403f43871e2e84d6336803467bd806f8a2aa1",
|
||||
"bytes": 12074,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show-members.json",
|
||||
"sha256": "a4cccd1a7201230704bc7d15d94ea918cd5ef3a3800e8686068965d6492fb4f7",
|
||||
"bytes": 6772,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show-registry.json",
|
||||
"sha256": "4d34c973f4465e3c9b1e3321604e893bbd359eeeadd71e88a85abb4dd425d033",
|
||||
"bytes": 575,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show-source.zip",
|
||||
"sha256": "75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"bytes": 1880895,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show____init__.py",
|
||||
"sha256": "d225b7157796aa5f015bb28bfa6cee8e3048fb810a45e988122ea3b365bdde22",
|
||||
"bytes": 3630,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show__py__nodes__logic.py",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1",
|
||||
"bytes": 58998,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show__pyproject.toml",
|
||||
"sha256": "123745784e7e332be08f29a4fc90d96393af25262c3b4e8cfc806cfaa91799d8",
|
||||
"bytes": 601,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easy.js",
|
||||
"sha256": "f6dc89375947eb20c4ec2bcf3afc448d1ed55fcb9baf5f1f84de78b15863d0c1",
|
||||
"bytes": 24874,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-show__web_version__v1__js__easy__easyDynamicWidgets.js",
|
||||
"sha256": "504c268344a023e72b6c9c2fda9ddbc80e47519608dae021d8854356303018fa",
|
||||
"bytes": 49072,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start-members.json",
|
||||
"sha256": "64f1f2a116cda2c6967f945bc1a584be6e94820de3bda74b5176293d193c51ef",
|
||||
"bytes": 6920,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start-registry.json",
|
||||
"sha256": "d6cef9d14a3c46d43f8c99dd4370060f5e73fee533c75a94d7a8fe36d38188f0",
|
||||
"bytes": 563,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start-source.zip",
|
||||
"sha256": "2a80ae5517780aaed5e3a013f986a6f956970f9a3bad941f35a5615c135caeb7",
|
||||
"bytes": 1920042,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start____init__.py",
|
||||
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
|
||||
"bytes": 3630,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start__py__nodes__logic.py",
|
||||
"sha256": "40fe270baa76dc0563885befaff2d0ea8852cb09f1b99872c82ce90fc22dc4cf",
|
||||
"bytes": 65320,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start__pyproject.toml",
|
||||
"sha256": "0bc2411cc2531237354fa36a68dd1b8279b0e731d81a31e525caa872ed1538d1",
|
||||
"bytes": 660,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easy.js",
|
||||
"sha256": "f6dc89375947eb20c4ec2bcf3afc448d1ed55fcb9baf5f1f84de78b15863d0c1",
|
||||
"bytes": 24874,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/easy-start__web_version__v1__js__easy__easyDynamicWidgets.js",
|
||||
"sha256": "504c268344a023e72b6c9c2fda9ddbc80e47519608dae021d8854356303018fa",
|
||||
"bytes": 49072,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/identities.json",
|
||||
"sha256": "57669fa161e2ed600c622b399ec11245085e4fff4f5a558b36c5b68a74cb73c5",
|
||||
"bytes": 1259,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/info-tree.json",
|
||||
"sha256": "c90f8bdeca0af66b748c932bae1371d5dff9f6aec6066de4a40772170682c8bf",
|
||||
"bytes": 13833,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/info__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/info____init__.py",
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f",
|
||||
"bytes": 398,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/info__videohelpersuite__nodes.py",
|
||||
"sha256": "801f957f559c28d55caae9d981b6a5540b2743d8864e5fc49110792f67395713",
|
||||
"bytes": 48222,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-new-tree.json",
|
||||
"sha256": "12588254b9e186abf9c5101b142d9e53e9a991ff0610f28658997ffb4898239b",
|
||||
"bytes": 18945,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-new__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-new____init__.py",
|
||||
"sha256": "14640298feed1aad22198c5bfbd645ece19be125a6114645aa73c55cc9264d6e",
|
||||
"bytes": 31160,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-new__nodes__nodes.py",
|
||||
"sha256": "e9e109717c12b8f0c61c3401908fa9d1f07d23c94debb031fb85dfa2b4d9331f",
|
||||
"bytes": 138209,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-old-tree.json",
|
||||
"sha256": "9aa65e32cf22c5dabc204f7b176e49ed4dd38d0b57320407190dbb4d6b6c9b4f",
|
||||
"bytes": 14485,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-old__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-old____init__.py",
|
||||
"sha256": "43852013e532d868d7e3b5ca5ba5bb2e6697d7333f2ade4a4cbab517b976adc6",
|
||||
"bytes": 19022,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/kj-old__nodes__nodes.py",
|
||||
"sha256": "717ce6ba5975e931ee120e8efcfef6e8dd6c3cd8f1a21d611700d0110ae27045",
|
||||
"bytes": 104804,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/loop-end-tree.json",
|
||||
"sha256": "6f113f68b0134618b53f1e05f9a1e3d3a67aed1d12b0ec8001d56241dd2cc51e",
|
||||
"bytes": 56880,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/loop-end__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/loop-end____init__.py",
|
||||
"sha256": "f70f31cea09878a41e952cabd6dd4a8d75c11d7a38df469089fb3a936f1e9989",
|
||||
"bytes": 3630,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/loop-end__py__nodes__logic.py",
|
||||
"sha256": "b31e91bccdb14397a43f9702e7d05454580b6b65664a6e506a277782059e8e1a",
|
||||
"bytes": 63188,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge-tree.json",
|
||||
"sha256": "b09a2801030400c0dd7db8cfe2ae682a911fdb47c4c6866ad126e44f3cfb14e2",
|
||||
"bytes": 62570,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge____init__.py",
|
||||
"sha256": "85be7c5c1e3651276b87c03f66dfdc24fba694d730aa23b691fab94f5457fe91",
|
||||
"bytes": 2571,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge__nodes____init__.py",
|
||||
"sha256": "f9e83dede25ac218876a617b8d76f178aa0232d966653696f411258e02407397",
|
||||
"bytes": 102,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge__nodes__video.py",
|
||||
"sha256": "22ef8e3fdd6214f844b86cb0ca5bb949493e0bd43493b3fb9d27346e78d759bb",
|
||||
"bytes": 31876,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge__utils____init__.py",
|
||||
"sha256": "cae38ae3d5f3a27a6469ef38bfd80b1a299687f779ec118b159ffada0a880ffa",
|
||||
"bytes": 166,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/merge__utils__video.py",
|
||||
"sha256": "527da8b32b0c76083a8d25a352bab37c3930659d59950f39a93692cd48e1f405",
|
||||
"bytes": 31347,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/package-sources.json",
|
||||
"sha256": "48fc5a4d9e87236f02ec7b1643f1ee77c82732e376dee4ba20f1e92c7ed3b8e2",
|
||||
"bytes": 8430,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save-tree.json",
|
||||
"sha256": "5993e38252321dcf38565b96844405acf27adc682474b43fab6d2535d8bac068",
|
||||
"bytes": 70441,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save____init__.py",
|
||||
"sha256": "1dd4c901eac90557307cc8cdf0b8333773ca2349295fc03c2e0d42a164d5ab52",
|
||||
"bytes": 2672,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save__nodes____init__.py",
|
||||
"sha256": "1f5a3f682723d03fca0ab18478120e539298bf259c0c2403e19a1e779abda790",
|
||||
"bytes": 123,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save__nodes__video.py",
|
||||
"sha256": "8f034cd2f5b98ce33f5bff94d1edd587c6a1b30fd192945badd8967540d8299a",
|
||||
"bytes": 38212,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save__utils____init__.py",
|
||||
"sha256": "b9365dae0c086374641669a842b040716f0cd351027de84211181b16b423e1d0",
|
||||
"bytes": 191,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/save__utils__video.py",
|
||||
"sha256": "1abd68d9e7b3c9c21141f944d117ef14efffd3ca89e714b68060c6a9006b33cd",
|
||||
"bytes": 42629,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/show-new-tree.json",
|
||||
"sha256": "e8324105a976582f07d7620b104ba9e41ebc8eb7166b6683bdbd7b03be1e22ee",
|
||||
"bytes": 57814,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/show-new__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"bytes": 35149,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/show-new____init__.py",
|
||||
"sha256": "a893f051fd72f1bce3fd1d3aacc18793c0449ebb78137e0793656c75cc9e93aa",
|
||||
"bytes": 4011,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/show-new__py__nodes__logic.py",
|
||||
"sha256": "80718f4ac8524484cc0973f8e884674c9bb230e618058891b259f001cb5bbe15",
|
||||
"bytes": 66452,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/vosr2-loop-reference/sources.json",
|
||||
"sha256": "b00ad8dfa83b10f4725793557dd58bc165ed873b15e892f82927ff003af501b7",
|
||||
"bytes": 15884,
|
||||
"purpose": "准确提交/发布包/注册schema实现与许可静态原件或身份清单"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-vosr2-loop-document.py",
|
||||
"sha256": "6a476155d34227ba534eeb7a06fdacd793d6cc8500f900328e4d96fb769c7a6b",
|
||||
"bytes": 3122,
|
||||
"purpose": "本地GET浏览/两服务finally清理;复用既有抽屉"
|
||||
},
|
||||
{
|
||||
"path": "e2e/vosr2-loop-document.mjs",
|
||||
"sha256": "b4bb761f9525ced374bccf1f1f4243957f9a5b852355c713392af50811ed7bf9",
|
||||
"bytes": 14643,
|
||||
"purpose": "本地GET浏览/两服务finally清理;复用既有抽屉"
|
||||
}
|
||||
],
|
||||
"manifest_self_excluded": true,
|
||||
"reason": "清单自身摘要由交付final-head记录,避免自引用;新截图仅附件,无新pyc。"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"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
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"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": 89,
|
||||
"new_notes": 3,
|
||||
"old_saved": 1106,
|
||||
"old_notes": 25,
|
||||
"overviews": 36,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,858 @@
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea",
|
||||
"canonical_subgraph_sha256": "5245b5597aeb657c2a9c2859d200c40fc822115be7693d3747c0d03215eb0a99",
|
||||
"root_nodes": 36,
|
||||
"root_edges": 27,
|
||||
"internal_nodes": 9,
|
||||
"internal_edges": 22,
|
||||
"fields": [
|
||||
{
|
||||
"pointer": "/nodes/0/widgets_values/0",
|
||||
"node": 21,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "15"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"node": 23,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "loop_count"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"node": 16,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "batch_size"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"node": 128,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "loop_output"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"node": 123,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "audio"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/5/widgets_values/0",
|
||||
"node": 118,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": -1
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/5/widgets_values/1",
|
||||
"node": 118,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "merge"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/6/widgets_values/0",
|
||||
"node": 121,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "audio"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/8/widgets_values/0",
|
||||
"node": 190,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "fps"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/9/widgets_values/0",
|
||||
"node": 112,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "fps"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/10/widgets_values/0",
|
||||
"node": 194,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "video_file_name"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/11/widgets_values/0",
|
||||
"node": 211,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "E:\\ComfyUI-Data\\input\\韩秋雪.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/13/widgets_values/0",
|
||||
"node": 19,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "1500"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/14/widgets_values/0",
|
||||
"node": 18,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "batch_size"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/15/widgets_values/0",
|
||||
"node": 212,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "ceil(a/b)"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/17/widgets_values/0",
|
||||
"node": 99,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "video/vosr2"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/17/widgets_values/1",
|
||||
"node": 99,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "auto"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/17/widgets_values/2",
|
||||
"node": 99,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "auto"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/17/widgets_values/3",
|
||||
"node": 99,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "auto"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/18/widgets_values/0",
|
||||
"node": 206,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/19/widgets_values/0",
|
||||
"node": 148,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "scale_multiplier"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/20/widgets_values/0",
|
||||
"node": 215,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "跳过帧数"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/21/widgets_values/0",
|
||||
"node": 150,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "scale_multiplier"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/22/widgets_values/0",
|
||||
"node": 42,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "batch_size"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/23/widgets_values/0",
|
||||
"node": 28,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "loop_count"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/24/widgets_values/0",
|
||||
"node": 216,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "跳过帧数"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/25/widgets_values/0",
|
||||
"node": 195,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "video_file_name"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/0",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/1",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/2",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/3",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/4",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 24
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/26/widgets_values/5",
|
||||
"node": 209,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 42
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/0",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/1",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/2",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/3",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/4",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/5",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/6",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/7",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/8",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/9",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/10",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/11",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/12",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/13",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/27/widgets_values/14",
|
||||
"node": 104,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "temp/vosr2/vosr2_00035_.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/28/widgets_values/0",
|
||||
"node": 125,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "loop_output"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/29/widgets_values/0",
|
||||
"node": 219,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "a + 1"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/30/widgets_values/0",
|
||||
"node": 218,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "14"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/31/widgets_values/0",
|
||||
"node": 214,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/video",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "0-sample-7-1.mp4"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/force_rate",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 24
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/custom_width",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/custom_height",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/frame_load_cap",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/skip_first_frames",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/select_every_nth",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/format",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "AnimateDiff"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/32/widgets_values/videopreview",
|
||||
"node": 3,
|
||||
"scope": "root",
|
||||
"json_type": "dict",
|
||||
"value": {
|
||||
"paused": false,
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"custom_height": 0,
|
||||
"force_rate": 24,
|
||||
"filename": "0-sample-7-1.mp4",
|
||||
"custom_width": 0,
|
||||
"select_every_nth": 1,
|
||||
"frame_load_cap": 0,
|
||||
"format": "video/mp4",
|
||||
"skip_first_frames": 0,
|
||||
"type": "input"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/33/widgets_values/0",
|
||||
"node": 15,
|
||||
"scope": "root",
|
||||
"json_type": "int",
|
||||
"value": 100
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/0",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/1",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 42
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/2",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "fixed"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/3",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "wavelet"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/4",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 512
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/5",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 64
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/6",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 512
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/7",
|
||||
"node": 205,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 64
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/video",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/force_rate",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/custom_width",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/custom_height",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/frame_load_cap",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/skip_first_frames",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/select_every_nth",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/format",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "AnimateDiff"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/videopreview",
|
||||
"node": 207,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "dict",
|
||||
"value": {
|
||||
"hidden": true,
|
||||
"paused": false,
|
||||
"params": {
|
||||
"filename": "",
|
||||
"type": "path",
|
||||
"format": "video/",
|
||||
"force_rate": 0,
|
||||
"custom_width": 0,
|
||||
"custom_height": 0,
|
||||
"frame_load_cap": 0,
|
||||
"skip_first_frames": 0,
|
||||
"select_every_nth": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/0",
|
||||
"node": 204,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "VOSR2"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/1",
|
||||
"node": 204,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "default"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/0",
|
||||
"node": 116,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "images+audio"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/1",
|
||||
"node": 116,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 24
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/2",
|
||||
"node": 116,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "hide"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/3",
|
||||
"node": 116,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "vosr2/vosr2"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/0",
|
||||
"node": 210,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "bool",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/1",
|
||||
"node": 210,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "bool",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/6/widgets_values/0",
|
||||
"node": 33,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "str",
|
||||
"value": "a*b+c"
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0/nodes/8/widgets_values/0",
|
||||
"node": 86,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
}
|
||||
],
|
||||
"notes": [
|
||||
{
|
||||
"pointer": "/nodes/7/widgets_values/0",
|
||||
"node": 49,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "## a是总帧数,b是批量帧数,向上取整数,等于后续循环的总次数"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/16/widgets_values/0",
|
||||
"node": 73,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "## ceil为向上取整"
|
||||
},
|
||||
{
|
||||
"pointer": "/nodes/34/widgets_values/0",
|
||||
"node": 48,
|
||||
"scope": "root",
|
||||
"json_type": "str",
|
||||
"value": "## 定义每批次处理的帧数,放大倍数(短边):\n## 配置低每批处理数量就不要设置太大\n\n## 放大的倍数与原视频尺寸样例:\n### 720/480=1.5\n### 960/480=2\n### 1080/480=2.25\n\n## 视频时长通过 读取帧上限,与跳过前多少帧 来控制\n"
|
||||
}
|
||||
],
|
||||
"empty": [
|
||||
{
|
||||
"node": 193,
|
||||
"scope": "root",
|
||||
"state": "dict",
|
||||
"value": {}
|
||||
},
|
||||
{
|
||||
"node": 213,
|
||||
"scope": "root",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 129,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 103,
|
||||
"scope": "79e9ee75-e8e2-472d-894d-cbe8148acbba",
|
||||
"state": "missing"
|
||||
}
|
||||
],
|
||||
"boundary_inputs": [
|
||||
{
|
||||
"id": "e876d02d-1ad9-478f-ba40-256f3d85308f",
|
||||
"name": "total",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
82
|
||||
],
|
||||
"localized_name": "总量",
|
||||
"label": "循环次数",
|
||||
"pos": [
|
||||
1714,
|
||||
-336
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9c6b4138-a3e3-4415-be6c-a37349dbeecf",
|
||||
"name": "b",
|
||||
"type": "INT,FLOAT,IMAGE,LATENT",
|
||||
"linkIds": [
|
||||
42,
|
||||
215
|
||||
],
|
||||
"localized_name": "b",
|
||||
"label": "每批帧数",
|
||||
"shape": 7,
|
||||
"pos": [
|
||||
1714,
|
||||
-316
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3137afcb-9330-4590-b3cf-27caf59072cf",
|
||||
"name": "upscale",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
212
|
||||
],
|
||||
"localized_name": "upscale",
|
||||
"label": "放大倍数",
|
||||
"pos": [
|
||||
1714,
|
||||
-296
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "0be822c9-ba3a-497f-8580-ac117f310d7d",
|
||||
"name": "video",
|
||||
"type": "STRING",
|
||||
"linkIds": [
|
||||
213
|
||||
],
|
||||
"localized_name": "视频",
|
||||
"label": "视频路径",
|
||||
"pos": [
|
||||
1714,
|
||||
-276
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "e7b23447-5bd0-4ef0-9bbf-c5de4979f28c",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"linkIds": [
|
||||
214,
|
||||
233
|
||||
],
|
||||
"localized_name": "强制帧率",
|
||||
"label": "帧率",
|
||||
"pos": [
|
||||
1714,
|
||||
-256
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8047c292-92d4-4eef-a48f-e5a376764bc3",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
231
|
||||
],
|
||||
"pos": [
|
||||
1714,
|
||||
-236
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1a5383ba-a5cc-48f9-adb5-63b099c92572",
|
||||
"name": "c",
|
||||
"type": "INT,FLOAT,IMAGE,LATENT",
|
||||
"linkIds": [
|
||||
248
|
||||
],
|
||||
"label": "跳过帧数",
|
||||
"pos": [
|
||||
1714,
|
||||
-216
|
||||
]
|
||||
}
|
||||
],
|
||||
"boundary_outputs": [
|
||||
{
|
||||
"id": "eb27446a-c8da-4f00-812c-126b7119a4a8",
|
||||
"name": "value1_1",
|
||||
"type": "*",
|
||||
"linkIds": [
|
||||
143,
|
||||
143
|
||||
],
|
||||
"localized_name": "值1_1",
|
||||
"label": "最终循环结果",
|
||||
"pos": [
|
||||
3604,
|
||||
-396
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8d692050-5832-4d44-bca7-5b9e13a92d2e",
|
||||
"name": "value1_2",
|
||||
"type": "*",
|
||||
"linkIds": [
|
||||
254
|
||||
],
|
||||
"label": "之前循环结果",
|
||||
"pos": [
|
||||
3604,
|
||||
-376
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "4fc0a07a-5197-48e7-b961-c2032abdcda5",
|
||||
"name": "index",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
255
|
||||
],
|
||||
"pos": [
|
||||
3604,
|
||||
-356
|
||||
]
|
||||
}
|
||||
],
|
||||
"special_edge": {
|
||||
"id": 143,
|
||||
"origin_id": 129,
|
||||
"origin_slot": 0,
|
||||
"target_id": -20,
|
||||
"target_slot": -3,
|
||||
"type": "*"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
"Independent physical saved-position inventory; never infer widgets from position."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def inventory():
|
||||
path = next((ROOT / "example_ComfyUI_workflows").rglob("VOSR2_视频放大_分批循环长视频.json"))
|
||||
raw = path.read_bytes()
|
||||
g = json.loads(raw)
|
||||
d = g["definitions"]["subgraphs"][0]
|
||||
fields = []
|
||||
notes = []
|
||||
empty = []
|
||||
for scope, base, nodes in [
|
||||
("root", "", g["nodes"]),
|
||||
(d["id"], "/definitions/subgraphs/0", d["nodes"]),
|
||||
]:
|
||||
for i, n in enumerate(nodes):
|
||||
pointer = f"{base}/nodes/{i}/widgets_values"
|
||||
if "widgets_values" not in n:
|
||||
empty.append(dict(node=n["id"], scope=scope, state="missing"))
|
||||
continue
|
||||
w = n["widgets_values"]
|
||||
for k in w if isinstance(w, dict) else range(len(w)):
|
||||
v = w[k]
|
||||
e = dict(
|
||||
pointer=pointer + "/" + str(k),
|
||||
node=n["id"],
|
||||
scope=scope,
|
||||
json_type=type(v).__name__,
|
||||
value=v,
|
||||
)
|
||||
(notes if n["type"] == "MarkdownNote" else fields).append(e)
|
||||
if not w:
|
||||
empty.append(dict(node=n["id"], scope=scope, state=type(w).__name__, value=w))
|
||||
return dict(
|
||||
path=str(path.relative_to(ROOT)),
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_subgraph_sha256=hashlib.sha256(
|
||||
json.dumps(d, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
).hexdigest(),
|
||||
root_nodes=len(g["nodes"]),
|
||||
root_edges=len(g["links"]),
|
||||
internal_nodes=len(d["nodes"]),
|
||||
internal_edges=len(d["links"]),
|
||||
fields=fields,
|
||||
notes=notes,
|
||||
empty=empty,
|
||||
boundary_inputs=d["inputs"],
|
||||
boundary_outputs=d["outputs"],
|
||||
special_edge=next(e for e in d["links"] if e["id"] == 143),
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("Independent:", len(x["fields"]), "saved positions,", len(x["notes"]), "notes")
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "024a7e6a228b81721f64924486be8c757cd6f65a8fad9ec2d8170f44b8b68fc6",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 36
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "b1669ad580ad1310c1909d264070ff23ad958ec55522c752e394f03293a3d876",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 36
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 36
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json": "d9efc6d8b0fdedcd6f0df312a79aa13b666913e9f3687d8d126c4ad13cdc71d3"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"number": 25,
|
||||
"state": "open",
|
||||
"merged": false,
|
||||
"head": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"head_ref": "agent/agent/a64a969a6a44",
|
||||
"base_ref": "main"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
........................................................................ [ 13%]
|
||||
........................................................................ [ 26%]
|
||||
........................................................................ [ 40%]
|
||||
........................................................................ [ 53%]
|
||||
........................................................................ [ 67%]
|
||||
........................................................................ [ 80%]
|
||||
........................................................................ [ 94%]
|
||||
................................ [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
536 passed, 1 warning in 5.76s
|
||||
@@ -0,0 +1,37 @@
|
||||
........................................................................ [ 13%]
|
||||
........................................................................ [ 26%]
|
||||
........................................................................ [ 40%]
|
||||
........................................................................ [ 53%]
|
||||
........................................................................ [ 67%]
|
||||
........................................................................ [ 80%]
|
||||
........................................................................ [ 94%]
|
||||
...........F.................... [100%]
|
||||
=================================== FAILURES ===================================
|
||||
_ test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown _
|
||||
|
||||
def test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown():
|
||||
sub=SOURCE['definitions']['subgraphs'][0]
|
||||
assert next(e for e in sub['links'] if e['id']==143)['target_slot']==-3
|
||||
assert sub['outputs'][0]['linkIds']==[143,143]
|
||||
flow='\n'.join(BLOCK['flow'])
|
||||
for fact in ['target_slot=-3','[143,143]','254','255','不能先判无效','五槽','无audio/audio_mode','format.codec','未证明']:
|
||||
assert fact in flow
|
||||
ns={n['id']:n for n in SOURCE['nodes']}
|
||||
assert ns[3]['outputs'][0]['links']==[]
|
||||
> assert ns[193]['outputs'][5]['name']=='file_path'
|
||||
E AssertionError: assert 'file_path🟦' == 'file_path'
|
||||
E
|
||||
E - file_path
|
||||
E + file_path🟦
|
||||
E ? +
|
||||
|
||||
calliope-backend/tests/test_vosr2_loop_fixed_document.py:109: AssertionError
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
=========================== short test summary info ============================
|
||||
FAILED calliope-backend/tests/test_vosr2_loop_fixed_document.py::test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown
|
||||
1 failed, 535 passed, 1 warning in 5.81s
|
||||
@@ -0,0 +1,16 @@
|
||||
[
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_vosr2_loop_fixed_document.py",
|
||||
"e2e/run-vosr2-loop-document.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/build_definition.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/check_code.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/fetch_packages.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/fetch_sources.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/inventory.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/rebuild.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/recompute.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/render_report.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/repeat.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/request_counts.py",
|
||||
"docs/hel-892/vosr2-loop-document-evidence/verify_sources.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 = "d70a286f9b9229dd47773c78cab408bd68e842ec"
|
||||
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 35 blocks unchanged"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact source/archive/tree/blob/tag/line identities and 89 positions/3 notes
|
||||
PASS actual d70a286f upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 36 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact source/archive/tree/blob/tag/line identities and 89 positions/3 notes
|
||||
PASS actual d70a286f upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 35 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,330 @@
|
||||
"Actual d70a286f 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()
|
||||
from verify_sources import main as verify_sources
|
||||
|
||||
verify_sources()
|
||||
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) == 35
|
||||
assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items())
|
||||
assert sum(len(b["fields"]) for b in old_blocks.values()) == 1106
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
write(
|
||||
"review-delta.json",
|
||||
dict(
|
||||
base=BASE,
|
||||
changed_paths=PATHS,
|
||||
other_reviews_unchanged=155,
|
||||
old_blocks_unchanged=35,
|
||||
old_saved=1106,
|
||||
old_notes=25,
|
||||
new_saved=89,
|
||||
new_notes=3,
|
||||
total_documents=36,
|
||||
total_saved=1195,
|
||||
total_notes=28,
|
||||
),
|
||||
)
|
||||
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=89,
|
||||
new_notes=3,
|
||||
old_saved=1106,
|
||||
old_notes=25,
|
||||
overviews=36,
|
||||
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_thirty_five_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=36,
|
||||
)
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
"PASS actual d70a286f upgrade1/skip154, repe"
|
||||
"at155, rollback1, edits1/29cols, fresh155,"
|
||||
" 1217/3660/294, 36 definitions, frozen bou"
|
||||
"ndaries, wheel/sdist"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,103 @@
|
||||
[
|
||||
{
|
||||
"id": "easy-start",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "../vosr2-loop-reference/easy-start__py__nodes__logic.py",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.6/node.zip",
|
||||
"commit": "comfyui-easy-use@1.3.6;package-sha256:2a80ae5517780aaed5e3a013f986a6f956970f9a3bad941f35a5615c135caeb7",
|
||||
"sha256": "40fe270baa76dc0563885befaff2d0ea8852cb09f1b99872c82ce90fc22dc4cf",
|
||||
"package_sha256": "2a80ae5517780aaed5e3a013f986a6f956970f9a3bad941f35a5615c135caeb7",
|
||||
"package_file": "easy-start-source.zip",
|
||||
"member": "py/nodes/logic.py",
|
||||
"license": "GPL-3.0;准确包内LICENSE;包到Git绑定未知",
|
||||
"lines": [
|
||||
1928,
|
||||
1928
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "loop-end",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "../vosr2-loop-reference/loop-end__py__nodes__logic.py",
|
||||
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7/py/nodes/logic.py",
|
||||
"commit": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"sha256": "b31e91bccdb14397a43f9702e7d05454580b6b65664a6e506a277782059e8e1a",
|
||||
"git_blob_sha1": "a124e9679b1659e46c3806d885ddd71bd10ea79c",
|
||||
"lines": [
|
||||
1638,
|
||||
1638
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "batch",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "../vosr2-loop-reference/batch__py__nodes__logic.py",
|
||||
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/625efbfa2fc20c31797dfffcbb41a26b6d91ab7b/py/nodes/logic.py",
|
||||
"commit": "625efbfa2fc20c31797dfffcbb41a26b6d91ab7b",
|
||||
"sha256": "b31e91bccdb14397a43f9702e7d05454580b6b65664a6e506a277782059e8e1a",
|
||||
"git_blob_sha1": "a124e9679b1659e46c3806d885ddd71bd10ea79c",
|
||||
"lines": [
|
||||
1653,
|
||||
1653
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "save",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../vosr2-loop-reference/save____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Media/a22fdcfbef30a0ceba4a930cc72cb5b99e801546/__init__.py",
|
||||
"commit": "a22fdcfbef30a0ceba4a930cc72cb5b99e801546",
|
||||
"sha256": "1dd4c901eac90557307cc8cdf0b8333773ca2349295fc03c2e0d42a164d5ab52",
|
||||
"git_blob_sha1": "f486dbbdbf82153cd53210e7e74fb1436a192026",
|
||||
"lines": [
|
||||
72,
|
||||
72
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "merge",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../vosr2-loop-reference/merge____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Media/007fa6ff85e6d8f420b9b51ac710c0f0d759c430/__init__.py",
|
||||
"commit": "007fa6ff85e6d8f420b9b51ac710c0f0d759c430",
|
||||
"sha256": "85be7c5c1e3651276b87c03f66dfdc24fba694d730aa23b691fab94f5457fe91",
|
||||
"git_blob_sha1": "bb70ea8cbe0a32d8d31e466144885ad3796de263",
|
||||
"lines": [
|
||||
73,
|
||||
73
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "kj-old",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../vosr2-loop-reference/kj-old____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/c661baadd9683c0033cd2a6ad90157c6d099a6c2/__init__.py",
|
||||
"commit": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
|
||||
"sha256": "43852013e532d868d7e3b5ca5ba5bb2e6697d7333f2ade4a4cbab517b976adc6",
|
||||
"git_blob_sha1": "02157b7882645720050f6b6271c20120595d36a3",
|
||||
"lines": [
|
||||
13,
|
||||
13
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
},
|
||||
{
|
||||
"id": "kj-new",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../vosr2-loop-reference/kj-new____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/57105374f47d0fbb49c9c3926fb981702e0a4b5c/__init__.py",
|
||||
"commit": "57105374f47d0fbb49c9c3926fb981702e0a4b5c",
|
||||
"sha256": "14640298feed1aad22198c5bfbd645ece19be125a6114645aa73c55cc9264d6e",
|
||||
"git_blob_sha1": "d04dd5fc4afd2aada3fe688ab38537faf7ba3ac7",
|
||||
"lines": [
|
||||
92,
|
||||
92
|
||||
],
|
||||
"claim": "准确注册映射/扩展类列表;仅静态文本,未执行;目标安装未知"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,127 @@
|
||||
"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 = [
|
||||
"# VOSR2分批循环长视频固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增89保存位置/3注释;旧35图1106位置+25注释"
|
||||
"逐对象不变,现36图1195+28仅参考。155定稿0/实"
|
||||
"跑0/新增转换0。"
|
||||
),
|
||||
"",
|
||||
(
|
||||
"来源local_file以docs/hel-892/vosr2-loop-document"
|
||||
+ ("-evidence为基准;源SHA/全图摘要/定义摘要绑定;不加载上游代码、媒体或链接。")
|
||||
),
|
||||
"",
|
||||
]
|
||||
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["input_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']}"
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
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 / "VOSR2分批循环长视频固定参考中文说明.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()
|
||||
@@ -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 / "VOSR2分批循环长视频固定参考中文说明.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=36,
|
||||
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()
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"definitions": 36,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "228152173d75ce8f3e558396706865a36122959a64613903e2fb13cd4dc8376f",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "7c90a4d932fa38d1a48171414e4693567be20ab9befe8dc904ac9b59ff14d2a7",
|
||||
"VOSR2分批循环长视频固定参考中文说明.md": "74ba0909d0c24b7ae42935725600ac299870c6be5b075a9835aa0c9e18549940"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"total": 130, "fixed_count": 116, "polling_count": 14, "paths": {"/api/workflows": 3, "/api/workflows/32": 4, "/api/workflows/34": 4, "/api/workflows/33": 3, "/api/workflows/31": 3, "/api/workflows/29": 3, "/api/workflows/28": 3, "/api/workflows/27": 3, "/api/workflows/26": 3, "/api/workflows/17": 3, "/api/workflows/4": 3, "/api/workflows/15": 3, "/api/workflows/11": 3, "/api/workflows/3": 3, "/api/workflows/9": 3, "/api/workflows/16": 3, "/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": 14, "/api/settings": 1, "/api/workflows/156": 1, "/api/workflows/157": 1}, "readiness_included": 1, "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"}
|
||||
@@ -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()
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "d70a286f9b9229dd47773c78cab408bd68e842ec",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 35,
|
||||
"old_saved": 1106,
|
||||
"old_notes": 25,
|
||||
"new_saved": 89,
|
||||
"new_notes": 3,
|
||||
"total_documents": 36,
|
||||
"total_saved": 1195,
|
||||
"total_notes": 28
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"total": 130,
|
||||
"fixed_count": 116,
|
||||
"polling_count": 14,
|
||||
"paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/32": 4,
|
||||
"/api/workflows/34": 4,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/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": 14,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"readiness_included": 1,
|
||||
"reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
INFO: Started server process [784731]
|
||||
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': {'skipped': 154, 'updated': 1, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
|
||||
INFO: 127.0.0.1:56540 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34988 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34976 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35000 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:34998 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35012 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35014 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35016 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:35022 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37448 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37452 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37458 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37460 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37474 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37486 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37490 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37494 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37506 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37510 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37524 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37534 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37548 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37556 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38444 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38460 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38472 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38486 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38494 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38500 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38514 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38518 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38534 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38536 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38542 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38550 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38562 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38568 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38570 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38582 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38588 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38604 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38614 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38622 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38628 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38634 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38644 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38652 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38656 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38662 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38668 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:50286 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:50298 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48516 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48532 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48546 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48558 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48560 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48574 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48582 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48594 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48600 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48614 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48620 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48636 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48644 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48654 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48668 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48684 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48688 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48696 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48698 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48704 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48716 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36738 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36754 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36770 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36780 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36782 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36784 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36794 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36798 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36806 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36808 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36816 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36818 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36830 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36838 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:36846 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36850 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36858 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36860 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:36870 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36872 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36888 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36890 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [784731]
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"all_pass": true,
|
||||
"texts": 63,
|
||||
"cited_texts": 48,
|
||||
"citations": 70,
|
||||
"saved_positions": 89,
|
||||
"root_saved": 62,
|
||||
"internal_saved": 27,
|
||||
"history_objects": 2,
|
||||
"source_notes": 3,
|
||||
"root_nodes": 36,
|
||||
"root_edges": 27,
|
||||
"internal_nodes": 9,
|
||||
"internal_edges": 22,
|
||||
"local_file_base": "docs/hel-892/vosr2-loop-document-evidence",
|
||||
"special_endpoint_preserved": {
|
||||
"id": 143,
|
||||
"origin_id": 129,
|
||||
"origin_slot": 0,
|
||||
"target_id": -20,
|
||||
"target_slot": -3,
|
||||
"type": "*"
|
||||
},
|
||||
"duplicate_declaration": [
|
||||
143,
|
||||
143
|
||||
],
|
||||
"upstream_executed": false,
|
||||
"identity_conflicts": [
|
||||
"Info第六口与准确五槽实现",
|
||||
"merge音频口与准确无音频接口",
|
||||
"SaveVideo四值动态口与准确三控件"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
# 在仓库根执行;已有锁定依赖,离线检查,不运行上游代码或模型。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/rebuild.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/check_code.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_vosr2_loop_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/vosr2-loop-document-evidence/recompute.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 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-vosr2-loop-document.py
|
||||
# 浏览后从.local-evidence/vosr2-loop-document/browser复制browser-results/service-stop及service-0.log(改名.txt)到证据目录,再运行request_counts.py。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/vosr2-loop-document-evidence/request_counts.py
|
||||
# local_file基准: docs/hel-892/vosr2-loop-document-evidence。
|
||||
# registration-index.json补列准确注册行号;准确原件/许可与包SHA见固定sources/package-sources清单。
|
||||
# 仅附件包含新截图;不纳入Git。无新的pyc。
|
||||
@@ -0,0 +1,120 @@
|
||||
"Offline source identity, archives, lines and independent inventory verification."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import tarfile
|
||||
import zipfile
|
||||
|
||||
from build_definition import OUT, REF, REPO, build
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def main():
|
||||
b = build()
|
||||
seen = set()
|
||||
entries = list(b["sources"])
|
||||
for manifest in ["sources.json", "package-sources.json"]:
|
||||
for e in json.loads((REF / manifest).read_bytes())["sources"]:
|
||||
entries.append(
|
||||
{
|
||||
**e,
|
||||
"local_file": "../vosr2-loop-reference/" + e["local_file"],
|
||||
"lines": [1, len((REF / e["local_file"]).read_text().splitlines())],
|
||||
}
|
||||
)
|
||||
for e in entries:
|
||||
p = (OUT / e["local_file"]).resolve()
|
||||
raw = p.read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
if p in seen:
|
||||
continue
|
||||
seen.add(p)
|
||||
if "git_blob_sha1" in e:
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert blob == e["git_blob_sha1"]
|
||||
tree = p.parent / (e["id"] + "-tree.json")
|
||||
if tree.exists():
|
||||
t = json.loads(tree.read_bytes())
|
||||
assert t["sha"] == e["commit"] and not t["truncated"]
|
||||
assert next(x["sha"] for x in t["tree"] if x["path"] == e["file"]) == blob
|
||||
if "package_sha256" in e:
|
||||
archive = p.parent / e.get(
|
||||
"package_file",
|
||||
e["id"] + ("-source.tgz" if e["id"] == "litegraph" else "-source.zip"),
|
||||
)
|
||||
# Historical VHS release uses its original archive name.
|
||||
if not archive.exists():
|
||||
archive = next(
|
||||
a
|
||||
for a in p.parent.iterdir()
|
||||
if a.is_file()
|
||||
and a.suffix in [".zip", ".tgz", ".gz"]
|
||||
and hashlib.sha256(a.read_bytes()).hexdigest() == e["package_sha256"]
|
||||
)
|
||||
assert hashlib.sha256(archive.read_bytes()).hexdigest() == e["package_sha256"]
|
||||
if archive.suffix == ".tgz":
|
||||
with tarfile.open(archive, "r:gz") as z:
|
||||
assert z.extractfile(e["file"]).read() == raw
|
||||
else:
|
||||
with zipfile.ZipFile(archive) as z:
|
||||
assert z.read(e.get("member", e["file"])) == raw
|
||||
for key in ["core-math", "core-video"]:
|
||||
tag = json.loads((REF / (key + "-tag.json")).read_bytes())
|
||||
tree = json.loads((REF / (key + "-tree.json")).read_bytes())
|
||||
assert tag["object"]["sha"] == tree["sha"]
|
||||
x = inventory()
|
||||
assert len(x["fields"]) == 89 and len(x["notes"]) == 3
|
||||
assert [f["pointer"] for f in x["fields"]] == [f["pointer"] for f in b["fields"]]
|
||||
assert x["special_edge"]["target_slot"] == -3
|
||||
assert x["boundary_outputs"][0]["linkIds"] == [143, 143]
|
||||
g = json.loads((REPO / b["source_path"]).read_bytes())
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
assert ns[3]["outputs"][0]["links"] == [] and ns[193]["widgets_values"] == {}
|
||||
for eid, src, slot, dst, inp, _ in g["links"]:
|
||||
assert eid in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == eid
|
||||
sub = g["definitions"]["subgraphs"][0]
|
||||
sn = {n["id"]: n for n in sub["nodes"]}
|
||||
for e in sub["links"]:
|
||||
if e["origin_id"] != -10:
|
||||
assert e["id"] in sn[e["origin_id"]]["outputs"][e["origin_slot"]]["links"]
|
||||
if e["target_id"] != -20:
|
||||
assert sn[e["target_id"]]["inputs"][e["target_slot"]]["link"] == e["id"]
|
||||
assert all(n["mode"] == 0 for n in list(ns.values()) + list(sn.values()))
|
||||
assert sn[116]["inputs"][3]["link"] is None
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
all_pass=True,
|
||||
texts=len(seen),
|
||||
cited_texts=len({e["local_file"] for e in b["sources"]}),
|
||||
citations=len(b["sources"]),
|
||||
saved_positions=89,
|
||||
root_saved=62,
|
||||
internal_saved=27,
|
||||
history_objects=2,
|
||||
source_notes=3,
|
||||
root_nodes=36,
|
||||
root_edges=27,
|
||||
internal_nodes=9,
|
||||
internal_edges=22,
|
||||
local_file_base=str(OUT.relative_to(REPO)),
|
||||
special_endpoint_preserved=x["special_edge"],
|
||||
duplicate_declaration=[143, 143],
|
||||
upstream_executed=False,
|
||||
identity_conflicts=[
|
||||
"Info第六口与准确五槽实现",
|
||||
"merge音频口与准确无音频接口",
|
||||
"SaveVideo四值动态口与准确三控件",
|
||||
],
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(("PASS exact source/archive/tree/blob/tag/line identities and 89 positions/3 notes"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,3 @@
|
||||
最终本地图像目验:1440/390默认页用途摘要、说明未定稿/未实跑/转换阻碍可见;技术区默认折叠。1440展开流程显示14覆盖/39前端位置、根加载图像未接和准确Info接口冲突。宿主209.seed来源可展开并保留双指针;390嵌套209:33表达式/来源长指针换行,没有横向溢出。三条MarkdownNote原文保留(包括源字面量反斜杠换行),截图49/73/48逐张目验;不将作者建议当实际循环/显存/时长依据。8张代表截图仅在交付附件,未新增截图入库。
|
||||
|
||||
最终浏览2154通过:本图1298、旧35图概要840、汇总2、共享回退/重试/焦点14。原先第一轮2152不累加。浏览固定GET121/轮询14;后端固定116含就绪1/轮询14;详情夹具拦截6、字体CSS拦截1分列,禁止请求0。finally已停本轮两服务,8247/5173重新绑定验证释放;未接触目标服务或TTS。
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,95 @@
|
||||
__version__ = "1.3.7"
|
||||
|
||||
import yaml
|
||||
import json
|
||||
import os
|
||||
import folder_paths
|
||||
import importlib
|
||||
|
||||
cwd_path = os.path.dirname(os.path.realpath(__file__))
|
||||
comfy_path = folder_paths.base_path
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
importlib.import_module('.py.routes', __name__)
|
||||
importlib.import_module('.py.server', __name__)
|
||||
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
|
||||
for module_name in nodes_list:
|
||||
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
|
||||
#Wildcards
|
||||
from .py.libs.wildcards import read_wildcard_dict
|
||||
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
|
||||
if not os.path.exists(wildcards_path):
|
||||
os.mkdir(wildcards_path)
|
||||
|
||||
# Add custom wildcards example
|
||||
example_path = os.path.join(wildcards_path, "example.txt")
|
||||
if not os.path.exists(example_path):
|
||||
with open(example_path, 'w') as f:
|
||||
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
|
||||
f.write(text)
|
||||
read_wildcard_dict(wildcards_path)
|
||||
|
||||
#Styles
|
||||
styles_path = os.path.join(os.path.dirname(__file__), "styles")
|
||||
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
|
||||
if os.path.exists(styles_path):
|
||||
if not os.path.exists(samples_path):
|
||||
os.mkdir(samples_path)
|
||||
else:
|
||||
os.mkdir(styles_path)
|
||||
os.mkdir(samples_path)
|
||||
|
||||
# Add custom styles example
|
||||
example_path = os.path.join(styles_path, "your_styles.json.example")
|
||||
if not os.path.exists(example_path):
|
||||
import json
|
||||
data = [
|
||||
{
|
||||
"name": "Example Style",
|
||||
"name_cn": "示例样式",
|
||||
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
|
||||
"negative_prompt": "text, watermark, logo"
|
||||
},
|
||||
]
|
||||
# Write to file
|
||||
with open(example_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(data, f, indent=4, ensure_ascii=False)
|
||||
|
||||
|
||||
web_default_version = 'v2'
|
||||
# web directory
|
||||
config_path = os.path.join(cwd_path, "config.yaml")
|
||||
if os.path.isfile(config_path):
|
||||
with open(config_path, 'r') as f:
|
||||
data = yaml.load(f, Loader=yaml.FullLoader)
|
||||
if data and "WEB_VERSION" in data:
|
||||
directory = f"web_version/{data['WEB_VERSION']}"
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
elif web_default_version != 'v1':
|
||||
if not data:
|
||||
data = {'WEB_VERSION': web_default_version}
|
||||
elif 'WEB_VERSION' not in data:
|
||||
data = {**data, 'WEB_VERSION': web_default_version}
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
directory = f"web_version/{web_default_version}"
|
||||
else:
|
||||
directory = f"web_version/v1"
|
||||
if not os.path.exists(os.path.join(cwd_path, directory)):
|
||||
print(f"web root {data['WEB_VERSION']} not found, using default")
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
else:
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
|
||||
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"ref":"refs/tags/v0.35.1","node_id":"REF_kwDOIygeJrFyZWZzL3RhZ3MvdjAuMzUuMQ","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.35.1","object":{"sha":"856a922befab9d94cb66f36a3dce17234d7a6e31","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/856a922befab9d94cb66f36a3dce17234d7a6e31"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,123 @@
|
||||
"""Math expression node using simpleeval for safe evaluation.
|
||||
|
||||
Provides a ComfyMathExpression node that evaluates math expressions
|
||||
against dynamically-grown numeric inputs.
|
||||
"""
|
||||
|
||||
|
||||
import math
|
||||
import string
|
||||
|
||||
from simpleeval import simple_eval
|
||||
from typing_extensions import override
|
||||
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
|
||||
MAX_EXPONENT = 4000
|
||||
|
||||
|
||||
def _variadic_sum(*args):
|
||||
"""Support both sum(values) and sum(a, b, c)."""
|
||||
if len(args) == 1 and hasattr(args[0], "__iter__"):
|
||||
return sum(args[0])
|
||||
return sum(args)
|
||||
|
||||
|
||||
def _safe_pow(base, exp):
|
||||
"""Wrap pow() with an exponent cap to prevent DoS via huge exponents.
|
||||
|
||||
The ** operator is already guarded by simpleeval's safe_power, but
|
||||
pow() as a callable bypasses that guard.
|
||||
"""
|
||||
if abs(exp) > MAX_EXPONENT:
|
||||
raise ValueError(f"Exponent {exp} exceeds maximum allowed ({MAX_EXPONENT})")
|
||||
return pow(base, exp)
|
||||
|
||||
|
||||
MATH_FUNCTIONS = {
|
||||
"sum": _variadic_sum,
|
||||
"min": min,
|
||||
"max": max,
|
||||
"abs": abs,
|
||||
"round": round,
|
||||
"pow": _safe_pow,
|
||||
"sqrt": math.sqrt,
|
||||
"ceil": math.ceil,
|
||||
"floor": math.floor,
|
||||
"log": math.log,
|
||||
"log2": math.log2,
|
||||
"log10": math.log10,
|
||||
"sin": math.sin,
|
||||
"cos": math.cos,
|
||||
"tan": math.tan,
|
||||
"int": int,
|
||||
"float": float,
|
||||
}
|
||||
|
||||
|
||||
class MathExpressionNode(io.ComfyNode):
|
||||
"""Evaluates a math expression against dynamically-grown inputs."""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls) -> io.Schema:
|
||||
autogrow = io.Autogrow.TemplateNames(
|
||||
input=io.MultiType.Input("value", [io.Float, io.Int, io.Boolean]),
|
||||
names=list(string.ascii_lowercase),
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyMathExpression",
|
||||
display_name="Math Expression",
|
||||
category="utilities",
|
||||
search_aliases=["math", "expression", "formula", "calculate", "calculator", "eval"],
|
||||
inputs=[
|
||||
io.String.Input("expression", default="a + b", multiline=True),
|
||||
io.Autogrow.Input("values", template=autogrow),
|
||||
],
|
||||
outputs=[
|
||||
io.Float.Output(display_name="FLOAT"),
|
||||
io.Int.Output(display_name="INT"),
|
||||
io.Boolean.Output(display_name="BOOL"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(
|
||||
cls, expression: str, values: io.Autogrow.Type
|
||||
) -> io.NodeOutput:
|
||||
if not expression.strip():
|
||||
raise ValueError("Expression cannot be empty.")
|
||||
|
||||
context: dict = dict(values)
|
||||
context["values"] = list(values.values())
|
||||
|
||||
result = simple_eval(expression, names=context, functions=MATH_FUNCTIONS)
|
||||
# bool check must come first because bool is a subclass of int in Python
|
||||
if not isinstance(result, (int, float)):
|
||||
raise ValueError(
|
||||
f"Math Expression '{expression}' must evaluate to a numeric result, "
|
||||
f"got {type(result).__name__}: {result!r}"
|
||||
)
|
||||
try:
|
||||
float_result = float(result)
|
||||
except OverflowError:
|
||||
raise ValueError(
|
||||
f"Math Expression '{expression}' produced a result too large to "
|
||||
f"represent as a float: {result}"
|
||||
) from None
|
||||
if not math.isfinite(float_result):
|
||||
raise ValueError(
|
||||
f"Math Expression '{expression}' produced a non-finite result: {result}"
|
||||
)
|
||||
return io.NodeOutput(float_result, int(result), bool(result))
|
||||
|
||||
|
||||
class MathExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [MathExpressionNode]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> MathExtension:
|
||||
return MathExtension()
|
||||
@@ -0,0 +1 @@
|
||||
{"ref":"refs/tags/v0.29.0","node_id":"REF_kwDOIygeJrFyZWZzL3RhZ3MvdjAuMjkuMA","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.29.0","object":{"sha":"a8c44f9b2a0678ac4082e3529a3f43db7472acfe","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/a8c44f9b2a0678ac4082e3529a3f43db7472acfe"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
from dataclasses import dataclass
|
||||
from enum import Enum
|
||||
from fractions import Fraction
|
||||
from typing import Optional
|
||||
from .._input import ImageInput, AudioInput, MaskInput
|
||||
|
||||
class VideoCodec(str, Enum):
|
||||
AUTO = "auto"
|
||||
H264 = "h264"
|
||||
|
||||
@classmethod
|
||||
def as_input(cls) -> list[str]:
|
||||
"""
|
||||
Returns a list of codec names that can be used as node input.
|
||||
"""
|
||||
return [member.value for member in cls]
|
||||
|
||||
class VideoContainer(str, Enum):
|
||||
AUTO = "auto"
|
||||
MP4 = "mp4"
|
||||
|
||||
@classmethod
|
||||
def as_input(cls) -> list[str]:
|
||||
"""
|
||||
Returns a list of container names that can be used as node input.
|
||||
"""
|
||||
return [member.value for member in cls]
|
||||
|
||||
@classmethod
|
||||
def get_extension(cls, value) -> str:
|
||||
"""
|
||||
Returns the file extension for the container.
|
||||
"""
|
||||
if isinstance(value, str):
|
||||
value = cls(value)
|
||||
if value == VideoContainer.MP4 or value == VideoContainer.AUTO:
|
||||
return "mp4"
|
||||
return ""
|
||||
|
||||
@dataclass
|
||||
class VideoComponents:
|
||||
"""
|
||||
Dataclass representing the components of a video.
|
||||
"""
|
||||
|
||||
images: ImageInput
|
||||
frame_rate: Fraction
|
||||
audio: Optional[AudioInput] = None
|
||||
metadata: Optional[dict] = None
|
||||
alpha: Optional[MaskInput] = None
|
||||
@@ -0,0 +1,293 @@
|
||||
import os
|
||||
import av
|
||||
import torch
|
||||
import folder_paths
|
||||
import json
|
||||
from typing import Optional
|
||||
from typing_extensions import override
|
||||
from fractions import Fraction
|
||||
from comfy_api.latest import ComfyExtension, io, ui, Input, InputImpl, Types
|
||||
from comfy.cli_args import args
|
||||
|
||||
class SaveWEBM(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="SaveWEBM",
|
||||
search_aliases=["export webm"],
|
||||
display_name="Save WEBM",
|
||||
category="video",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Image.Input("images", tooltip="RGBA images are saved with their alpha channel as transparency (vp9 codec only)."),
|
||||
io.String.Input("filename_prefix", default="ComfyUI"),
|
||||
io.Combo.Input("codec", options=["vp9", "av1"]),
|
||||
io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01),
|
||||
io.Float.Input("crf", default=32.0, min=0, max=63.0, step=1, tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize."),
|
||||
],
|
||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
outputs=[io.Image.Output(display_name="images")]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, images, codec, fps, filename_prefix, crf) -> io.NodeOutput:
|
||||
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
|
||||
filename_prefix, folder_paths.get_output_directory(), images[0].shape[1], images[0].shape[0]
|
||||
)
|
||||
|
||||
file = f"{filename}_{counter:05}_.webm"
|
||||
container = av.open(os.path.join(full_output_folder, file), mode="w")
|
||||
|
||||
if cls.hidden.prompt is not None:
|
||||
container.metadata["prompt"] = json.dumps(cls.hidden.prompt)
|
||||
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
container.metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
|
||||
|
||||
# Save transparency when the images carry an alpha channel (RGBA) and the codec supports it.
|
||||
# vp9 -> yuva420p; other codecs have no usable alpha path, so the alpha is ignored.
|
||||
save_alpha = images.shape[-1] == 4 and codec == "vp9"
|
||||
|
||||
codec_map = {"vp9": "libvpx-vp9", "av1": "libsvtav1"}
|
||||
stream = container.add_stream(codec_map[codec], rate=Fraction(round(fps * 1000), 1000))
|
||||
stream.width = images.shape[-2]
|
||||
stream.height = images.shape[-3]
|
||||
stream.pix_fmt = "yuva420p" if save_alpha else ("yuv420p10le" if codec == "av1" else "yuv420p")
|
||||
stream.bit_rate = 0
|
||||
stream.options = {'crf': str(crf)}
|
||||
if codec == "av1":
|
||||
stream.options["preset"] = "6"
|
||||
|
||||
for frame in images:
|
||||
if save_alpha:
|
||||
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :4] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgba")
|
||||
else:
|
||||
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :3] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgb24")
|
||||
for packet in stream.encode(frame):
|
||||
container.mux(packet)
|
||||
container.mux(stream.encode())
|
||||
container.close()
|
||||
|
||||
return io.NodeOutput(images, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
|
||||
|
||||
class SaveVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="SaveVideo",
|
||||
search_aliases=["export video"],
|
||||
display_name="Save Video",
|
||||
category="video",
|
||||
essentials_category="Basics",
|
||||
description="Saves the input videos to your ComfyUI output directory.",
|
||||
inputs=[
|
||||
io.Video.Input("video", tooltip="The video to save."),
|
||||
io.String.Input("filename_prefix", default="video/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."),
|
||||
io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."),
|
||||
io.Combo.Input("codec", options=Types.VideoCodec.as_input(), default="auto", tooltip="The codec to use for the video."),
|
||||
],
|
||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
outputs=[io.Video.Output("video")],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: Input.Video, filename_prefix, format: str, codec) -> io.NodeOutput:
|
||||
width, height = video.get_dimensions()
|
||||
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
|
||||
filename_prefix,
|
||||
folder_paths.get_output_directory(),
|
||||
width,
|
||||
height
|
||||
)
|
||||
saved_metadata = None
|
||||
if not args.disable_metadata:
|
||||
metadata = {}
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
metadata.update(cls.hidden.extra_pnginfo)
|
||||
if cls.hidden.prompt is not None:
|
||||
metadata["prompt"] = cls.hidden.prompt
|
||||
if len(metadata) > 0:
|
||||
saved_metadata = metadata
|
||||
file = f"{filename}_{counter:05}_.{Types.VideoContainer.get_extension(format)}"
|
||||
video.save_to(
|
||||
os.path.join(full_output_folder, file),
|
||||
format=Types.VideoContainer(format),
|
||||
codec=codec,
|
||||
metadata=saved_metadata
|
||||
)
|
||||
|
||||
return io.NodeOutput(video, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
|
||||
|
||||
|
||||
class CreateVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CreateVideo",
|
||||
search_aliases=["images to video"],
|
||||
display_name="Create Video",
|
||||
category="video",
|
||||
essentials_category="Video Tools",
|
||||
description="Create a video from images.",
|
||||
inputs=[
|
||||
io.Image.Input("images", tooltip="The images to create a video from."),
|
||||
io.Float.Input("fps", default=30.0, min=1.0, max=120.0, step=1.0),
|
||||
io.Audio.Input("audio", optional=True, tooltip="The audio to add to the video."),
|
||||
io.Int.Input(
|
||||
"bit_depth",
|
||||
min=8,
|
||||
max=10,
|
||||
default=8,
|
||||
step=2,
|
||||
tooltip="Bit depth of the created video. 10-bit keeps smoother gradients with less"
|
||||
" banding, but some players and downstream nodes may not support it.",
|
||||
optional=True,
|
||||
display_mode=io.NumberDisplay.number,
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(
|
||||
cls, images: Input.Image, fps: float, audio: Optional[Input.Audio] = None, bit_depth: int = 8,
|
||||
) -> io.NodeOutput:
|
||||
return io.NodeOutput(
|
||||
InputImpl.VideoFromComponents(
|
||||
Types.VideoComponents(images=images, audio=audio, frame_rate=Fraction(fps)),
|
||||
bit_depth=bit_depth,
|
||||
)
|
||||
)
|
||||
|
||||
class GetVideoComponents(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="GetVideoComponents",
|
||||
search_aliases=["extract frames", "split video", "video to images", "demux"],
|
||||
display_name="Get Video Components",
|
||||
category="video",
|
||||
description="Extracts all components from a video: frames, audio, framerate, and bit depth.",
|
||||
inputs=[
|
||||
io.Video.Input("video", tooltip="The video to extract components from."),
|
||||
],
|
||||
outputs=[
|
||||
io.Image.Output(display_name="images"),
|
||||
io.Audio.Output(display_name="audio"),
|
||||
io.Float.Output(display_name="fps"),
|
||||
io.Int.Output(display_name="bit_depth"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: Input.Video) -> io.NodeOutput:
|
||||
components = video.get_components()
|
||||
return io.NodeOutput(components.images, components.audio, float(components.frame_rate), video.get_bit_depth())
|
||||
|
||||
|
||||
class LoadVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
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, ["video"])
|
||||
return io.Schema(
|
||||
node_id="LoadVideo",
|
||||
search_aliases=["import video", "open video", "video file"],
|
||||
display_name="Load Video",
|
||||
category="video",
|
||||
essentials_category="Basics",
|
||||
inputs=[
|
||||
io.Combo.Input("file", options=sorted(files), upload=io.UploadType.video),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, file) -> io.NodeOutput:
|
||||
video_path = folder_paths.get_annotated_filepath(file)
|
||||
return io.NodeOutput(InputImpl.VideoFromFile(video_path))
|
||||
|
||||
@classmethod
|
||||
def fingerprint_inputs(s, file):
|
||||
video_path = folder_paths.get_annotated_filepath(file)
|
||||
mod_time = os.path.getmtime(video_path)
|
||||
# Instead of hashing the file, we can just use the modification time to avoid
|
||||
# rehashing large files.
|
||||
return mod_time
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(s, file):
|
||||
if not folder_paths.exists_annotated_filepath(file):
|
||||
return "Invalid video file: {}".format(file)
|
||||
|
||||
return True
|
||||
|
||||
class VideoSlice(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="Video Slice",
|
||||
display_name="Trim Video",
|
||||
search_aliases=["trim video duration", "skip first frames", "frame load cap", "start time"],
|
||||
category="video",
|
||||
essentials_category="Video Tools",
|
||||
inputs=[
|
||||
io.Video.Input("video"),
|
||||
io.Float.Input(
|
||||
"start_time",
|
||||
default=0.0,
|
||||
max=1e5,
|
||||
min=-1e5,
|
||||
step=0.001,
|
||||
tooltip="Start time in seconds",
|
||||
),
|
||||
io.Float.Input(
|
||||
"duration",
|
||||
default=0.0,
|
||||
min=0.0,
|
||||
step=0.001,
|
||||
tooltip="Duration in seconds, or 0 for unlimited duration",
|
||||
),
|
||||
io.Boolean.Input(
|
||||
"strict_duration",
|
||||
default=False,
|
||||
tooltip="If True, when the specified duration is not possible, an error will be raised.",
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: io.Video.Type, start_time: float, duration: float, strict_duration: bool) -> io.NodeOutput:
|
||||
trimmed = video.as_trimmed(start_time, duration, strict_duration=strict_duration)
|
||||
if trimmed is not None:
|
||||
return io.NodeOutput(trimmed)
|
||||
raise ValueError(
|
||||
f"Failed to slice video:\nSource duration: {video.get_duration()}\nStart time: {start_time}\nTarget duration: {duration}"
|
||||
)
|
||||
|
||||
|
||||
class VideoExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
SaveWEBM,
|
||||
SaveVideo,
|
||||
CreateVideo,
|
||||
GetVideoComponents,
|
||||
LoadVideo,
|
||||
VideoSlice,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> VideoExtension:
|
||||
return VideoExtension()
|
||||
@@ -0,0 +1,194 @@
|
||||
[
|
||||
".github/FUNDING.yml",
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
".gitmodules",
|
||||
"ComfyUI-Easy-Use-Frontend/",
|
||||
"LICENSE",
|
||||
"README.ZH_CN.md",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"install.bat",
|
||||
"install.sh",
|
||||
"locales/en/main.json",
|
||||
"locales/en/nodeDefs.json",
|
||||
"locales/en/settings.json",
|
||||
"locales/fr/main.json",
|
||||
"locales/fr/settings.json",
|
||||
"locales/ja/main.json",
|
||||
"locales/ja/settings.json",
|
||||
"locales/ko/main.json",
|
||||
"locales/ko/settings.json",
|
||||
"locales/ru/main.json",
|
||||
"locales/ru/settings.json",
|
||||
"locales/zh/main.json",
|
||||
"locales/zh/nodeDefs.json",
|
||||
"locales/zh/settings.json",
|
||||
"prestartup_script.py",
|
||||
"py/__init__.py",
|
||||
"py/config.py",
|
||||
"py/libs/add_resources.py",
|
||||
"py/libs/adv_encode.py",
|
||||
"py/libs/api/bizyair.py",
|
||||
"py/libs/api/fluxai.py",
|
||||
"py/libs/api/stability.py",
|
||||
"py/libs/cache.py",
|
||||
"py/libs/chooser.py",
|
||||
"py/libs/colorfix.py",
|
||||
"py/libs/conditioning.py",
|
||||
"py/libs/controlnet.py",
|
||||
"py/libs/dynthres_core.py",
|
||||
"py/libs/easing.py",
|
||||
"py/libs/gradual_latent_hires_fix.py",
|
||||
"py/libs/image.py",
|
||||
"py/libs/lllite.py",
|
||||
"py/libs/loader.py",
|
||||
"py/libs/log.py",
|
||||
"py/libs/messages.py",
|
||||
"py/libs/model.py",
|
||||
"py/libs/sampler.py",
|
||||
"py/libs/styleAlign.py",
|
||||
"py/libs/translate.py",
|
||||
"py/libs/utils.py",
|
||||
"py/libs/wildcards.py",
|
||||
"py/libs/xyplot.py",
|
||||
"py/modules/ben/model.py",
|
||||
"py/modules/bitsandbytes_NF4/__init__.py",
|
||||
"py/modules/briaai/__init__.py",
|
||||
"py/modules/briaai/rembg.py",
|
||||
"py/modules/brushnet/__init__.py",
|
||||
"py/modules/brushnet/config/brushnet.json",
|
||||
"py/modules/brushnet/config/brushnet_xl.json",
|
||||
"py/modules/brushnet/config/powerpaint.json",
|
||||
"py/modules/brushnet/model.py",
|
||||
"py/modules/brushnet/model_patch.py",
|
||||
"py/modules/brushnet/powerpaint_utils.py",
|
||||
"py/modules/brushnet/unet_2d_blocks.py",
|
||||
"py/modules/brushnet/unet_2d_condition.py",
|
||||
"py/modules/dit/__init__.py",
|
||||
"py/modules/dit/config.py",
|
||||
"py/modules/dit/pixArt/LICENSE-Pixart",
|
||||
"py/modules/dit/pixArt/__init__.py",
|
||||
"py/modules/dit/pixArt/config.py",
|
||||
"py/modules/dit/pixArt/diffusers_convert.py",
|
||||
"py/modules/dit/pixArt/loader.py",
|
||||
"py/modules/dit/pixArt/models/PixArt.py",
|
||||
"py/modules/dit/pixArt/models/PixArtMS.py",
|
||||
"py/modules/dit/pixArt/models/PixArt_blocks.py",
|
||||
"py/modules/dit/pixArt/models/__init__.py",
|
||||
"py/modules/dit/pixArt/models/pixart_controlnet.py",
|
||||
"py/modules/dit/pixArt/models/utils.py",
|
||||
"py/modules/dit/utils.py",
|
||||
"py/modules/fooocus/__init__.py",
|
||||
"py/modules/human_parsing/__init__.py",
|
||||
"py/modules/human_parsing/parsing_api.py",
|
||||
"py/modules/human_parsing/run_parsing.py",
|
||||
"py/modules/human_parsing/simple_extractor_dataset.py",
|
||||
"py/modules/human_parsing/transforms.py",
|
||||
"py/modules/ic_light/__init__.py",
|
||||
"py/modules/ipadapter/__init__.py",
|
||||
"py/modules/ipadapter/attention_processor.py",
|
||||
"py/modules/ipadapter/flux/__init__.py",
|
||||
"py/modules/ipadapter/flux/layers.py",
|
||||
"py/modules/ipadapter/flux/math.py",
|
||||
"py/modules/ipadapter/sd3/__init__.py",
|
||||
"py/modules/ipadapter/sd3/joinblock.py",
|
||||
"py/modules/ipadapter/sd3/resampler.py",
|
||||
"py/modules/ipadapter/utils.py",
|
||||
"py/modules/kolors/__init__.py",
|
||||
"py/modules/kolors/chatglm/__init__.py",
|
||||
"py/modules/kolors/chatglm/config_chatglm.json",
|
||||
"py/modules/kolors/chatglm/configuration_chatglm.py",
|
||||
"py/modules/kolors/chatglm/modeling_chatglm.py",
|
||||
"py/modules/kolors/chatglm/quantization.py",
|
||||
"py/modules/kolors/chatglm/tokenization_chatglm.py",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer.model",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer_config.json",
|
||||
"py/modules/kolors/chatglm/tokenizer/vocab.txt",
|
||||
"py/modules/kolors/clip_vision_config_vitl_336.json",
|
||||
"py/modules/kolors/loader.py",
|
||||
"py/modules/kolors/model_patch.py",
|
||||
"py/modules/kolors/text_encode.py",
|
||||
"py/modules/layer_diffuse/__init__.py",
|
||||
"py/modules/layer_diffuse/attension_sharing.py",
|
||||
"py/modules/layer_diffuse/model.py",
|
||||
"py/nodes/adapter.py",
|
||||
"py/nodes/api.py",
|
||||
"py/nodes/deprecated.py",
|
||||
"py/nodes/fix.py",
|
||||
"py/nodes/image.py",
|
||||
"py/nodes/inpaint.py",
|
||||
"py/nodes/loaders.py",
|
||||
"py/nodes/logic.py",
|
||||
"py/nodes/pipe.py",
|
||||
"py/nodes/preSampling.py",
|
||||
"py/nodes/prompt.py",
|
||||
"py/nodes/samplers.py",
|
||||
"py/nodes/seed.py",
|
||||
"py/nodes/util.py",
|
||||
"py/nodes/xyplot.py",
|
||||
"py/routes.py",
|
||||
"py/server.py",
|
||||
"pyproject.toml",
|
||||
"repair_dependency_list.txt",
|
||||
"requirements.txt",
|
||||
"resources/OpenSans-Medium.ttf",
|
||||
"resources/fooocus_styles.json",
|
||||
"resources/mmb-preset.custom.txt.example",
|
||||
"resources/mmb-preset.txt",
|
||||
"resources/portrait_prompt.json",
|
||||
"tools/combine_autocomplete.py",
|
||||
"tools/convert_locale_format.py",
|
||||
"web_version/v1/css/account.css",
|
||||
"web_version/v1/css/chooser.css",
|
||||
"web_version/v1/css/contextmenu.css",
|
||||
"web_version/v1/css/dropdown.css",
|
||||
"web_version/v1/css/easy.css",
|
||||
"web_version/v1/css/groupmap.css",
|
||||
"web_version/v1/css/index.css",
|
||||
"web_version/v1/css/modelinfo.css",
|
||||
"web_version/v1/css/selector.css",
|
||||
"web_version/v1/css/sliderControl.css",
|
||||
"web_version/v1/css/theme.css",
|
||||
"web_version/v1/css/toast.css",
|
||||
"web_version/v1/css/toolbar.css",
|
||||
"web_version/v1/js/bookmark.js",
|
||||
"web_version/v1/js/common/dropdown.js",
|
||||
"web_version/v1/js/common/i18n.js",
|
||||
"web_version/v1/js/common/icon.js",
|
||||
"web_version/v1/js/common/model.js",
|
||||
"web_version/v1/js/common/toast.js",
|
||||
"web_version/v1/js/common/utils.js",
|
||||
"web_version/v1/js/easy/easy.js",
|
||||
"web_version/v1/js/easy/easyAccount.js",
|
||||
"web_version/v1/js/easy/easyContextMenu.js",
|
||||
"web_version/v1/js/easy/easyDynamicWidgets.js",
|
||||
"web_version/v1/js/easy/easyExtraMenu.js",
|
||||
"web_version/v1/js/easy/easyInterface.js",
|
||||
"web_version/v1/js/easy/easyQuick.js",
|
||||
"web_version/v1/js/easy/easySaveImage.js",
|
||||
"web_version/v1/js/easy/easySeg.js",
|
||||
"web_version/v1/js/easy/easySelector.js",
|
||||
"web_version/v1/js/easy/easySliderControl.js",
|
||||
"web_version/v1/js/easy/easySuggestion.js",
|
||||
"web_version/v1/js/easy/easyWidgets.js",
|
||||
"web_version/v1/js/easy/easyXYPlot.js",
|
||||
"web_version/v1/js/getset.js",
|
||||
"web_version/v1/js/image.js",
|
||||
"web_version/v1/js/image_chooser/chooser.js",
|
||||
"web_version/v1/js/image_chooser/messaging.js",
|
||||
"web_version/v1/js/image_chooser/preview.js",
|
||||
"web_version/v1/js/image_chooser/prompt.js",
|
||||
"web_version/v1/js/image_chooser/state.js",
|
||||
"web_version/v1/js/poseEditor.js",
|
||||
"web_version/v1/js/seed.js",
|
||||
"web_version/v1/lib/fabric.js",
|
||||
"web_version/v2/assets/extensions-D7E6yQLT.js",
|
||||
"web_version/v2/assets/lodash-CZi7izHi.js",
|
||||
"web_version/v2/assets/primeuix-DTi4O4TO.js",
|
||||
"web_version/v2/assets/primevue-CkFdRR_N.js",
|
||||
"web_version/v2/assets/vendor-BWlTOcRr.js",
|
||||
"web_version/v2/assets/vue-DAoaJb2i.js",
|
||||
"web_version/v2/assets/vueuse-CqzKat4r.js",
|
||||
"web_version/v2/easyuse.js"
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"changelog":"","createdAt":"2025-10-15T13:34:43.350536Z","dependencies":["diffusers","accelerate","clip_interrogator\u003e=0.6.0","sentencepiece","lark","onnxruntime","spandrel","opencv-python-headless","matplotlib","peft"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip","id":"d6cbf9fb-bb40-4d51-9559-1bac0c6c965e","node_id":"comfyui-easy-use","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"1.3.4"}
|
||||
Binary file not shown.
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,95 @@
|
||||
__version__ = "1.3.4"
|
||||
|
||||
import yaml
|
||||
import json
|
||||
import os
|
||||
import folder_paths
|
||||
import importlib
|
||||
|
||||
cwd_path = os.path.dirname(os.path.realpath(__file__))
|
||||
comfy_path = folder_paths.base_path
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
importlib.import_module('.py.routes', __name__)
|
||||
importlib.import_module('.py.server', __name__)
|
||||
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
|
||||
for module_name in nodes_list:
|
||||
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
|
||||
#Wildcards
|
||||
from .py.libs.wildcards import read_wildcard_dict
|
||||
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
|
||||
if not os.path.exists(wildcards_path):
|
||||
os.mkdir(wildcards_path)
|
||||
|
||||
# Add custom wildcards example
|
||||
example_path = os.path.join(wildcards_path, "example.txt")
|
||||
if not os.path.exists(example_path):
|
||||
with open(example_path, 'w') as f:
|
||||
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
|
||||
f.write(text)
|
||||
read_wildcard_dict(wildcards_path)
|
||||
|
||||
#Styles
|
||||
styles_path = os.path.join(os.path.dirname(__file__), "styles")
|
||||
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
|
||||
if os.path.exists(styles_path):
|
||||
if not os.path.exists(samples_path):
|
||||
os.mkdir(samples_path)
|
||||
else:
|
||||
os.mkdir(styles_path)
|
||||
os.mkdir(samples_path)
|
||||
|
||||
# Add custom styles example
|
||||
example_path = os.path.join(styles_path, "your_styles.json.example")
|
||||
if not os.path.exists(example_path):
|
||||
import json
|
||||
data = [
|
||||
{
|
||||
"name": "Example Style",
|
||||
"name_cn": "示例样式",
|
||||
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
|
||||
"negative_prompt": "text, watermark, logo"
|
||||
},
|
||||
]
|
||||
# Write to file
|
||||
with open(example_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(data, f, indent=4, ensure_ascii=False)
|
||||
|
||||
|
||||
web_default_version = 'v2'
|
||||
# web directory
|
||||
config_path = os.path.join(cwd_path, "config.yaml")
|
||||
if os.path.isfile(config_path):
|
||||
with open(config_path, 'r') as f:
|
||||
data = yaml.load(f, Loader=yaml.FullLoader)
|
||||
if data and "WEB_VERSION" in data:
|
||||
directory = f"web_version/{data['WEB_VERSION']}"
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
elif web_default_version != 'v1':
|
||||
if not data:
|
||||
data = {'WEB_VERSION': web_default_version}
|
||||
elif 'WEB_VERSION' not in data:
|
||||
data = {**data, 'WEB_VERSION': web_default_version}
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
directory = f"web_version/{web_default_version}"
|
||||
else:
|
||||
directory = f"web_version/v1"
|
||||
if not os.path.exists(os.path.join(cwd_path, directory)):
|
||||
print(f"web root {data['WEB_VERSION']} not found, using default")
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
else:
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
|
||||
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "comfyui-easy-use"
|
||||
description = "To enhance the usability of ComfyUI, optimizations and integrations have been implemented for several commonly used nodes."
|
||||
version = "1.3.4"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = ["diffusers", "accelerate", "clip_interrogator>=0.6.0", "sentencepiece", "lark", "onnxruntime", "spandrel", "opencv-python-headless", "matplotlib", "peft"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/yolain/ComfyUI-Easy-Use"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "yolain"
|
||||
DisplayName = "ComfyUI-Easy-Use"
|
||||
Icon = ""
|
||||
@@ -0,0 +1,610 @@
|
||||
import { api } from "../../../../scripts/api.js";
|
||||
import { app } from "../../../../scripts/app.js";
|
||||
import {deepEqual, addCss, addMeta, isLocalNetwork} from "../common/utils.js";
|
||||
import {logoIcon, quesitonIcon, rocketIcon, groupIcon, rebootIcon, closeIcon} from "../common/icon.js";
|
||||
import {$t} from '../common/i18n.js';
|
||||
import {toast} from "../common/toast.js";
|
||||
import {$el, ComfyDialog} from "../../../../scripts/ui.js";
|
||||
|
||||
|
||||
addCss('css/index.css')
|
||||
|
||||
api.addEventListener("easyuse-toast",event=>{
|
||||
const content = event.detail.content
|
||||
const type = event.detail.type
|
||||
const duration = event.detail.duration
|
||||
if(!type){
|
||||
toast.info(content, duration)
|
||||
}
|
||||
else{
|
||||
toast.showToast({
|
||||
id: `toast-${type}`,
|
||||
content: `${toast[type+"_icon"]} ${content}`,
|
||||
duration: duration || 3000,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
let draggerEl = null
|
||||
let isGroupMapcanMove = true
|
||||
function createGroupMap(){
|
||||
let div = document.querySelector('#easyuse_groups_map')
|
||||
if(div){
|
||||
div.style.display = div.style.display == 'none' ? 'flex' : 'none'
|
||||
return
|
||||
}
|
||||
let groups = app.canvas.graph._groups
|
||||
let nodes = app.canvas.graph._nodes
|
||||
let old_nodes = groups.length
|
||||
div = document.createElement('div')
|
||||
div.id = 'easyuse_groups_map'
|
||||
div.innerHTML = ''
|
||||
let btn = document.createElement('div')
|
||||
btn.style = `display: flex;
|
||||
width: calc(100% - 8px);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 6px;
|
||||
height: 44px;`
|
||||
let hideBtn = $el('button.closeBtn',{
|
||||
innerHTML:closeIcon,
|
||||
onclick:_=>div.style.display = 'none'
|
||||
})
|
||||
let textB = document.createElement('p')
|
||||
btn.appendChild(textB)
|
||||
btn.appendChild(hideBtn)
|
||||
textB.style.fontSize = '11px'
|
||||
textB.innerHTML = `<b>${$t('Groups Map')} (EasyUse)</b>`
|
||||
div.appendChild(btn)
|
||||
|
||||
div.addEventListener('mousedown', function (e) {
|
||||
var startX = e.clientX
|
||||
var startY = e.clientY
|
||||
var offsetX = div.offsetLeft
|
||||
var offsetY = div.offsetTop
|
||||
|
||||
function moveBox (e) {
|
||||
var newX = e.clientX
|
||||
var newY = e.clientY
|
||||
var deltaX = newX - startX
|
||||
var deltaY = newY - startY
|
||||
div.style.left = offsetX + deltaX + 'px'
|
||||
div.style.top = offsetY + deltaY + 'px'
|
||||
}
|
||||
|
||||
function stopMoving () {
|
||||
document.removeEventListener('mousemove', moveBox)
|
||||
document.removeEventListener('mouseup', stopMoving)
|
||||
}
|
||||
|
||||
if(isGroupMapcanMove){
|
||||
document.addEventListener('mousemove', moveBox)
|
||||
document.addEventListener('mouseup', stopMoving)
|
||||
}
|
||||
})
|
||||
|
||||
function updateGroups(groups, groupsDiv, autoSortDiv){
|
||||
if(groups.length>0){
|
||||
autoSortDiv.style.display = 'block'
|
||||
}else autoSortDiv.style.display = 'none'
|
||||
for (let index in groups) {
|
||||
const group = groups[index]
|
||||
const title = group.title
|
||||
const show_text = $t('Always')
|
||||
const hide_text = $t('Bypass')
|
||||
const mute_text = $t('Never')
|
||||
let group_item = document.createElement('div')
|
||||
let group_item_style = `justify-content: space-between;display:flex;background-color: var(--comfy-input-bg);border-radius: 5px;border:1px solid var(--border-color);margin-top:5px;`
|
||||
group_item.addEventListener("mouseover",event=>{
|
||||
event.preventDefault()
|
||||
group_item.style = group_item_style + "filter:brightness(1.2);"
|
||||
})
|
||||
group_item.addEventListener("mouseleave",event=>{
|
||||
event.preventDefault()
|
||||
group_item.style = group_item_style + "filter:brightness(1);"
|
||||
})
|
||||
group_item.addEventListener("dragstart",e=>{
|
||||
draggerEl = e.currentTarget;
|
||||
e.currentTarget.style.opacity = "0.6";
|
||||
e.currentTarget.style.border = "1px dashed yellow";
|
||||
e.dataTransfer.effectAllowed = 'move';
|
||||
e.dataTransfer.setDragImage(emptyImg, 0, 0);
|
||||
})
|
||||
group_item.addEventListener("dragend",e=>{
|
||||
e.target.style.opacity = "1";
|
||||
e.currentTarget.style.border = "1px dashed transparent";
|
||||
e.currentTarget.removeAttribute("draggable");
|
||||
document.querySelectorAll('.easyuse-group-item').forEach((el,i) => {
|
||||
var prev_i = el.dataset.id;
|
||||
if (el == draggerEl && prev_i != i ) {
|
||||
groups.splice(i, 0, groups.splice(prev_i, 1)[0]);
|
||||
}
|
||||
el.dataset.id = i;
|
||||
});
|
||||
isGroupMapcanMove = true
|
||||
})
|
||||
group_item.addEventListener("dragover",e=>{
|
||||
e.preventDefault();
|
||||
if (e.currentTarget == draggerEl) return;
|
||||
let rect = e.currentTarget.getBoundingClientRect();
|
||||
if (e.clientY > rect.top + rect.height / 2) {
|
||||
e.currentTarget.parentNode.insertBefore(draggerEl, e.currentTarget.nextSibling);
|
||||
} else {
|
||||
e.currentTarget.parentNode.insertBefore(draggerEl, e.currentTarget);
|
||||
}
|
||||
isGroupMapcanMove = true
|
||||
})
|
||||
|
||||
|
||||
group_item.setAttribute('data-id',index)
|
||||
group_item.className = 'easyuse-group-item'
|
||||
group_item.style = group_item_style
|
||||
// 标题
|
||||
let text_group_title = document.createElement('div')
|
||||
text_group_title.style = `flex:1;font-size:12px;color:var(--input-text);padding:4px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;cursor:pointer`
|
||||
text_group_title.innerHTML = `${title}`
|
||||
text_group_title.addEventListener('mousedown',e=>{
|
||||
isGroupMapcanMove = false
|
||||
e.currentTarget.parentNode.draggable = 'true';
|
||||
})
|
||||
text_group_title.addEventListener('mouseleave',e=>{
|
||||
setTimeout(_=>{
|
||||
isGroupMapcanMove = true
|
||||
},150)
|
||||
})
|
||||
group_item.append(text_group_title)
|
||||
// 按钮组
|
||||
let buttons = document.createElement('div')
|
||||
group.recomputeInsideNodes();
|
||||
const nodesInGroup = group._nodes;
|
||||
let isGroupShow = nodesInGroup && nodesInGroup.length>0 && nodesInGroup[0].mode == 0
|
||||
let isGroupMute = nodesInGroup && nodesInGroup.length>0 && nodesInGroup[0].mode == 2
|
||||
let go_btn = document.createElement('button')
|
||||
go_btn.style = "margin-right:6px;cursor:pointer;font-size:10px;padding:2px 4px;color:var(--input-text);background-color: var(--comfy-input-bg);border: 1px solid var(--border-color);border-radius:4px;"
|
||||
go_btn.innerText = "Go"
|
||||
go_btn.addEventListener('click', () => {
|
||||
app.canvas.ds.offset[0] = -group.pos[0] - group.size[0] * 0.5 + (app.canvas.canvas.width * 0.5) / app.canvas.ds.scale;
|
||||
app.canvas.ds.offset[1] = -group.pos[1] - group.size[1] * 0.5 + (app.canvas.canvas.height * 0.5) / app.canvas.ds.scale;
|
||||
app.canvas.setDirty(true, true);
|
||||
app.canvas.setZoom(1)
|
||||
})
|
||||
buttons.append(go_btn)
|
||||
let see_btn = document.createElement('button')
|
||||
let defaultStyle = `cursor:pointer;font-size:10px;;padding:2px;border: 1px solid var(--border-color);border-radius:4px;width:36px;`
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:var(--theme-color);color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
let pressTimer
|
||||
let firstTime =0, lastTime =0
|
||||
let isHolding = false
|
||||
see_btn.addEventListener('click', () => {
|
||||
if(isHolding){
|
||||
isHolding = false
|
||||
return
|
||||
}
|
||||
for (const node of nodesInGroup) {
|
||||
node.mode = isGroupShow ? 4 : 0;
|
||||
node.graph.change();
|
||||
}
|
||||
isGroupShow = nodesInGroup[0].mode == 0 ? true : false
|
||||
isGroupMute = nodesInGroup[0].mode == 2 ? true : false
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:#006691;color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
})
|
||||
see_btn.addEventListener('mousedown', () => {
|
||||
firstTime = new Date().getTime();
|
||||
clearTimeout(pressTimer);
|
||||
pressTimer = setTimeout(_=>{
|
||||
for (const node of nodesInGroup) {
|
||||
node.mode = isGroupMute ? 0 : 2;
|
||||
node.graph.change();
|
||||
}
|
||||
isGroupShow = nodesInGroup[0].mode == 0 ? true : false
|
||||
isGroupMute = nodesInGroup[0].mode == 2 ? true : false
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:#006691;color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
},500)
|
||||
})
|
||||
see_btn.addEventListener('mouseup', () => {
|
||||
lastTime = new Date().getTime();
|
||||
if(lastTime - firstTime > 500) isHolding = true
|
||||
clearTimeout(pressTimer);
|
||||
})
|
||||
buttons.append(see_btn)
|
||||
group_item.append(buttons)
|
||||
|
||||
groupsDiv.append(group_item)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
let groupsDiv = document.createElement('div')
|
||||
groupsDiv.id = 'easyuse-groups-items'
|
||||
groupsDiv.style = `overflow-y: auto;max-height: 400px;height:100%;width: 100%;`
|
||||
|
||||
let autoSortDiv = document.createElement('button')
|
||||
autoSortDiv.style = `cursor:pointer;font-size:10px;padding:2px 4px;color:var(--input-text);background-color: var(--comfy-input-bg);border: 1px solid var(--border-color);border-radius:4px;`
|
||||
autoSortDiv.innerText = $t('Auto Sorting')
|
||||
autoSortDiv.addEventListener('click',e=>{
|
||||
e.preventDefault()
|
||||
groupsDiv.innerHTML = ``
|
||||
let new_groups = groups.sort((a,b)=> a['pos'][0] - b['pos'][0]).sort((a,b)=> a['pos'][1] - b['pos'][1])
|
||||
updateGroups(new_groups, groupsDiv, autoSortDiv)
|
||||
})
|
||||
|
||||
updateGroups(groups, groupsDiv, autoSortDiv)
|
||||
|
||||
div.appendChild(groupsDiv)
|
||||
|
||||
let remarkDiv = document.createElement('p')
|
||||
remarkDiv.style = `text-align:center; font-size:10px; padding:0 10px;color:var(--descrip-text)`
|
||||
remarkDiv.innerText = $t('Toggle `Show/Hide` can set mode of group, LongPress can set group nodes to never')
|
||||
div.appendChild(groupsDiv)
|
||||
div.appendChild(remarkDiv)
|
||||
div.appendChild(autoSortDiv)
|
||||
|
||||
let graphDiv = document.getElementById("graph-canvas")
|
||||
graphDiv.addEventListener('mouseover', async () => {
|
||||
groupsDiv.innerHTML = ``
|
||||
let new_groups = app.canvas.graph._groups
|
||||
updateGroups(new_groups, groupsDiv, autoSortDiv)
|
||||
old_nodes = nodes
|
||||
})
|
||||
|
||||
if (!document.querySelector('#easyuse_groups_map')){
|
||||
document.body.appendChild(div)
|
||||
}else{
|
||||
div.style.display = 'flex'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async function cleanup(){
|
||||
try {
|
||||
const {Running, Pending} = await api.getQueue()
|
||||
if(Running.length>0 || Pending.length>0){
|
||||
toast.error($t("Clean Failed")+ ":"+ $t("Please stop all running tasks before cleaning GPU"))
|
||||
return
|
||||
}
|
||||
api.fetchApi("/easyuse/cleangpu",{
|
||||
method:"POST"
|
||||
}).then(res=>{
|
||||
if(res.status == 200){
|
||||
toast.success($t("Clean SuccessFully"))
|
||||
}else{
|
||||
toast.error($t("Clean Failed"))
|
||||
}
|
||||
})
|
||||
|
||||
} catch (exception) {}
|
||||
}
|
||||
|
||||
|
||||
let guideDialog = null
|
||||
let isDownloading = false
|
||||
function download_model(url,local_dir){
|
||||
if(isDownloading || !url || !local_dir) return
|
||||
isDownloading = true
|
||||
let body = new FormData();
|
||||
body.append('url', url);
|
||||
body.append('local_dir', local_dir);
|
||||
api.fetchApi("/easyuse/model/download",{
|
||||
method:"POST",
|
||||
body
|
||||
}).then(res=>{
|
||||
if(res.status == 200){
|
||||
toast.success($t("Download SuccessFully"))
|
||||
}else{
|
||||
toast.error($t("Download Failed"))
|
||||
}
|
||||
isDownloading = false
|
||||
})
|
||||
|
||||
}
|
||||
class GuideDialog {
|
||||
|
||||
constructor(note, need_models){
|
||||
this.dialogDiv = null
|
||||
this.modelsDiv = null
|
||||
|
||||
if(need_models?.length>0){
|
||||
let tbody = []
|
||||
|
||||
for(let i=0;i<need_models.length;i++){
|
||||
tbody.push($el('tr',[
|
||||
$el('td',{innerHTML:need_models[i].title || need_models[i].name || ''}),
|
||||
$el('td',[
|
||||
need_models[i]['download_url'] ? $el('a',{onclick:_=>download_model(need_models[i]['download_url'],need_models[i]['local_dir']), target:"_blank", textContent:$t('Download Model')}) : '',
|
||||
need_models[i]['source_url'] ? $el('a',{href:need_models[i]['source_url'], target:"_blank", textContent:$t('Source Url')}) : '',
|
||||
need_models[i]['desciption'] ? $el('span',{textContent:need_models[i]['desciption']}) : '',
|
||||
]),
|
||||
]))
|
||||
}
|
||||
this.modelsDiv = $el('div.easyuse-guide-dialog-models.markdown-body',[
|
||||
$el('h3',{textContent:$t('Models Required')}),
|
||||
$el('table',{cellpadding:0,cellspacing:0},[
|
||||
$el('thead',[
|
||||
$el('tr',[
|
||||
$el('th',{innerHTML:$t('ModelName')}),
|
||||
$el('th',{innerHTML:$t('Description')}),
|
||||
])
|
||||
]),
|
||||
$el('tbody',tbody)
|
||||
])
|
||||
])
|
||||
}
|
||||
|
||||
this.dialogDiv = $el('div.easyuse-guide-dialog.hidden',[
|
||||
$el('div.easyuse-guide-dialog-header',[
|
||||
$el('div.easyuse-guide-dialog-top',[
|
||||
$el('div.easyuse-guide-dialog-title',{
|
||||
innerHTML:$t('Workflow Guide')
|
||||
}),
|
||||
$el('button.closeBtn',{innerHTML:closeIcon,onclick:_=>this.close()})
|
||||
]),
|
||||
|
||||
$el('div.easyuse-guide-dialog-remark',{
|
||||
innerHTML:`${$t('Workflow created by')} <a href="https://github.com/yolain/" target="_blank">Yolain</a> , ${$t('Watch more video content')} <a href="https://space.bilibili.com/1840885116" target="_blank">B站乱乱呀</a>`
|
||||
})
|
||||
]),
|
||||
$el('div.easyuse-guide-dialog-content.markdown-body',[
|
||||
$el('div.easyuse-guide-dialog-note',{
|
||||
innerHTML:note
|
||||
}),
|
||||
...this.modelsDiv ? [this.modelsDiv] : []
|
||||
])
|
||||
])
|
||||
|
||||
if(disableRenderInfo){
|
||||
this.dialogDiv.classList.add('disable-render-info')
|
||||
}
|
||||
document.body.appendChild(this.dialogDiv)
|
||||
}
|
||||
show(){
|
||||
if(this.dialogDiv) this.dialogDiv.classList.remove('hidden')
|
||||
}
|
||||
|
||||
close(){
|
||||
if(this.dialogDiv){
|
||||
this.dialogDiv.classList.add('hidden')
|
||||
}
|
||||
}
|
||||
toggle(){
|
||||
if(this.dialogDiv){
|
||||
if(this.dialogDiv.classList.contains('hidden')){
|
||||
this.show()
|
||||
}else{
|
||||
this.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
remove(){
|
||||
if(this.dialogDiv) document.body.removeChild(this.dialogDiv)
|
||||
}
|
||||
}
|
||||
|
||||
// toolbar
|
||||
const toolBarId = "Comfy.EasyUse.toolBar"
|
||||
const getEnableToolBar = _ => app.ui.settings.getSettingValue(toolBarId, true)
|
||||
const getNewMenuPosition = _ => {
|
||||
try{
|
||||
return app.ui.settings.getSettingValue('Comfy.UseNewMenu', 'Disabled')
|
||||
}catch (e){
|
||||
return 'Disabled'
|
||||
}
|
||||
}
|
||||
|
||||
let note = null
|
||||
let toolbar = null
|
||||
let enableToolBar = getEnableToolBar() && getNewMenuPosition() == 'Disabled'
|
||||
let disableRenderInfo = localStorage['Comfy.Settings.Comfy.EasyUse.disableRenderInfo'] ? true : false
|
||||
export function addToolBar(app) {
|
||||
app.ui.settings.addSetting({
|
||||
id: toolBarId,
|
||||
name: $t("Enable tool bar fixed on the left-bottom (ComfyUI-Easy-Use)"),
|
||||
type: "boolean",
|
||||
defaultValue: enableToolBar,
|
||||
onChange(value) {
|
||||
enableToolBar = !!value;
|
||||
if(enableToolBar){
|
||||
showToolBar()
|
||||
}else hideToolBar()
|
||||
},
|
||||
});
|
||||
}
|
||||
function showToolBar(){
|
||||
if(toolbar) toolbar.style.display = 'flex'
|
||||
}
|
||||
function hideToolBar(){
|
||||
if(toolbar) toolbar.style.display = 'none'
|
||||
}
|
||||
let monitor = null
|
||||
function setCrystoolsUI(position){
|
||||
const crystools = document.getElementById('crystools-root')?.children || null
|
||||
if(crystools?.length>0){
|
||||
if(!monitor){
|
||||
for (let i = 0; i < crystools.length; i++) {
|
||||
if (crystools[i].id === 'crystools-monitor-container') {
|
||||
monitor = crystools[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(monitor){
|
||||
if(position == 'Disabled'){
|
||||
let replace = true
|
||||
for (let i = 0; i < crystools.length; i++) {
|
||||
if (crystools[i].id === 'crystools-monitor-container') {
|
||||
replace = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
document.getElementById('crystools-root').appendChild(monitor)
|
||||
}
|
||||
else {
|
||||
let monitor_div = document.getElementById('comfyui-menu-monitor')
|
||||
if(!monitor_div) app.menu.settingsGroup.element.before($el('div',{id:'comfyui-menu-monitor'},monitor))
|
||||
else monitor_div.appendChild(monitor)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
const changeNewMenuPosition = app.ui.settings.settingsLookup?.['Comfy.UseNewMenu']
|
||||
if(changeNewMenuPosition) changeNewMenuPosition.onChange = v => {
|
||||
v == 'Disabled' ? showToolBar() : hideToolBar()
|
||||
setCrystoolsUI(v)
|
||||
}
|
||||
|
||||
|
||||
|
||||
app.registerExtension({
|
||||
name: "comfy.easyUse",
|
||||
init() {
|
||||
// Canvas Menu
|
||||
const getCanvasMenuOptions = LGraphCanvas.prototype.getCanvasMenuOptions;
|
||||
LGraphCanvas.prototype.getCanvasMenuOptions = function () {
|
||||
const options = getCanvasMenuOptions.apply(this, arguments);
|
||||
let emptyImg = new Image()
|
||||
emptyImg.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";
|
||||
|
||||
options.push(null,
|
||||
// Groups Map
|
||||
{
|
||||
content: groupIcon.replace('currentColor','var(--warning-color)') + ' '+ $t('Groups Map') + ' (EasyUse)',
|
||||
callback: async() => {
|
||||
createGroupMap()
|
||||
}
|
||||
},
|
||||
// Force clean ComfyUI GPU Used 强制卸载模型GPU占用
|
||||
{
|
||||
content: rocketIcon.replace('currentColor','var(--theme-color-light)') + ' '+ $t('Cleanup Of GPU Usage') + ' (EasyUse)',
|
||||
callback: async() =>{
|
||||
await cleanup()
|
||||
}
|
||||
},
|
||||
// Only show the reboot option if the server is running on a local network 仅在本地或局域网环境可重启服务
|
||||
isLocalNetwork(window.location.host) ? {
|
||||
content: rebootIcon.replace('currentColor','var(--error-color)') + ' '+ $t('Reboot ComfyUI') + ' (EasyUse)',
|
||||
callback: _ =>{
|
||||
if (confirm($t("Are you sure you'd like to reboot the server?"))){
|
||||
try {
|
||||
api.fetchApi("/easyuse/reboot");
|
||||
} catch (exception) {}
|
||||
}
|
||||
}
|
||||
} : null,
|
||||
);
|
||||
return options;
|
||||
};
|
||||
|
||||
let renderInfoEvent = LGraphCanvas.prototype.renderInfo
|
||||
if(disableRenderInfo){
|
||||
LGraphCanvas.prototype.renderInfo = function (ctx, x, y) {}
|
||||
}
|
||||
|
||||
if(!toolbar){
|
||||
toolbar = $el('div.easyuse-toolbar',[
|
||||
$el('div.easyuse-toolbar-item',{
|
||||
onclick:_=>{
|
||||
createGroupMap()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.group', {innerHTML:groupIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Groups Map'))
|
||||
]),
|
||||
$el('div.easyuse-toolbar-item',{
|
||||
onclick:async()=>{
|
||||
await cleanup()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.rocket',{innerHTML:rocketIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Cleanup Of GPU Usage'))
|
||||
]),
|
||||
])
|
||||
if(disableRenderInfo){
|
||||
toolbar.classList.add('disable-render-info')
|
||||
}else{
|
||||
toolbar.classList.remove('disable-render-info')
|
||||
}
|
||||
document.body.appendChild(toolbar)
|
||||
}
|
||||
|
||||
// rewrite handleFile
|
||||
let loadGraphDataEvent = app.loadGraphData
|
||||
app.loadGraphData = async function (data, clean=true) {
|
||||
// if(data?.extra?.cpr){
|
||||
// toast.copyright()
|
||||
// }
|
||||
if(data?.extra?.note){
|
||||
if(guideDialog) {
|
||||
guideDialog.remove()
|
||||
guideDialog = null
|
||||
}
|
||||
if(note && toolbar) toolbar.removeChild(note)
|
||||
const need_models = data.extra?.need_models || null
|
||||
guideDialog = new GuideDialog(data.extra.note, need_models)
|
||||
note = $el('div.easyuse-toolbar-item',{
|
||||
onclick:async()=>{
|
||||
guideDialog.toggle()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.question',{innerHTML:quesitonIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Workflow Guide'))
|
||||
])
|
||||
if(toolbar) toolbar.insertBefore(note, toolbar.firstChild)
|
||||
}
|
||||
else{
|
||||
if(note) {
|
||||
toolbar.removeChild(note)
|
||||
note = null
|
||||
}
|
||||
}
|
||||
return await loadGraphDataEvent.apply(this, [...arguments])
|
||||
}
|
||||
|
||||
addToolBar(app)
|
||||
},
|
||||
async setup() {
|
||||
// New style menu button
|
||||
if(app.menu?.actionsGroup){
|
||||
const groupMap = new (await import('../../../../scripts/ui/components/button.js')).ComfyButton({
|
||||
icon:'list-box',
|
||||
action:()=> createGroupMap(),
|
||||
tooltip: "EasyUse Group Map",
|
||||
// content: "EasyUse Group Map",
|
||||
classList: "comfyui-button comfyui-menu-mobile-collapse"
|
||||
});
|
||||
app.menu.actionsGroup.element.after(groupMap.element);
|
||||
const position = getNewMenuPosition()
|
||||
setCrystoolsUI(position)
|
||||
if(position == 'Disabled') showToolBar()
|
||||
else hideToolBar()
|
||||
// const easyNewMenu = $el('div.easyuse-new-menu',[
|
||||
// $el('div.easyuse-new-menu-intro',[
|
||||
// $el('div.easyuse-new-menu-logo',{innerHTML:logoIcon}),
|
||||
// $el('div.easyuse-new-menu-title',[
|
||||
// $el('div.title',{textContent:'ComfyUI-Easy-Use'}),
|
||||
// $el('div.desc',{textContent:'Version:'})
|
||||
// ])
|
||||
// ])
|
||||
// ])
|
||||
// app.menu?.actionsGroup.element.after(new (await import('../../../../scripts/ui/components/splitButton.js')).ComfySplitButton({
|
||||
// primary: groupMap,
|
||||
// mode:'click',
|
||||
// position:'absolute',
|
||||
// horizontal: 'right'
|
||||
// },easyNewMenu).element);
|
||||
}
|
||||
|
||||
},
|
||||
beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name.startsWith("easy")) {
|
||||
const origOnConfigure = nodeType.prototype.onConfigure;
|
||||
nodeType.prototype.onConfigure = function () {
|
||||
const r = origOnConfigure ? origOnConfigure.apply(this, arguments) : undefined;
|
||||
return r;
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
+1274
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,197 @@
|
||||
[
|
||||
".github/FUNDING.yml",
|
||||
".github/instructions/v3.example.instructions.md",
|
||||
".github/instructions/v3.migration.instructions.md",
|
||||
".github/instructions/v3.reference.instructions.md",
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
".gitmodules",
|
||||
"ComfyUI-Easy-Use-Frontend/",
|
||||
"LICENSE",
|
||||
"README.ZH_CN.md",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"install.bat",
|
||||
"install.sh",
|
||||
"locales/en/main.json",
|
||||
"locales/en/nodeDefs.json",
|
||||
"locales/en/settings.json",
|
||||
"locales/fr/main.json",
|
||||
"locales/fr/settings.json",
|
||||
"locales/ja/main.json",
|
||||
"locales/ja/settings.json",
|
||||
"locales/ko/main.json",
|
||||
"locales/ko/settings.json",
|
||||
"locales/ru/main.json",
|
||||
"locales/ru/settings.json",
|
||||
"locales/zh/main.json",
|
||||
"locales/zh/nodeDefs.json",
|
||||
"locales/zh/settings.json",
|
||||
"prestartup_script.py",
|
||||
"py/__init__.py",
|
||||
"py/config.py",
|
||||
"py/libs/add_resources.py",
|
||||
"py/libs/adv_encode.py",
|
||||
"py/libs/api/bizyair.py",
|
||||
"py/libs/api/fluxai.py",
|
||||
"py/libs/api/stability.py",
|
||||
"py/libs/cache.py",
|
||||
"py/libs/chooser.py",
|
||||
"py/libs/colorfix.py",
|
||||
"py/libs/conditioning.py",
|
||||
"py/libs/controlnet.py",
|
||||
"py/libs/dynthres_core.py",
|
||||
"py/libs/easing.py",
|
||||
"py/libs/gradual_latent_hires_fix.py",
|
||||
"py/libs/image.py",
|
||||
"py/libs/lllite.py",
|
||||
"py/libs/loader.py",
|
||||
"py/libs/log.py",
|
||||
"py/libs/math.py",
|
||||
"py/libs/messages.py",
|
||||
"py/libs/model.py",
|
||||
"py/libs/sampler.py",
|
||||
"py/libs/styleAlign.py",
|
||||
"py/libs/translate.py",
|
||||
"py/libs/utils.py",
|
||||
"py/libs/wildcards.py",
|
||||
"py/libs/xyplot.py",
|
||||
"py/modules/ben/model.py",
|
||||
"py/modules/bitsandbytes_NF4/__init__.py",
|
||||
"py/modules/briaai/__init__.py",
|
||||
"py/modules/briaai/rembg.py",
|
||||
"py/modules/brushnet/__init__.py",
|
||||
"py/modules/brushnet/config/brushnet.json",
|
||||
"py/modules/brushnet/config/brushnet_xl.json",
|
||||
"py/modules/brushnet/config/powerpaint.json",
|
||||
"py/modules/brushnet/model.py",
|
||||
"py/modules/brushnet/model_patch.py",
|
||||
"py/modules/brushnet/powerpaint_utils.py",
|
||||
"py/modules/brushnet/unet_2d_blocks.py",
|
||||
"py/modules/brushnet/unet_2d_condition.py",
|
||||
"py/modules/dit/__init__.py",
|
||||
"py/modules/dit/config.py",
|
||||
"py/modules/dit/pixArt/LICENSE-Pixart",
|
||||
"py/modules/dit/pixArt/__init__.py",
|
||||
"py/modules/dit/pixArt/config.py",
|
||||
"py/modules/dit/pixArt/diffusers_convert.py",
|
||||
"py/modules/dit/pixArt/loader.py",
|
||||
"py/modules/dit/pixArt/models/PixArt.py",
|
||||
"py/modules/dit/pixArt/models/PixArtMS.py",
|
||||
"py/modules/dit/pixArt/models/PixArt_blocks.py",
|
||||
"py/modules/dit/pixArt/models/__init__.py",
|
||||
"py/modules/dit/pixArt/models/pixart_controlnet.py",
|
||||
"py/modules/dit/pixArt/models/utils.py",
|
||||
"py/modules/dit/utils.py",
|
||||
"py/modules/fooocus/__init__.py",
|
||||
"py/modules/human_parsing/__init__.py",
|
||||
"py/modules/human_parsing/parsing_api.py",
|
||||
"py/modules/human_parsing/run_parsing.py",
|
||||
"py/modules/human_parsing/simple_extractor_dataset.py",
|
||||
"py/modules/human_parsing/transforms.py",
|
||||
"py/modules/ic_light/__init__.py",
|
||||
"py/modules/ipadapter/__init__.py",
|
||||
"py/modules/ipadapter/attention_processor.py",
|
||||
"py/modules/ipadapter/flux/__init__.py",
|
||||
"py/modules/ipadapter/flux/layers.py",
|
||||
"py/modules/ipadapter/flux/math.py",
|
||||
"py/modules/ipadapter/sd3/__init__.py",
|
||||
"py/modules/ipadapter/sd3/joinblock.py",
|
||||
"py/modules/ipadapter/sd3/resampler.py",
|
||||
"py/modules/ipadapter/utils.py",
|
||||
"py/modules/kolors/__init__.py",
|
||||
"py/modules/kolors/chatglm/__init__.py",
|
||||
"py/modules/kolors/chatglm/config_chatglm.json",
|
||||
"py/modules/kolors/chatglm/configuration_chatglm.py",
|
||||
"py/modules/kolors/chatglm/modeling_chatglm.py",
|
||||
"py/modules/kolors/chatglm/quantization.py",
|
||||
"py/modules/kolors/chatglm/tokenization_chatglm.py",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer.model",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer_config.json",
|
||||
"py/modules/kolors/chatglm/tokenizer/vocab.txt",
|
||||
"py/modules/kolors/clip_vision_config_vitl_336.json",
|
||||
"py/modules/kolors/loader.py",
|
||||
"py/modules/kolors/model_patch.py",
|
||||
"py/modules/kolors/text_encode.py",
|
||||
"py/modules/layer_diffuse/__init__.py",
|
||||
"py/modules/layer_diffuse/attension_sharing.py",
|
||||
"py/modules/layer_diffuse/model.py",
|
||||
"py/nodes/adapter.py",
|
||||
"py/nodes/api.py",
|
||||
"py/nodes/deprecated.py",
|
||||
"py/nodes/fix.py",
|
||||
"py/nodes/image.py",
|
||||
"py/nodes/inpaint.py",
|
||||
"py/nodes/loaders.py",
|
||||
"py/nodes/logic.py",
|
||||
"py/nodes/pipe.py",
|
||||
"py/nodes/preSampling.py",
|
||||
"py/nodes/prompt.py",
|
||||
"py/nodes/samplers.py",
|
||||
"py/nodes/seed.py",
|
||||
"py/nodes/util.py",
|
||||
"py/nodes/xyplot.py",
|
||||
"py/routes.py",
|
||||
"py/server.py",
|
||||
"pyproject.toml",
|
||||
"repair_dependency_list.txt",
|
||||
"requirements.txt",
|
||||
"resources/OpenSans-Medium.ttf",
|
||||
"resources/fooocus_styles.json",
|
||||
"resources/mmb-preset.custom.txt.example",
|
||||
"resources/mmb-preset.txt",
|
||||
"resources/portrait_prompt.json",
|
||||
"tools/combine_autocomplete.py",
|
||||
"web_version/v1/css/account.css",
|
||||
"web_version/v1/css/chooser.css",
|
||||
"web_version/v1/css/contextmenu.css",
|
||||
"web_version/v1/css/dropdown.css",
|
||||
"web_version/v1/css/easy.css",
|
||||
"web_version/v1/css/groupmap.css",
|
||||
"web_version/v1/css/index.css",
|
||||
"web_version/v1/css/modelinfo.css",
|
||||
"web_version/v1/css/selector.css",
|
||||
"web_version/v1/css/sliderControl.css",
|
||||
"web_version/v1/css/theme.css",
|
||||
"web_version/v1/css/toast.css",
|
||||
"web_version/v1/css/toolbar.css",
|
||||
"web_version/v1/js/bookmark.js",
|
||||
"web_version/v1/js/common/dropdown.js",
|
||||
"web_version/v1/js/common/i18n.js",
|
||||
"web_version/v1/js/common/icon.js",
|
||||
"web_version/v1/js/common/model.js",
|
||||
"web_version/v1/js/common/toast.js",
|
||||
"web_version/v1/js/common/utils.js",
|
||||
"web_version/v1/js/easy/easy.js",
|
||||
"web_version/v1/js/easy/easyAccount.js",
|
||||
"web_version/v1/js/easy/easyContextMenu.js",
|
||||
"web_version/v1/js/easy/easyDynamicWidgets.js",
|
||||
"web_version/v1/js/easy/easyExtraMenu.js",
|
||||
"web_version/v1/js/easy/easyInterface.js",
|
||||
"web_version/v1/js/easy/easyQuick.js",
|
||||
"web_version/v1/js/easy/easySaveImage.js",
|
||||
"web_version/v1/js/easy/easySeg.js",
|
||||
"web_version/v1/js/easy/easySelector.js",
|
||||
"web_version/v1/js/easy/easySliderControl.js",
|
||||
"web_version/v1/js/easy/easySuggestion.js",
|
||||
"web_version/v1/js/easy/easyWidgets.js",
|
||||
"web_version/v1/js/easy/easyXYPlot.js",
|
||||
"web_version/v1/js/getset.js",
|
||||
"web_version/v1/js/image.js",
|
||||
"web_version/v1/js/image_chooser/chooser.js",
|
||||
"web_version/v1/js/image_chooser/messaging.js",
|
||||
"web_version/v1/js/image_chooser/preview.js",
|
||||
"web_version/v1/js/image_chooser/prompt.js",
|
||||
"web_version/v1/js/image_chooser/state.js",
|
||||
"web_version/v1/js/poseEditor.js",
|
||||
"web_version/v1/js/seed.js",
|
||||
"web_version/v1/lib/fabric.js",
|
||||
"web_version/v2/assets/extensions-ByfbHFiH.js",
|
||||
"web_version/v2/assets/lodash-DkvwM0Z9.js",
|
||||
"web_version/v2/assets/primeuix-CNMLIuxO.js",
|
||||
"web_version/v2/assets/primevue-CWKvsPkZ.js",
|
||||
"web_version/v2/assets/vendor-D0iX-Vke.js",
|
||||
"web_version/v2/assets/vue-Cu3MA6TM.js",
|
||||
"web_version/v2/assets/vueuse-Chow9bSK.js",
|
||||
"web_version/v2/easyuse.js"
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"changelog":"","createdAt":"2026-01-23T06:19:17.505188Z","dependencies":["diffusers","accelerate","clip_interrogator","sentencepiece","lark","onnxruntime","spandrel","opencv-python-headless","matplotlib","peft"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.6/node.zip","id":"775ab2a5-4a2e-4313-b6f4-10fb8b3456c1","node_id":"comfyui-easy-use","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"1.3.6"}
|
||||
Binary file not shown.
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,95 @@
|
||||
__version__ = "1.3.6"
|
||||
|
||||
import yaml
|
||||
import json
|
||||
import os
|
||||
import folder_paths
|
||||
import importlib
|
||||
|
||||
cwd_path = os.path.dirname(os.path.realpath(__file__))
|
||||
comfy_path = folder_paths.base_path
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
importlib.import_module('.py.routes', __name__)
|
||||
importlib.import_module('.py.server', __name__)
|
||||
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
|
||||
for module_name in nodes_list:
|
||||
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
|
||||
#Wildcards
|
||||
from .py.libs.wildcards import read_wildcard_dict
|
||||
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
|
||||
if not os.path.exists(wildcards_path):
|
||||
os.mkdir(wildcards_path)
|
||||
|
||||
# Add custom wildcards example
|
||||
example_path = os.path.join(wildcards_path, "example.txt")
|
||||
if not os.path.exists(example_path):
|
||||
with open(example_path, 'w') as f:
|
||||
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
|
||||
f.write(text)
|
||||
read_wildcard_dict(wildcards_path)
|
||||
|
||||
#Styles
|
||||
styles_path = os.path.join(os.path.dirname(__file__), "styles")
|
||||
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
|
||||
if os.path.exists(styles_path):
|
||||
if not os.path.exists(samples_path):
|
||||
os.mkdir(samples_path)
|
||||
else:
|
||||
os.mkdir(styles_path)
|
||||
os.mkdir(samples_path)
|
||||
|
||||
# Add custom styles example
|
||||
example_path = os.path.join(styles_path, "your_styles.json.example")
|
||||
if not os.path.exists(example_path):
|
||||
import json
|
||||
data = [
|
||||
{
|
||||
"name": "Example Style",
|
||||
"name_cn": "示例样式",
|
||||
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
|
||||
"negative_prompt": "text, watermark, logo"
|
||||
},
|
||||
]
|
||||
# Write to file
|
||||
with open(example_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(data, f, indent=4, ensure_ascii=False)
|
||||
|
||||
|
||||
web_default_version = 'v2'
|
||||
# web directory
|
||||
config_path = os.path.join(cwd_path, "config.yaml")
|
||||
if os.path.isfile(config_path):
|
||||
with open(config_path, 'r') as f:
|
||||
data = yaml.load(f, Loader=yaml.FullLoader)
|
||||
if data and "WEB_VERSION" in data:
|
||||
directory = f"web_version/{data['WEB_VERSION']}"
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
elif web_default_version != 'v1':
|
||||
if not data:
|
||||
data = {'WEB_VERSION': web_default_version}
|
||||
elif 'WEB_VERSION' not in data:
|
||||
data = {**data, 'WEB_VERSION': web_default_version}
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
directory = f"web_version/{web_default_version}"
|
||||
else:
|
||||
directory = f"web_version/v1"
|
||||
if not os.path.exists(os.path.join(cwd_path, directory)):
|
||||
print(f"web root {data['WEB_VERSION']} not found, using default")
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
else:
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
|
||||
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "comfyui-easy-use"
|
||||
description = "To enhance the usability of ComfyUI, optimizations and integrations have been implemented for several commonly used nodes."
|
||||
version = "1.3.6"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = ["diffusers", "accelerate", "clip_interrogator", "sentencepiece", "lark", "onnxruntime", "spandrel", "opencv-python-headless", "matplotlib", "peft"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/yolain/ComfyUI-Easy-Use"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "yolain"
|
||||
DisplayName = "ComfyUI-Easy-Use"
|
||||
Icon = "https://mintlify.s3.us-west-1.amazonaws.com/yolain/images/logo.svg"
|
||||
@@ -0,0 +1,610 @@
|
||||
import { api } from "../../../../scripts/api.js";
|
||||
import { app } from "../../../../scripts/app.js";
|
||||
import {deepEqual, addCss, addMeta, isLocalNetwork} from "../common/utils.js";
|
||||
import {logoIcon, quesitonIcon, rocketIcon, groupIcon, rebootIcon, closeIcon} from "../common/icon.js";
|
||||
import {$t} from '../common/i18n.js';
|
||||
import {toast} from "../common/toast.js";
|
||||
import {$el, ComfyDialog} from "../../../../scripts/ui.js";
|
||||
|
||||
|
||||
addCss('css/index.css')
|
||||
|
||||
api.addEventListener("easyuse-toast",event=>{
|
||||
const content = event.detail.content
|
||||
const type = event.detail.type
|
||||
const duration = event.detail.duration
|
||||
if(!type){
|
||||
toast.info(content, duration)
|
||||
}
|
||||
else{
|
||||
toast.showToast({
|
||||
id: `toast-${type}`,
|
||||
content: `${toast[type+"_icon"]} ${content}`,
|
||||
duration: duration || 3000,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
let draggerEl = null
|
||||
let isGroupMapcanMove = true
|
||||
function createGroupMap(){
|
||||
let div = document.querySelector('#easyuse_groups_map')
|
||||
if(div){
|
||||
div.style.display = div.style.display == 'none' ? 'flex' : 'none'
|
||||
return
|
||||
}
|
||||
let groups = app.canvas.graph._groups
|
||||
let nodes = app.canvas.graph._nodes
|
||||
let old_nodes = groups.length
|
||||
div = document.createElement('div')
|
||||
div.id = 'easyuse_groups_map'
|
||||
div.innerHTML = ''
|
||||
let btn = document.createElement('div')
|
||||
btn.style = `display: flex;
|
||||
width: calc(100% - 8px);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 6px;
|
||||
height: 44px;`
|
||||
let hideBtn = $el('button.closeBtn',{
|
||||
innerHTML:closeIcon,
|
||||
onclick:_=>div.style.display = 'none'
|
||||
})
|
||||
let textB = document.createElement('p')
|
||||
btn.appendChild(textB)
|
||||
btn.appendChild(hideBtn)
|
||||
textB.style.fontSize = '11px'
|
||||
textB.innerHTML = `<b>${$t('Groups Map')} (EasyUse)</b>`
|
||||
div.appendChild(btn)
|
||||
|
||||
div.addEventListener('mousedown', function (e) {
|
||||
var startX = e.clientX
|
||||
var startY = e.clientY
|
||||
var offsetX = div.offsetLeft
|
||||
var offsetY = div.offsetTop
|
||||
|
||||
function moveBox (e) {
|
||||
var newX = e.clientX
|
||||
var newY = e.clientY
|
||||
var deltaX = newX - startX
|
||||
var deltaY = newY - startY
|
||||
div.style.left = offsetX + deltaX + 'px'
|
||||
div.style.top = offsetY + deltaY + 'px'
|
||||
}
|
||||
|
||||
function stopMoving () {
|
||||
document.removeEventListener('mousemove', moveBox)
|
||||
document.removeEventListener('mouseup', stopMoving)
|
||||
}
|
||||
|
||||
if(isGroupMapcanMove){
|
||||
document.addEventListener('mousemove', moveBox)
|
||||
document.addEventListener('mouseup', stopMoving)
|
||||
}
|
||||
})
|
||||
|
||||
function updateGroups(groups, groupsDiv, autoSortDiv){
|
||||
if(groups.length>0){
|
||||
autoSortDiv.style.display = 'block'
|
||||
}else autoSortDiv.style.display = 'none'
|
||||
for (let index in groups) {
|
||||
const group = groups[index]
|
||||
const title = group.title
|
||||
const show_text = $t('Always')
|
||||
const hide_text = $t('Bypass')
|
||||
const mute_text = $t('Never')
|
||||
let group_item = document.createElement('div')
|
||||
let group_item_style = `justify-content: space-between;display:flex;background-color: var(--comfy-input-bg);border-radius: 5px;border:1px solid var(--border-color);margin-top:5px;`
|
||||
group_item.addEventListener("mouseover",event=>{
|
||||
event.preventDefault()
|
||||
group_item.style = group_item_style + "filter:brightness(1.2);"
|
||||
})
|
||||
group_item.addEventListener("mouseleave",event=>{
|
||||
event.preventDefault()
|
||||
group_item.style = group_item_style + "filter:brightness(1);"
|
||||
})
|
||||
group_item.addEventListener("dragstart",e=>{
|
||||
draggerEl = e.currentTarget;
|
||||
e.currentTarget.style.opacity = "0.6";
|
||||
e.currentTarget.style.border = "1px dashed yellow";
|
||||
e.dataTransfer.effectAllowed = 'move';
|
||||
e.dataTransfer.setDragImage(emptyImg, 0, 0);
|
||||
})
|
||||
group_item.addEventListener("dragend",e=>{
|
||||
e.target.style.opacity = "1";
|
||||
e.currentTarget.style.border = "1px dashed transparent";
|
||||
e.currentTarget.removeAttribute("draggable");
|
||||
document.querySelectorAll('.easyuse-group-item').forEach((el,i) => {
|
||||
var prev_i = el.dataset.id;
|
||||
if (el == draggerEl && prev_i != i ) {
|
||||
groups.splice(i, 0, groups.splice(prev_i, 1)[0]);
|
||||
}
|
||||
el.dataset.id = i;
|
||||
});
|
||||
isGroupMapcanMove = true
|
||||
})
|
||||
group_item.addEventListener("dragover",e=>{
|
||||
e.preventDefault();
|
||||
if (e.currentTarget == draggerEl) return;
|
||||
let rect = e.currentTarget.getBoundingClientRect();
|
||||
if (e.clientY > rect.top + rect.height / 2) {
|
||||
e.currentTarget.parentNode.insertBefore(draggerEl, e.currentTarget.nextSibling);
|
||||
} else {
|
||||
e.currentTarget.parentNode.insertBefore(draggerEl, e.currentTarget);
|
||||
}
|
||||
isGroupMapcanMove = true
|
||||
})
|
||||
|
||||
|
||||
group_item.setAttribute('data-id',index)
|
||||
group_item.className = 'easyuse-group-item'
|
||||
group_item.style = group_item_style
|
||||
// 标题
|
||||
let text_group_title = document.createElement('div')
|
||||
text_group_title.style = `flex:1;font-size:12px;color:var(--input-text);padding:4px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;cursor:pointer`
|
||||
text_group_title.innerHTML = `${title}`
|
||||
text_group_title.addEventListener('mousedown',e=>{
|
||||
isGroupMapcanMove = false
|
||||
e.currentTarget.parentNode.draggable = 'true';
|
||||
})
|
||||
text_group_title.addEventListener('mouseleave',e=>{
|
||||
setTimeout(_=>{
|
||||
isGroupMapcanMove = true
|
||||
},150)
|
||||
})
|
||||
group_item.append(text_group_title)
|
||||
// 按钮组
|
||||
let buttons = document.createElement('div')
|
||||
group.recomputeInsideNodes();
|
||||
const nodesInGroup = group._nodes;
|
||||
let isGroupShow = nodesInGroup && nodesInGroup.length>0 && nodesInGroup[0].mode == 0
|
||||
let isGroupMute = nodesInGroup && nodesInGroup.length>0 && nodesInGroup[0].mode == 2
|
||||
let go_btn = document.createElement('button')
|
||||
go_btn.style = "margin-right:6px;cursor:pointer;font-size:10px;padding:2px 4px;color:var(--input-text);background-color: var(--comfy-input-bg);border: 1px solid var(--border-color);border-radius:4px;"
|
||||
go_btn.innerText = "Go"
|
||||
go_btn.addEventListener('click', () => {
|
||||
app.canvas.ds.offset[0] = -group.pos[0] - group.size[0] * 0.5 + (app.canvas.canvas.width * 0.5) / app.canvas.ds.scale;
|
||||
app.canvas.ds.offset[1] = -group.pos[1] - group.size[1] * 0.5 + (app.canvas.canvas.height * 0.5) / app.canvas.ds.scale;
|
||||
app.canvas.setDirty(true, true);
|
||||
app.canvas.setZoom(1)
|
||||
})
|
||||
buttons.append(go_btn)
|
||||
let see_btn = document.createElement('button')
|
||||
let defaultStyle = `cursor:pointer;font-size:10px;;padding:2px;border: 1px solid var(--border-color);border-radius:4px;width:36px;`
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:var(--theme-color);color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
let pressTimer
|
||||
let firstTime =0, lastTime =0
|
||||
let isHolding = false
|
||||
see_btn.addEventListener('click', () => {
|
||||
if(isHolding){
|
||||
isHolding = false
|
||||
return
|
||||
}
|
||||
for (const node of nodesInGroup) {
|
||||
node.mode = isGroupShow ? 4 : 0;
|
||||
node.graph.change();
|
||||
}
|
||||
isGroupShow = nodesInGroup[0].mode == 0 ? true : false
|
||||
isGroupMute = nodesInGroup[0].mode == 2 ? true : false
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:#006691;color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
})
|
||||
see_btn.addEventListener('mousedown', () => {
|
||||
firstTime = new Date().getTime();
|
||||
clearTimeout(pressTimer);
|
||||
pressTimer = setTimeout(_=>{
|
||||
for (const node of nodesInGroup) {
|
||||
node.mode = isGroupMute ? 0 : 2;
|
||||
node.graph.change();
|
||||
}
|
||||
isGroupShow = nodesInGroup[0].mode == 0 ? true : false
|
||||
isGroupMute = nodesInGroup[0].mode == 2 ? true : false
|
||||
see_btn.style = isGroupMute ? `background-color:var(--error-text);color:var(--input-text);` + defaultStyle : (isGroupShow ? `background-color:#006691;color:var(--input-text);` + defaultStyle : `background-color: var(--comfy-input-bg);color:var(--descrip-text);` + defaultStyle)
|
||||
see_btn.innerText = isGroupMute ? mute_text : (isGroupShow ? show_text : hide_text)
|
||||
},500)
|
||||
})
|
||||
see_btn.addEventListener('mouseup', () => {
|
||||
lastTime = new Date().getTime();
|
||||
if(lastTime - firstTime > 500) isHolding = true
|
||||
clearTimeout(pressTimer);
|
||||
})
|
||||
buttons.append(see_btn)
|
||||
group_item.append(buttons)
|
||||
|
||||
groupsDiv.append(group_item)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
let groupsDiv = document.createElement('div')
|
||||
groupsDiv.id = 'easyuse-groups-items'
|
||||
groupsDiv.style = `overflow-y: auto;max-height: 400px;height:100%;width: 100%;`
|
||||
|
||||
let autoSortDiv = document.createElement('button')
|
||||
autoSortDiv.style = `cursor:pointer;font-size:10px;padding:2px 4px;color:var(--input-text);background-color: var(--comfy-input-bg);border: 1px solid var(--border-color);border-radius:4px;`
|
||||
autoSortDiv.innerText = $t('Auto Sorting')
|
||||
autoSortDiv.addEventListener('click',e=>{
|
||||
e.preventDefault()
|
||||
groupsDiv.innerHTML = ``
|
||||
let new_groups = groups.sort((a,b)=> a['pos'][0] - b['pos'][0]).sort((a,b)=> a['pos'][1] - b['pos'][1])
|
||||
updateGroups(new_groups, groupsDiv, autoSortDiv)
|
||||
})
|
||||
|
||||
updateGroups(groups, groupsDiv, autoSortDiv)
|
||||
|
||||
div.appendChild(groupsDiv)
|
||||
|
||||
let remarkDiv = document.createElement('p')
|
||||
remarkDiv.style = `text-align:center; font-size:10px; padding:0 10px;color:var(--descrip-text)`
|
||||
remarkDiv.innerText = $t('Toggle `Show/Hide` can set mode of group, LongPress can set group nodes to never')
|
||||
div.appendChild(groupsDiv)
|
||||
div.appendChild(remarkDiv)
|
||||
div.appendChild(autoSortDiv)
|
||||
|
||||
let graphDiv = document.getElementById("graph-canvas")
|
||||
graphDiv.addEventListener('mouseover', async () => {
|
||||
groupsDiv.innerHTML = ``
|
||||
let new_groups = app.canvas.graph._groups
|
||||
updateGroups(new_groups, groupsDiv, autoSortDiv)
|
||||
old_nodes = nodes
|
||||
})
|
||||
|
||||
if (!document.querySelector('#easyuse_groups_map')){
|
||||
document.body.appendChild(div)
|
||||
}else{
|
||||
div.style.display = 'flex'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async function cleanup(){
|
||||
try {
|
||||
const {Running, Pending} = await api.getQueue()
|
||||
if(Running.length>0 || Pending.length>0){
|
||||
toast.error($t("Clean Failed")+ ":"+ $t("Please stop all running tasks before cleaning GPU"))
|
||||
return
|
||||
}
|
||||
api.fetchApi("/easyuse/cleangpu",{
|
||||
method:"POST"
|
||||
}).then(res=>{
|
||||
if(res.status == 200){
|
||||
toast.success($t("Clean SuccessFully"))
|
||||
}else{
|
||||
toast.error($t("Clean Failed"))
|
||||
}
|
||||
})
|
||||
|
||||
} catch (exception) {}
|
||||
}
|
||||
|
||||
|
||||
let guideDialog = null
|
||||
let isDownloading = false
|
||||
function download_model(url,local_dir){
|
||||
if(isDownloading || !url || !local_dir) return
|
||||
isDownloading = true
|
||||
let body = new FormData();
|
||||
body.append('url', url);
|
||||
body.append('local_dir', local_dir);
|
||||
api.fetchApi("/easyuse/model/download",{
|
||||
method:"POST",
|
||||
body
|
||||
}).then(res=>{
|
||||
if(res.status == 200){
|
||||
toast.success($t("Download SuccessFully"))
|
||||
}else{
|
||||
toast.error($t("Download Failed"))
|
||||
}
|
||||
isDownloading = false
|
||||
})
|
||||
|
||||
}
|
||||
class GuideDialog {
|
||||
|
||||
constructor(note, need_models){
|
||||
this.dialogDiv = null
|
||||
this.modelsDiv = null
|
||||
|
||||
if(need_models?.length>0){
|
||||
let tbody = []
|
||||
|
||||
for(let i=0;i<need_models.length;i++){
|
||||
tbody.push($el('tr',[
|
||||
$el('td',{innerHTML:need_models[i].title || need_models[i].name || ''}),
|
||||
$el('td',[
|
||||
need_models[i]['download_url'] ? $el('a',{onclick:_=>download_model(need_models[i]['download_url'],need_models[i]['local_dir']), target:"_blank", textContent:$t('Download Model')}) : '',
|
||||
need_models[i]['source_url'] ? $el('a',{href:need_models[i]['source_url'], target:"_blank", textContent:$t('Source Url')}) : '',
|
||||
need_models[i]['desciption'] ? $el('span',{textContent:need_models[i]['desciption']}) : '',
|
||||
]),
|
||||
]))
|
||||
}
|
||||
this.modelsDiv = $el('div.easyuse-guide-dialog-models.markdown-body',[
|
||||
$el('h3',{textContent:$t('Models Required')}),
|
||||
$el('table',{cellpadding:0,cellspacing:0},[
|
||||
$el('thead',[
|
||||
$el('tr',[
|
||||
$el('th',{innerHTML:$t('ModelName')}),
|
||||
$el('th',{innerHTML:$t('Description')}),
|
||||
])
|
||||
]),
|
||||
$el('tbody',tbody)
|
||||
])
|
||||
])
|
||||
}
|
||||
|
||||
this.dialogDiv = $el('div.easyuse-guide-dialog.hidden',[
|
||||
$el('div.easyuse-guide-dialog-header',[
|
||||
$el('div.easyuse-guide-dialog-top',[
|
||||
$el('div.easyuse-guide-dialog-title',{
|
||||
innerHTML:$t('Workflow Guide')
|
||||
}),
|
||||
$el('button.closeBtn',{innerHTML:closeIcon,onclick:_=>this.close()})
|
||||
]),
|
||||
|
||||
$el('div.easyuse-guide-dialog-remark',{
|
||||
innerHTML:`${$t('Workflow created by')} <a href="https://github.com/yolain/" target="_blank">Yolain</a> , ${$t('Watch more video content')} <a href="https://space.bilibili.com/1840885116" target="_blank">B站乱乱呀</a>`
|
||||
})
|
||||
]),
|
||||
$el('div.easyuse-guide-dialog-content.markdown-body',[
|
||||
$el('div.easyuse-guide-dialog-note',{
|
||||
innerHTML:note
|
||||
}),
|
||||
...this.modelsDiv ? [this.modelsDiv] : []
|
||||
])
|
||||
])
|
||||
|
||||
if(disableRenderInfo){
|
||||
this.dialogDiv.classList.add('disable-render-info')
|
||||
}
|
||||
document.body.appendChild(this.dialogDiv)
|
||||
}
|
||||
show(){
|
||||
if(this.dialogDiv) this.dialogDiv.classList.remove('hidden')
|
||||
}
|
||||
|
||||
close(){
|
||||
if(this.dialogDiv){
|
||||
this.dialogDiv.classList.add('hidden')
|
||||
}
|
||||
}
|
||||
toggle(){
|
||||
if(this.dialogDiv){
|
||||
if(this.dialogDiv.classList.contains('hidden')){
|
||||
this.show()
|
||||
}else{
|
||||
this.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
remove(){
|
||||
if(this.dialogDiv) document.body.removeChild(this.dialogDiv)
|
||||
}
|
||||
}
|
||||
|
||||
// toolbar
|
||||
const toolBarId = "Comfy.EasyUse.toolBar"
|
||||
const getEnableToolBar = _ => app.ui.settings.getSettingValue(toolBarId, true)
|
||||
const getNewMenuPosition = _ => {
|
||||
try{
|
||||
return app.ui.settings.getSettingValue('Comfy.UseNewMenu', 'Disabled')
|
||||
}catch (e){
|
||||
return 'Disabled'
|
||||
}
|
||||
}
|
||||
|
||||
let note = null
|
||||
let toolbar = null
|
||||
let enableToolBar = getEnableToolBar() && getNewMenuPosition() == 'Disabled'
|
||||
let disableRenderInfo = localStorage['Comfy.Settings.Comfy.EasyUse.disableRenderInfo'] ? true : false
|
||||
export function addToolBar(app) {
|
||||
app.ui.settings.addSetting({
|
||||
id: toolBarId,
|
||||
name: $t("Enable tool bar fixed on the left-bottom (ComfyUI-Easy-Use)"),
|
||||
type: "boolean",
|
||||
defaultValue: enableToolBar,
|
||||
onChange(value) {
|
||||
enableToolBar = !!value;
|
||||
if(enableToolBar){
|
||||
showToolBar()
|
||||
}else hideToolBar()
|
||||
},
|
||||
});
|
||||
}
|
||||
function showToolBar(){
|
||||
if(toolbar) toolbar.style.display = 'flex'
|
||||
}
|
||||
function hideToolBar(){
|
||||
if(toolbar) toolbar.style.display = 'none'
|
||||
}
|
||||
let monitor = null
|
||||
function setCrystoolsUI(position){
|
||||
const crystools = document.getElementById('crystools-root')?.children || null
|
||||
if(crystools?.length>0){
|
||||
if(!monitor){
|
||||
for (let i = 0; i < crystools.length; i++) {
|
||||
if (crystools[i].id === 'crystools-monitor-container') {
|
||||
monitor = crystools[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(monitor){
|
||||
if(position == 'Disabled'){
|
||||
let replace = true
|
||||
for (let i = 0; i < crystools.length; i++) {
|
||||
if (crystools[i].id === 'crystools-monitor-container') {
|
||||
replace = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
document.getElementById('crystools-root').appendChild(monitor)
|
||||
}
|
||||
else {
|
||||
let monitor_div = document.getElementById('comfyui-menu-monitor')
|
||||
if(!monitor_div) app.menu.settingsGroup.element.before($el('div',{id:'comfyui-menu-monitor'},monitor))
|
||||
else monitor_div.appendChild(monitor)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
const changeNewMenuPosition = app.ui.settings.settingsLookup?.['Comfy.UseNewMenu']
|
||||
if(changeNewMenuPosition) changeNewMenuPosition.onChange = v => {
|
||||
v == 'Disabled' ? showToolBar() : hideToolBar()
|
||||
setCrystoolsUI(v)
|
||||
}
|
||||
|
||||
|
||||
|
||||
app.registerExtension({
|
||||
name: "comfy.easyUse",
|
||||
init() {
|
||||
// Canvas Menu
|
||||
const getCanvasMenuOptions = LGraphCanvas.prototype.getCanvasMenuOptions;
|
||||
LGraphCanvas.prototype.getCanvasMenuOptions = function () {
|
||||
const options = getCanvasMenuOptions.apply(this, arguments);
|
||||
let emptyImg = new Image()
|
||||
emptyImg.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";
|
||||
|
||||
options.push(null,
|
||||
// Groups Map
|
||||
{
|
||||
content: groupIcon.replace('currentColor','var(--warning-color)') + ' '+ $t('Groups Map') + ' (EasyUse)',
|
||||
callback: async() => {
|
||||
createGroupMap()
|
||||
}
|
||||
},
|
||||
// Force clean ComfyUI GPU Used 强制卸载模型GPU占用
|
||||
{
|
||||
content: rocketIcon.replace('currentColor','var(--theme-color-light)') + ' '+ $t('Cleanup Of GPU Usage') + ' (EasyUse)',
|
||||
callback: async() =>{
|
||||
await cleanup()
|
||||
}
|
||||
},
|
||||
// Only show the reboot option if the server is running on a local network 仅在本地或局域网环境可重启服务
|
||||
isLocalNetwork(window.location.host) ? {
|
||||
content: rebootIcon.replace('currentColor','var(--error-color)') + ' '+ $t('Reboot ComfyUI') + ' (EasyUse)',
|
||||
callback: _ =>{
|
||||
if (confirm($t("Are you sure you'd like to reboot the server?"))){
|
||||
try {
|
||||
api.fetchApi("/easyuse/reboot");
|
||||
} catch (exception) {}
|
||||
}
|
||||
}
|
||||
} : null,
|
||||
);
|
||||
return options;
|
||||
};
|
||||
|
||||
let renderInfoEvent = LGraphCanvas.prototype.renderInfo
|
||||
if(disableRenderInfo){
|
||||
LGraphCanvas.prototype.renderInfo = function (ctx, x, y) {}
|
||||
}
|
||||
|
||||
if(!toolbar){
|
||||
toolbar = $el('div.easyuse-toolbar',[
|
||||
$el('div.easyuse-toolbar-item',{
|
||||
onclick:_=>{
|
||||
createGroupMap()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.group', {innerHTML:groupIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Groups Map'))
|
||||
]),
|
||||
$el('div.easyuse-toolbar-item',{
|
||||
onclick:async()=>{
|
||||
await cleanup()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.rocket',{innerHTML:rocketIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Cleanup Of GPU Usage'))
|
||||
]),
|
||||
])
|
||||
if(disableRenderInfo){
|
||||
toolbar.classList.add('disable-render-info')
|
||||
}else{
|
||||
toolbar.classList.remove('disable-render-info')
|
||||
}
|
||||
document.body.appendChild(toolbar)
|
||||
}
|
||||
|
||||
// rewrite handleFile
|
||||
let loadGraphDataEvent = app.loadGraphData
|
||||
app.loadGraphData = async function (data, clean=true) {
|
||||
// if(data?.extra?.cpr){
|
||||
// toast.copyright()
|
||||
// }
|
||||
if(data?.extra?.note){
|
||||
if(guideDialog) {
|
||||
guideDialog.remove()
|
||||
guideDialog = null
|
||||
}
|
||||
if(note && toolbar) toolbar.removeChild(note)
|
||||
const need_models = data.extra?.need_models || null
|
||||
guideDialog = new GuideDialog(data.extra.note, need_models)
|
||||
note = $el('div.easyuse-toolbar-item',{
|
||||
onclick:async()=>{
|
||||
guideDialog.toggle()
|
||||
}
|
||||
},[
|
||||
$el('div.easyuse-toolbar-icon.question',{innerHTML:quesitonIcon}),
|
||||
$el('div.easyuse-toolbar-tips',$t('Workflow Guide'))
|
||||
])
|
||||
if(toolbar) toolbar.insertBefore(note, toolbar.firstChild)
|
||||
}
|
||||
else{
|
||||
if(note) {
|
||||
toolbar.removeChild(note)
|
||||
note = null
|
||||
}
|
||||
}
|
||||
return await loadGraphDataEvent.apply(this, [...arguments])
|
||||
}
|
||||
|
||||
addToolBar(app)
|
||||
},
|
||||
async setup() {
|
||||
// New style menu button
|
||||
if(app.menu?.actionsGroup){
|
||||
const groupMap = new (await import('../../../../scripts/ui/components/button.js')).ComfyButton({
|
||||
icon:'list-box',
|
||||
action:()=> createGroupMap(),
|
||||
tooltip: "EasyUse Group Map",
|
||||
// content: "EasyUse Group Map",
|
||||
classList: "comfyui-button comfyui-menu-mobile-collapse"
|
||||
});
|
||||
app.menu.actionsGroup.element.after(groupMap.element);
|
||||
const position = getNewMenuPosition()
|
||||
setCrystoolsUI(position)
|
||||
if(position == 'Disabled') showToolBar()
|
||||
else hideToolBar()
|
||||
// const easyNewMenu = $el('div.easyuse-new-menu',[
|
||||
// $el('div.easyuse-new-menu-intro',[
|
||||
// $el('div.easyuse-new-menu-logo',{innerHTML:logoIcon}),
|
||||
// $el('div.easyuse-new-menu-title',[
|
||||
// $el('div.title',{textContent:'ComfyUI-Easy-Use'}),
|
||||
// $el('div.desc',{textContent:'Version:'})
|
||||
// ])
|
||||
// ])
|
||||
// ])
|
||||
// app.menu?.actionsGroup.element.after(new (await import('../../../../scripts/ui/components/splitButton.js')).ComfySplitButton({
|
||||
// primary: groupMap,
|
||||
// mode:'click',
|
||||
// position:'absolute',
|
||||
// horizontal: 'right'
|
||||
// },easyNewMenu).element);
|
||||
}
|
||||
|
||||
},
|
||||
beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name.startsWith("easy")) {
|
||||
const origOnConfigure = nodeType.prototype.onConfigure;
|
||||
nodeType.prototype.onConfigure = function () {
|
||||
const r = origOnConfigure ? origOnConfigure.apply(this, arguments) : undefined;
|
||||
return r;
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
+1274
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"id": "info",
|
||||
"repo": "Kosinkadink/ComfyUI-VideoHelperSuite",
|
||||
"commit": "4ee72c065db22c9d96c2427954dc69e7b908444b"
|
||||
},
|
||||
{
|
||||
"id": "kj-old",
|
||||
"repo": "kijai/ComfyUI-KJNodes",
|
||||
"commit": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
|
||||
},
|
||||
{
|
||||
"id": "kj-new",
|
||||
"repo": "kijai/ComfyUI-KJNodes",
|
||||
"commit": "57105374f47d0fbb49c9c3926fb981702e0a4b5c"
|
||||
},
|
||||
{
|
||||
"id": "show-new",
|
||||
"repo": "yolain/ComfyUI-Easy-Use",
|
||||
"commit": "450b1ce4ce43b2280521c87f5fa388a898fb2ad2"
|
||||
},
|
||||
{
|
||||
"id": "loop-end",
|
||||
"repo": "yolain/ComfyUI-Easy-Use",
|
||||
"commit": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7"
|
||||
},
|
||||
{
|
||||
"id": "batch",
|
||||
"repo": "yolain/ComfyUI-Easy-Use",
|
||||
"commit": "625efbfa2fc20c31797dfffcbb41a26b6d91ab7b"
|
||||
},
|
||||
{
|
||||
"id": "save",
|
||||
"repo": "yolain/ComfyUI-Easy-Media",
|
||||
"commit": "a22fdcfbef30a0ceba4a930cc72cb5b99e801546"
|
||||
},
|
||||
{
|
||||
"id": "merge",
|
||||
"repo": "yolain/ComfyUI-Easy-Media",
|
||||
"commit": "007fa6ff85e6d8f420b9b51ac710c0f0d759c430"
|
||||
},
|
||||
{
|
||||
"id": "core-math",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"commit": "856a922befab9d94cb66f36a3dce17234d7a6e31"
|
||||
},
|
||||
{
|
||||
"id": "core-video",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"commit": "a8c44f9b2a0678ac4082e3529a3f43db7472acfe"
|
||||
}
|
||||
]
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -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)
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,421 @@
|
||||
from .nodes.nodes import (
|
||||
BOOLConstant, INTConstant, FloatConstant, StringConstant, StringConstantMultiline,
|
||||
ScaleBatchPromptSchedule, GetLatentsFromBatchIndexed, ConditioningMultiCombine,
|
||||
AppendStringsToList, JoinStrings, JoinStringMulti, CondPassThrough, ModelPassThrough,
|
||||
ConditioningSetMaskAndCombine, ConditioningSetMaskAndCombine3,
|
||||
ConditioningSetMaskAndCombine4, ConditioningSetMaskAndCombine5,
|
||||
VRAM_Debug, SomethingToString, Sleep, EmptyLatentImagePresets,
|
||||
EmptyLatentImageCustomPresets, WidgetToString, DummyOut, FlipSigmasAdjusted,
|
||||
CustomSigmas, StringToFloatList, InjectNoiseToLatent, SoundReactive, GenerateNoise,
|
||||
StableZero123_BatchSchedule, SV3D_BatchSchedule, Superprompt, CameraPoseVisualizer,
|
||||
CheckpointPerturbWeights, DifferentialDiffusionAdvanced, FluxBlockLoraSelect,
|
||||
HunyuanVideoBlockLoraSelect, Wan21BlockLoraSelect, LTX2BlockLoraSelect,
|
||||
DiTBlockLoraLoader, CustomControlNetWeightsFluxFromList,
|
||||
SetShakkerLabsUnionControlNetType, ModelSaveKJ, StyleModelApplyAdvanced,
|
||||
AudioConcatenate, LeapfusionHunyuanI2V, ImageNoiseAugmentation, VAELoaderKJ, VAEMergeKJ,
|
||||
ScheduledCFGGuidance, ApplyRifleXRoPE_WanVideo, ApplyRifleXRoPE_HunuyanVideo,
|
||||
TimerNodeKJ, HunyuanVideoEncodeKeyframesToCond, LazySwitchKJ, LatentInpaintTTM,
|
||||
SimpleCalculatorKJ, GetTrackRange, AddNoiseToTrackPath, VAEDecodeLoopKJ,
|
||||
WanImageToVideoSVIPro, DeprecatedCompileNodeKJ, VisualizeSigmasKJ,
|
||||
PreviewLatentNoiseMask, PlaySoundKJ,
|
||||
)
|
||||
from .nodes.curve_nodes import (
|
||||
PlotCoordinates, SplineEditor, CreateShapeMaskOnPath, CreateShapeImageOnPath,
|
||||
CreateTextOnPath, CreateGradientFromCoords, GradientToFloat, MaskOrImageToWeight,
|
||||
WeightScheduleConvert, FloatToMask, WeightScheduleExtend, FloatToSigmas, SigmasToFloat,
|
||||
GLIGENTextBoxApplyBatchCoords, CreateInstanceDiffusionTracking,
|
||||
AppendInstanceDiffusionTracking, InterpolateCoords, DrawInstanceDiffusionTracking,
|
||||
PointsEditor, CutAndDragOnPath,
|
||||
)
|
||||
from .nodes.batchcrop_nodes import (
|
||||
BatchCropFromMask, BatchUncrop, BatchCropFromMaskAdvanced,
|
||||
FilterZeroMasksAndCorrespondingImages, InsertImageBatchByIndexes, BatchUncropAdvanced,
|
||||
SplitBboxes, BboxToInt, BboxVisualize,
|
||||
)
|
||||
from .nodes.audioscheduler_nodes import (
|
||||
NormalizedAmplitudeToMask, NormalizedAmplitudeToFloatList,
|
||||
OffsetMaskByNormalizedAmplitude, ImageTransformByNormalizedAmplitude,
|
||||
)
|
||||
from .nodes.image_nodes import (
|
||||
ImagePass, ColorMatch, ColorMatchV2, SaveImageWithAlpha, ImageConcanate,
|
||||
ImageConcatFromBatch, ImageGridComposite2x2, ImageGridComposite3x3,
|
||||
ImageBatchTestPattern, ImageGrabPIL, Screencap_mss, ScreencapStream, WebcamCaptureCV2,
|
||||
AddLabel, GetImageSizeAndCount, GetLatentSizeAndCount, ImageBatchRepeatInterleaving,
|
||||
ImageUpscaleWithModelBatched, ImageNormalize_Neg1_To_1, RemapImageRange,
|
||||
SplitImageChannels, MergeImageChannels, ImagePadForOutpaintMasked,
|
||||
ImagePadForOutpaintTargetSize, ImagePrepForICLora, ImageAndMaskPreview,
|
||||
CrossFadeImages, CrossFadeImagesMulti, TransitionImagesMulti, TransitionImagesInBatch,
|
||||
ImageBatchJoinWithTransition, ShuffleImageBatch, GetImageRangeFromBatch,
|
||||
RandomImageFromBatch, ImageBatchExtendWithOverlap, GetLatentRangeFromBatch,
|
||||
InsertLatentToIndex, ImageBatchFilter, GetImagesFromBatchIndexed,
|
||||
InsertImagesToBatchIndexed, PadImageBatchInterleaved, ReplaceImagesInBatch,
|
||||
ReverseImageBatch, ImageBatchMulti, ImageTensorList, ImageAddMulti, ImageConcatMulti,
|
||||
PreviewAnimation, ImageResizeKJ, ImageResizeKJv2, LoadAndResizeImage,
|
||||
LoadImagesFromFolderKJ, ImageGridtoBatch, SaveImageKJ, SaveStringKJ, FastPreview,
|
||||
FastPreviewBatch, ImageCropByMaskAndResize, ImageCropByMask, ImageUncropByMask,
|
||||
ImageCropByMaskBatch, ImagePadKJ, LoadVideosFromFolder, EncodeVideoComponents,
|
||||
DecodeAndSaveVideo, PreviewImageOrMask,
|
||||
)
|
||||
|
||||
from .nodes.mask_nodes import (
|
||||
BatchCLIPSeg, DownloadAndLoadCLIPSeg, CreateTextMask, ColorToMask, CreateFluidMask,
|
||||
CreateAudioMask, CreateGradientMask, CreateFadeMask, CreateFadeMaskAdvanced,
|
||||
CreateMagicMask, CreateShapeMask, CreateVoronoiMask, GetMaskSizeAndCount,
|
||||
GrowMaskWithBlur, MaskBatchMulti, OffsetMask, RoundMask, ResizeMask, RemapMaskRange,
|
||||
SeparateMasks, ConsolidateMasksKJ, DrawMaskOnImage, BlockifyMask,
|
||||
)
|
||||
from .nodes.model_optimization_nodes import (
|
||||
PathchSageAttentionKJ, PatchFlashAttentionKJ, CheckpointLoaderKJ, DiffusionModelSelector,
|
||||
DiffusionModelLoaderKJ, ModelPatchTorchSettings, PatchModelPatcherOrder,
|
||||
TorchCompileModelFluxAdvancedV2, TorchCompileModelWanVideoV2,
|
||||
TorchCompileModelAdvanced, TorchCompileVAE, TorchCompileControlNet,
|
||||
WanVideoTeaCacheKJ, WanVideoEnhanceAVideoKJ, LTXVEnhanceAVideoKJ, WanVideoNAG, Krea2PromptWeight,
|
||||
SkipLayerGuidanceWanVideo, CFGZeroStarAndInit, GGUFLoaderKJ, NABLA_AttentionKJ,
|
||||
StartRecordCUDAMemoryHistory, EndRecordCUDAMemoryHistory, VisualizeCUDAMemoryHistory,
|
||||
ModelMemoryUseReportPatch, ModelMemoryUsageFactorOverride, WanChunkFeedForward,
|
||||
SamplerSelfRefineVideo, PiDColorBiasCorrection, Ideogram4OptimizationsKJ,
|
||||
)
|
||||
from .nodes.lora_nodes import LoraExtractKJ, LoraReduceRank
|
||||
from .nodes.image_transform_node import ImageTransformKJ, BBOXToBoundingBoxKJ
|
||||
from .nodes.sharpen_nodes import ImageSharpenKJ
|
||||
from .nodes.nodes_looping import LOOP_NODES
|
||||
from .nodes.hdr_preview_node import HDRPreviewKJ
|
||||
from .nodes.preview_override_node import ModelPreviewOverrideKJ, GetPreviewOverrideFramesKJ
|
||||
from .nodes.context_windows_visualizer import ContextWindowsVisualizerKJ
|
||||
from .nodes.ideogram4_nodes import Ideogram4PromptBuilderKJ
|
||||
|
||||
import logging
|
||||
|
||||
NODE_CONFIG = {
|
||||
#constants
|
||||
"BOOLConstant": {"class": BOOLConstant, "name": "BOOL Constant"},
|
||||
"INTConstant": {"class": INTConstant, "name": "INT Constant"},
|
||||
"FloatConstant": {"class": FloatConstant, "name": "Float Constant"},
|
||||
"StringConstant": {"class": StringConstant, "name": "String Constant"},
|
||||
"StringConstantMultiline": {"class": StringConstantMultiline, "name": "String Constant Multiline"},
|
||||
#conditioning
|
||||
"ConditioningMultiCombine": {"class": ConditioningMultiCombine, "name": "Conditioning Multi Combine"},
|
||||
"ConditioningSetMaskAndCombine": {"class": ConditioningSetMaskAndCombine, "name": "ConditioningSetMaskAndCombine"},
|
||||
"ConditioningSetMaskAndCombine3": {"class": ConditioningSetMaskAndCombine3, "name": "ConditioningSetMaskAndCombine3"},
|
||||
"ConditioningSetMaskAndCombine4": {"class": ConditioningSetMaskAndCombine4, "name": "ConditioningSetMaskAndCombine4"},
|
||||
"ConditioningSetMaskAndCombine5": {"class": ConditioningSetMaskAndCombine5, "name": "ConditioningSetMaskAndCombine5"},
|
||||
"CondPassThrough": {"class": CondPassThrough},
|
||||
"WanImageToVideoSVIPro": {"class": WanImageToVideoSVIPro, "name": "Wan Image To Video SVIPro"},
|
||||
#masking
|
||||
"DrawMaskOnImage": {"class": DrawMaskOnImage, "name": "Draw Mask On Image"},
|
||||
"DownloadAndLoadCLIPSeg": {"class": DownloadAndLoadCLIPSeg, "name": "(Down)load CLIPSeg"},
|
||||
"BatchCLIPSeg": {"class": BatchCLIPSeg, "name": "Batch CLIPSeg"},
|
||||
"BlockifyMask": {"class": BlockifyMask, "name": "Blockify Mask"},
|
||||
"ColorToMask": {"class": ColorToMask, "name": "Color To Mask"},
|
||||
"CreateGradientMask": {"class": CreateGradientMask, "name": "Create Gradient Mask"},
|
||||
"CreateTextMask": {"class": CreateTextMask, "name": "Create Text Mask"},
|
||||
"CreateAudioMask": {"class": CreateAudioMask, "name": "Create Audio Mask"},
|
||||
"CreateFadeMask": {"class": CreateFadeMask, "name": "Create Fade Mask"},
|
||||
"CreateFadeMaskAdvanced": {"class": CreateFadeMaskAdvanced, "name": "Create Fade Mask Advanced"},
|
||||
"CreateFluidMask": {"class": CreateFluidMask, "name": "Create Fluid Mask"},
|
||||
"CreateShapeMask": {"class": CreateShapeMask, "name": "Create Shape Mask"},
|
||||
"CreateVoronoiMask": {"class": CreateVoronoiMask, "name": "Create Voronoi Mask"},
|
||||
"CreateMagicMask": {"class": CreateMagicMask, "name": "Create Magic Mask"},
|
||||
"GetMaskSizeAndCount": {"class": GetMaskSizeAndCount, "name": "Get Mask Size & Count"},
|
||||
"GrowMaskWithBlur": {"class": GrowMaskWithBlur, "name": "Grow Mask With Blur"},
|
||||
"MaskBatchMulti": {"class": MaskBatchMulti, "name": "Mask Batch Multi"},
|
||||
"OffsetMask": {"class": OffsetMask, "name": "Offset Mask"},
|
||||
"RemapMaskRange": {"class": RemapMaskRange, "name": "Remap Mask Range"},
|
||||
"ResizeMask": {"class": ResizeMask, "name": "Resize Mask"},
|
||||
"RoundMask": {"class": RoundMask, "name": "Round Mask"},
|
||||
"SeparateMasks": {"class": SeparateMasks, "name": "Separate Masks"},
|
||||
"ConsolidateMasksKJ": {"class": ConsolidateMasksKJ, "name": "Consolidate Masks"},
|
||||
#images
|
||||
"AddLabel": {"class": AddLabel, "name": "Add Label"},
|
||||
"ColorMatch": {"class": ColorMatch, "name": "Color Match"},
|
||||
"ColorMatchV2": {"class": ColorMatchV2, "name": "Color Match V2"},
|
||||
"ImageTensorList": {"class": ImageTensorList, "name": "Image Tensor List"},
|
||||
"CrossFadeImages": {"class": CrossFadeImages, "name": "Cross Fade Images"},
|
||||
"CrossFadeImagesMulti": {"class": CrossFadeImagesMulti, "name": "Cross Fade Images Multi"},
|
||||
"GetImagesFromBatchIndexed": {"class": GetImagesFromBatchIndexed, "name": "Get Images From Batch Indexed"},
|
||||
"GetImageRangeFromBatch": {"class": GetImageRangeFromBatch, "name": "Get Image or Mask Range From Batch"},
|
||||
"RandomImageFromBatch": {"class": RandomImageFromBatch, "name": "Random Image From Batch"},
|
||||
"GetLatentRangeFromBatch": {"class": GetLatentRangeFromBatch, "name": "Get Latent Range From Batch"},
|
||||
"GetLatentSizeAndCount": {"class": GetLatentSizeAndCount, "name": "Get Latent Size & Count"},
|
||||
"GetImageSizeAndCount": {"class": GetImageSizeAndCount, "name": "Get Image Size & Count"},
|
||||
"FastPreview": {"class": FastPreview, "name": "Fast Preview"},
|
||||
"FastPreviewBatch": {"class": FastPreviewBatch, "name": "Fast Preview Batch"},
|
||||
"ImageBatchFilter": {"class": ImageBatchFilter, "name": "Image Batch Filter"},
|
||||
"ImageAndMaskPreview": {"class": ImageAndMaskPreview},
|
||||
"ImageAddMulti": {"class": ImageAddMulti, "name": "Image Add Multi"},
|
||||
"ImageBatchJoinWithTransition": {"class": ImageBatchJoinWithTransition, "name": "Image Batch Join With Transition"},
|
||||
"ImageBatchMulti": {"class": ImageBatchMulti, "name": "Image Batch Multi"},
|
||||
"ImageBatchRepeatInterleaving": {"class": ImageBatchRepeatInterleaving},
|
||||
"ImageBatchTestPattern": {"class": ImageBatchTestPattern, "name": "Image Batch Test Pattern"},
|
||||
"ImageConcanate": {"class": ImageConcanate, "name": "Image Concatenate"},
|
||||
"ImageConcatFromBatch": {"class": ImageConcatFromBatch, "name": "Image Concatenate From Batch"},
|
||||
"ImageConcatMulti": {"class": ImageConcatMulti, "name": "Image Concatenate Multi"},
|
||||
"ImageCropByMask": {"class": ImageCropByMask, "name": "Image Crop By Mask"},
|
||||
"ImageCropByMaskAndResize": {"class": ImageCropByMaskAndResize, "name": "Image Crop By Mask And Resize"},
|
||||
"ImageCropByMaskBatch": {"class": ImageCropByMaskBatch, "name": "Image Crop By Mask Batch"},
|
||||
"ImageUncropByMask": {"class": ImageUncropByMask, "name": "Image Uncrop By Mask"},
|
||||
"ImageBatchExtendWithOverlap": {"class": ImageBatchExtendWithOverlap, "name": "Image Batch Extend With Overlap"},
|
||||
"ImageGrabPIL": {"class": ImageGrabPIL, "name": "Image Grab PIL"},
|
||||
"ImageGridComposite2x2": {"class": ImageGridComposite2x2, "name": "Image Grid Composite 2x2"},
|
||||
"ImageGridComposite3x3": {"class": ImageGridComposite3x3, "name": "Image Grid Composite 3x3"},
|
||||
"ImageGridtoBatch": {"class": ImageGridtoBatch, "name": "Image Grid To Batch"},
|
||||
"ImageNoiseAugmentation": {"class": ImageNoiseAugmentation, "name": "Image Noise Augmentation"},
|
||||
"ImageNormalize_Neg1_To_1": {"class": ImageNormalize_Neg1_To_1, "name": "Image Normalize -1 to 1"},
|
||||
"ImagePass": {"class": ImagePass},
|
||||
"ImagePadKJ": {"class": ImagePadKJ, "name": "ImagePad KJ"},
|
||||
"ImagePadForOutpaintMasked": {"class": ImagePadForOutpaintMasked, "name": "Image Pad For Outpaint Masked"},
|
||||
"ImagePadForOutpaintTargetSize": {"class": ImagePadForOutpaintTargetSize, "name": "Image Pad For Outpaint Target Size"},
|
||||
"ImagePrepForICLora": {"class": ImagePrepForICLora, "name": "Image Prep For ICLora"},
|
||||
"ImageResizeKJ": {"class": ImageResizeKJ, "name": "Resize Image (deprecated)"},
|
||||
"ImageResizeKJv2": {"class": ImageResizeKJv2, "name": "Resize Image v2"},
|
||||
"ImageUpscaleWithModelBatched": {"class": ImageUpscaleWithModelBatched, "name": "Image Upscale With Model Batched"},
|
||||
"InsertImagesToBatchIndexed": {"class": InsertImagesToBatchIndexed, "name": "Insert Images To Batch Indexed"},
|
||||
"InsertLatentToIndexed": {"class": InsertLatentToIndex, "name": "Insert Latent To Index"},
|
||||
"LoadAndResizeImage": {"class": LoadAndResizeImage, "name": "Load & Resize Image"},
|
||||
"LoadImagesFromFolderKJ": {"class": LoadImagesFromFolderKJ, "name": "Load Images From Folder (KJ)"},
|
||||
"LoadVideosFromFolder": {"class": LoadVideosFromFolder, "name": "Load Videos From Folder"},
|
||||
"MergeImageChannels": {"class": MergeImageChannels, "name": "Merge Image Channels"},
|
||||
"PadImageBatchInterleaved": {"class": PadImageBatchInterleaved, "name": "Pad Image Batch Interleaved"},
|
||||
"PreviewAnimation": {"class": PreviewAnimation, "name": "Preview Animation"},
|
||||
"RemapImageRange": {"class": RemapImageRange, "name": "Remap Image Range"},
|
||||
"ReverseImageBatch": {"class": ReverseImageBatch, "name": "Reverse Image Batch"},
|
||||
"ReplaceImagesInBatch": {"class": ReplaceImagesInBatch, "name": "Replace Images In Batch"},
|
||||
"SaveImageWithAlpha": {"class": SaveImageWithAlpha, "name": "Save Image With Alpha"},
|
||||
"SaveImageKJ": {"class": SaveImageKJ, "name": "Save Image KJ"},
|
||||
"ShuffleImageBatch": {"class": ShuffleImageBatch, "name": "Shuffle Image Batch"},
|
||||
"SplitImageChannels": {"class": SplitImageChannels, "name": "Split Image Channels"},
|
||||
"TransitionImagesMulti": {"class": TransitionImagesMulti, "name": "Transition Images Multi"},
|
||||
"TransitionImagesInBatch": {"class": TransitionImagesInBatch, "name": "Transition Images In Batch"},
|
||||
"EncodeVideoComponents": {"class": EncodeVideoComponents, "name": "Encode Video Components"},
|
||||
"DecodeAndSaveVideo": {"class": DecodeAndSaveVideo, "name": "Decode And Save Video"},
|
||||
"ImageTransformKJ": {"class": ImageTransformKJ, "name": "Image Transform KJ"},
|
||||
"BBOXToBoundingBoxKJ": {"class": BBOXToBoundingBoxKJ, "name": "BBOX to Bounding Box KJ"},
|
||||
"Ideogram4PromptBuilderKJ": {"class": Ideogram4PromptBuilderKJ, "name": "Ideogram 4 Prompt Builder KJ"},
|
||||
"HDRPreviewKJ": {"class": HDRPreviewKJ, "name": "HDR Preview KJ"},
|
||||
"ModelPreviewOverrideKJ": {"class": ModelPreviewOverrideKJ, "name": "Model Preview Override KJ"},
|
||||
"GetPreviewOverrideFramesKJ": {"class": GetPreviewOverrideFramesKJ, "name": "Get Preview Override Frames KJ"},
|
||||
"PreviewImageOrMask": {"class": PreviewImageOrMask, "name": "Preview Image Or Mask"},
|
||||
"ImageSharpenKJ": {"class": ImageSharpenKJ, "name": "Image Sharpen KJ"},
|
||||
#batch cropping
|
||||
"BatchCropFromMask": {"class": BatchCropFromMask, "name": "Batch Crop From Mask"},
|
||||
"BatchCropFromMaskAdvanced": {"class": BatchCropFromMaskAdvanced, "name": "Batch Crop From Mask Advanced"},
|
||||
"FilterZeroMasksAndCorrespondingImages": {"class": FilterZeroMasksAndCorrespondingImages},
|
||||
"InsertImageBatchByIndexes": {"class": InsertImageBatchByIndexes, "name": "Insert Image Batch By Indexes"},
|
||||
"BatchUncrop": {"class": BatchUncrop, "name": "Batch Uncrop"},
|
||||
"BatchUncropAdvanced": {"class": BatchUncropAdvanced, "name": "Batch Uncrop Advanced"},
|
||||
"SplitBboxes": {"class": SplitBboxes, "name": "Split Bboxes"},
|
||||
"BboxToInt": {"class": BboxToInt, "name": "Bbox To Int"},
|
||||
"BboxVisualize": {"class": BboxVisualize, "name": "Bbox Visualize"},
|
||||
#noise
|
||||
"GenerateNoise": {"class": GenerateNoise, "name": "Generate Noise"},
|
||||
"FlipSigmasAdjusted": {"class": FlipSigmasAdjusted, "name": "Flip Sigmas Adjusted"},
|
||||
"InjectNoiseToLatent": {"class": InjectNoiseToLatent, "name": "Inject Noise To Latent"},
|
||||
"CustomSigmas": {"class": CustomSigmas, "name": "Custom Sigmas"},
|
||||
#utility
|
||||
"StringToFloatList": {"class": StringToFloatList, "name": "String to Float List"},
|
||||
"WidgetToString": {"class": WidgetToString, "name": "Widget To String"},
|
||||
"SaveStringKJ": {"class": SaveStringKJ, "name": "Save String KJ"},
|
||||
"DummyOut": {"class": DummyOut, "name": "Dummy Out"},
|
||||
"GetLatentsFromBatchIndexed": {"class": GetLatentsFromBatchIndexed, "name": "Get Latents From Batch Indexed"},
|
||||
"ScaleBatchPromptSchedule": {"class": ScaleBatchPromptSchedule, "name": "Scale Batch Prompt Schedule"},
|
||||
"CameraPoseVisualizer": {"class": CameraPoseVisualizer, "name": "Camera Pose Visualizer"},
|
||||
"AppendStringsToList": {"class": AppendStringsToList, "name": "Append Strings To List"},
|
||||
"JoinStrings": {"class": JoinStrings, "name": "Join Strings"},
|
||||
"JoinStringMulti": {"class": JoinStringMulti, "name": "Join String Multi"},
|
||||
"SimpleCalculatorKJ": {"class": SimpleCalculatorKJ, "name": "Simple Calculator KJ"},
|
||||
"SomethingToString": {"class": SomethingToString, "name": "Something To String"},
|
||||
"Sleep": {"class": Sleep, "name": "Sleep"},
|
||||
"VRAM_Debug": {"class": VRAM_Debug, "name": "VRAM Debug"},
|
||||
"EmptyLatentImagePresets": {"class": EmptyLatentImagePresets, "name": "Empty Latent Image Presets"},
|
||||
"EmptyLatentImageCustomPresets": {"class": EmptyLatentImageCustomPresets, "name": "Empty Latent Image Custom Presets"},
|
||||
"ModelPassThrough": {"class": ModelPassThrough, "name": "ModelPass"},
|
||||
"ModelSaveKJ": {"class": ModelSaveKJ, "name": "Model Save KJ"},
|
||||
"SetShakkerLabsUnionControlNetType": {"class": SetShakkerLabsUnionControlNetType, "name": "Set Shakker Labs Union ControlNet Type"},
|
||||
"StyleModelApplyAdvanced": {"class": StyleModelApplyAdvanced, "name": "Style Model Apply Advanced"},
|
||||
"DiffusionModelSelector": {"class": DiffusionModelSelector, "name": "Diffusion Model Selector"},
|
||||
"LazySwitchKJ": {"class": LazySwitchKJ, "name": "Lazy Switch KJ"},
|
||||
"VisualizeSigmasKJ": {"class": VisualizeSigmasKJ, "name": "Visualize Sigmas KJ"},
|
||||
#audioscheduler stuff
|
||||
"NormalizedAmplitudeToMask": {"class": NormalizedAmplitudeToMask},
|
||||
"NormalizedAmplitudeToFloatList": {"class": NormalizedAmplitudeToFloatList},
|
||||
"OffsetMaskByNormalizedAmplitude": {"class": OffsetMaskByNormalizedAmplitude},
|
||||
"ImageTransformByNormalizedAmplitude": {"class": ImageTransformByNormalizedAmplitude},
|
||||
"AudioConcatenate": {"class": AudioConcatenate},
|
||||
#curve nodes
|
||||
"SplineEditor": {"class": SplineEditor, "name": "Spline Editor"},
|
||||
"CreateShapeImageOnPath": {"class": CreateShapeImageOnPath, "name": "Create Shape Image On Path"},
|
||||
"CreateShapeMaskOnPath": {"class": CreateShapeMaskOnPath, "name": "Create Shape Mask On Path"},
|
||||
"CreateTextOnPath": {"class": CreateTextOnPath, "name": "Create Text On Path"},
|
||||
"CreateGradientFromCoords": {"class": CreateGradientFromCoords, "name": "Create Gradient From Coords"},
|
||||
"CutAndDragOnPath": {"class": CutAndDragOnPath, "name": "Cut And Drag On Path"},
|
||||
"GradientToFloat": {"class": GradientToFloat, "name": "Gradient To Float"},
|
||||
"WeightScheduleExtend": {"class": WeightScheduleExtend, "name": "Weight Schedule Extend"},
|
||||
"MaskOrImageToWeight": {"class": MaskOrImageToWeight, "name": "Mask Or Image To Weight"},
|
||||
"WeightScheduleConvert": {"class": WeightScheduleConvert, "name": "Weight Schedule Convert"},
|
||||
"FloatToMask": {"class": FloatToMask, "name": "Float To Mask"},
|
||||
"FloatToSigmas": {"class": FloatToSigmas, "name": "Float To Sigmas"},
|
||||
"SigmasToFloat": {"class": SigmasToFloat, "name": "Sigmas To Float"},
|
||||
"PlotCoordinates": {"class": PlotCoordinates, "name": "Plot Coordinates"},
|
||||
"InterpolateCoords": {"class": InterpolateCoords, "name": "Interpolate Coords"},
|
||||
"PointsEditor": {"class": PointsEditor, "name": "Points Editor"},
|
||||
#experimental
|
||||
"SoundReactive": {"class": SoundReactive, "name": "Sound Reactive"},
|
||||
"StableZero123_BatchSchedule": {"class": StableZero123_BatchSchedule, "name": "Stable Zero123 Batch Schedule"},
|
||||
"SV3D_BatchSchedule": {"class": SV3D_BatchSchedule, "name": "SV3D Batch Schedule"},
|
||||
"Superprompt": {"class": Superprompt, "name": "Superprompt"},
|
||||
"GLIGENTextBoxApplyBatchCoords": {"class": GLIGENTextBoxApplyBatchCoords},
|
||||
"CheckpointPerturbWeights": {"class": CheckpointPerturbWeights, "name": "CheckpointPerturbWeights"},
|
||||
"Screencap_mss": {"class": Screencap_mss, "name": "Screencap mss"},
|
||||
"ScreencapStream": {"class": ScreencapStream, "name": "Screencap Stream"},
|
||||
"WebcamCaptureCV2": {"class": WebcamCaptureCV2, "name": "Webcam Capture CV2"},
|
||||
"DifferentialDiffusionAdvanced": {"class": DifferentialDiffusionAdvanced, "name": "Differential Diffusion Advanced"},
|
||||
"DiTBlockLoraLoader": {"class": DiTBlockLoraLoader, "name": "DiT Block Lora Loader"},
|
||||
"FluxBlockLoraSelect": {"class": FluxBlockLoraSelect, "name": "Flux Block Lora Select"},
|
||||
"HunyuanVideoBlockLoraSelect": {"class": HunyuanVideoBlockLoraSelect, "name": "Hunyuan Video Block Lora Select"},
|
||||
"Wan21BlockLoraSelect": {"class": Wan21BlockLoraSelect, "name": "Wan21 Block Lora Select"},
|
||||
"LTX2BlockLoraSelect": {"class": LTX2BlockLoraSelect, "name": "LTX2 Block Lora Select"},
|
||||
"CustomControlNetWeightsFluxFromList": {"class": CustomControlNetWeightsFluxFromList, "name": "Custom ControlNet Weights Flux From List"},
|
||||
"CheckpointLoaderKJ": {"class": CheckpointLoaderKJ, "name": "CheckpointLoaderKJ"},
|
||||
"DiffusionModelLoaderKJ": {"class": DiffusionModelLoaderKJ, "name": "Diffusion Model Loader KJ"},
|
||||
"TorchCompileModelFluxAdvancedV2": {"class": TorchCompileModelFluxAdvancedV2, "name": "TorchCompileModelFluxAdvancedV2"},
|
||||
"TorchCompileVAE": {"class": TorchCompileVAE, "name": "TorchCompileVAE"},
|
||||
"TorchCompileControlNet": {"class": TorchCompileControlNet, "name": "TorchCompileControlNet"},
|
||||
"TorchCompileModelWanVideoV2": {"class": TorchCompileModelWanVideoV2, "name": "TorchCompileModelWanVideoV2"},
|
||||
"PathchSageAttentionKJ": {"class": PathchSageAttentionKJ, "name": "Patch Sage Attention KJ"},
|
||||
"PatchFlashAttentionKJ": {"class": PatchFlashAttentionKJ, "name": "Patch Flash Attention KJ"},
|
||||
"LeapfusionHunyuanI2VPatcher": {"class": LeapfusionHunyuanI2V, "name": "Leapfusion Hunyuan I2V Patcher"},
|
||||
"VAELoaderKJ": {"class": VAELoaderKJ, "name": "VAELoader KJ"},
|
||||
"VAEMergeKJ": {"class": VAEMergeKJ, "name": "VAE Merge KJ"},
|
||||
"VAEDecodeLoopKJ": {"class": VAEDecodeLoopKJ, "name": "VAE Decode Loop KJ"},
|
||||
"ScheduledCFGGuidance": {"class": ScheduledCFGGuidance, "name": "Scheduled CFG Guidance"},
|
||||
"ApplyRifleXRoPE_HunuyanVideo": {"class": ApplyRifleXRoPE_HunuyanVideo, "name": "Apply RifleXRoPE HunuyanVideo"},
|
||||
"ApplyRifleXRoPE_WanVideo": {"class": ApplyRifleXRoPE_WanVideo, "name": "Apply RifleXRoPE WanVideo"},
|
||||
"WanVideoTeaCacheKJ": {"class": WanVideoTeaCacheKJ, "name": "WanVideo Tea Cache (native)"},
|
||||
"WanVideoEnhanceAVideoKJ": {"class": WanVideoEnhanceAVideoKJ, "name": "WanVideo Enhance A Video (native)"},
|
||||
"SkipLayerGuidanceWanVideo": {"class": SkipLayerGuidanceWanVideo, "name": "Skip Layer Guidance WanVideo"},
|
||||
"TimerNodeKJ": {"class": TimerNodeKJ, "name": "Timer Node KJ"},
|
||||
"HunyuanVideoEncodeKeyframesToCond": {"class": HunyuanVideoEncodeKeyframesToCond, "name": "HunyuanVideo Encode Keyframes To Cond"},
|
||||
"CFGZeroStarAndInit": {"class": CFGZeroStarAndInit, "name": "CFG Zero Star/Init"},
|
||||
"PiDColorBiasCorrection": {"class": PiDColorBiasCorrection, "name": "PiD Color Bias Correction"},
|
||||
"ModelPatchTorchSettings": {"class": ModelPatchTorchSettings, "name": "Model Patch Torch Settings"},
|
||||
"WanVideoNAG": {"class": WanVideoNAG, "name": "WanVideoNAG"},
|
||||
"Krea2PromptWeight": {"class": Krea2PromptWeight, "name": "Krea2 Prompt Weight"},
|
||||
"GGUFLoaderKJ": {"class": GGUFLoaderKJ, "name": "GGUF Loader KJ"},
|
||||
"LatentInpaintTTM": {"class": LatentInpaintTTM, "name": "Latent Inpaint TTM"},
|
||||
"NABLA_AttentionKJ": {"class": NABLA_AttentionKJ, "name": "NABLA Attention KJ"},
|
||||
"TorchCompileModelAdvanced": {"class": TorchCompileModelAdvanced, "name": "TorchCompileModelAdvanced"},
|
||||
"StartRecordCUDAMemoryHistory": {"class": StartRecordCUDAMemoryHistory, "name": "Start Recording CUDAMemory History"},
|
||||
"EndRecordCUDAMemoryHistory": {"class": EndRecordCUDAMemoryHistory, "name": "End Recording CUDAMemory History"},
|
||||
"VisualizeCUDAMemoryHistory": {"class": VisualizeCUDAMemoryHistory, "name": "Visualize CUDAMemory History"},
|
||||
"PreviewLatentNoiseMask": {"class": PreviewLatentNoiseMask, "name": "Preview Latent Noise Mask"},
|
||||
"ModelMemoryUseReportPatch": {"class": ModelMemoryUseReportPatch, "name": "Model Memory Use Report Patch"},
|
||||
"ModelMemoryUsageFactorOverride": {"class": ModelMemoryUsageFactorOverride, "name": "Model Memory Usage Factor Override"},
|
||||
"WanChunkFeedForward": {"class": WanChunkFeedForward, "name": "Wan ChunkFeedForward"},
|
||||
"Ideogram4OptimizationsKJ": {"class": Ideogram4OptimizationsKJ, "name": "Ideogram4 Optimizations KJ"},
|
||||
"SamplerSelfRefineVideo": {"class": SamplerSelfRefineVideo, "name": "Sampler SelfRefineVideo"},
|
||||
"PlaySoundKJ": {"class": PlaySoundKJ, "name": "Play Sound KJ"},
|
||||
|
||||
#instance diffusion
|
||||
"CreateInstanceDiffusionTracking": {"class": CreateInstanceDiffusionTracking},
|
||||
"AppendInstanceDiffusionTracking": {"class": AppendInstanceDiffusionTracking},
|
||||
"DrawInstanceDiffusionTracking": {"class": DrawInstanceDiffusionTracking},
|
||||
|
||||
#lora
|
||||
"LoraExtractKJ": {"class": LoraExtractKJ, "name": "LoraExtractKJ"},
|
||||
"LoraReduceRankKJ": {"class": LoraReduceRank, "name": "LoraReduceRank"},
|
||||
#looping
|
||||
**{n.GET_SCHEMA().node_id: {"class": n, "name": n.GET_SCHEMA().display_name} for n in LOOP_NODES},
|
||||
|
||||
#tracks
|
||||
"GetTrackRange": {"class": GetTrackRange, "name": "Get Track Range"},
|
||||
"AddNoiseToTrackPath": {"class": AddNoiseToTrackPath, "name": "Add Noise To Track"},
|
||||
|
||||
#context windows
|
||||
"ContextWindowsVisualizerKJ": {"class": ContextWindowsVisualizerKJ, "name": "Context Windows Visualizer (KJ)"},
|
||||
# deprecated
|
||||
"PatchModelPatcherOrder": {"class": PatchModelPatcherOrder, "name": "Patch Model Patcher Order"},
|
||||
"TorchCompileModelFluxAdvanced": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileModelFluxAdvanced"},
|
||||
"TorchCompileLTXModel": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileLTXModel"},
|
||||
"TorchCompileCosmosModel": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileCosmosModel"},
|
||||
"TorchCompileModelHyVideo": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileModelHyVideo"},
|
||||
"TorchCompileModelQwenImage": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileModelQwenImage"},
|
||||
"TorchCompileModelWanVideo": {"class": DeprecatedCompileNodeKJ, "name": "TorchCompileModelWanVideo"},
|
||||
}
|
||||
|
||||
#ltxv
|
||||
try:
|
||||
from .nodes.ltxv_nodes import (
|
||||
LTXVAddGuideMulti, LTXVAddGuidesFromBatch, LTXVAudioVideoMask, LTX2_NAG,
|
||||
LTXVChunkFeedForward, LTX2SamplingPreviewOverride,
|
||||
LTX2AudioLatentNormalizingSampling, LTXVImgToVideoInplaceKJ,
|
||||
LTX2AttentionTunerPatch, LTX2MemoryEfficientSageAttentionPatch,
|
||||
LTX2LoraLoaderAdvanced, WanVideoMemoryEfficientSageAttentionPatch,
|
||||
MiniMaxH3MemoryEfficientSageAttentionPatch,
|
||||
)
|
||||
NODE_CONFIG.update({
|
||||
"LTXVEnhanceAVideoKJ": {"class": LTXVEnhanceAVideoKJ, "name": "LTXV Enhance A Video KJ"},
|
||||
"LTXVAddGuideMulti": {"class": LTXVAddGuideMulti, "name": "LTXV Add Guide Multi"},
|
||||
"LTXVAddGuidesFromBatch": {"class": LTXVAddGuidesFromBatch, "name": "LTXV Add Guides From Batch"},
|
||||
"LTXVAudioVideoMask": {"class": LTXVAudioVideoMask, "name": "LTXV Audio Video Mask"},
|
||||
"LTX2_NAG": {"class": LTX2_NAG, "name": "LTX2 NAG"},
|
||||
"LTXVChunkFeedForward": {"class": LTXVChunkFeedForward, "name": "LTXV Chunk Feed Forward"},
|
||||
"LTX2SamplingPreviewOverride": {"class": LTX2SamplingPreviewOverride, "name": "LTX2 Sampling Preview Override"},
|
||||
"LTX2AudioLatentNormalizingSampling": {"class": LTX2AudioLatentNormalizingSampling, "name": "LTX2 Audio Latent Normalizing Sampling"},
|
||||
"LTXVImgToVideoInplaceKJ": {"class": LTXVImgToVideoInplaceKJ, "name": "LTXV Img To Video Inplace KJ"},
|
||||
"LTX2AttentionTunerPatch": {"class": LTX2AttentionTunerPatch, "name": "LTX2 Attention Tuner Patch"},
|
||||
"LTX2MemoryEfficientSageAttentionPatch": {"class": LTX2MemoryEfficientSageAttentionPatch, "name": "LTX2 Memory Efficient Sage Attention Patch"},
|
||||
"LTX2LoraLoaderAdvanced": {"class": LTX2LoraLoaderAdvanced, "name": "LTX2 Lora Loader Advanced"},
|
||||
"WanVideoMemoryEfficientSageAttentionPatch": {"class": WanVideoMemoryEfficientSageAttentionPatch, "name": "WanVideo Memory Efficient Sage Attention Patch"},
|
||||
"MiniMaxH3MemoryEfficientSageAttentionPatch": {"class": MiniMaxH3MemoryEfficientSageAttentionPatch, "name": "MiniMax H3 Memory Efficient Sage Attention Patch"},
|
||||
})
|
||||
except Exception as e:
|
||||
logging.warning(f"KJNodes: LTXV nodes could not be imported. LTXV nodes will be unavailable. Error: {e}", exc_info=True)
|
||||
|
||||
#minimax
|
||||
try:
|
||||
from .nodes.minimax_nodes import MiniMaxChunkFeedForward, MiniMaxLowVRAMAttention, MiniMaxH3TokenCounter
|
||||
NODE_CONFIG.update({
|
||||
"MiniMaxChunkFeedForward": {"class": MiniMaxChunkFeedForward, "name": "MiniMax H3 ChunkFeedForward"},
|
||||
"MiniMaxLowVRAMAttention": {"class": MiniMaxLowVRAMAttention, "name": "MiniMax H3 Low VRAM Attention"},
|
||||
"MiniMaxH3TokenCounter": {"class": MiniMaxH3TokenCounter, "name": "MiniMax H3 Token Counter"},
|
||||
})
|
||||
except Exception as e:
|
||||
logging.warning(f"KJNodes: MiniMax nodes could not be imported. MiniMax nodes will be unavailable. Error: {e}", exc_info=True)
|
||||
|
||||
try:
|
||||
from .nodes.triton_vae import PatchTritonVAE
|
||||
NODE_CONFIG.update({
|
||||
"PatchTritonVAE": {"class": PatchTritonVAE, "name": "Patch Triton VAE"},
|
||||
})
|
||||
except Exception:
|
||||
logging.warning("KJNodes: PatchTritonVAE node could not be imported. PatchTritonVAE will be unavailable.", exc_info=True)
|
||||
|
||||
def generate_node_mappings(node_config):
|
||||
node_class_mappings = {}
|
||||
node_display_name_mappings = {}
|
||||
|
||||
for node_name, node_info in node_config.items():
|
||||
node_class_mappings[node_name] = node_info["class"]
|
||||
node_display_name_mappings[node_name] = node_info.get("name", node_info["class"].__name__)
|
||||
|
||||
return node_class_mappings, node_display_name_mappings
|
||||
|
||||
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = generate_node_mappings(NODE_CONFIG)
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
from aiohttp import web
|
||||
from server import PromptServer
|
||||
from pathlib import Path
|
||||
|
||||
if hasattr(PromptServer, "instance"):
|
||||
# NOTE: we add an extra static path to avoid comfy mechanism that loads every script in web.
|
||||
if not PromptServer.instance.app.router.frozen:
|
||||
try:
|
||||
PromptServer.instance.app.add_routes(
|
||||
[web.static("/kjweb_async", (Path(__file__).parent.absolute() / "kjweb_async").as_posix())]
|
||||
)
|
||||
except Exception:
|
||||
logging.exception("KJNodes: failed to register /kjweb_async static route")
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,251 @@
|
||||
from .nodes.nodes import *
|
||||
from .nodes.curve_nodes import *
|
||||
from .nodes.batchcrop_nodes import *
|
||||
from .nodes.audioscheduler_nodes import *
|
||||
from .nodes.image_nodes import *
|
||||
from .nodes.intrinsic_lora_nodes import *
|
||||
from .nodes.mask_nodes import *
|
||||
from .nodes.model_optimization_nodes import *
|
||||
from .nodes.lora_nodes import *
|
||||
NODE_CONFIG = {
|
||||
#constants
|
||||
"BOOLConstant": {"class": BOOLConstant, "name": "BOOL Constant"},
|
||||
"INTConstant": {"class": INTConstant, "name": "INT Constant"},
|
||||
"FloatConstant": {"class": FloatConstant, "name": "Float Constant"},
|
||||
"StringConstant": {"class": StringConstant, "name": "String Constant"},
|
||||
"StringConstantMultiline": {"class": StringConstantMultiline, "name": "String Constant Multiline"},
|
||||
#conditioning
|
||||
"ConditioningMultiCombine": {"class": ConditioningMultiCombine, "name": "Conditioning Multi Combine"},
|
||||
"ConditioningSetMaskAndCombine": {"class": ConditioningSetMaskAndCombine, "name": "ConditioningSetMaskAndCombine"},
|
||||
"ConditioningSetMaskAndCombine3": {"class": ConditioningSetMaskAndCombine3, "name": "ConditioningSetMaskAndCombine3"},
|
||||
"ConditioningSetMaskAndCombine4": {"class": ConditioningSetMaskAndCombine4, "name": "ConditioningSetMaskAndCombine4"},
|
||||
"ConditioningSetMaskAndCombine5": {"class": ConditioningSetMaskAndCombine5, "name": "ConditioningSetMaskAndCombine5"},
|
||||
"CondPassThrough": {"class": CondPassThrough},
|
||||
#masking
|
||||
"DrawMaskOnImage": {"class": DrawMaskOnImage, "name": "Draw Mask On Image"},
|
||||
"DownloadAndLoadCLIPSeg": {"class": DownloadAndLoadCLIPSeg, "name": "(Down)load CLIPSeg"},
|
||||
"BatchCLIPSeg": {"class": BatchCLIPSeg, "name": "Batch CLIPSeg"},
|
||||
"BlockifyMask": {"class": BlockifyMask, "name": "Blockify Mask"},
|
||||
"ColorToMask": {"class": ColorToMask, "name": "Color To Mask"},
|
||||
"CreateGradientMask": {"class": CreateGradientMask, "name": "Create Gradient Mask"},
|
||||
"CreateTextMask": {"class": CreateTextMask, "name": "Create Text Mask"},
|
||||
"CreateAudioMask": {"class": CreateAudioMask, "name": "Create Audio Mask"},
|
||||
"CreateFadeMask": {"class": CreateFadeMask, "name": "Create Fade Mask"},
|
||||
"CreateFadeMaskAdvanced": {"class": CreateFadeMaskAdvanced, "name": "Create Fade Mask Advanced"},
|
||||
"CreateFluidMask": {"class": CreateFluidMask, "name": "Create Fluid Mask"},
|
||||
"CreateShapeMask": {"class": CreateShapeMask, "name": "Create Shape Mask"},
|
||||
"CreateVoronoiMask": {"class": CreateVoronoiMask, "name": "Create Voronoi Mask"},
|
||||
"CreateMagicMask": {"class": CreateMagicMask, "name": "Create Magic Mask"},
|
||||
"GetMaskSizeAndCount": {"class": GetMaskSizeAndCount, "name": "Get Mask Size & Count"},
|
||||
"GrowMaskWithBlur": {"class": GrowMaskWithBlur, "name": "Grow Mask With Blur"},
|
||||
"MaskBatchMulti": {"class": MaskBatchMulti, "name": "Mask Batch Multi"},
|
||||
"OffsetMask": {"class": OffsetMask, "name": "Offset Mask"},
|
||||
"RemapMaskRange": {"class": RemapMaskRange, "name": "Remap Mask Range"},
|
||||
"ResizeMask": {"class": ResizeMask, "name": "Resize Mask"},
|
||||
"RoundMask": {"class": RoundMask, "name": "Round Mask"},
|
||||
"SeparateMasks": {"class": SeparateMasks, "name": "Separate Masks"},
|
||||
"ConsolidateMasksKJ": {"class": ConsolidateMasksKJ, "name": "Consolidate Masks"},
|
||||
#images
|
||||
"AddLabel": {"class": AddLabel, "name": "Add Label"},
|
||||
"ColorMatch": {"class": ColorMatch, "name": "Color Match"},
|
||||
"ImageTensorList": {"class": ImageTensorList, "name": "Image Tensor List"},
|
||||
"CrossFadeImages": {"class": CrossFadeImages, "name": "Cross Fade Images"},
|
||||
"CrossFadeImagesMulti": {"class": CrossFadeImagesMulti, "name": "Cross Fade Images Multi"},
|
||||
"GetImagesFromBatchIndexed": {"class": GetImagesFromBatchIndexed, "name": "Get Images From Batch Indexed"},
|
||||
"GetImageRangeFromBatch": {"class": GetImageRangeFromBatch, "name": "Get Image or Mask Range From Batch"},
|
||||
"GetLatentRangeFromBatch": {"class": GetLatentRangeFromBatch, "name": "Get Latent Range From Batch"},
|
||||
"GetLatentSizeAndCount": {"class": GetLatentSizeAndCount, "name": "Get Latent Size & Count"},
|
||||
"GetImageSizeAndCount": {"class": GetImageSizeAndCount, "name": "Get Image Size & Count"},
|
||||
"FastPreview": {"class": FastPreview, "name": "Fast Preview"},
|
||||
"ImageBatchFilter": {"class": ImageBatchFilter, "name": "Image Batch Filter"},
|
||||
"ImageAndMaskPreview": {"class": ImageAndMaskPreview},
|
||||
"ImageAddMulti": {"class": ImageAddMulti, "name": "Image Add Multi"},
|
||||
"ImageBatchJoinWithTransition": {"class": ImageBatchJoinWithTransition, "name": "Image Batch Join With Transition"},
|
||||
"ImageBatchMulti": {"class": ImageBatchMulti, "name": "Image Batch Multi"},
|
||||
"ImageBatchRepeatInterleaving": {"class": ImageBatchRepeatInterleaving},
|
||||
"ImageBatchTestPattern": {"class": ImageBatchTestPattern, "name": "Image Batch Test Pattern"},
|
||||
"ImageConcanate": {"class": ImageConcanate, "name": "Image Concatenate"},
|
||||
"ImageConcatFromBatch": {"class": ImageConcatFromBatch, "name": "Image Concatenate From Batch"},
|
||||
"ImageConcatMulti": {"class": ImageConcatMulti, "name": "Image Concatenate Multi"},
|
||||
"ImageCropByMask": {"class": ImageCropByMask, "name": "Image Crop By Mask"},
|
||||
"ImageCropByMaskAndResize": {"class": ImageCropByMaskAndResize, "name": "Image Crop By Mask And Resize"},
|
||||
"ImageCropByMaskBatch": {"class": ImageCropByMaskBatch, "name": "Image Crop By Mask Batch"},
|
||||
"ImageUncropByMask": {"class": ImageUncropByMask, "name": "Image Uncrop By Mask"},
|
||||
"ImageBatchExtendWithOverlap": {"class": ImageBatchExtendWithOverlap, "name": "Image Batch Extend With Overlap"},
|
||||
"ImageGrabPIL": {"class": ImageGrabPIL, "name": "Image Grab PIL"},
|
||||
"ImageGridComposite2x2": {"class": ImageGridComposite2x2, "name": "Image Grid Composite 2x2"},
|
||||
"ImageGridComposite3x3": {"class": ImageGridComposite3x3, "name": "Image Grid Composite 3x3"},
|
||||
"ImageGridtoBatch": {"class": ImageGridtoBatch, "name": "Image Grid To Batch"},
|
||||
"ImageNoiseAugmentation": {"class": ImageNoiseAugmentation, "name": "Image Noise Augmentation"},
|
||||
"ImageNormalize_Neg1_To_1": {"class": ImageNormalize_Neg1_To_1, "name": "Image Normalize -1 to 1"},
|
||||
"ImagePass": {"class": ImagePass},
|
||||
"ImagePadKJ": {"class": ImagePadKJ, "name": "ImagePad KJ"},
|
||||
"ImagePadForOutpaintMasked": {"class": ImagePadForOutpaintMasked, "name": "Image Pad For Outpaint Masked"},
|
||||
"ImagePadForOutpaintTargetSize": {"class": ImagePadForOutpaintTargetSize, "name": "Image Pad For Outpaint Target Size"},
|
||||
"ImagePrepForICLora": {"class": ImagePrepForICLora, "name": "Image Prep For ICLora"},
|
||||
"ImageResizeKJ": {"class": ImageResizeKJ, "name": "Resize Image (deprecated)"},
|
||||
"ImageResizeKJv2": {"class": ImageResizeKJv2, "name": "Resize Image v2"},
|
||||
"ImageUpscaleWithModelBatched": {"class": ImageUpscaleWithModelBatched, "name": "Image Upscale With Model Batched"},
|
||||
"InsertImagesToBatchIndexed": {"class": InsertImagesToBatchIndexed, "name": "Insert Images To Batch Indexed"},
|
||||
"InsertLatentToIndexed": {"class": InsertLatentToIndex, "name": "Insert Latent To Index"},
|
||||
"LoadAndResizeImage": {"class": LoadAndResizeImage, "name": "Load & Resize Image"},
|
||||
"LoadImagesFromFolderKJ": {"class": LoadImagesFromFolderKJ, "name": "Load Images From Folder (KJ)"},
|
||||
"LoadVideosFromFolder": {"class": LoadVideosFromFolder, "name": "Load Videos From Folder"},
|
||||
"MergeImageChannels": {"class": MergeImageChannels, "name": "Merge Image Channels"},
|
||||
"PadImageBatchInterleaved": {"class": PadImageBatchInterleaved, "name": "Pad Image Batch Interleaved"},
|
||||
"PreviewAnimation": {"class": PreviewAnimation, "name": "Preview Animation"},
|
||||
"RemapImageRange": {"class": RemapImageRange, "name": "Remap Image Range"},
|
||||
"ReverseImageBatch": {"class": ReverseImageBatch, "name": "Reverse Image Batch"},
|
||||
"ReplaceImagesInBatch": {"class": ReplaceImagesInBatch, "name": "Replace Images In Batch"},
|
||||
"SaveImageWithAlpha": {"class": SaveImageWithAlpha, "name": "Save Image With Alpha"},
|
||||
"SaveImageKJ": {"class": SaveImageKJ, "name": "Save Image KJ"},
|
||||
"ShuffleImageBatch": {"class": ShuffleImageBatch, "name": "Shuffle Image Batch"},
|
||||
"SplitImageChannels": {"class": SplitImageChannels, "name": "Split Image Channels"},
|
||||
"TransitionImagesMulti": {"class": TransitionImagesMulti, "name": "Transition Images Multi"},
|
||||
"TransitionImagesInBatch": {"class": TransitionImagesInBatch, "name": "Transition Images In Batch"},
|
||||
#batch cropping
|
||||
"BatchCropFromMask": {"class": BatchCropFromMask, "name": "Batch Crop From Mask"},
|
||||
"BatchCropFromMaskAdvanced": {"class": BatchCropFromMaskAdvanced, "name": "Batch Crop From Mask Advanced"},
|
||||
"FilterZeroMasksAndCorrespondingImages": {"class": FilterZeroMasksAndCorrespondingImages},
|
||||
"InsertImageBatchByIndexes": {"class": InsertImageBatchByIndexes, "name": "Insert Image Batch By Indexes"},
|
||||
"BatchUncrop": {"class": BatchUncrop, "name": "Batch Uncrop"},
|
||||
"BatchUncropAdvanced": {"class": BatchUncropAdvanced, "name": "Batch Uncrop Advanced"},
|
||||
"SplitBboxes": {"class": SplitBboxes, "name": "Split Bboxes"},
|
||||
"BboxToInt": {"class": BboxToInt, "name": "Bbox To Int"},
|
||||
"BboxVisualize": {"class": BboxVisualize, "name": "Bbox Visualize"},
|
||||
#noise
|
||||
"GenerateNoise": {"class": GenerateNoise, "name": "Generate Noise"},
|
||||
"FlipSigmasAdjusted": {"class": FlipSigmasAdjusted, "name": "Flip Sigmas Adjusted"},
|
||||
"InjectNoiseToLatent": {"class": InjectNoiseToLatent, "name": "Inject Noise To Latent"},
|
||||
"CustomSigmas": {"class": CustomSigmas, "name": "Custom Sigmas"},
|
||||
#utility
|
||||
"StringToFloatList": {"class": StringToFloatList, "name": "String to Float List"},
|
||||
"WidgetToString": {"class": WidgetToString, "name": "Widget To String"},
|
||||
"SaveStringKJ": {"class": SaveStringKJ, "name": "Save String KJ"},
|
||||
"DummyOut": {"class": DummyOut, "name": "Dummy Out"},
|
||||
"GetLatentsFromBatchIndexed": {"class": GetLatentsFromBatchIndexed, "name": "Get Latents From Batch Indexed"},
|
||||
"ScaleBatchPromptSchedule": {"class": ScaleBatchPromptSchedule, "name": "Scale Batch Prompt Schedule"},
|
||||
"CameraPoseVisualizer": {"class": CameraPoseVisualizer, "name": "Camera Pose Visualizer"},
|
||||
"AppendStringsToList": {"class": AppendStringsToList, "name": "Append Strings To List"},
|
||||
"JoinStrings": {"class": JoinStrings, "name": "Join Strings"},
|
||||
"JoinStringMulti": {"class": JoinStringMulti, "name": "Join String Multi"},
|
||||
"SomethingToString": {"class": SomethingToString, "name": "Something To String"},
|
||||
"Sleep": {"class": Sleep, "name": "Sleep"},
|
||||
"VRAM_Debug": {"class": VRAM_Debug, "name": "VRAM Debug"},
|
||||
"SomethingToString": {"class": SomethingToString, "name": "Something To String"},
|
||||
"EmptyLatentImagePresets": {"class": EmptyLatentImagePresets, "name": "Empty Latent Image Presets"},
|
||||
"EmptyLatentImageCustomPresets": {"class": EmptyLatentImageCustomPresets, "name": "Empty Latent Image Custom Presets"},
|
||||
"ModelPassThrough": {"class": ModelPassThrough, "name": "ModelPass"},
|
||||
"ModelSaveKJ": {"class": ModelSaveKJ, "name": "Model Save KJ"},
|
||||
"SetShakkerLabsUnionControlNetType": {"class": SetShakkerLabsUnionControlNetType, "name": "Set Shakker Labs Union ControlNet Type"},
|
||||
"StyleModelApplyAdvanced": {"class": StyleModelApplyAdvanced, "name": "Style Model Apply Advanced"},
|
||||
"DiffusionModelSelector": {"class": DiffusionModelSelector, "name": "Diffusion Model Selector"},
|
||||
"LazySwitchKJ": {"class": LazySwitchKJ, "name": "Lazy Switch KJ"},
|
||||
#audioscheduler stuff
|
||||
"NormalizedAmplitudeToMask": {"class": NormalizedAmplitudeToMask},
|
||||
"NormalizedAmplitudeToFloatList": {"class": NormalizedAmplitudeToFloatList},
|
||||
"OffsetMaskByNormalizedAmplitude": {"class": OffsetMaskByNormalizedAmplitude},
|
||||
"ImageTransformByNormalizedAmplitude": {"class": ImageTransformByNormalizedAmplitude},
|
||||
"AudioConcatenate": {"class": AudioConcatenate},
|
||||
#curve nodes
|
||||
"SplineEditor": {"class": SplineEditor, "name": "Spline Editor"},
|
||||
"CreateShapeImageOnPath": {"class": CreateShapeImageOnPath, "name": "Create Shape Image On Path"},
|
||||
"CreateShapeMaskOnPath": {"class": CreateShapeMaskOnPath, "name": "Create Shape Mask On Path"},
|
||||
"CreateTextOnPath": {"class": CreateTextOnPath, "name": "Create Text On Path"},
|
||||
"CreateGradientFromCoords": {"class": CreateGradientFromCoords, "name": "Create Gradient From Coords"},
|
||||
"CutAndDragOnPath": {"class": CutAndDragOnPath, "name": "Cut And Drag On Path"},
|
||||
"GradientToFloat": {"class": GradientToFloat, "name": "Gradient To Float"},
|
||||
"WeightScheduleExtend": {"class": WeightScheduleExtend, "name": "Weight Schedule Extend"},
|
||||
"MaskOrImageToWeight": {"class": MaskOrImageToWeight, "name": "Mask Or Image To Weight"},
|
||||
"WeightScheduleConvert": {"class": WeightScheduleConvert, "name": "Weight Schedule Convert"},
|
||||
"FloatToMask": {"class": FloatToMask, "name": "Float To Mask"},
|
||||
"FloatToSigmas": {"class": FloatToSigmas, "name": "Float To Sigmas"},
|
||||
"SigmasToFloat": {"class": SigmasToFloat, "name": "Sigmas To Float"},
|
||||
"PlotCoordinates": {"class": PlotCoordinates, "name": "Plot Coordinates"},
|
||||
"InterpolateCoords": {"class": InterpolateCoords, "name": "Interpolate Coords"},
|
||||
"PointsEditor": {"class": PointsEditor, "name": "Points Editor"},
|
||||
#experimental
|
||||
"SoundReactive": {"class": SoundReactive, "name": "Sound Reactive"},
|
||||
"StableZero123_BatchSchedule": {"class": StableZero123_BatchSchedule, "name": "Stable Zero123 Batch Schedule"},
|
||||
"SV3D_BatchSchedule": {"class": SV3D_BatchSchedule, "name": "SV3D Batch Schedule"},
|
||||
"LoadResAdapterNormalization": {"class": LoadResAdapterNormalization},
|
||||
"Superprompt": {"class": Superprompt, "name": "Superprompt"},
|
||||
"GLIGENTextBoxApplyBatchCoords": {"class": GLIGENTextBoxApplyBatchCoords},
|
||||
"Intrinsic_lora_sampling": {"class": Intrinsic_lora_sampling, "name": "Intrinsic Lora Sampling"},
|
||||
"CheckpointPerturbWeights": {"class": CheckpointPerturbWeights, "name": "CheckpointPerturbWeights"},
|
||||
"Screencap_mss": {"class": Screencap_mss, "name": "Screencap mss"},
|
||||
"WebcamCaptureCV2": {"class": WebcamCaptureCV2, "name": "Webcam Capture CV2"},
|
||||
"DifferentialDiffusionAdvanced": {"class": DifferentialDiffusionAdvanced, "name": "Differential Diffusion Advanced"},
|
||||
"DiTBlockLoraLoader": {"class": DiTBlockLoraLoader, "name": "DiT Block Lora Loader"},
|
||||
"FluxBlockLoraSelect": {"class": FluxBlockLoraSelect, "name": "Flux Block Lora Select"},
|
||||
"HunyuanVideoBlockLoraSelect": {"class": HunyuanVideoBlockLoraSelect, "name": "Hunyuan Video Block Lora Select"},
|
||||
"Wan21BlockLoraSelect": {"class": Wan21BlockLoraSelect, "name": "Wan21 Block Lora Select"},
|
||||
"CustomControlNetWeightsFluxFromList": {"class": CustomControlNetWeightsFluxFromList, "name": "Custom ControlNet Weights Flux From List"},
|
||||
"CheckpointLoaderKJ": {"class": CheckpointLoaderKJ, "name": "CheckpointLoaderKJ"},
|
||||
"DiffusionModelLoaderKJ": {"class": DiffusionModelLoaderKJ, "name": "Diffusion Model Loader KJ"},
|
||||
"TorchCompileModelFluxAdvanced": {"class": TorchCompileModelFluxAdvanced, "name": "TorchCompileModelFluxAdvanced"},
|
||||
"TorchCompileModelFluxAdvancedV2": {"class": TorchCompileModelFluxAdvancedV2, "name": "TorchCompileModelFluxAdvancedV2"},
|
||||
"TorchCompileModelHyVideo": {"class": TorchCompileModelHyVideo, "name": "TorchCompileModelHyVideo"},
|
||||
"TorchCompileVAE": {"class": TorchCompileVAE, "name": "TorchCompileVAE"},
|
||||
"TorchCompileControlNet": {"class": TorchCompileControlNet, "name": "TorchCompileControlNet"},
|
||||
"PatchModelPatcherOrder": {"class": PatchModelPatcherOrder, "name": "Patch Model Patcher Order"},
|
||||
"TorchCompileLTXModel": {"class": TorchCompileLTXModel, "name": "TorchCompileLTXModel"},
|
||||
"TorchCompileCosmosModel": {"class": TorchCompileCosmosModel, "name": "TorchCompileCosmosModel"},
|
||||
"TorchCompileModelQwenImage": {"class": TorchCompileModelQwenImage, "name": "TorchCompileModelQwenImage"},
|
||||
"TorchCompileModelWanVideo": {"class": TorchCompileModelWanVideo, "name": "TorchCompileModelWanVideo"},
|
||||
"TorchCompileModelWanVideoV2": {"class": TorchCompileModelWanVideoV2, "name": "TorchCompileModelWanVideoV2"},
|
||||
"PathchSageAttentionKJ": {"class": PathchSageAttentionKJ, "name": "Patch Sage Attention KJ"},
|
||||
"LeapfusionHunyuanI2VPatcher": {"class": LeapfusionHunyuanI2V, "name": "Leapfusion Hunyuan I2V Patcher"},
|
||||
"VAELoaderKJ": {"class": VAELoaderKJ, "name": "VAELoader KJ"},
|
||||
"ScheduledCFGGuidance": {"class": ScheduledCFGGuidance, "name": "Scheduled CFG Guidance"},
|
||||
"ApplyRifleXRoPE_HunuyanVideo": {"class": ApplyRifleXRoPE_HunuyanVideo, "name": "Apply RifleXRoPE HunuyanVideo"},
|
||||
"ApplyRifleXRoPE_WanVideo": {"class": ApplyRifleXRoPE_WanVideo, "name": "Apply RifleXRoPE WanVideo"},
|
||||
"WanVideoTeaCacheKJ": {"class": WanVideoTeaCacheKJ, "name": "WanVideo Tea Cache (native)"},
|
||||
"WanVideoEnhanceAVideoKJ": {"class": WanVideoEnhanceAVideoKJ, "name": "WanVideo Enhance A Video (native)"},
|
||||
"SkipLayerGuidanceWanVideo": {"class": SkipLayerGuidanceWanVideo, "name": "Skip Layer Guidance WanVideo"},
|
||||
"TimerNodeKJ": {"class": TimerNodeKJ, "name": "Timer Node KJ"},
|
||||
"HunyuanVideoEncodeKeyframesToCond": {"class": HunyuanVideoEncodeKeyframesToCond, "name": "HunyuanVideo Encode Keyframes To Cond"},
|
||||
"CFGZeroStarAndInit": {"class": CFGZeroStarAndInit, "name": "CFG Zero Star/Init"},
|
||||
"ModelPatchTorchSettings": {"class": ModelPatchTorchSettings, "name": "Model Patch Torch Settings"},
|
||||
"WanVideoNAG": {"class": WanVideoNAG, "name": "WanVideoNAG"},
|
||||
"GGUFLoaderKJ": {"class": GGUFLoaderKJ, "name": "GGUF Loader KJ"},
|
||||
|
||||
#instance diffusion
|
||||
"CreateInstanceDiffusionTracking": {"class": CreateInstanceDiffusionTracking},
|
||||
"AppendInstanceDiffusionTracking": {"class": AppendInstanceDiffusionTracking},
|
||||
"DrawInstanceDiffusionTracking": {"class": DrawInstanceDiffusionTracking},
|
||||
|
||||
#lora
|
||||
"LoraExtractKJ": {"class": LoraExtractKJ, "name": "LoraExtractKJ"},
|
||||
"LoraReduceRankKJ": {"class": LoraReduceRank, "name": "LoraReduceRank"}
|
||||
}
|
||||
|
||||
def generate_node_mappings(node_config):
|
||||
node_class_mappings = {}
|
||||
node_display_name_mappings = {}
|
||||
|
||||
for node_name, node_info in node_config.items():
|
||||
node_class_mappings[node_name] = node_info["class"]
|
||||
node_display_name_mappings[node_name] = node_info.get("name", node_info["class"].__name__)
|
||||
|
||||
return node_class_mappings, node_display_name_mappings
|
||||
|
||||
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = generate_node_mappings(NODE_CONFIG)
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
from aiohttp import web
|
||||
from server import PromptServer
|
||||
from pathlib import Path
|
||||
|
||||
if hasattr(PromptServer, "instance"):
|
||||
try:
|
||||
# NOTE: we add an extra static path to avoid comfy mechanism
|
||||
# that loads every script in web.
|
||||
PromptServer.instance.app.add_routes(
|
||||
[web.static("/kjweb_async", (Path(__file__).parent.absolute() / "kjweb_async").as_posix())]
|
||||
)
|
||||
except:
|
||||
pass
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,95 @@
|
||||
__version__ = "1.3.7"
|
||||
|
||||
import yaml
|
||||
import json
|
||||
import os
|
||||
import folder_paths
|
||||
import importlib
|
||||
|
||||
cwd_path = os.path.dirname(os.path.realpath(__file__))
|
||||
comfy_path = folder_paths.base_path
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
importlib.import_module('.py.routes', __name__)
|
||||
importlib.import_module('.py.server', __name__)
|
||||
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
|
||||
for module_name in nodes_list:
|
||||
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
|
||||
#Wildcards
|
||||
from .py.libs.wildcards import read_wildcard_dict
|
||||
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
|
||||
if not os.path.exists(wildcards_path):
|
||||
os.mkdir(wildcards_path)
|
||||
|
||||
# Add custom wildcards example
|
||||
example_path = os.path.join(wildcards_path, "example.txt")
|
||||
if not os.path.exists(example_path):
|
||||
with open(example_path, 'w') as f:
|
||||
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
|
||||
f.write(text)
|
||||
read_wildcard_dict(wildcards_path)
|
||||
|
||||
#Styles
|
||||
styles_path = os.path.join(os.path.dirname(__file__), "styles")
|
||||
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
|
||||
if os.path.exists(styles_path):
|
||||
if not os.path.exists(samples_path):
|
||||
os.mkdir(samples_path)
|
||||
else:
|
||||
os.mkdir(styles_path)
|
||||
os.mkdir(samples_path)
|
||||
|
||||
# Add custom styles example
|
||||
example_path = os.path.join(styles_path, "your_styles.json.example")
|
||||
if not os.path.exists(example_path):
|
||||
import json
|
||||
data = [
|
||||
{
|
||||
"name": "Example Style",
|
||||
"name_cn": "示例样式",
|
||||
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
|
||||
"negative_prompt": "text, watermark, logo"
|
||||
},
|
||||
]
|
||||
# Write to file
|
||||
with open(example_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(data, f, indent=4, ensure_ascii=False)
|
||||
|
||||
|
||||
web_default_version = 'v2'
|
||||
# web directory
|
||||
config_path = os.path.join(cwd_path, "config.yaml")
|
||||
if os.path.isfile(config_path):
|
||||
with open(config_path, 'r') as f:
|
||||
data = yaml.load(f, Loader=yaml.FullLoader)
|
||||
if data and "WEB_VERSION" in data:
|
||||
directory = f"web_version/{data['WEB_VERSION']}"
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
elif web_default_version != 'v1':
|
||||
if not data:
|
||||
data = {'WEB_VERSION': web_default_version}
|
||||
elif 'WEB_VERSION' not in data:
|
||||
data = {**data, 'WEB_VERSION': web_default_version}
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
directory = f"web_version/{web_default_version}"
|
||||
else:
|
||||
directory = f"web_version/v1"
|
||||
if not os.path.exists(os.path.join(cwd_path, directory)):
|
||||
print(f"web root {data['WEB_VERSION']} not found, using default")
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
else:
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
|
||||
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user