ComfyUI > Nodes > Comfyui_Comfly > Comfly_Mj

ComfyUI Node: Comfly_Mj

Class Name

Comfly_Mj

Category
Comfly/Midjourney
Author
ainewsto (Account age: 911days)
Extension
Comfyui_Comfly
Latest Updated
2025-02-24
Github Stars
0.21K

How to Install Comfyui_Comfly

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

Enhance text and images with Midjourney AI model for creative outputs and artistic experimentation.

Comfly_Mj:

The Comfly_Mj node is designed to process text or image inputs using the Midjourney AI model, providing you with enhanced and creative outputs. This node leverages the capabilities of the Midjourney model to transform your inputs into visually appealing images or refined text outputs. It is particularly beneficial for AI artists looking to explore different styles and variations in their artwork, as it offers a range of customization options such as model version selection, speed modes, and various stylistic parameters. By using this node, you can experiment with different artistic styles and achieve unique results that align with your creative vision.

Comfly_Mj Input Parameters:

text

This optional parameter allows you to input a text string that the Midjourney AI model will process. The text can be a description or prompt that guides the model in generating the desired output. There are no specific minimum or maximum values, but the clarity and detail of the text can significantly impact the quality of the results.

api_key

The API key is a mandatory string parameter required to authenticate your access to the Midjourney AI model. It ensures that you have the necessary permissions to use the model's capabilities. Without a valid API key, the node will not function.

model_version

This parameter allows you to select the version of the Midjourney model you wish to use. Available options include 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, so choosing the right one can affect the style and quality of the output.

speed

The speed parameter lets you choose the processing speed mode, with options such as turbo mode, fast mode, and relax mode. Turbo mode provides the quickest results, while relax mode may take longer but could offer more refined outputs. The choice of speed can impact the balance between processing time and output quality.

ar

Aspect ratio is specified using this parameter, allowing you to define the dimensions of the output image. The aspect ratio can influence the composition and framing of the generated image, making it an important consideration for achieving the desired visual effect.

no

This parameter specifies the number of images to generate. It allows you to request multiple variations of the output, providing a range of options to choose from. The number of images can be adjusted based on your needs and the complexity of the input.

c

Chaos value, ranging from 0 to 100, determines the level of randomness and variation in the output. A higher chaos value can lead to more diverse and unexpected results, while a lower value may produce more consistent and predictable outputs.

s

Stylize value, ranging from 0 to 1000, controls the degree of artistic style applied to the output. A higher stylize value can result in more pronounced and creative stylistic effects, while a lower value may retain more of the original input's characteristics.

iw

Image weight, ranging from 0 to 2, influences the balance between the input image and the model's interpretation. A higher image weight gives more importance to the input image, while a lower weight allows the model to apply more of its own style.

tile

This boolean parameter enables or disables the tiling effect in the output image. When enabled, the image can be seamlessly repeated, which is useful for creating patterns or textures.

r

Repeat value, ranging from 1 to 40, specifies how many times the input prompt should be repeated in the processing. This can affect the emphasis and focus of the generated output.

video

A boolean parameter that enables or disables video generation. When enabled, the node can produce a video output instead of a static image, adding a dynamic element to your creative projects.

sw

Style weight, ranging from 0 to 1000, determines the influence of the selected style on the output. A higher style weight can lead to more distinct stylistic features, while a lower weight may result in a subtler effect.

cw

Color weight, ranging from 0 to 100, controls the intensity of color application in the output. A higher color weight can produce more vibrant and saturated images, while a lower weight may yield more muted tones.

sv

Style variation, with options ranging from 1 to 4, allows you to explore different stylistic interpretations of the input. Each variation can offer a unique perspective, providing a broader range of creative possibilities.

seed

An integer parameter that sets the random seed for the generation process. Using the same seed value can help reproduce consistent results, while different seeds can lead to varied outputs.

cref

Creative reference is a string parameter that provides additional context or inspiration for the model. It can guide the model in aligning the output with specific creative themes or concepts.

sref

Style reference is a string parameter that offers a stylistic guide for the model. It can help the model apply specific artistic styles or influences to the output.

positive

This string parameter allows you to append additional positive prompts to the main input prompt. It can enhance the focus and direction of the output, emphasizing desired elements or themes.

Comfly_Mj Output Parameters:

image_url

The image_url output provides the URL of the processed image generated by the Midjourney AI model. This URL can be used to access and view the final image, allowing you to download or share it as needed. The image reflects the input parameters and the model's interpretation, showcasing the creative transformation applied.

text

The text output contains the processed text result from the Midjourney AI model. This output reflects any modifications or enhancements made to the input text, providing a refined version that aligns with the specified parameters and stylistic choices.

Comfly_Mj Usage Tips:

  • Experiment with different model versions and speed modes to find the best balance between processing time and output quality for your specific project.
  • Utilize the chaos and stylize parameters to explore a wide range of creative possibilities, adjusting them to achieve the desired level of artistic expression.
  • Use the seed parameter to reproduce consistent results when needed, especially for projects that require uniformity across multiple outputs.

Comfly_Mj Common Errors and Solutions:

Invalid API Key

  • Explanation: The API key provided is incorrect or expired, preventing access to the Midjourney AI model.
  • Solution: Verify that you have entered a valid and active API key. If necessary, obtain a new key from the service provider.

Unsupported Model Version

  • Explanation: The selected model version is not available or supported by the current setup.
  • Solution: Check the available model versions and select one that is supported. Ensure that your setup is up-to-date with the latest model options.

Exceeded Image Limit

  • Explanation: The number of images requested exceeds the allowed limit for a single request.
  • Solution: Reduce the number of images specified in the no parameter to comply with the service's limitations.

Comfly_Mj Related Nodes

Go back to the extension to check out more related nodes.
Comfyui_Comfly
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.