Nodes/comfyui-AGSoft/AGSoft Styles CSV Loader
ComfyUI Node

AGSoft Styles CSV Loader

Style presets without 40 text boxes of dead prompt text

By Art-xmaster·Created 12 months ago·Updated a day ago· 23
AGSoft Styles CSV Loader
    • positive prompt
    • negative prompt
    style_fileAGSoft_styles_anime_eng.csv
    style_nameNo Style | Без стиля
    reload_filesfalse

    AGSoft Styles CSV Loader is the pack's answer to a boring but real problem: you've got a folder of hand-tuned style prompts - "Studio Ghibli", "Pixar 3D", "golden-age Toei" - and you keep copy-pasting them from a notes file. This node turns a CSV of styles into a dropdown, and spits out ready-to-wire positive and negative prompt strings.

    If you've ever used A1111's style feature and missed it in ComfyUI, this is that, done as a node. The pack even ships a decent starter library, so it's useful the day you install it.

    How it works

    The node reads CSV files from a styles folder inside the pack's own directory (ComfyUI/custom_nodes/comfyui-AGSoft/styles/). The format is dead simple - a header row followed by style_name,positive_prompt,negative_prompt:

    style_name,positive_prompt,negative_prompt
    Studio Ghibli Fantasy,"Studio Ghibli animation style, Hayao Miyazaki direction, ...","3D CGI rendering, anime style, cartoon comedy, ..."
    

    Drop a new CSV in there, and it appears in the style_file dropdown. The style_name dropdown then lists every style in that file. There's also a reload_files toggle so you can rescan without restarting ComfyUI - useful the first few times you're editing your own CSV and iterating.

    The inputs that matter

    • style_file - pick which CSV. Defaults to AGSoft_styles_anime_eng.csv. The shipped files cover anime, cartoon, drawing, Ghibli, painting, and photo styles, each in English and Russian, plus a Krea2 Style_sorted.csv if you're working with Krea 2 models.
    • style_name - the actual style. Default No Style | Без стиля gives you empty prompts, which is handy as a bypass.

    Outputs are positive prompt and negative prompt strings, both straight from the CSV. Wire them into your CLIP Text Encode nodes.

    A subtle gotcha: CSV comma escaping

    The prompts themselves contain commas, so multi-token styles rely on quoted fields (the "..." around each prompt in the example above). If a style you add yourself comes back split or truncated, your CSV quoting is off, not the node. The bundled files handle this correctly, so use them as a template rather than guessing.

    Installing it

    Standard for the pack: ComfyUI Manager → search comfyui-AGSoft → install, restart. Or manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Art-xmaster/comfyui-AGSoft.git
    

    No models, no heavy dependencies - the pack's only real Python requirement is translators (for the Translate node), so a bare clone works for this node out of the box. The style CSVs travel with the repo.

    Common issues

    • Empty dropdowns after install - the styles folder wasn't there. The node creates it on first run, but if you installed via Manager and it cached an old clone, reinstall to pull the CSV files.
    • Style not showing up - you edited a CSV while ComfyUI was running. Hit reload_files; if it's still absent, the file is in the wrong folder (it must live in the pack's own styles/, not ComfyUI's input/).
    • Bilingual prompt mush - the RU and EN CSVs are separate files for a reason. Pick the language file and stick with it, or you'll get English positives with Russian negatives.

    One honest note: these prompts are curation, not magic. The style names sound fancy, but each is just a prompt template - great as a starting point, but you'll still tune them to your checkpoint. The value here is organization, and for that it's quietly excellent.

    CategoryAGSoft/nodes

    Inputs (3)

    NameTypeDefaultDescription
    style_fileCOMBOAGSoft_styles_anime_eng.csvSelect a CSV file containing styles Выберите CSV файл, содержащий стили
    style_nameCOMBONo Style | Без стиляSelect a style to apply to your generation Выберите стиль для применения к генерации
    reload_filesoptBOOLEANfalseReload the list of style files from disk Перезагрузить список файлов стилей с диска

    Outputs (2)

    NameTypeDescription
    positive promptSTRING
    negative promptSTRING