ComfyUI Node
Tag Frequency Weighter
A ComfyUI node in prompt with 9 inputs and 1 output.
Tag Frequency Weighter
- output_prompt
◄input_prompt2girls, megumin, from above►
◄min_value1.0►
◄max_value1.5►
◄calculate_averagefalse►
◄preserve_underscores_in_outputfalse►
◄pivotlog10(avg)►
◄ignore_below_tag_count0►
◄ignore_above_tag_count2000►
◄debugfalse►
Categoryprompt
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| input_prompt | STRING | 2girls, megumin, from above | Prompt to reweight; commas/spacing preserved. |
| min_value | FLOAT | 1.00–5 | Lower bound for output weights; popular tags trend toward this. |
| max_value | FLOAT | 1.50–5 | Upper bound for output weights; rare tags trend toward this. |
| calculate_average | BOOLEAN | false | Recompute averages from CSV now and update cache. |
| preserve_underscores_in_output | BOOLEAN | false | Keep underscores in wrapped tags (do not replace with spaces). |
| pivot | COMBO | log10(avg) | Neutral pivot (1.0): log10(avg) or mean of log10 counts (x_avg). |
| ignore_below_tag_count | INT | 00–7000000 | Leave tags with counts below this unchanged. |
| ignore_above_tag_count | INT | 20000–7000000 | Leave tags with counts above this unchanged. |
| debug | BOOLEAN | false | Print per-tag counts while processing (verbose). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output_prompt | STRING | — |