ComfyUI > Nodes > ComfyUI-NewBie-LLM-Formatter > Style Preset Saver

ComfyUI Node: Style Preset Saver

Class Name

LLM_Style_Saver

Category
NewBie LLM Formatter
Author
SuzumiyaAkizuki (Account age: 0days)
Extension
ComfyUI-NewBie-LLM-Formatter
Latest Updated
2026-03-21
Github Stars
0.04K

How to Install ComfyUI-NewBie-LLM-Formatter

Install this extension via the ComfyUI Manager by searching for ComfyUI-NewBie-LLM-Formatter
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-NewBie-LLM-Formatter in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Style Preset Saver Description

Facilitates saving and managing artistic style presets from text inputs for AI artists.

Style Preset Saver:

The LLM_Style_Saver node is designed to facilitate the saving of artistic and stylistic presets extracted from text inputs. This node is particularly useful for AI artists who wish to maintain a library of styles and artists that can be easily reused in their creative projects. By parsing text inputs for specific tags, the node extracts artist and style information, which can then be saved as presets for future use. This functionality allows for a streamlined workflow, enabling artists to quickly apply consistent styles across different projects. The node ensures that each preset is uniquely named, preventing overwrites and maintaining the integrity of the saved data. Additionally, it provides feedback on the success or failure of the saving process, helping users manage their presets effectively.

Style Preset Saver Input Parameters:

text_input

The text_input parameter is a string input that contains the text from which artist and style information will be extracted. This input should include tags such as <artist> and <style> to denote the relevant sections. The node uses these tags to identify and extract the necessary information. There are no specific minimum or maximum values for this parameter, but it should be formatted correctly to ensure accurate extraction.

preset_name

The preset_name parameter is a string input that specifies the name under which the extracted style and artist information will be saved. This name must be unique to avoid overwriting existing presets. The parameter does not have a default value, and users are encouraged to provide a meaningful name that reflects the content of the preset. The input should not be left empty if the save function is triggered.

save_trigger

The save_trigger is a boolean parameter that determines whether the extracted information should be saved as a preset. When set to True, the node will attempt to save the preset using the provided preset_name. If set to False, the node will only extract and return the information without saving it. The default value is False, allowing users to control when the saving process occurs.

Style Preset Saver Output Parameters:

extracted_tags

The extracted_tags output is a string that contains the artist and style information extracted from the text_input. This output is formatted with <artist> and <style> tags, making it easy to read and use in other applications. The extracted information provides a clear representation of the styles and artists identified in the input text, which can be used for further processing or reference.

Style Preset Saver Usage Tips:

  • Ensure that your text_input is correctly formatted with <artist> and <style> tags to facilitate accurate extraction of information.
  • Use descriptive and unique names for preset_name to avoid overwriting existing presets and to make it easier to identify the content of each preset.
  • Set the save_trigger to True only when you are ready to save the extracted information, as this will prevent unnecessary writes to the configuration file.

Style Preset Saver Common Errors and Solutions:

提示:预设名称 'normalized_name' 已经存在。未保存。

  • Explanation: This error occurs when the preset_name provided already exists in the configuration file, preventing the new preset from being saved.
  • Solution: Choose a different, unique name for the preset_name to ensure it does not conflict with existing presets.

严重错误:JSON 格式损坏。

  • Explanation: This error indicates that the configuration file is not in a valid JSON format, which prevents the node from reading or writing data.
  • Solution: Check the configuration file for syntax errors or corruption and correct any issues to restore valid JSON formatting.

错误:找不到文件 CONFIG_PATH

  • Explanation: This error means that the configuration file specified by CONFIG_PATH cannot be found, which is necessary for saving presets.
  • Solution: Verify that the file path is correct and that the file exists. If it does not exist, create a new configuration file at the specified path.

警告:文本中未找到有效标签,未保存。

  • Explanation: This warning occurs when the text_input does not contain any valid <artist> or <style> tags, resulting in no information being extracted.
  • Solution: Ensure that the text_input includes properly formatted tags to allow for successful extraction of artist and style information.

Style Preset Saver Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-NewBie-LLM-Formatter
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Style Preset Saver