[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)
| Name | Type | Required |
|---|---|---|
| available_loras_stem | STRING | required |
| seed | INT | required |
| line_suffix | STRING | required |
| single_line_output | BOOLEAN | required |
| remove_whitespaces | BOOLEAN | required |
| remove_empty_tags | BOOLEAN | required |
| load_loras_from_prompt | BOOLEAN | required |
| remove_loras_pattern | BOOLEAN | required |
| wildcard_directory | STRING | required |
| model_A_optional | MODEL | optional |
| clip_A_optional | CLIP | optional |
| model_B_optional | MODEL | optional |
| clip_B_optional | CLIP | optional |
| prompt | STRING | optional |