Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

santodan-custom-nodes-comfyui

Report for all my custom nodes

Mantenedor@SantodanB · adoptionnota

Perfil do pacote

Status
Verificado
Publicador
@Santodan
Fonte
GitHub

README

Santodan Custom Nodes for ComfyUI

This is a group of nodes that I've build to achieve my goals.


🪄 Wildcard Manager Node

The Wildcard Manager is a powerful dynamic prompt and wildcard processor. It allows you to create complex, randomized text prompts using a flexible syntax that supports nesting, weights, multi-selection, and more. It is designed to be compatible with the popular syntax used in the Impact Pack's Wildcard processor, making it easy to adopt existing prompts and wildcards. It supports both .txt ( default one, not needing the extension) and YAML files ( both .yaml and .yml)

Reading the files from the default ComfyUI folder ( ComfyUi/Wildcards )

✨ Key Features & Syntax

  • Dynamic Prompts: Randomly select one item from a list.
    • Example: {blue|red|green} will randomly become blue, red, or green.
  • Wildcards: Randomly select a line from a .txt file in your ComfyUI/wildcards directory.
    • Example: __person__ will pull a random line from person.txt.
  • Nesting: Combine syntaxes for complex results.
    • Example: {a|{b|__c__}}
  • Randomize: Randomize the wildcard independently from the seed.
    • Example: __*person__ w ill always pulls a random line from person.txt, regardless of the seed.
    • Example: {*red|blue|green} always pulls a random item from the list, regardless of the seed.
  • Sequential: Use + to select items in order across different queue runs.
    • Example Wildcard: __+person__
    • Example Dynamic: {+red|blue|green}
  • Weighted Choices: Give certain options a higher chance of being selected.
    • Example: {5::red|2::green|blue} (red is most likely, blue is least).
  • Multi-Select: Select multiple items from a list, with a custom separator.
    • Example: {1-2$$ and $$cat|dog|bird} could become cat, dog, bird, cat and dog, cat and bird, or dog and bird.
  • Quantifiers: Repeat a wildcard multiple times to create a list for multi-selection.
    • Example: {2$$, $$3#__colors__} expands to select 2 items from __colors__|__colors__|__colors__.
  • Comments: Lines starting with # are ignored, both in the node's text field and within wildcard files.

🔧 Wildcard Manager Inputs

  • wildcards_list: A dropdown of your available wildcard files. Selecting one inserts its tag (e.g., __person__) into the text.
  • processing_mode:
    • line by line: Treats each line as a separate prompt for batch processing.
    • entire text as one: Processes the entire text block as a single prompt, preserving paragraphs.

🗂️ File Management

The node includes buttons for managing your wildcard files directly from the ComfyUI interface, eliminating the need to manually edit text files.

  • Insert Selected: Insertes the selected wildcard to the text.
  • Edit/Create Wildcard: Opens the content of the wildcard currently selected in the dropdown in an editor, allowing you to make changes and save/create them.
    • You need to have the [Create New] selected in the wildcards_list dropdown
  • Delete Selected: Asks for confirmation and then permanently deletes the wildcard file selected in the dropdown.

📸 Screenshot / Demo

  • Wildcard - Entire Text As One wildcardEntireTextAsOne

  • Wildcard - Line By Line wildcardLineByLine

  • Wildcard - Comptability with PromptList for a batch processing wildcardPromptList

  • Wildcard - View Content wildcardViewContent


LoRAs Nodes

🎲 Randomize LoRAs Node

The Randomize LoRAs node lets you experiment by randomly selecting LoRAs from a list and assigning randomized strengths. You can enable exclusive selection (just one LoRA) or allow multiple LoRAs to be mixed. There are two nodes for this, the Random LoRA Selector and the `Random LoRA

Nós neste pacote

Nós 15
  • ExcludedLoras
  • ExtractAndApplyLoRAs
  • ListSelector
  • LoRACachePreloader
  • LoraMetadataHub
  • ModelAssembler
  • PromptListWithTemplates
  • RandomLoRACustom
  • RandomLoRACustomModel
  • RandomLoRAFolder
  • RandomLoRAFolderModel
  • Save Workflow & Shutdown
  • SaveWorkflowAndShutdown
  • SplitBatchWithPrefix
  • WildcardManager

Recursos relacionados

1 conexão

Fontes

3 fontes
GitHubFonteVersão 33efaa6781fa263d0f7dd16201ed13cc6b839119
github.com/Santodan/santodan-custom-nodes-comfyui

Verificado 12 de out.

Trechos de fonte

1 trecho

Source context: Repo Santodan/santodan-custom-nodes-comfyui