ComfyUI > Nodes > Comfyui_Comfly_v2 > Comfly_Mj

ComfyUI Node: Comfly_Mj

Class Name

Comfly_Mj

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_Mj Description

Node for processing text/image inputs with Midjourney AI model, generating creative outputs with customizable settings.

Comfly_Mj:

The Comfly_Mj node is designed to process text or image inputs using the Midjourney AI model, providing a seamless way to generate creative outputs based on user-defined parameters. This node is particularly beneficial for AI artists looking to leverage the capabilities of Midjourney's advanced models to transform their textual or visual ideas into compelling artistic expressions. By offering a range of customizable settings, the Comfly_Mj node allows you to fine-tune the output to match your creative vision, whether you're aiming for a specific style, speed, or level of detail. Its integration with Midjourney's API ensures that you can access the latest model versions and features, making it a powerful tool for both novice and experienced AI artists seeking to explore the boundaries of AI-generated art.

Comfly_Mj Input Parameters:

text

This optional parameter allows you to input a string of text that the Midjourney model will process. The text serves as the primary prompt for generating the artistic output, guiding the model in creating an image or text that aligns with your creative intent.

api_key

The API key is a mandatory string parameter required to authenticate your access to the Midjourney service. It ensures that you have the necessary permissions to utilize the model's capabilities and access its features.

model_version

This string parameter lets you select the version of the Midjourney model you wish to use, with options including v 6.1, v 6.0, v 5.2, v 5.1, niji 6, niji 5, and niji 4. Each version may offer different features or improvements, allowing you to choose the one that best suits your needs.

speed

The speed parameter is a string that determines the mode of processing speed, with options such as turbo mode, fast mode, and relax mode. This setting affects how quickly the model processes your input, with faster modes potentially sacrificing some detail for speed.

ar

Aspect ratio is specified as a string and defines the dimensions of the output image. This parameter allows you to control the proportions of the generated artwork, ensuring it fits your desired format.

no

This string parameter specifies the number of images to generate. It allows you to request multiple outputs from a single input, providing a range of variations to choose from.

c

Chaos value, ranging from 0 to 100, is a string parameter that influences the randomness of the output. Higher values introduce more variability and unexpected elements into the generated art.

s

Stylize value, ranging from 0 to 1000, is a string parameter that controls the level of stylistic influence applied to the output. Higher values result in more pronounced artistic styles.

iw

Image weight, ranging from 0 to 2, is a string parameter that determines the influence of the input image on the final output. A higher weight gives more prominence to the original image features.

tile

This boolean parameter enables or disables the tiling feature, which can be used to create seamless patterns or repeated designs.

r

Repeat value, ranging from 1 to 40, is a string parameter that specifies how many times the input should be processed to generate variations. This can be useful for exploring different interpretations of the same prompt.

video

This boolean parameter enables or disables video output, allowing you to generate animated content instead of static images.

sw

Style weight, ranging from 0 to 1000, is a string parameter that adjusts the influence of the selected style on the output. It provides control over how much the style affects the final result.

cw

Color weight, ranging from 0 to 100, is a string parameter that influences the color palette of the output. Higher values result in more vibrant and varied colors.

sv

Style variation, ranging from 1 to 4, is a string parameter that allows you to explore different stylistic interpretations of the input. Each variation offers a unique take on the same prompt.

seed

The seed is an integer parameter that sets the random seed for the generation process. It ensures reproducibility of results, allowing you to recreate the same output with the same settings.

cref

Creative reference is a string parameter that provides additional context or inspiration for the model, guiding it in generating more aligned outputs.

oref

Object reference is a string parameter that specifies particular objects or elements to be included in the output, ensuring they are represented in the final result.

sref

Style reference is a string parameter that defines the stylistic influences to be applied, helping to shape the overall aesthetic of the output.

positive

This string parameter allows you to append additional positive prompts to the main input, enhancing the model's focus on desired elements or themes.

Comfly_Mj Output Parameters:

image_url

The image_url is a string output that provides the URL of the processed image. This allows you to easily access and view the generated artwork, which can be shared or further edited as needed.

text

The text output is a string that contains the processed text result. This can be used to review the model's interpretation of the input prompt or to generate textual content based on the input parameters.

Comfly_Mj Usage Tips:

  • Experiment with different model_version settings to find the one that best suits your artistic goals, as each version may offer unique features or improvements.
  • Adjust the speed parameter based on your time constraints and desired level of detail; faster modes may be suitable for quick drafts, while slower modes can provide more refined results.
  • Utilize the chaos and stylize parameters to explore a wide range of artistic styles and variations, allowing for greater creative exploration.

Comfly_Mj Common Errors and Solutions:

Invalid API Key

  • Explanation: This error occurs when the provided API key is incorrect or expired.
  • Solution: Verify that you have entered the correct API key and that it is still valid. Contact Midjourney support if you need assistance with your API credentials.

Unsupported Model Version

  • Explanation: This error indicates that the selected model version is not available or supported.
  • Solution: Check the available model versions and ensure you are selecting one that is supported by the Midjourney service.

Parameter Out of Range

  • Explanation: This error occurs when a parameter value is outside the acceptable range.
  • Solution: Review the parameter descriptions and ensure all values are within the specified limits. Adjust any out-of-range values accordingly.

Comfly_Mj 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.