Extensions/SDXL Prompt Styler (customized version by wolfden)
ComfyUI Extension

SDXL Prompt Styler (customized version by wolfden)

These custom nodes provide a variety of customized prompt stylers based on a/twri/SDXL Prompt Styler.

By wolfden·Created 3 years ago·Updated 2 years ago· 105
wolfden/ComfyUi_PromptStylers
Nodes35
On cloudLocal install
CategoryStyle Prompts
Stars105
Updated2 years ago

Nodes (35)

Prompt Styler Celtic Art

Knotwork, myth and Celtic scenes

Style Prompts
Prompt Styler Contemporary Nordic Art

Scandinavian minimalism & design

Style Prompts
Prompt Styler Fashion

Canned fashion-shoot vibes

Style Prompts
Prompt Styler Gothic Revival

Cathedrals, manors and spires

Style Prompts
Prompt Styler Irish Folk Art

Cottages, myth and trad-session scenes

Style Prompts
Prompt Styler Romantic Nationalism

Epic 19th-century national art

Style Prompts
Prompt Styler Sports

Dynamic sports-scene presets

Style Prompts
Prompt Styler Street

Graffiti, murals and urban scenes

Style Prompts
Prompt Styler Viking Art

One-click Norse styling for SDXL prompts

Style Prompts
Prompt Styler Wildlife

Instant nature-doc scenes

Style Prompts
Prompt Styler All

Every prompt style in one giant dropdown

Style Prompts
Prompt Styler Artist

Style your prompt by named painter

Style Prompts
Prompt Styler Camera

Prompt by naming a real camera body

Style Prompts
Prompt Styler Composition

Rule-of-thirds and framing without the essay

Style Prompts
Prompt Styler Cyberpunk Surrealism

50 neon-dreamscape presets

Style Prompts
Prompt Styler Depth

Depth-of-field presets for your prompt

Style Prompts
Prompt Styler Environment

Drop your subject into a setting

Style Prompts
Prompt Styler Fantasy-Setting

Drop your subject into Narnia or Mordor

Style Prompts
Prompt Styler Filter

Sepia, HDR, vintage looks as prompt text

Style Prompts
Prompt Styler Focus

Depth of field and bokeh presets for SDXL

Style Prompts
Prompt Styler Impressionism

Painterly Impressionist scenes

Style Prompts
Prompt Styler Lighting

Set the light with one dropdown

Style Prompts
Prompt Styler MileHigh

The huge art-style grab-bag node

Style Prompts
Prompt Styler Mood

Calm, mysterious, chaotic — atmosphere on a dropdown

Style Prompts
Prompt Styler Mythical Creature

Kraken, Phoenix, Griffin presets

Style Prompts
Prompt Styler Original

The classic Stability SDXL styles

Style Prompts
Prompt Styler Quantum Realism

Abstract physics-dream presets

Style Prompts
Prompt Styler SteamPunk Realism

Brass, cogs and airships on a dropdown

Style Prompts
Prompt Styler Subject

A quick subject-type modifier

Style Prompts
Prompt Styler Surrealism

Painterly impressionist scene presets

Style Prompts
Prompt Styler Theme

Portrait, macro, wildlife and other photo genres

Style Prompts
Prompt Styler Time of Day

Golden hour, blue hour, midnight lighting

Style Prompts
Prompt Styler Wyvern

20 named dragon presets for SDXL

Style Prompts
Prompt Styler Horror

Canned horror scenes for your prompt

Style Prompts
Prompt Styler Misc

The 1,400-style community grab bag

Style Prompts
Readme

SDXL Prompt Styler

All credits to twri/sdxl_prompt_styler https://github.com/twri/sdxl_prompt_styler

Custom node for ComfyUI that I organized and customized to my needs.

SDXL Prompt Styler Screenshot

SDXL Prompt Styler is a node that enables you to style prompts based on predefined templates stored in a JSON file. The node specifically replaces a {prompt} placeholder in the 'prompt' field of each template with provided positive text.

The node also effectively manages negative prompts. If negative text is provided, the node combines this with the 'negative_prompt' field from the template. If no negative text is supplied, the system defaults to using the 'negative_prompt' from the JSON template. This flexibility enables the creation of a diverse and specific range of negative prompts.

Usage Example with SDXL Prompt Styler

Template example from a JSON file:

[
    {
        "name": "base",
        "prompt": "{prompt}",
        "negative_prompt": ""
    },
    {
        "name": "enhance",
        "prompt": "breathtaking {prompt} . award-winning, professional, highly detailed",
        "negative_prompt": "ugly, deformed, noisy, blurry, distorted, grainy"
    }
]
style = "enhance"
positive_prompt = "a futuristic pop up tent in a forest"
negative_prompt = "dark"

This will generate the following styled prompts as outputs:

breathtaking a futuristic pop up tent in a forest . award-winning, professional, highly detailed
ugly, deformed, noisy, blurry, distorted, grainy, dark

Installation of the Original SDXL Prompt Styler by twri/sdxl_prompt_styler (Optional)

(Optional) For the Original SDXL Prompt Styler

To install and use the SDXL Prompt Styler nodes, follow these steps:

  1. Open a terminal or command line interface.
  2. Navigate to the ComfyUI/custom_nodes/ directory.
  3. Run the following command: git clone https://github.com/twri/sdxl_prompt_styler.git
  4. Restart ComfyUI.

This command clones the SDXL Prompt Styler repository into your ComfyUI/custom_nodes/ directory. You should now be able to access and use the nodes from this repository.

Installation of my customized version

  1. Open a terminal or command line interface.
  2. Navigate to the ComfyUI/custom_nodes/ directory.
  3. Run the following command: git clone https://github.com/wolfden/ComfyUi_PromptStylers.git
  4. Restart ComfyUI.

This command clones the repository into your ComfyUI/custom_nodes/ directory. You should now be able to access and use the nodes from this repository.

After restart you should see a new submenu Style Prompts - click on the desired style and the node will appear in your workflow

SDXL Prompt Styler Screenshot

Thanks to Three Headed Monkey in Discord of AI Revolution (discord.gg/rXFmn3gaAc) for the hard work with producing most of the various styles

Inputs

  • text_positive - text for the positive base prompt G
  • text_negative - text for the negative base prompt G
  • log_prompt - print inputs and outputs to stdout

Outputs

  • positive_prompt_text_g - combined prompt with style for positive promt G
  • negative_prompt_text_g - combined prompt with style for negative promt G

Example - More in Example Folder with Workflow

Mythical Creature - The Kraken, Terror of the Deep SDXL Prompt Styler Screenshot Fantasy Setting - Neverland SDXL Prompt Styler Screenshot Mythical Creature - - The Banshee, Wailer of Fate SDXL Prompt Styler Screenshot

Workflow

My workflow is a bit complex with lots of nodes, custome models for base and refiner. It has the face detail, hand, body, upscale, blend. Most of my prompts are just random with a selected style, and with wildcards, feelin lucky, magic prompt, and one button prompt. Use a very simple sentence and see what crazyness pops up. Find a workflow that works best for you.

SDXL Prompt Styler Screenshot