Skip to content

v0.2.1-alpha - 5-Mode Seed Control and Cache-Transparent Orchestration

Choose a tag to compare

@djdarcy djdarcy released this 28 Mar 13:18
v0.2.1-alpha
4702ca3

Dazzle Command v0.2.1-alpha

Workflow orchestration node for ComfyUI. Coordinate seed control and execution gates from a single play/pause toggle -- without re-executing expensive generation steps. Part of the DazzleNodes collection.

Dazzle Command orchestration workflow

What's New in v0.2.1-alpha

v0.2.1 fix: Dynamic JS imports for DazzleNodes aggregate compatibility. Static imports failed at depth 3 (inside DazzleNodes), causing play/pause buttons not to appear. Now uses auto-depth detection matching SmartResCalc and PBE pattern.

5-Mode Seed Control

Configurable independently for pause and play states:

Mode Behavior
one run then random Use entered seed once, then revert to random (default for pause)
new seed each run Force fresh random every time
reuse last seed Lock to the seed from previous execution (default for play)
keep widget value Use SmartResCalc's current widget value persistently
SmartResCalc decides Don't interfere -- normal widget behavior

Seed Bar Entry

Click the seed display bar to enter a seed directly. DazzleCommand-entered seeds take priority over SmartResCalc's widget. Seeds entered with "one run then random" auto-clear after one execution.

  • Green text with * = DazzleCommand is driving the seed
  • Grey text = displaying SmartResCalc's last-used seed
  • Clear the field to return control to SmartResCalc

Cache-Transparent Architecture

Toggling play/pause does NOT re-execute expensive nodes (KSampler, VAE decode). 83% time savings in typical workflows (29s -> 5s).

  • Play/pause state communicated via API side-channel, not ComfyUI inputs
  • Signal dict is static across toggles -- output never changes
  • Seed resolution in JS before prompt generation
  • dazzle_signal noodle stripped from prompt data for cache preservation

See docs/seed-control.md for the full interaction matrix and architecture details.

Companion Versions

Full orchestration requires all three nodes:

Node Version Repository
Smart Resolution Calculator v0.11.0 djdarcy/ComfyUI-Smart-Resolution-Calc
Preview Bridge Extended v0.4.0-alpha DazzleNodes/ComfyUI-PreviewBridgeExtended

Installation

Via DazzleNodes collection (recommended):
Included in the DazzleNodes aggregate package.

Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/DazzleNodes/ComfyUI-DazzleCommand.git

Version History

Version Key Change
v0.2.1-alpha Current -- Dynamic import fix for DazzleNodes aggregate
v0.2.0-alpha 5-mode seed control, cache-transparent orchestration
v0.1.1-alpha Cache-transparent play/pause, API state management
v0.1.0-alpha Initial scaffolding and DAZZLE_SIGNAL node

Requirements