Extensions/ComfyUI-Bada-Utils
ComfyUI Extension

ComfyUI-Bada-Utils

A ComfyUI extension with 3 custom nodes.

By bada-yaΒ·Created a day agoΒ·Updated a day agoΒ· 0
bada-ya/ComfyUI-Bada-Utils
Nodes3
On cloudLocal install
Category🌊 Bada Utils/Presets, 🌊 Bada Utils/Prompting
Stars0
Updateda day ago
Readme

🌊 ComfyUI-Bada-Utils (Bada Suite)

<div align="center">

Platform ComfyUI License Language GitHub stars

The Ultimate All-in-One Quality of Life (QoL), Smart Presets Master Hub, Auto Model Assigner & Visual Regional Prompting Suite for ComfyUI.
Seamlessly unifying 4 flagship productivity tools into a single, high-performance package.

English Documentation β€’ πŸ‡°πŸ‡· ν•œκ΅­μ–΄ μ„€λͺ…μ„œ 보기 (README_ko.md) β€’ πŸ“Έ Visual Walkthrough β€’ βš™οΈ Settings & i18n β€’ πŸš€ Installation

</div>

🌟 4 Flagship Integrated Modules

ComfyUI-Bada-Utils integrates Quality of Life enhancements, master preset switching, intelligent model auto-detection, and interactive visual regional prompting to accelerate your workflow creation and generation speed.

🌊 ComfyUI-Bada-Utils
β”œβ”€β”€ πŸ“ Module 1: Visual Grid Regional Prompt Pro (Visual Grid Regional Prompt)
β”‚   └── Diagonal drag partitioning, 10-category shot explorer, SVG silhouette preview, 6 AI format outputs
β”œβ”€β”€ 🌟 Module 2: Universal Smart Presets & Master Hub (Universal Smart Presets)
β”‚   └── 24px slim on-canvas radio switcher, Ctrl+drag batch snapshot, 2-tier roof badges, global presets
β”œβ”€β”€ ⚑ Module 3: Auto Model & LoRA Assigner (Auto Model Assigner)
β”‚   └── Missing model detection on workflow load, intelligent fuzzy matching (%), folder tree explorer
└── ✨ Module 4: Quality of Life (QoL) Master (Quality of Life Utils)
    └── Workflows+ sidebar explorer (drag-and-drop / 0-item folder preservation), active tracking, blank startup, mouse pan/zoom fixer

πŸ“Έ Module Visual Guides & Features


πŸ“ Module 1. Visual Grid Regional Prompt Pro (BadaRegionalPrompt)

Interactive multi-panel spatial composition prompt generator
(Optimized for Krea 2, MiniMax, Flux, SD3, ComfyUI BREAK, Midjourney, Imagen 3, ChatGPT, Gemini)

<p align="center"> <img src="docs/images/vrp/node_overview.png" alt="Visual Grid Regional Prompt Node Overview" width="850"> </p>

🌟 Key Features

  1. πŸ–±οΈ Click & Drag Interactive Area Partitioning:
    • Click and drag diagonally across grid cells to immediately create neon-highlighted rectangular areas.
    <p align="center"> <img src="docs/images/vrp/drag_area_guide.png" alt="Drag Area Guide" width="700"> </p>
  2. πŸ“‚ 10-Category Character Sheet Shot Explorer:
    • Windows Explorer-style collapsible tree with real-time keyword search:
      1. πŸ‘€ Face & Head (Hair to Collarbone): Front, Profile, 3/4 View, High Angle, Low Angle, Back Head
      2. πŸ‘οΈ Extreme Macro Close-up: Front, Side, 3/4 View
      3. πŸ‘š Bust Shot: Front, Profile, 3/4 View, High/Low Angle
      4. πŸ‘— Waist Shot: Front, Profile, 3/4 View, High/Low Angle
      5. ✨ Chest & Neckline: Front, Side, 3/4 View, High/Low Angle
      6. 🧍 Full Body Turnaround: Front, Side, 3/4 View, Back View, Walking Pose
      7. 🦡 Lower Body (Hips to Legs): Front, Side, 3/4 View, Back View, Dynamic Pose
      8. πŸ‘ Hips & Buttocks: Front Pelvis, Side Hip, Back View, Low Angle
      9. πŸ–οΈ Hands & Fingers: Back of Hand, Palm
      10. 🦢 Feet & Toes: Barefoot Top, Sole, Front, 3/4, Side
    <p align="center"> <img src="docs/images/vrp/preset_dropdown.png" alt="Shot Tree Selector" width="600"> </p>
  3. 🧍 Vector SVG Silhouette Dynamic Viewer: Full body, macro face, bust, hands, feet, and seated poses render dynamic SVG silhouettes with automatic 16:9, 9:16, and 1:1 aspect ratio scaling.
  4. 🎨 5 Art Styles & White Backdrop Lock: Hyper-realistic, Semi-realistic, 2D Anime, Concept Art, 3D CG β€” your White Backdrop toggle remains permanently preserved across style changes.
  5. πŸ‘€ Master Character Profile Anchor: Global top input bar enforces character facial, hair, and costume consistency across all partitioned panels.
  6. 🧩 6 Multi-AI Formats:
    • Natural Spatial: Krea 2, MiniMax, Gemini, GPT-4o, Flux, Midjourney.
    • ComfyUI / SD BREAK: (prompt:1.1) BREAK syntax.
    • Structured Tags: [Area 1 | LEFT (50% W, 100% H)].
    • Coordinates Bounding Box: <area_1 bbox="[0.0, 0.0, 0.5, 1.0]">.
    • Comma-Separated List and Raw JSON.

