Various utility nodes for ComfyUI
Perfil do pacote
README
A ComfyUI custom nodes package providing Model Downloader and API-Friendly Wildcard Processor utilities.
DaimalyadModelDownloader)Fontes
3 fontesVerificado 12 de set.
Trechos de fonte
1 trechoSource context: Repo apeirography/DaimalyadNodes
DaimalyadWildcardProcessor){option1|option2|option3} syntax\{, \|, \} for literal charactersdaimalyadnodesComfyUI/custom_nodes/ directory:
cd ComfyUI/custom_nodes/
git clone https://github.com/daimalyad/DaimalyadNodes.git
Inputs:
url (required): HTTP(S) URL to download fromsubfolder (required): Target subfolder under /models (e.g., "checkpoints", "loras", "controlnet")filename (optional): Custom filename (defaults to URL basename)overwrite (optional): Whether to overwrite existing files (default: True)sha256 (optional): SHA-256 hash for integrity verificationtimeout_s (optional): Network timeout in seconds (default: 120)retries (optional): Number of retry attempts (default: 3)user_agent (optional): Custom HTTP User-Agent headerOutput:
path: Absolute path to the downloaded fileExample:
URL: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned.safetensors
Subfolder: checkpoints
Filename: stable-diffusion-v1-5.safetensors
SHA-256: 6ce9ef5449e8abcb9bafd9a5d10aa7f9653e3a9f3c77a2e7d8f1e9a2b3c4d5e6f
Inputs:
text (required): Text containing wildcards like {a beautiful|an amazing} {landscape|portrait}Output:
text: Resolved text with wildcards replacedExamples:
Input: "A {beautiful|stunning} {landscape|portrait} of a {cat|dog}"
Output: "A beautiful landscape of a cat" (or any combination, always fresh)
Input: "Create a \{literal\} {option1|option2}"
Output: "Create a {literal} option1" (escaped braces preserved, always fresh)
Key Features:
time.time_ns() for maximum randomizationAPI Workflow Compatibility: Unlike most other wildcard processors, this node works seamlessly with ComfyUI's API workflow execution system. When you execute workflows via API calls, the wildcard processor will:
Nós neste pacote
Nós 2Verificado 12 de set.