π Browse Segments
Take Stock of Your Prompt Library in One Glance
- segment_list
Browse Segments from the comfyui-character-suite pack is the suite's memory node - a read-only view of everything you've saved with Save Prompt Segment. One input, one output, nothing clever. It's the node you reach for when you think "I saved that lighting thing, what did I call it?" and can't remember the label you need for SegmentLoader.
How it works
A single category dropdown: (all) to show the entire library, or one of the ten buckets - quality, style, character, hair, clothing, action, pose, scene, lighting, misc - to filter. The node reads data/segments.json, sorts by category then label, and formats the result as a text block: a [CLOTHING] header, then each entry as β’ label: first 60 chars of contentβ¦. The preview truncates long prompts, which is the right call - you're scanning for what exists, not re-reading it.
Output: segment_list, a single STRING. Wire it into a Show Text node (or any text display) and you get your whole library in a tidy block. With (all) selected and a built-up library, it doubles as a nice inventory of the reusable looks you've accumulated.
Installing it
cd ComfyUI/custom_nodes/
git clone https://github.com/DrkSun81/comfyui-character-suite
Restart, find it under CharacterSuite (or ComfyUI Manager β search "character suite"). No pip dependencies. Python 3.9+.
The honest limits
- It can't edit or delete. Browse-only. To remove a segment you'll hand-edit
data/segments.json- it's plain JSON - or, if you're using the suite's web panel, handle it there. The node is deliberately read-only. - It shows a preview, not full content. Truncated at 60 characters. If you need the exact saved text, that's what SegmentLoader's
combined_promptoutput is for. - It only knows what's been saved. An empty library gives you a single line telling you nothing's in that category yet - which, used honestly, is useful feedback that your saving habit hasn't kicked in.
That's the whole node. It's the least glamorous thing in the suite, but it's the one that makes the segment system feel like a library instead of a black box. Save a few segments, browse them, and the loop the pack is built around finally clicks.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| category | COMBO | (all) | 11 options: (all), quality, style, character, hair, clothing, +5 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| segment_list | STRING | β |