Nodes/comfyui-stylebook/Stylebook Style
ComfyUI Node

Stylebook Style

Pick, randomize or cycle a visual style across 12 categories. Type your subject into user_prompt or connect a text source; the style wraps around it. Chain the style_chain output into Artist and Modifier.

By EnragedAntelope·Created 24 days ago·Updated 2 days ago· 3
Stylebook Style
  • style_chain
  • prompt
  • negative
  • style_chain
modeRandom
styleNone
categoryAll categories
tag_filter
seed0
cycle_index0
formatprose
strengthnormal
placementappend
user_prompt
Categoryconditioning/stylebook

Inputs (11)

NameTypeDefaultDescription
modeCOMBORandomRandom: a seeded pick from the filtered pool, reproducible for a given seed. Pick: choose one style yourself. Cycle: step through the pool by index, which is how you sweep a whole category.
styleCOMBONoneThe style to apply in Pick mode. Use the Open style gallery button to browse these with preview images.
categoryCOMBOAll categoriesNarrows the pool that Random and Cycle draw from. Has no effect in Pick mode.
tag_filterSTRINGNarrows Random and Cycle further. Comma-separated, and every term must match, so 'ink, flat' finds styles that are both. Matches against tags, prose, label and aliases.
seedINT00–18446744073709550000Seed for Random mode. The same seed with the same filter gives the same style, and keeps giving it as the pack grows: seeds are scored against each candidate rather than indexing a list, so adding styles later re-rolls roughly one seed in N instead of all of them.
cycle_indexINT00–9999Which style to take in Cycle mode. 0 is the first match and the index wraps at the end of the pool. Unlike a seed, this is a position in an alphabetical list, so adding styles to the pack shifts what a given index returns. Use Cycle to sweep, and Random to reproduce.
formatCOMBOproseHow the style is written. prose is a plain sentence describing the look. tags is a comma-separated keyword list. If your model responds better to keyword lists than to sentences, choose tags. Every style ships both, so switching costs nothing.
strengthCOMBOnormalHow much style text to emit. subtle keeps only the defining phrase, so your subject dominates. normal is the full description. strong repeats the defining term so the style pushes harder.
placementCOMBOappendWhere the style sits relative to your subject. append puts your subject first and introduces the style after it as a rendering instruction, which is what you want with prose: a model reading a sentence follows that sentence's subject. prepend leads with the style, which is what you want with tags, because a keyword list weights its leading terms most.
style_chainoptSTYLEBOOK_CHAINOptional. Connect an upstream Stylebook node's style_chain output to build on it.
user_promptoptSTRINGYour subject, for example 'a woman in a red coat on a rainy street'. Type here or connect a text source. Leave empty to output style text only.

Outputs (3)

NameTypeDescription
promptSTRING
negativeSTRING
style_chainSTYLEBOOK_CHAIN