Nodes/ComfyUI-WildPromptor/WildPromptor Generator 🔀
ComfyUI Node

WildPromptor Generator 🔀

WildPromptor Generator — turn selections into prompts and re-roll fast

By 1038lab·Created 2 years ago·Updated 9 months ago· 97
WildPromptor Generator 🔀
  • selected_options
  • prompt
batch_size1
seed0
allow_duplicatestrue

This is the business end of the pack's "power duo." On its own it does nothing - you feed it the selections from an All-In-One List node, and it turns those into actual prompt strings. The whole reason it exists as a separate node is speed of iteration: once your categories are set upstream, this is where you sit and re-roll, changing one seed to get a fresh batch without ever touching the giant selection node again.

WildPromptor Generator is part of WildPromptor by 1038lab, the developer behind ComfyUI-RMBG.

How the pairing works

The pack splits prompt-building into two steps. All-In-One List is where you configure every category - a big, fiddly node you set up once and leave alone. It outputs a DPROMPT_DATA object: a description of what you chose and which categories are on Random. Generator consumes that object and resolves it into finished prompts.

Why bother splitting it? Because re-rolling is the thing you do a hundred times and configuring is the thing you do once. Keeping the configuration frozen upstream and the randomization down here means you spin the seed on a small node instead of wrestling the thousand-entry monster every time you want a variation. Configure once, generate forever.

The inputs and outputs

Required:

  • selected_options (DPROMPT_DATA) - the output of an All-In-One List node. This is the only source it accepts; it won't take a plain string.
  • batch_size - how many prompts to produce this run
  • seed - the knob you'll actually touch; it decides what every 🎲Random category lands on

Optional:

  • allow_duplicates - defaults to true, letting a batch repeat picks

The output is prompt, a STRING list. Wire it into a CLIP Text Encode, or through Prompt Concat / Prompt Builder if you want to frame it. Add a Show Prompt node so you can read what each seed produced.

The practical workflow

Set up All-In-One List with the two or three categories you care about on 🎲Random. Wire its selected_options into Generator. Now queue prompts while incrementing the seed - each run is a different combination drawn from your fixed selection. When one lands, note the seed; that combination is reproducible. This is the pack at its most useful: controlled randomness you can lock down the moment it gets good.

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

  • The selected_options input has nothing to plug into - you need an All-In-One List node upstream; Generator only accepts its DPROMPT_DATA, not a string.
  • Changing the seed does nothing - that only re-rolls categories set to 🎲Random. If everything upstream is a fixed pick, there's nothing random to change.
  • Duplicates across a batch - allow_duplicates defaults to true; turn it off for distinct picks per batch item.
  • I can't see the prompts - the output is a list of strings; chain a Show Prompt node to read them.
Category🧪AILab/🧿WildPromptor

Inputs (4)

NameTypeDefaultDescription
selected_optionsDPROMPT_DATA
batch_sizeINT11–1000
seedINT00–18446744073709550000
allow_duplicatesoptBOOLEANtrue

Outputs (1)

NameTypeDescription
promptSTRING