Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate style application from JSON files for efficient creative workflow and consistent project styling.
The Comfly_mjstyle
node is designed to enhance your creative workflow by providing a structured way to apply predefined styles to your projects. This node reads style definitions from JSON files and allows you to select and apply these styles to your work, ensuring consistency and efficiency in your creative process. By leveraging a collection of styles, you can quickly adapt your projects to different themes or aesthetics without manually adjusting each element. The node is particularly useful for artists who want to maintain a cohesive look across multiple pieces or need to switch between styles rapidly. It simplifies the process of style management by automating the application of both positive and negative prompts, which can be customized further with additional input.
The styles_type
parameter allows you to select from a list of available style types, which are derived from JSON files located in the docs/mjstyle
directory. This parameter is crucial as it determines the style that will be applied to your project. The available options are dynamically generated based on the JSON files present, ensuring that you always have access to the latest styles. There are no minimum or maximum values, but the selection is limited to the styles defined in the JSON files.
The positive
parameter is an optional string input that lets you append additional positive prompts to the main style prompt. This allows for further customization and refinement of the style being applied, enabling you to emphasize certain aspects of the style or introduce new elements that align with your creative vision. The input is a free-form string, and while there are no strict limits, it should be concise to maintain clarity and effectiveness.
The negative
parameter is another optional string input that allows you to specify negative prompts. These prompts can be used to exclude certain elements or characteristics from the style, providing a way to fine-tune the output by removing unwanted features. Like the positive
parameter, this is a free-form string input, and its effectiveness depends on the clarity and specificity of the prompts provided.
The style_positive
output is a string that represents the final positive style prompt after processing the selected style type and any additional positive input provided. This output is essential for understanding how the selected style and custom inputs have been combined to form the final style directive. It serves as a guide for applying the style to your project, ensuring that all desired elements are included.
The style_negative
output is a string that encapsulates the negative style prompt, reflecting any exclusions or modifications specified through the negative input. This output is important for ensuring that the final style application aligns with your creative intent by omitting unwanted elements. It provides a clear reference for what aspects of the style have been adjusted or removed.
docs/mjstyle
directory are well-organized and up-to-date to take full advantage of the styles_type
parameter's dynamic selection capabilities.positive
and negative
parameters to fine-tune your styles, allowing for greater control over the final output and ensuring that it aligns with your creative vision.docs/mjstyle
directory.prompt
and negative_prompt
fields with appropriate values.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.