Add optional loop schedule input

This commit is contained in:
2026-06-28 08:19:43 +02:00
parent e434bd66ad
commit debb6d6f38
4 changed files with 190 additions and 17 deletions
+7 -2
View File
@@ -174,7 +174,7 @@ COMMON_INPUT_TOOLTIPS = {
"custom_hardcore_clothing": "One custom hardcore clothing/body exposure state per line.",
"condition": "Loop condition. When false, the loop stops and passes current values through.",
"total": "Total number of loop iterations.",
"skip": "Number of leading loop indexes to skip. skip=1 starts generation at index 2.",
"schedule": "Optional loop index schedule. Connect a list or text like 1,3,5 or 2-6; omitted runs 1 through total.",
"collection": "Existing accumulated value or batch.",
"value": "Value to append, store, or pass through.",
"store_key": "Accumulator memory key. Leave blank for node-local storage, or use the same text to share one store across nodes.",
@@ -427,9 +427,14 @@ NODE_INPUT_TOOLTIPS = {
"include_trigger": "Keep this true for LoRA/training captions so the trigger token is learned.",
},
"SxCPForLoopStart": {
"index": "Output loop index. First generated index is skip + 1.",
"schedule": "Optional 1-based indexes to run. Accepts lists, JSON arrays, comma-separated text, and ranges like 2-6.",
"index": "Output loop index. With a schedule, this follows the scheduled 1-based indexes.",
"collected": "Current accumulated value carried through the loop.",
},
"SxCPLoopNextIndex": {
"current_index": "Current loop index used to choose the next scheduled index.",
"schedule": "Optional 1-based indexes to run. Omitted advances by one until total.",
},
"SxCPLoopAppend": {
"mode": "auto_batch tries tensor/latent batching first, then falls back to a list.",
},