ComfyUI Node
Mustache Variable Sampler
A ComfyUI node in text/template with 4 inputs and 1 output.
Mustache Variable Sampler
- variable_defs
- variable_sets
◄sampling_modesequential►
◄seed0►
◄limit-1►
Categorytext/template
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| variable_defs | MUSTACHE_VARIABLES | Mustache variables mapping to expand into concrete variable settings. | |
| sampling_mode | COMBO | sequential | How to generate concrete variable settings. 'sequential' walks the Cartesian product in stable order. 'random' randomizes key order, value order, and the sampled permutation order. |
| seed | INT | 00–18446744073709550000 | 64-bit seed used when sampling_mode is random. The same seed produces the same sampled variable-setting order. |
| limit | INT | -1-1–2147483647 | Maximum number of concrete variable settings to emit. Use -1 to emit the full Cartesian product. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| variable_sets | MUSTACHE_VARIABLE_LIST | — |