style(README): remove trailing spaces and update repo URL
This commit is contained in:
@@ -9,7 +9,7 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
## Features
|
||||
|
||||
- **Sampler Selector**: Choose from all current ComfyUI-supported sampling methods
|
||||
- **Scheduler Selector**: Select from all current ComfyUI-supported schedulers
|
||||
- **Scheduler Selector**: Select from all current ComfyUI-supported schedulers
|
||||
- **Seed Generator**: Generate, increment, or randomize seeds with advanced controls
|
||||
- **Width & Height Nodes**: Individual dimension controls with preset support
|
||||
- **Combined Width/Height Node**: Dual dimension control with swap functionality and presets
|
||||
@@ -21,7 +21,7 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
1. Navigate to your ComfyUI `custom_nodes` directory
|
||||
2. Clone this repository:
|
||||
```bash
|
||||
git clone https://github.com/your-username/ComfyUI_Selectors.git
|
||||
git clone https://github.com/ComfyAssets/ComfyUI_Selectors.git
|
||||
```
|
||||
3. Restart ComfyUI
|
||||
4. The nodes will appear in the `Selectors/` category
|
||||
@@ -31,11 +31,13 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
### Sampling Nodes (`Selectors/Sampling`)
|
||||
|
||||
#### Sampler Selector
|
||||
|
||||
- **Function**: Centralized sampler selection
|
||||
- **Output**: Sampler name for use in KSampler nodes
|
||||
- **Supported Samplers**: All current ComfyUI samplers including euler, dpmpp_2m, ddim, etc.
|
||||
|
||||
#### Scheduler Selector
|
||||
#### Scheduler Selector
|
||||
|
||||
- **Function**: Centralized scheduler selection
|
||||
- **Output**: Scheduler name for use in KSampler nodes
|
||||
- **Supported Schedulers**: normal, karras, exponential, sgm_uniform, simple, ddim_uniform, beta
|
||||
@@ -43,19 +45,21 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
### Generation Nodes (`Selectors/Generation`)
|
||||
|
||||
#### Seed Generator
|
||||
|
||||
- **Function**: Advanced seed generation with multiple control modes
|
||||
- **Controls**:
|
||||
- `seed`: Base seed value (0-18446744073709551615)
|
||||
- `control_after_generate`: How to handle seed after generation
|
||||
- `fixed`: Keep seed unchanged
|
||||
- `increment`: Increase seed by 1
|
||||
- `decrement`: Decrease seed by 1
|
||||
- `decrement`: Decrease seed by 1
|
||||
- `randomize`: Generate random seed
|
||||
- **Output**: Seed value for use in KSampler nodes
|
||||
|
||||
### Dimension Nodes (`Selectors/Dimensions`)
|
||||
|
||||
#### Width Node
|
||||
|
||||
- **Function**: Image width selection with presets
|
||||
- **Controls**:
|
||||
- `width`: Custom width value (64-8192, step 8)
|
||||
@@ -63,13 +67,15 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
- **Output**: Width value for use in latent image nodes
|
||||
|
||||
#### Height Node
|
||||
- **Function**: Image height selection with presets
|
||||
|
||||
- **Function**: Image height selection with presets
|
||||
- **Controls**:
|
||||
- `height`: Custom height value (64-8192, step 8)
|
||||
- `preset`: Quick selection (custom, 512, 768, 1024, 1152, 1216, 1344, 1408, 1472, 1536)
|
||||
- **Output**: Height value for use in latent image nodes
|
||||
|
||||
#### Width & Height Node
|
||||
|
||||
- **Function**: Combined dimension control with advanced features
|
||||
- **Controls**:
|
||||
- `width`: Custom width value (64-8192, step 8)
|
||||
@@ -82,6 +88,7 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
## Usage Examples
|
||||
|
||||
### Basic Workflow Setup
|
||||
|
||||
1. Add a **Sampler Selector** node and choose your preferred sampler
|
||||
2. Add a **Scheduler Selector** node and choose your scheduler
|
||||
3. Add a **Seed Generator** node and set control mode
|
||||
@@ -89,12 +96,14 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
5. Connect outputs to your KSampler and latent image nodes
|
||||
|
||||
### Centralized Parameter Management
|
||||
|
||||
- Use selector nodes to set parameters once
|
||||
- Connect outputs to multiple destination nodes
|
||||
- Change settings in one place to affect entire workflow
|
||||
- Maintain clean, organized node graphs
|
||||
|
||||
### Preset Workflows
|
||||
|
||||
- Use dimension presets for quick setup of common aspect ratios
|
||||
- Use seed randomize mode for variation generation
|
||||
- Combine nodes for complex parameter linking scenarios
|
||||
@@ -102,17 +111,20 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
## Technical Details
|
||||
|
||||
### ComfyUI Compatibility
|
||||
|
||||
- Built for ComfyUI 2024+ standards
|
||||
- Compatible with all current sampler and scheduler types
|
||||
- Maintains JSON workflow compatibility
|
||||
- Supports widget conversion and parameter linking
|
||||
|
||||
### Node Categories
|
||||
|
||||
- `Selectors/Sampling`: Sampler and scheduler selection
|
||||
- `Selectors/Generation`: Seed and generation control
|
||||
- `Selectors/Generation`: Seed and generation control
|
||||
- `Selectors/Dimensions`: Width, height, and dimension control
|
||||
|
||||
### Output Types
|
||||
|
||||
- **Sampler/Scheduler**: ComfyUI COMBO types with current options
|
||||
- **Dimensions/Seeds**: Standard INT types with proper validation
|
||||
- **JSON Metadata**: Maintains workflow sharing compatibility
|
||||
@@ -120,7 +132,9 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
## Development
|
||||
|
||||
### Setup
|
||||
|
||||
1. **Create virtual environment:**
|
||||
|
||||
```bash
|
||||
python -m venv venv
|
||||
source venv/bin/activate # Linux/Mac
|
||||
@@ -134,6 +148,7 @@ A modern ComfyUI custom node package that provides essential UI controls for ima
|
||||
```
|
||||
|
||||
### Testing
|
||||
|
||||
The project includes comprehensive testing with mock ComfyUI environment:
|
||||
|
||||
```bash
|
||||
@@ -151,6 +166,7 @@ flake8 .
|
||||
```
|
||||
|
||||
### Project Structure
|
||||
|
||||
```
|
||||
nodes/ # ComfyUI node implementations
|
||||
tests/ # Test suites with mock ComfyUI
|
||||
@@ -162,6 +178,7 @@ requirements-dev.txt # Development dependencies
|
||||
```
|
||||
|
||||
### Contributing
|
||||
|
||||
1. Follow ComfyUI development standards
|
||||
2. Use the provided test framework with mock ComfyUI environment
|
||||
3. Maintain backward compatibility
|
||||
@@ -170,6 +187,7 @@ requirements-dev.txt # Development dependencies
|
||||
6. Ensure all tests pass before submitting PRs
|
||||
|
||||
### Code Quality
|
||||
|
||||
- **Formatting:** Black (88 character line limit)
|
||||
- **Import sorting:** isort
|
||||
- **Linting:** flake8
|
||||
@@ -178,6 +196,7 @@ requirements-dev.txt # Development dependencies
|
||||
## Version History
|
||||
|
||||
### Version 1.0 (Initial Release)
|
||||
|
||||
- ✅ Sampler Selector with all current ComfyUI samplers
|
||||
- ✅ Scheduler Selector with all current ComfyUI schedulers
|
||||
- ✅ Seed Generator with advanced control modes (fixed/increment/decrement/randomize)
|
||||
@@ -194,4 +213,4 @@ requirements-dev.txt # Development dependencies
|
||||
|
||||
## Support
|
||||
|
||||
[Add support information here]
|
||||
[Add support information here]
|
||||
|
||||
Reference in New Issue
Block a user