Improve seed and loop controls

This commit is contained in:
2026-06-24 20:09:36 +02:00
parent 04ff829a9b
commit 5f4f166631
3 changed files with 159 additions and 5 deletions
+14 -2
View File
@@ -91,6 +91,11 @@ Basic loop wiring:
If omitted, the end node uses the start collector internally.
5. After the loop finishes, use `For Loop End.collected` as the combined output.
`For Loop Start.skip` skips the first N iterations while keeping the index
stable. For example, `total=10` and `skip=1` runs indexes `1..9`; `skip=5` runs
indexes `5..9`. This is useful when you want to resume a loop without changing
index-derived seeds or row numbers.
`collection_mode` controls how values are stored:
- `auto_batch`: concatenates image tensors or latent samples when possible,
@@ -205,7 +210,11 @@ expression, and composition can still change while the saved character
appearance remains stable.
`SxCP Seed Control` outputs `seed_config`, which can be connected to the prompt
builder's optional `seed_config` input.
builder's optional `seed_config` input. When an axis is set to `random`, the
visible seed value is materialized before the workflow queues, and that exact
value is used for the queued prompt. The mode returns to `random` after queueing
so the next run can reroll. Use `Lock Random Seeds Now` on the node when you want
to convert the current random axes into fixed reusable seeds.
`SxCP Seed Locker` is the fast version for iteration. Set `base_seed` to a seed
you like, choose one `reroll_axis`, and connect its `seed_config`. All other
@@ -680,7 +689,10 @@ axis has its own mode plus seed value:
- `follow_main`: always follows the final generator's main `seed` input and
ignores the entered axis seed.
- `fixed`: always uses the entered axis seed.
- `random`: generates a fresh axis seed when the node runs.
- `random`: generates a fresh visible axis seed when the workflow queues.
The `Lock Random Seeds Now` button turns every current `random` axis into a
visible concrete seed and switches those axes to `fixed`.
For normal prompt iteration, `SxCP Seed Locker` is usually simpler: