Nodes/ComfyUi-MpiNodes/Mpi RandPromptGen Override List
ComfyUI Node

Mpi RandPromptGen Override List

Swap a preset's contents without editing JSON

By MadPonyInteractive·Created 11 months ago·Updated 5 days ago· 3
Mpi RandPromptGen Override List
  • overrides
  • overrides
list
options

The presets behind Mpi RandPromptGen live in JSON files inside the pack - locations, expressions, clothing sets, lighting descriptors. Editing those files by hand is how you customize them, and it's miserable: one bad comma and the whole generator throws. Mpi RandPromptGen Override List is the in-graph way to do it: you pick which preset list you're overriding and type your replacement options, and it hands the override to the generator over a wire instead of a filesystem edit.

How it works

Two inputs:

  • list - a dropdown of the preset lists. The full set: bikini, expressions, hair_styles, indoor_bright_lighting, indoor_clothing_set, indoor_dark_lighting, indoor_locations, lingerie, outdoor_bright_lighting, outdoor_clothing_set, outdoor_dark_lighting, outdoor_locations, poses, shot_types. Yes, that's 14 - and yes, the indoor/outdoor clothing and lighting split is why the indoors_outdoors dial on the generator matters.
  • options - multiline text, one option per line. When set, these replace the preset list's contents.

The optional overrides input lets several override nodes chain onto one bundle; the output overrides (MPI_RANDPROMPT_OVR) plugs into Mpi RandPromptGen's overrides socket. The tooltip flags one important behavior: overriding a list affects the saved preset - so this isn't a throwaway tweak; it changes what a subsequent save writes to disk.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/MadPonyInteractive/ComfyUi-MpiNodes

Restart, or ComfyUI Manager → search ComfyUi-MpiNodes. No dependencies, AGPL-3.0 from v1.2.7 (MIT through 1.2.6).

The honest take

This is the node that makes the generator yours. The shipped defaults are adult-content-flavored (see the bikini/lingerie lists right there in the dropdown), so if that's not your thing, replacing the clothes-family lists with your own via this node is the fastest fix - far better than hunting JSON files. The gotcha is the saved-preset side effect: because overrides fold into what gets saved, a temporary experiment can quietly become your new default. If a run suddenly looks "stuck" on your override options, remember the override is still wired in - unplug it, don't hunt for corrupted files.

CategoryMpiNodes/PromptGen

Inputs (3)

NameTypeDefaultDescription
listCOMBOPreset lists
optionsSTRINGWhen set, overrides the list and affects saved preset!
overridesoptMPI_RANDPROMPT_OVR

Outputs (1)

NameTypeDescription
overridesMPI_RANDPROMPT_OVR