🌟 Module 2. Universal Smart Presets & Master Hub (BadaPresetHub & SmartPresets)

Wire-free master controller that switches complete workflow configurations with a single click

<p align="center"> <img src="docs/images/usp/01_universal_hub_node.png" alt="Universal Preset Hub Node" width="600"> </p>

🌟 Key Features

  1. πŸ”˜ On-Canvas 24px Ultra-Slim Radio Switcher (Fast Groups Style):
    • Instantly switch complete workflow parameter snapshots right on the canvas without opening modal dialogs.
  2. 🎯 2 Canvas Selection Modes for Instant Snapshot:
    • Ctrl + Mouse Drag (Box Area Selection): Drag a box around dozens of nodes to capture them all (🎯 Canvas Selection: 11 Nodes).
    • Ctrl + Mouse Click (Multi-Node Point Selection): Select only the required nodes (Checkpoints, VAE, KSampler, etc.).
    <p align="center"> <img src="docs/images/usp/02_selection_box_drag.png" alt="Ctrl Drag Box Selection" width="48%"> <img src="docs/images/usp/03_selection_multi_click.png" alt="Ctrl Click Multi Selection" width="48%"> </p>
  3. 🟣 Full Bypass & πŸ”΄ Mute Branch Support:
    • Effortlessly store and toggle execution states (Active, Bypass, Mute) for upscalers, detailers, and face enhancers across different presets.
  4. πŸ“‹ Universal Preset Hub Manager:
    • Review node pill tags, reorder (β–²/β–Ό), rename (✏️), and export/import .json backup profiles.
    <p align="center"> <img src="docs/images/usp/04_universal_hub_modal.png" alt="Universal Hub Manager Modal" width="800"> </p>
  5. 🏷️ 2-Tier Roof Badges:
    • Canvas nodes automatically display [🌐 N] (Global Presets count) and [🌟 N] (Universal Hub linkage count) badges for 1-click modal popup access.
    <p align="center"> <img src="docs/images/usp/05_node_roof_badges.png" alt="2-Tier Roof Badges" width="500"> </p>
  6. 🌐 Per-Node Global Presets & Parameter ON/OFF Pill Toggles:
    • Access node-specific global presets via right-click context menu.
    • Disable seed (strike-through) to keep the active seed while injecting steps, cfg, sampler, and scheduler.
    <p align="center"> <img src="docs/images/usp/06_context_menu.png" alt="Context Menu" width="48%"> <img src="docs/images/usp/07_global_preset_modal.png" alt="Global Preset Manager" width="48%"> </p>
  7. 🧠 3-Tier Smart Node Matching Engine:
    • Tier 1 (Node ID) βž” Tier 2 (Title + Type) βž” Tier 3 (Left-to-Right Canvas Coordinate Mapping) ensures 100% collision-free preset restoration on third-party workflows.

⚑ Module 3. Auto Model & LoRA Assigner (Auto Assigner)

Automatically detect missing models upon loading external workflows and link them to local files in 1 click

