ComfyUI Node
PSN Prompt Chunker
Split a long prompt into CLIP-friendly chunks.
PSN Prompt Chunker
- chunks
- chunk_count
◄prompt►
◄max_tokens75►
◄split_strategy▾►
◄overlap_tokens0►
CategoryParametric/Prompts
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | The prompt text. | |
| max_tokens | INT | 751–512 | Max tokens. From 1 to 512. Default 75. |
| split_strategy | COMBO | Split strategy. One of 3 choices. | |
| overlap_tokens | INT | 00–64 | Overlap tokens. From 0 to 64. Default 0. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| chunks | STRING | — |
| chunk_count | INT | — |