EasyUse/Promptgenerated

Styles Selector(stylesPromptSelector)

Styles Selector is a prompt helper that applies a selected style to a positive/negative prompt pair and returns the styled prompts as two strings.

styles Prompt Selector

output_positive
output_negative
styles
fooocus_styles
positive
STRING
negative
STRING
Easy Use

Styles Selector is a prompt helper that applies a selected style to a positive/negative prompt pair and returns the styled prompts as two strings. It lives in the EasyUse/Prompt category and is intended to be used before a CLIPTextEncode node or anywhere a ready-made styled prompt string is needed.

Inputs

  • styles (COMBO, required): Selects the style to apply. The dropdown is populated with the available built-in style definitions; the default is fooocus_styles, the included Fooocus style collection. The selected style determines the positive and negative prompt fragments that are merged into the outputs.
  • positive (STRING, optional): The base positive prompt. Defaults to an empty string. This text is kept and used as the starting point for the positive output.
  • negative (STRING, optional): The base negative prompt. Defaults to an empty string. This text is kept and used as the starting point for the negative output.

Outputs

  • STRING (0): The positive prompt after the selected style has been applied.
  • STRING (1): The negative prompt after the selected style has been applied.

Usage Notes

  • The node only manipulates text; connect its outputs to a CLIPTextEncode node or equivalent to create conditioning for sampling.
  • If positive or negative is left empty, the corresponding output will consist only of the selected style's own additions.
  • The available choices in styles come from the style definitions bundled with the node, with fooocus_styles selected by default.

Comments

Sign in with GitHub to join the discussion.

Loading comments…