| 1. Right-Click Blank Canvas (Batch Assign) | 2. All Models Batch Smart Match Modal | | :---: | :---: | | Canvas Right Click | All Models Modal | | Click ⚑ Auto-Assign All Models/LoRAs at the bottom | Scans missing models with 100% path matching & similarity rankings |

| 3. Right-Click Specific Node (Single Node) | 4. Single Node Smart Match Modal | | :---: | :---: | | Node Right Click | Single Node Modal | | Click ⚑ Auto-Assign This Node | Instantly inspect and swap models for the selected node |

🌟 Key Features

  1. 🌲 Windows Explorer-Style Folder Tree Explorer:
    • Browse model directory hierarchies with auto-expand and instant highlighting for currently active model files.
  2. 🧩 Universal Slot Adapter for Third-Party Multi-LoRA Nodes:
    • Full support for Power Lora Loader (rgthree), DaSiWa LoRA Loader, Deno Multi LoRA Loader, Comfyroll, Efficiency Nodes, and custom loader stacks.
  3. 🧠 Intelligent Fuzzy Matcher:
    • Normalizes precision (fp8, bf16, fp16), version (v1, v2, turbo), and punctuation to recommend the best local match sorted by similarity (%).
  4. 🌐 1-Click Smart Web Search:
    • Cleaned model filenames with instant search links to πŸ” Google Search, πŸ€— HuggingFace, and πŸ’– Civitai.
  5. πŸ›‘οΈ Automatic Red Error Border Removal:
    • Instantly removes red error outlines and refreshes canvas widgets once models are assigned.

✨ Module 4. Quality of Life (QoL) Master (Workflows+ & Canvas Fixer)

Sidebar workflow manager, active workflow live tracker, clean startup canvas & global mouse fixer

πŸ“Š Native Workflows vs Enhanced Workflows+ Comparison

| Feature | πŸ“‹ Native Workflows Tab | ✨ Enhanced Workflows+ Tab | | :--- | :---: | :---: | | Native State Preserved | 100% Native | 1-Click Tab Switch (Workflows ↔ Workflows+) | | Empty Folders (0 items) | ❌ Hidden when empty | β­• Preserved with grey item count badge | | Mouse Drag & Drop | ❌ Not supported | β­• Drag to any folder or Root dynamically | | Hover Auto-Expand | ❌ Not supported | β­• 1.2s hover auto-opens subfolders | | Font & Row Size Control | ❌ Fixed | β­• 4-level size switch (A⁻ ~ A⁺⁺) with persistence | | Active Workflow Tracking | ❌ Manual search | β­• 🎯 Real-time auto-focus & smooth scroll into view | | Favorites (⭐/β˜…) | β­• Basic | β­• 100% 2-way live sync with native SQLite DB | | Context Menu | ❌ Basic | β­• Load / Move to / Favorite / Rename / Delete |

πŸ“Έ Feature Highlights

  • (1) ✨ Workflows+ Explorer & πŸŽ›οΈ Quick Toolbar:

    <p align="center"> <img src="docs/images/qol/02_workflows_plus.png" alt="Enhanced Workflows+ Tab" width="380"> <img src="docs/images/qol/04_toolbar_menu.png" alt="Quick Toolbar" width="380"> </p> * 🎯 **Focus Active Workflow**: Smoothly scrolls to and highlights the currently active workflow in bright green. * **`A⁺⁺` Font & Row Scaling**: Left-click cycles through 4 levels (`A⁻` to `A⁺⁺`), right-click opens quick selector. * βž• **New Folder**, πŸ“‚ **Expand/Collapse All**, πŸ”„ **Refresh**.
  • (2) πŸ–±οΈ Drag & Drop Folder Moving:

    <p align="center"> <img src="docs/images/qol/05_drag_and_drop.png" alt="Drag and Drop Moving" width="380"> <img src="docs/images/qol/03_context_menu.png" alt="Context Menu" width="320"> </p> * Drag files with mouse ghost badge to `🏠 Root` dropzone or target subfolders. * Hovering over a collapsed folder for 1.2s automatically expands it.
  • (3) 🎯 Real-Time Active Workflow Focus & Favorites Sync:

    <p align="center"> <img src="docs/images/qol/06_active_workflow_focus.png" alt="Active Workflow Auto Focus" width="500"> </p> * Automatically marks the open workflow with a blue `[β€’ Active]` badge and centers it in the view. * 100% two-way synchronized with native ComfyUI SQLite database (`comfyui.db`) and favorites bar.
  • (4) 🧼 Clean Blank Canvas Startup:

    • Eliminates startup missing model errors ("2 errors found") and starts with a clean, empty canvas.
  • (5) πŸ–±οΈ Global Canvas Mouse Pan & Zoom Fixer:

    • Prevents middle-click panning and wheel zooming from freezing over textareas, DOM widgets, or custom nodes.

