ComfyUI > Nodes > Comfyui_Comfly_v2 > Comfly_mjstyle

ComfyUI Node: Comfly_mjstyle

Class Name

Comfly_mjstyle

Category
Comfly-v2/Midjourney
Author
ainewsto (Account age: 1002days)
Extension
Comfyui_Comfly_v2
Latest Updated
2025-06-06
Github Stars
0.04K

How to Install Comfyui_Comfly_v2

Install this extension via the ComfyUI Manager by searching for Comfyui_Comfly_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui_Comfly_v2 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

Comfly_mjstyle Description

Enhance creative projects with predefined styles for efficiency and consistency.

Comfly_mjstyle:

The Comfly_mjstyle node is designed to enhance your creative projects by providing a structured way to apply predefined styles to your work. This node is particularly useful for artists and designers who want to incorporate specific stylistic elements into their projects without manually crafting each detail. By leveraging a collection of styles stored in JSON files, the node allows you to select and apply these styles dynamically, ensuring consistency and efficiency in your creative process. The primary goal of the Comfly_mjstyle node is to streamline the application of complex style configurations, making it easier for you to focus on the artistic aspects of your work while the node handles the technical details of style application.

Comfly_mjstyle Input Parameters:

styles_type

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 specific style configuration 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, as this parameter is a selection from a predefined list.

positive

The positive parameter is an optional string input that lets you specify additional positive prompts to be appended to the main style prompt. This allows for further customization and enhancement of the selected style, enabling you to inject specific elements or themes into the final output. The impact of this parameter is significant as it can alter the tone and direction of the style application, making it a powerful tool for personalization.

negative

The negative parameter is another optional string input that allows you to define negative prompts to be included in the style configuration. This parameter helps in refining the style by excluding certain elements or themes that you do not want in your project. By carefully crafting the negative prompts, you can ensure that the final output aligns more closely with your artistic vision.

Comfly_mjstyle Output Parameters:

style_positive

The style_positive output is a string that represents the final positive style prompt after processing the selected style type and any additional positive prompts you have provided. This output is essential as it forms the basis of the stylistic elements that will be applied to your project, ensuring that the desired positive attributes are emphasized.

style_negative

The style_negative output is a string that encapsulates the negative style prompt, incorporating any negative prompts you have specified. This output is crucial for ensuring that unwanted elements are effectively excluded from the final style application, allowing for a more refined and targeted artistic expression.

Comfly_mjstyle Usage Tips:

  • To maximize the effectiveness of the Comfly_mjstyle node, ensure that your JSON files in the docs/mjstyle directory are well-organized and contain a diverse range of styles to choose from.
  • Experiment with different combinations of positive and negative prompts to fine-tune the style application and achieve the desired artistic effect.
  • Regularly update your style JSON files to incorporate new trends and styles, keeping your projects fresh and relevant.

Comfly_mjstyle Common Errors and Solutions:

Style not found

  • Explanation: This error occurs when the selected styles_type does not match any available styles in the JSON files.
  • Solution: Ensure that the JSON files in the docs/mjstyle directory are correctly named and contain the expected style configurations. Double-check the styles_type selection for any typos or discrepancies.

Invalid JSON format

  • Explanation: This error arises when the JSON files containing style configurations are not properly formatted.
  • Solution: Validate your JSON files using a JSON validator tool to ensure they are correctly structured and free of syntax errors.

Comfly_mjstyle Related Nodes

Go back to the extension to check out more related nodes.
Comfyui_Comfly_v2
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 Playground, enabling artists to harness the latest AI tools to create incredible art.