[Silver] Rich Text Basic Dynamic Prompts

SILVER_BasicDynamicPrompts

Basic Dynamic Prompts Node with Rich-Text. Place a new instance of this node to get the full instructions. INPUTS: model/clip_A/B_optional: Used to automatically load loras when 'load_loras_from_prompt' is True and the prompt contains valid lora patterns and they exist in your LORA dir. line_suffix: Appends this string to the end of every line. Useful to automate suffixing of tags and descriptive text with either commas or single dots. single_line_output: This must be True for multi-line combinations to work. remove_whitespaces: Trims every line and converts multiple spaces to single space, ex: ' ' -> ' '. Also removes empty lines. remove_empty_tags: 'tags' here is anything between dots or commas. Fixes cases like this: 'cat,, , dog' -> 'cat, dog'. load_loras_from_prompt: When this is True and either 'model_optional' or 'clip_optional' (or both) is given - will attempt to load loras based on lora patterns in the prompt. You can use this switch to quickly enable/disable lora loading functionality. remove_loras_pattern: Removes every lora pattern found from the output prompt. You probably want to keep this True. wildcard_directory: The directory where TXT wildcard files are stored.

Pack: ComfyUI-RichText_BasicDynamicPrompts

custom_nodes.ComfyUI-RichText_BasicDynamicPrompts

Inputs (14)

NameTypeRequired
available_loras_stemSTRINGrequired
seedINTrequired
line_suffixSTRINGrequired
single_line_outputBOOLEANrequired
remove_whitespacesBOOLEANrequired
remove_empty_tagsBOOLEANrequired
load_loras_from_promptBOOLEANrequired
remove_loras_patternBOOLEANrequired
wildcard_directorySTRINGrequired
model_A_optionalMODELoptional
clip_A_optionalCLIPoptional
model_B_optionalMODELoptional
clip_B_optionalCLIPoptional
promptSTRINGoptional

Outputs (9)

NameType
model_AMODEL
clip_ACLIP
model_BMODEL
clip_BCLIP
promptSTRING
original_promptSTRING
loaded_lora_patterns_ASTRING
loaded_lora_patterns_BSTRING
loras_names_not_foundSTRING