ComfyUI Node
TS Batch Prompt Loader
Split a multiline text into a list of prompts separated by blank lines, plus their count.
TS Batch Prompt Loader
- prompt
- prompts_count
◄textPrompt 1: cat
Prompt 2: dog
Prompt 3: bird►
CategoryTS/Text
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Prompt 1: cat Prompt 2: dog Prompt 3: bird | Multiple prompts separated by one or more blank lines. Each block becomes one prompt in the output list. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | List of prompts, one per blank-line-separated block. |
| prompts_count | INT | Number of prompts found in the text. |