## Advanced Style Selector
Applies visual styles to your prompt and outputs **CONDITIONING** directly —
no extra CLIPTextEncode node needed.
---
### Inputs
| Pin | Type | Description |
|------|------|-------------|
| `clip` | CLIP | Connect from Load Checkpoint |
### Outputs
| Pin | Type | Description |
|-----|------|-------------|
| `positive` | CONDITIONING | Encoded positive prompt with styles applied |
| `negative` | CONDITIONING | Encoded negative prompt (or ZeroOut) |
| `style_name` | STRING | Active style names joined by `-` for file naming |
---
### Style prompt logic
- If style prompt contains `{prompt}` → your text replaces `{prompt}`
- Otherwise → `your text, style keywords`
### Negative conditioning
- **use_negative ON** → negative text encoded normally via CLIP
- **use_negative OFF** → outputs ConditioningZeroOut (recommended for Flux, SD3)
### Modes
- **Manual** → select up to 6 styles by clicking thumbnails in the gallery
- **Iterator** → cycles through all styles in checked categories one per run,
stops automatically after the last style
### name_timestamp
When enabled, appends a timestamp to `style_name` output:
`abstract_20250424_143022` — guarantees unique filenames when connected to Save Image.
### save_prompt
When enabled, saves positive and negative prompts to a JSON file in
`ComfyUI/output/prompts/` after each run. Useful for keeping a record of
which prompts generated which images.
### Favorites
Click ⭐ on any thumbnail to add it to Favorites. Favorites are saved to
`config/favorites_styles.json` and appear as a separate category at the top
of the category list. Click ⭐ again to remove.
### My Styles
Save your own styles directly from the node. Enter a name in the `Style name`
field and click `Save Style` — the current positive and negative prompts are
saved to `config/my_styles.json` as a new style in the `My Styles` category.
The category appears first in the list automatically.
Naming rules: letters, digits and underscores only. Spaces and special
characters are replaced automatically. Example: `my_cinematic` not `my cinematic`.
To add a thumbnail: place a `.jpg` file named after your style in
`thumbnails/my_style/` and click `Reload Styles`.
### Model thumbnails
Each style has a default thumbnail in `thumbnails/styles/`. You can add
per-model thumbnails by creating a subfolder named after your model:
thumbnails/styles/FLUX_1/
thumbnails/styles/SDXL_base/
thumbnails/styles/WAN_2_2/
Folder naming rules: use only letters, digits and underscores.
No spaces, hyphens or dots — these cause issues across different operating
systems. Example: `FLUX_1` not `FLUX-1` or `FLUX.1`.
When a model folder is selected, thumbnails are loaded from that folder.
If a style has no thumbnail there, it falls back to the base folder.
---
Styles are loaded from `config/styles.json`.
Custom styles are saved to `config/my_styles.json`.
Favorites are saved to `config/favorites_styles.json`.
Prompts are saved to `output/prompts/` when save_prompt is enabled.
Thumbnails are loaded from `thumbnails/styles/`.
Model preset thumbnails from `thumbnails/{model_name}/`.
Custom style thumbnails from `thumbnails/my_style/`.
By Rogala·Created 5 months ago·Updated 4 months ago· 19
AdvancedStyleSelector
clip
positive
negative
style_name
◄positive_text►
◄negative_text►
◄use_negativetrue►
◄modeManual►
◄style_1►
◄style_2►
◄style_3►
◄style_4►
◄style_5►
◄style_6►
◄iterator_categories►
◄iterator_seed0►
◄append_counterfalse►
◄save_promptfalse►
◄thumbnail_preset►
Categoryrogala/Prompting
Inputs (16)
Name
Type
Default
Description
clip
CLIP
—
positive_text
STRING
Your positive prompt. Styles will be applied on top.
negative_text
STRING
Your negative prompt. Hidden when use_negative is OFF.
use_negative
BOOLEAN
true
ON: encode negative normally. OFF: output ConditioningZeroOut (for Flux/SD3).
mode
COMBO
Manual
2 options: Manual, Iterator
style_1
STRING
Selected style slot 1
style_2
STRING
Selected style slot 2
style_3
STRING
Selected style slot 3
style_4
STRING
Selected style slot 4
style_5
STRING
Selected style slot 5
style_6
STRING
Selected style slot 6
iterator_categories
STRING
Comma-separated categories to iterate. Empty = all.
iterator_seed
INT
00–4294967295
Seed for shuffling iterator order (0 = alphabetical).
append_counter
BOOLEAN
false
Append a timestamp to style_name output for unique filenames (e.g. abstract_20250424_143022).
save_prompt
BOOLEAN
false
Save positive and negative prompts to a JSON file in output/prompts/.