ComfyUI Extension: Wizdroid ComfyUI Outfit Selection
A comprehensive outfit generation system for ComfyUI with AI-powered prompt enhancement and dynamic outfit composition.
Custom Nodes (0)
README
Wizdroid ComfyUI Outfit Selection
<p align="center"> <img src="icon.svg" alt="Wizdroid Outfits" width="64" height="64"> </p>A comprehensive outfit generation system for ComfyUI with AI-powered prompt enhancement and dynamic outfit composition.
π Table of Contents
π― Features
π Dynamic Outfit Generation
- Female & Male Outfit Nodes: Generate complete outfits with randomization
- Extensive Customization: 20+ outfit categories (torso, legs, feet, accessories, etc.)
- Smart Randomization: Intelligent random selection with seed control
- JSON-Based Data: Easily customizable outfit options via JSON files
π€ AI-Powered Prompt Enhancement
- Ollama LLM Integration: Enhance prompts with local AI models
- Vision Node Support: Describe images using vision-language models
- Flexible Styling: Multiple prompt styles and creative modes
- Professional Quality: Production-ready prompt generation
π¨ Advanced Customization
- Seed Management: Fixed, random, increment, and decrement modes
- Style Controls: Art styles, lighting, cameras, and more
- Background Options: Diverse scene and environment settings
- Age & Demographics: Comprehensive character customization
- Smart Presets: Curated presets per gender that auto-fill only empty fields
- Makeup UI: Animated, toggleable makeup editor with duplicate/clear controls
- Avoid Terms: Add negative keywords (e.g., blurry, low-res) to refine outputs
- Preset Export: Toggle to print a JSON snippet of your current choices to console
π¦ Installation
Method 1: Git Clone (Recommended)
cd ComfyUI/custom_nodes/
git clone https://github.com/wizdroid/wizdroid-fashionista.git
Method 2: Manual Download
- Download the latest release from the Releases page
- Extract to
ComfyUI/custom_nodes/wizdroid-fashionista/
Method 3: ComfyUI Manager
- Open ComfyUI Manager
- Search for "ComfyUI Outfit Selection"
- Click Install
π Quick Start
Basic Usage
- Start ComfyUI
- Look for nodes under Wizdroid/Outfits category:
- Female Outfit Node: Generate female outfits
- Male Outfit Node: Generate male outfits
- Ollama Prompter: Enhance prompts with AI
- Simple Ollama: Basic prompt enhancement
Example Workflow
[Female Outfit Node] β [Text Output] β [Your Image Generation Model]
Using Presets
- Choose a Preset from the dropdown. It fills only fields that are empty/none/random.
- You can still override any field afterwards.
- Presets include pose, background, and scene highlights (mood, time, color scheme), plus optional makeup.
Notes:
- If a preset references an unknown key, the node logs a warning to help curate data.
- Presets are loaded from
data/presets.json
under keys by gender.
Makeup Editor
Avoid Terms
- Use the Avoid field to list items you donβt want (comma-separated or free text).
- These are appended as βAvoid: ...β in the final prompt.
Export Preset
- Toggle βexport_presetβ to print a preset JSON snippet to the console.
- Paste under your gender in
data/presets.json
and give it a name. - Click the Makeup field to open the editor.
- Add items like lipstick, eyeliner, blush, highlighter, etc.
- Use the Enable/Duplicate/Clear All controls for quick edits.
π Prerequisites
Core Requirements
Optional Dependencies
For AI prompt enhancement features, these packages are required. They can be installed by running:
pip install -r requirements.txt
For vision node support:
- An Ollama installation is required.
- You will also need to download vision models (e.g.,
llava
,moondream
).
π¦ Installation
MIT License. See LICENSE.
π§© Data & Extensibility
Add or Edit Outfit Options
- Edit JSON files in
data/outfit/<gender>/*.json
. Each file contains anattire
array of objects with atype
string. - The node automatically discovers parts and prepends control values:
none
,random
.
Add Presets
- Edit
data/presets.json
:- Top-level keys:
female
,male
. - Under each, add presets by name mapping to
{ part_or_option_key: value }
. - Only keys present as inputs will be applied; others are ignored with a warning.
- Top-level keys:
- Keep values aligned with available options in the corresponding JSONs (poses/backgrounds included).
Scene/Style Controls
- Tunables include:
mood
,time_of_day
,weather
,color_scheme
,description_style
, andcreative_scale
. - Styles are defined under
data/styles/
and are easy to extend.
License
This project is licensed under the MIT License. See the LICENSE file for details.
π Project Structure
The project is organized as follows:
nodes/
: Contains the core ComfyUI node implementations.utils/
: Shared utilities for data loading and prompt building.data/
: JSON files for outfits, presets, and styles.web/
: Custom UI components (CSS, JS).tests/
: Unit tests for the project.__init__.py
: Registers the custom nodes with ComfyUI.requirements.txt
: Lists the Python dependencies.