ComfyUI Node
Prompt Sequence Filter
A ComfyUI node in prompt sequence with 5 inputs and 1 output.
Prompt Sequence Filter
- text
◄prompts►
◄modesequential►
◄max_items0►
◄seed-1►
◄source—►
Categoryprompt sequence
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| prompts | STRING | Used only when source is not connected. Hidden and ignored while source is connected. | |
| mode | COMBO | sequential | sequential: keep source order. random: shuffle before max_items is applied. |
| max_items | INT | 00–10000 | 0 outputs all available prompts. A positive value outputs up to that many prompts. |
| seed | INT | -1-1–9223372036854776000 | For random mode: -1 makes a new order each queue; a fixed value repeats the same order. |
| sourceopt | STRING | When connected, this source list replaces the local prompt box. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |