CivArchive
    Simple text style template node for ComfyUi - v1.1
    Preview 440711

    A node that enables you to mix a text prompt with predefined styles in a styles.csv file. Each line in the file contains a name, positive prompt and a negative prompt. Positive prompts can contain the phrase {prompt} which will be replaced by text specified at run time.

    Description

    • Now merge up to three styles, or None (to use it like a combined CLIP text input)

    • Now has option to output the combined prompt to the console.

    • Can supply an additional negative prompt (to be merged in with ones found in styles.csv)

    FAQ

    Comments (3)

    theo29310856Apr 10, 2023ยท 2 reactions
    CivitAI

    1.Make the location of the .csv more clear ?

    I thought I had to put it in the ComfyUI/ComfyUI folder (the one with all the folders, including custom_nodes), when I actually had to put it in the ComfyUI parent folder (the one that contains the .bat files to run Comfy).

    EG : Correct file location is unclear, supposed to be [...]\ComfyUI\styles.csv instead of [...]\ComfyUI\ComfyUI\styles.csv

    2. Prompts isn't changing when selecting styles

    Now the custom node loads the .csv fine, but when I select one of the styles (by clicking on the arrows), the positive and negative prompt doesnt change. Always "positive" and "negative" shown.

    The issue happens with the default .csv file. :/

    I'm sorry to say it doesnt work, but it looks really promising! So keep up the good work, can't wait to use it :)

    fretts4505
    Author
    Apr 13, 2023

    I will change the notes regarding the csv location to make it 100% clear.

    As for the main point, the two text boxes are for your subject phrase/additional negative prompt.

    For example you can put "Chocolate cake" in the positive prompt, and "Bad drawing" in the negative; and the final prompt will mix those in with the prompts in your CSV;

    Additionally, if your csv style contains the string "{prompt}" it will be replaced with "Chocolate cake" otherwise your phrase will be injected at the beginning.

    The final composite prompt is shown in the console (when you choose logPrompt:Yes).

    NatotelaApr 26, 2023

    @theo29310856 10x mate you saved my confusion. one folder up!

    Other
    SD 1.5

    Details

    Downloads
    1,111
    Platform
    CivitAI
    Platform Status
    Available
    Created
    4/3/2023
    Updated
    5/13/2026
    Deleted
    -

    Files

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.