Keyword Picker 🔀
Keyword Picker (WildPromptor) — pull N keywords from a list, random or in order
- picked_keywords
This is the "give me some of these, not all of them" node. Feed it a list of keywords and Keyword Picker returns a chosen handful - a random subset or the first N in order. It's the closest thing in the pack to the plain randomizer a lot of people actually want: point it at your own pool of tags and let it draw a few each run.
Keyword Picker is part of WildPromptor by 1038lab (also the author of ComfyUI-RMBG).
Why you'd reach for it
The list nodes pick one line from each category. Sometimes you want the opposite - one big pool of options and a random three of them per generation. Maybe you've got twenty lighting descriptors and want two at a time, or a bag of style tags you want to sample from. Keyword Picker does exactly that, and because it's seeded, a combination you like is reproducible.
It scratches the same itch as the old A1111 wildcard trick of batching {this|that|other} to get variety without writing more prompts - except here it's a clean node with a count and a mode.
The inputs and outputs
- input_keywords (STRING) - a keyword list wired in from another node
- keywords (multiline STRING) - or type/paste the pool directly into the box
- pick_count - how many to draw (0–1000)
- pick_mode - 🎲Random or 🔢ordered
- seed - fixes the random draw so it's repeatable
You can supply the pool either way - wire input_keywords from an upstream node (a Text Input, a list node, Custom List Manager's output) or just type into keywords. The output is picked_keywords, a single STRING of the selected items, ready to drop into Prompt Concat or a CLIP Text Encode.
How you'd actually use it
The clean pairing: keep your personal tag pools with Custom List Manager, feed one into Keyword Picker's input_keywords, set pick_count to 2–3 and pick_mode to Random. Every queue draws a fresh couple of tags from your own curated set. That's the "randomizer for my own pools" workflow, built out of two nodes.
Ordered mode is handy for deterministic sweeps - set it to walk your list top to bottom so you can compare options one at a time.
Installing it
ComfyUI Manager: search ComfyUI-WildPromptor, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/1038lab/ComfyUI-WildPromptor
then restart. Under 🧪AILab/🧿WildPromptor. No downloads.
Common issues
- It returned nothing - check
pick_countisn't 0, and that eitherinput_keywordsis wired or thekeywordsbox has content. - Same picks every run - that's the seed doing its job. Change the seed (or set it to randomize) to get a different draw.
- My keywords didn't split the way I expected - Keyword Picker treats your input as a delimited list; keep one keyword (or phrase) per entry so the count means what you think it does.
- pick_count higher than my pool - you'll get the whole pool; there's nothing to add beyond what you gave it.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| input_keywordsopt | STRING | — | |
| keywordsopt | STRING | — | |
| pick_countopt | INT | 10–1000 | — |
| pick_modeopt | COMBO | 🎲Random | 2 options: 🎲Random, 🔢ordered |
| seedopt | INT | 00–18446744073709550000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| picked_keywords | STRING | — |