βš™οΈ BADA Unified Settings (βš™οΈ Settings -> 🌊 Bada Utils)

Open the ComfyUI Settings dialog (βš™οΈ Settings) and select the 🌊 Bada Utils tab to access the centralized bilingual control center:

<p align="center"> <img src="docs/images/bada_settings.png" alt="BADA Unified Settings Control Center" width="850"> </p>

πŸ“‹ 5 Control Sections Overview

| Section | Setting Item | Description | | :--- | :--- | :--- | | 1. General (일반) | 🌐 UI Language (UI μ–Έμ–΄ μ„€μ •) | Switch display language between English (μ˜μ–΄) and ν•œκ΅­μ–΄ (Korean). Operates independently from ComfyUI native locale to ensure complete UI consistency. | | 2. Smart Features (슀마트 κΈ°λŠ₯) | πŸ“ Sidebar Workflow Folder Management<br>(μ‚¬μ΄λ“œλ°” μ›Œν¬ν”Œλ‘œμš° 폴더 정리 및 이동) | Enables drag-and-drop workflow folder organization, 0-item folder preservation, and Workflows+ tabs in the left sidebar. | | 3. Workflow & QoL (μ›Œν¬ν”Œλ‘œμš° & νŽΈμ˜μ„±) | πŸ–±οΈ Smooth Mouse Pan & Wheel Zoom Fixer<br>(마우슀 휠 쀌 & 쀑간 λ²„νŠΌ νŒ¨λ‹ 보정기) | Fixes middle-click panning and wheel zoom freezes even over textareas, DOM widgets, and custom nodes. | | 4. Startup Behavior (μ‹œμž‘ ν™˜κ²½) | 🧼 Clean Blank Canvas Startup<br>(μ‹œμž‘ μ‹œ 클린 빈 μΊ”λ²„μŠ€λ‘œ μ—΄κΈ°) | Starts ComfyUI and new tabs with a clean blank canvas, completely preventing annoying missing-model startup errors (2 errors found). | | 5. Global Presets<br>(κΈ€λ‘œλ²Œ 프리셋 등둝 ν˜„ν™© 및 관리) | πŸ—ƒοΈ Inline Overview & Management Panel | Full-width interactive preset summary across all node types. Features 1-click Collapse/Expand, Backup All (JSON), Import, and Open Full Popup. |


[!NOTE] πŸ’‘ Recommended ComfyUI Canvas Mode:
Like rgthree-comfy and other advanced visual canvas suites, Classic Canvas Rendering (Nodes 1.0) is recommended for the best interactive experience.
If you have experimental Nodes 2.0 enabled in ComfyUI Settings (βš™οΈ -> Use New Nodes 2.0), please set it to Disabled (OFF) for full interactive grid dragging and on-canvas radio buttons.


πŸ“‚ Included Example Workflow

Drag and drop workflows/visual_grid_prompt_workflow.json directly onto your ComfyUI canvas to immediately test the full regional prompt character turnaround pipeline.


πŸš€ Installation

Method 1: 1-Click Symlink Installer (Windows Recommended)

Double-click install_junction.bat in the repository root to automatically link ComfyUI-Bada-Utils into your ComfyUI/custom_nodes/ directory.

Method 2: ComfyUI Manager

  1. Open ComfyUI Manager.
  2. Search for ComfyUI-Bada-Utils and click Install.
  3. Restart ComfyUI and press Ctrl + F5 (Hard Refresh) in your browser.

Method 3: Git Clone

cd ComfyUI/custom_nodes
git clone https://github.com/bada-ya/ComfyUI-Bada-Utils.git

πŸ›‘οΈ 100% Backward Compatibility

All existing workflows built with UniversalPresetHub, VisualGridPromptNode, or VisualGridPrompt load seamlessly with zero missing node errors thanks to built-in class alias resolution.


πŸ“„ License

This project is open-sourced under the MIT License.