Nodes/Skoogeer-Noise/Mustache Variables
ComfyUI Node

Mustache Variables

A ComfyUI node in text/template with 2 inputs and 1 output.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Mustache Variables
  • variable_sets
  • variable_defs
yaml_texthaircolor: - brown - blonde leglength: - short - long - weird
Categorytext/template

Inputs (2)

NameTypeDefaultDescription
yaml_textSTRINGhaircolor: - brown - blonde leglength: - short - long - weird YAML mapping of variable names to values. Each key becomes a mustache variable and each value should usually be a list of render options. Scalar values are accepted as shorthand for a single-item list. If the optional variable_sets input is connected, this YAML is treated as a mustache template and rendered once per variable-setting entry before parsing.
variable_setsoptMUSTACHE_VARIABLE_LISTOptional concrete variable settings used to render templated YAML before parsing. This lets you chain one mustache-variable stage into another.

Outputs (1)

NameTypeDescription
variable_defsMUSTACHE_VARIABLES