ComfyUI Extension
WFA Node Suite (WaifuArchitect)
WFA Node Suite (WaifuArchitect) for ComfyUI: High-performance utility and refiner nodes including Batch Prompt Loader & Interactive Label Filter UI, Loop Iterator & Auto-Shutdown, 100-input lazy Index Switch, Find & Replace, and Full-Image Refiners.
WAonGHub/ComfyUI-WA-Suite
Nodes48
On cloudLocal install
CategoryWFA Node Suite/Refiners, WFA Node Suite/Prompts
Stars1
Updated2 days ago
Nodes (48)
WFA Advanced Full Image Refiner ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Advanced Full Image Refiner (Pipe) ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Batch Prompt Loader ⚡ (WFA Suite)
WFA Node Suite/Prompts
WFA Batch Prompt Switcher ⚡ (WFA Suite)
WFA Node Suite/Prompts
WFA Character LoRA Cockpit ⚡ (WFA Suite)
WFA Node Suite/Cockpit
WFA Cockpit Pipe In ⚡ (WFA Suite)
WFA Node Suite/Cockpit
WFA Cockpit Pipe Out ⚡ (WFA Suite)
WFA Node Suite/Cockpit
WFA Edge-Targeted Refiner ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Edge-Targeted Refiner (Pipe) ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Exact Impact Refiner ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Exact Impact Refiner (Pipe) ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Find & Replace 10 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 100 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 20 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 30 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 40 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 50 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 60 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 70 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 80 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Find & Replace 90 ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Full Image Refiner ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Full Image Refiner (Pipe) ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Generation Deck ⚡ (WFA Suite)
WFA Node Suite/Cockpit
WFA Index Switch 10 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 100 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 20 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 30 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 40 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 50 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 60 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 70 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 80 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Index Switch 90 ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA INT Index Switch ⚡ (WFA Suite)
WFA Node Suite/Switches
WFA Loop Iterator ⚡ (WFA Suite)
WFA Node Suite/Iterators
WFA Loop Shutdown ⚡ (WFA Suite)
WFA Node Suite/Iterators
WFA Model Upscale & Scale ⚡ (WFA Suite)
WFA Node Suite/Upscaling
WFA Outfit & Perspective Resolver ⚡ (WFA Suite)
WFA Node Suite/Prompts
WFA Prompt Counter ⚡ (WFA Suite)
WFA Node Suite/Iterators
WFA Prompt Inspector ⚡ (WFA Suite)
WFA Node Suite/Cockpit
WFA Prompt Label Filter ⚡ (WFA Suite)
WFA Node Suite/Prompts
WFA Remove Banned Tags ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Save Prompt .txt ⚡ (WFA Suite)
WFA Node Suite/IO
WFA Smart Mask Refiner ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Smart Mask Refiner (Pipe) ⚡ (WFA Suite)
WFA Node Suite/Refiners
WFA Tag Banlist Switch ⚡ (WFA Suite)
WFA Node Suite/Strings
WFA Text Index Switch ⚡ (WFA Suite)
WFA Node Suite/Strings
Readme
WFA Node Suite (ComfyUI-WA-Suite)
High-performance utility & refiner node suite for ComfyUI by WA (WaifuArchitect).
Search wfa in ComfyUI to quickly bring up all nodes in this suite without colliding with WAS Node Suite.
Included Nodes
1. WFA Index Switch (10 / 20 / 30 / 40 / 50 / 60 / 70 / 80 / 90 / 100) ⚡ (WFA Suite)
- Category:
WFA Node Suite/Switches - Variants:
- 10 sizes from
WFA Index Switch 10 ⚡up toWFA Index Switch 100 ⚡(in steps of 10).
- 10 sizes from
- Features:
- 1-Click Upgrade / Resize (
+10,-10, or Any Size10–100): Right-click any Index Switch node to⚡ Expand +10 Inputs,⚡ Shrink -10 Inputs, or jump to any size (10to100) in-place while keeping all connected wires, custom row labels,indexconnection, title, and colors. - Wildcard Inputs (
0… $N-1$): Accepts any data type (MODEL,LATENT,IMAGE,STRING,CONDITIONING,CLIP,VAE, etc.). - True Lazy Evaluation: Uses ComfyUI's native
check_lazy_statusso only the upstream branch connected to the selectedindexis executed. All other branches are completely ignored. - Numbered Gutter & Alternating Dark/Light Grey Rows: Matches the visual layout of
WFA Text Index Switchwith alternating row shading and active green row indicator. - Clickable & Writeable Row Labels: Click any row to type a custom name right next to its connection dot (replaces static
input_28labels; useEnter/Up/Downto move between rows). - Wire & Label Reordering Shortcuts:
- Click a row number (
0–99): Setsindexto that slot. Ctrl + Clicka row number: Inserts an empty slot at that row and shifts all connected wires & labels below it down by 1.Shift + Click(orAlt + Click) a row number: Deletes that row and pulls all connected wires & labels below it up by 1.
- Click a row number (
- 1-Click Upgrade / Resize (
2. WFA Find & Replace (10 / 20 / 30 / 40 / 50 / 60 / 70 / 80 / 90 / 100) ⚡ (WFA Suite)
- Category:
WFA Node Suite/Strings - Variants:
- 10 sizes from
WFA Find & Replace 10 ⚡up toWFA Find & Replace 100 ⚡(in steps of 10).
- 10 sizes from
- Features:
- 1-Click Upgrade / Resize (
+10,-10, or Any Size10–100): Right-click any Find & Replace node to⚡ Expand +10 Entries,⚡ Shrink -10 Entries, or jump to any size (10to100) in-place while keeping all connected wires, typed text, custom slot labels, title, and colors. - Direct
● textInput Socket: Clean connection dot at the top instead of a bulky multiline textbox. - Simultaneous (Single-Pass) Mode: Compiles all active search strings into a single LRU-cached pass with $O(1)$ lookup per match.
- Sequential (Chained) Mode: Applies replacements in order (
1$\rightarrow$ $N$) using fast C-levelstr.replace. - Supports Case Sensitive and Regular Expression (
use_regex) toggles.
- 1-Click Upgrade / Resize (
3. WFA Text Index Switch ⚡, WFA INT Index Switch ⚡ & WFA Tag Banlist Switch ⚡ (WFA Suite)
- Categories:
WFA Node Suite/Strings(WFA Text Index Switch,WFA Tag Banlist Switch) &WFA Node Suite/Switches(WFA INT Index Switch) - Features:
- Row Number Gutter (
0,1,2, …): Displays line indices directly next to the text box so you never have to manually type/*0*/,/*1*/, etc. - Alternating Dark Grey & Light Grey Rows: Zebra-striped row backgrounds that automatically expand if a long prompt or label wraps onto multiple visual lines.
- Click-to-Select, Insert & Delete Rows:
- Click a row number in the left gutter to set
selectto that index. - Ctrl + Click a row number to insert a new blank row there and push all rows below it down by 1.
- Shift + Click (or Alt + Click) a row number to delete that row and pull all rows below it up by 1.
- Click a row number in the left gutter to set
WFA INT Index Switch ⚡: Dedicated INT-only version with the exact same 100-row labeled UI, outputting onlyselected_index(INT) withoutSTRINGoutput orstrip_comment_index.WFA Tag Banlist Switch ⚡: 100 selectable tag-banlist rows (0–99) in one node! Connect your main prompt to● text, select which banlist row to apply (e.g. Row0= empty/none, Row1=/*LOOKING AWAY*/ *eyes*, eyelashes, smile, open mouth, etc.), and it cleanly filters out banned tags while preserving prompt casing, weights(tag:1.2),((grouped tags)), and{dynamic|prompts}.WFA Remove Banned Tags ⚡: Compact file-based banned tag remover that reads any selectable.txtbanlist insideComfyUI-WA-Suite/banlists/(ships withbanned_tags.txtandbanned_tags2.txt, and automatically discovers any new.txtfiles you add tobanlists/). Includes Smart Text & Tag Filter (handles lines with or without trailing commas, matches longest phrases first solipsnever eats half ofred lips, removes(tag:1.2)weights cleanly, and live-reloads.txtedits on save), plus LP Text Mode and LP Tag Mode.- Backwards-Compatible Paste (
strip_comment_indexon Text Index Switch): Automatically strips leading/*0*/,/*1*/prefixes if you paste prompts from older selector nodes.
- Row Number Gutter (
4. WFA Full Image Refiners ⚡ (WFA Suite)
- Category:
WFA Node Suite/Refiners - Included Refiner Nodes (Standard +
BASIC_PIPEVariants):WFA Full Image Refiner ⚡ (WFA Suite)&(Pipe)WFA Advanced Full Image Refiner ⚡ (WFA Suite)&(Pipe)— Adds pre-sharpening (unsharp mask) and pre-refinement bicubic upscale/downscale.WFA Exact Impact Refiner ⚡ (WFA Suite)&(Pipe)— Emulates Impact Pack's full-image crop refinement with differential diffusion andInpaintModelConditioningsupport.WFA Edge-Targeted Refiner ⚡ (WFA Suite)&(Pipe)— Generates a Sobel edge mask (EDGE_MASK) to focus refinement on edges and details.WFA Smart Mask Refiner ⚡ (WFA Suite)&(Pipe)— Combines Sobel edge detection, morphological dilation, base mask level, and Gaussian blur (SMART_MASK).
5. WFA Loop Iterator ⚡, WFA Loop Shutdown ⚡ & WFA Prompt Counter ⚡ (WFA Suite)
- Category:
WFA Node Suite/Iterators - Features:
WFA Loop Iterator ⚡: All-in-oneINTcounter, auto-rewinder (reset_to$\rightarrow$end_index), multi-pass loop counter (total_loops), andImpactQueueTriggerreplacement in a single node. Stops cleanly without throwing redRuntimeErrorcrashes, cancels on 1 click, and includes a↺ Reset Counterbutton.WFA Loop Shutdown ⚡: Compact overnight power-saving copy ofWFA Loop Iterator. Waits until the very last image finishes generating and saving to disk, runs a configurable safety countdown (delay_sec, default60s) with a live✖ ABORT SHUTDOWNbutton on the node, and then cleanly unloads GPU VRAM, closes ComfyUI, and executes your chosenafter_runpower action (Shut Down PC,Sleep PC,Hibernate PC,Close ComfyUI, orDo Nothing).WFA Prompt Counter ⚡: Reads the total prompt count (count) and 0-basedend_index(count - 1) from Inspire Pack Batch Prompts (ZIPPED_PROMPToutputs,---formatted prompt strings, or.txtfiles ininspire_prompts), multiline prompt lists, or any ComfyUILIST. Connect itsend_indexoutput directly intoWFA Loop Iterator'send_index!
6. WFA Save Prompt .txt ⚡ (WFA Suite)
- Category:
WFA Node Suite/IO - Features:
- Replaces 8+ string concat,
LoRA Stack -> String, filename builder, andSave Textnodes with one compact all-in-one node. - Automatic Sub-Subfolder & Matching
image_pathOutput: Saves to<ComfyUI output>/<subfolder>/<character>/<character><separator><prompt_index>.txt(whenchar_folderis enabled) and outputsimage_path(subfolder/character/character_index_) ready to wire straight into yourSave Imagenode so images and.txtlogs always land in the same folder with matching names. - Used Model Logger (
model): Connect a checkpoint/model name (STRING/COMBO) or wire aMODEL/PIPElink directly — automatically traces the upstream loader to log the exact.safetensorsmodel filename under[MODEL]. - Built-In
LORA_STACKConverter: Wire yourlora_stackdirectly intolora_stack(no external converter node needed!) — formats<lora:name:model_wt:clip_wt>automatically and skips"None"slots. - Direct
INTorSTRINGprompt_indexInput: Wire yourWFA Loop Iteratorindexstraight in without needing anINT to Stringnode. - Dedicated Prompt Inputs: Optional sockets for
raw_prompt,raw_negative,refined_prompt,final_prompt, andfinal_negative(cleanly skips any unconnected/empty inputs, with optional[SECTION]headerstoggle andoverwrite/append/auto_numbermodes).
- Replaces 8+ string concat,
7. WFA Batch Prompt Loader ⚡, WFA Batch Prompt Switcher ⚡ & WFA Prompt Label Filter ⚡ (WFA Suite)
- Category:
WFA Node Suite/Prompts - Features:
WFA Batch Prompt Loader ⚡: Single-node, zero-warning replacement for Inspire Pack'sLoad Prompts From File+Unzip Prompt+ 9+ embedded regex extractor nodes:- Title-Aware & Zero Console Spam: Natively understands
----\nTITLE\n----headers, top banners, and trailing scratchpad notes without printinginvalid prompt formatwarnings in the console. - Clean
key: valueSections + 5-Character Future-Proofing: Directly parseswidth:,height:(orhight:),size:(896x1152),batchsize:,sdxl_lora:,sdxl_strength:,anima_lora:,anima_strength:, and up to 5 character toggles (c1:–c5:orchars: C1, C2) right out of each prompt block. - 100% Backwards-Compatible Legacy Parsing: Automatically extracts existing
/*{{{width}}}[[[height]]][[{batch}]][{{sdxl_idx}}]{[{sdxl_str}]}[}{anima_idx}{]{[}anima_str{]}[{[c1]}]{[[c2]]}*/negative metadata blocks and strips only that control block while preserving/*AVOID, */and all other Find & Replace placeholders. - Standalone or Filter-Controlled: Works completely standalone (
prompt_file+index) OR controlled via thelabel_filterwire fromWFA Prompt Label Filter ⚡. Automatically discovers.txtfiles from bothComfyUI-WA-Suite/prompts/andComfyUI-Inspire-Pack/prompts/with sub-millisecond RAM mtime caching.
- Title-Aware & Zero Console Spam: Natively understands
WFA Batch Prompt Switcher ⚡: Upgraded copy ofWFA Batch Prompt Loader ⚡that consolidates 12–15 external Switch nodes directly into the loader with zero inactive-branch latency:- 1-to-1 Mirrored Single-UI Input Sockets: Mirrors
positive,negative,title,width,height,batch_size,sdxl_lora,sdxl_strength,anima_lora,anima_strength, andc1_enable–c5_enabledirectly across from their matching output sockets. - True Lazy Evaluation (
check_lazy_status): Whenuse_batchisBatch File, your Single UI upstream branches are completely skipped; whenuse_batchisSingle UI, the batch filter upstream branch is skipped. - Independent
file_batchSwitch: Separate boolean switch (Batch FilevsUI Input) lets you overridebatch_sizefrom your UI even while running prompts & settings from the batch.txtfile. - Automatic Prefix Stripping: Automatically strips leading
"positive:"from thepositiveinput and leading"negative:"from thenegativeinput so pasted prompts work cleanly without extra regex nodes.
- 1-to-1 Mirrored Single-UI Input Sockets: Mirrors
WFA Prompt Label Filter ⚡: Clean dark-themed cockpit UI node designed to sit directly inside your ComfyUI dashboard:- Auto-Detects Extendable
[LABEL]Tags: Scans all prompt titles in the selected.txtfile for bracket labels (e.g.[CORE],[MODERN],[MEDIEVAL],[GS],[PREG],[TAIL],[F1]–[F3],[M1]–[M2], or any new[CUSTOM]tag you invent on demand) and renders interactive checkboxes with per-label prompt counts. - Live Prompt Counter & Quick Controls: Shows real-time
● Active: X / Ycount before you even queue, withAll,None,Inv,↻(disk rescan), andCtrl+Clickto solo any label. - 3 Filter Modes:
Allowed Only(skips any prompt carrying an unchecked label),Match ANY (OR), andMatch ALL (AND). - Zero-Cycle Wiring with Loop Iterator: Connect
WFA Prompt Label Filter.end_index$\rightarrow$WFA Loop Iterator.end_index,WFA Prompt Label Filter.label_filter$\rightarrow$WFA Batch Prompt Loader.label_filter, andWFA Loop Iterator.index$\rightarrow$WFA Batch Prompt Loader.index.
- Auto-Detects Extendable
Example .txt Prompt Format
----
[CORE] [MODERN] [F1] Standing Outdoor Portrait
----
width: 896
height: 1152
sdxl_lora: 2
sdxl_strength: 0.5
anima_lora: 1
anima_strength: 0.5
c1: true
c2: false
c3: false
c4: false
c5: false
positive: 1girl, solo, standing, city street, soft sunlight
negative: /*AVOID, *//*SCENEneg, *//*NEGATIVE, */lowres, blurry
8. WFA Model Upscale & Scale ⚡ (WFA Suite)
- Category:
WFA Node Suite/Upscaling - Features:
- Combines
Load Upscale Model+Upscale using Model+Upscale Image Byinto one compact, fast node. - Supersampled Downscaling / Sharpening: Defaults to
scale_by: 0.50+bicubicso4xupscale models cleanly produce crisp2xsupersampled images without bloated 4K dimensions. - RAM Model Caching & OOM-Safe Tiling: Caches the loaded
.pth/.safetensorsupscale model across batch loop iterations (zero repeated disk loads) and runs tiled GPU execution with automatic OOM fallback and VRAM offloading. - Fused NCHW Post-Resize: Rescales directly on the model's
(B, C, H, W)tensor before permuting back to ComfyUIBHWC, eliminating two full-size 4K tensor transposes. - 1-Click / Wireable
enabledBypass Switch: SetenabledtoBypass(or wire a dashboard boolean toggle) to passimagestraight through in0mswithout needing an external Switch/Bypass node. - Outputs:
image(IMAGE),width(INT),height(INT), plus a live resolution status pill above the node (896×1152 → 1792×2304 (4x × 0.50)).
- Combines
9. WFA Cockpit UI Suite ⚡ (Character LoRA Cockpit, Generation Deck, Prompt Inspector + Cockpit Pipe In / Out)
- Category:
WFA Node Suite/Cockpit - Zero-Clutter Single-Wire
WFA_PIPEArchitecture:- Every dashboard UI card has only a single
pipesocket row (o pipe ──▶ pipe o) at the top—zero bulky input/output socket stacks eating up your dashboard! - Chain all 3 dashboard cards cleanly (
Character LoRA Cockpit$\rightarrow$Generation Deck$\rightarrow$Prompt Inspector) and handle all backend intakes/outputs in just 2 hidden backend helper nodes (WFA Cockpit Pipe In ⚡&WFA Cockpit Pipe Out ⚡).
- Every dashboard UI card has only a single
- Features:
WFA Character LoRA Cockpit ⚡: 5-slot (C1–C5) interactive character LoRA dashboard card replacing 8–20+ LoRA Switch, Override, Solo Strength, Multi/Duo Strength, LoRA Picker, and<lora:name:wt>/LORA_STACKnodes:- Each row (
C1–C5) provides[✓ C#]UI toggle,[Ovr]Batch-Override lock, an instant-search filterable LoRA picker, and inlineS(Solo) +M(Multi/Duo) strength inputs, plus a live<lora:...>tag preview footer. - Header
⚡ Auto / Batch / UImode pill automatically syncs withGeneration Deck'sPrompts: File / UIswitch when chained inAutomode.
- Each row (
WFA Generation Deck ⚡: Unified center-column control panel replacing 13–15+ separate primitive nodes in one aligned dark dashboard card:PKG(Package Name) +Prompts: File / UI(use_batch) +File / Manual B-Size(file_batch) +Batch Size.- Interactive 2D Aspect Ratio & Resolution Pad: Live dotted 2D
<canvas>pad with proportionalW × Hframe preview,1:1diagonal guide, aspect ratio & megapixel badge (7:9 • 1.03MP), smooth pointer-capture dragging (Shift+Draglocks1:1Square,Alt+Dragscales keeping current aspect ratio),W ⇄ Hswap,÷16/÷32alignment snap, and 3×2 preset chips (832×1216,896×1152,1024²,1152×896,1216×832,768×1344). - Sampler, Seed & Refiner Grid:
Steps,CFG,Sampler,Scheduler(wildcard-compatible with any KSampler/Refiner),Seed(increment/fixed/randomize/decrement+🎲 New Seedbutton, auto-advancing on every queued generation),Refiner %, andRefiner ×scale. - 4 Customizable Feature Toggle Pills (
toggle_1–toggle_4): Click to toggletrue/false(e.g.Color Match,2nd Refiner,Upscale 2x,3rd Refiner);Shift + Clickany pill to rename it.
WFA Prompt Inspector ⚡: MergesFinal Prompt+Token Loginto one dark syntax-highlighted viewer:- Displays live
● N tokcount (exact model tokens whenclipis wired viaPipe In, or fast BPE estimate),LoRAcount,Copybutton, and an automatic amber⚠ /*...*/warning badge if any unreplaced template placeholder remains. - Switch between color-highlighted
Promptview (<lora:...>emerald,(weight:1.2)cyan,{a|b}violet,/*UNREPLACED*/amber) and per-tagTokensbreakdown table.
- Displays live
WFA Cockpit Pipe Out ⚡&WFA Cockpit Pipe In ⚡: Consolidate all 31 backend outputs (Pipe Out) and backend intakes (c1_enable–c5_enable,lora_stack_in,final_prompt,cliponPipe In). WiringPipe Out.pipe+final_prompt+clipintoPipe Inat the end of prompt compilation pushes live exact token breakdowns back to an upstreamWFA Prompt Inspectorwith zero graph cycles.
10. WFA Outfit & Perspective Resolver ⚡ (WFA Suite)
- Category:
WFA Node Suite/Prompts - Features:
- Replaces 20+
ImpactLogicalOperators+Node Status Switch+Find & Replaceoverlap/exception gates with one compact, zero-wire-spaghetti node powered by an editable, hot-reloading.txtrulesheet (ComfyUI-WA-Suite/rules/outfit_conflicts.txt). - Automatic Camera Perspective & Reveal Detection: Scans the assembled prompt for
@viewangles (BACK,BELOW,ABOVE,SIDE, or defaultFRONT— supporting simultaneous combinations likeBACK + BELOW) and directional reveal modifiers (open shirtvsbacklessvsshirt lift,skirt lift,upskirt,sitting + ~spread legs, etc.). - 2-Stage Occlusion $\rightarrow$ Combo Engine:
- Stage 1 (
HIDE/REPLACE): Strips occluded inner garments (e.g. hidesbra/chest sarashiunder anopen shirt/open hanfuwhen viewedfrom behind, orpantiesunder askirt/aoqunwithout a reveal trigger), resolves Facial & Eye Occlusions (facing awaystrips all 260+ categories of facial features/eyes/bangs unlesslooking back;closed eyesstrips all eye colors, pupils, sclera, and open-eye states while keeping eyelashes/eyebrows/lips;eyepatch/one eye coveredsingularizes<color> eyes$\rightarrow$<color> eyeand hidesheterochromia), and rewrites/cleans front-only tags on back views (open shirt => shirt,(open crimson hanfu:1.15) => (crimson hanfu:1.15),cleavage,partially unbuttoned) while preserving<lora:...>tags,/*...*/comments, and outer group weights like(white shirt, lace bra:1.2)$\rightarrow$(white shirt:1.2). - Stage 2 (
COMBO): Evaluates layer synergies ((panties under pantyhose:1.1),pants under skirt,pants under dress) after Stage 1 so occluded items never trigger combos — eliminating separate exclusion (EX) nodes! Supports bothPLACEHOLDER /*...*/replacement (with automatic unused-placeholder cleanup) and inline tag injection. - Stage 3 (
+NEG/NEG): Appends triggered negative safety reinforcements (e.g.bra, bra strapson clothedBACKviews) to an optionalnegativepassthrough so LoRAs don't draw occluded garments over outer clothes.
- Stage 1 (
- False-Positive Immunity & Multi-Character Scoping: Word-boundary matching (
~branever hitsbraided hair,bracelet, orno bra;~dress+-~dress shirtnever hitsmaid headdressorwhite dress shirt), plusAuto (Per [Char: ...] + Global)scoping so[CharA: ...]and[CharB: ...]resolve their own outfits independently while inheriting global camera angles. - Hot-Reloading
.txtRulesheets: Editrules/outfit_conflicts.txt(or drop new.txtpresets intorules/) and save — changes take effect immediately on the very next run without restarting ComfyUI.
- Replaces 20+
Installation
Via ComfyUI-Manager
- Open ComfyUI-Manager $\rightarrow$ Custom Nodes Manager and search for
WFA, or - Click Install via Git URL and paste
https://github.com/WAonGHub/ComfyUI-WA-Suite.
Manual Installation
cd ComfyUI/custom_nodes
git clone https://github.com/WAonGHub/ComfyUI-WA-Suite.git