ComfyUI > Nodes > midjourney-comfyui > 🎨 Midjourney Niji

ComfyUI Node: 🎨 Midjourney Niji

Class Name

MidjourneyNiji

Category
🎨 Midjourney
Author
Anil-matcha (Account age: 4751days)
Extension
midjourney-comfyui
Latest Updated
2026-05-05
Github Stars
0.03K

How to Install midjourney-comfyui

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

🎨 Midjourney Niji Description

Specialized node for generating anime, manga, and stylized illustrations with reference image guidance and four outputs per run.

🎨 Midjourney Niji:

Midjourney Niji is a specialized node designed to generate anime, manga, and stylized illustrations, making it an ideal tool for artists and creators focusing on these art forms. This node is optimized to produce four images per run, providing a variety of outputs to choose from. It supports reference image guidance, allowing you to influence the generated illustrations with specific visual cues. This feature is particularly beneficial for artists looking to maintain consistency with existing artwork or to explore variations on a theme. The node leverages the capabilities of the Midjourney Niji API, ensuring high-quality and stylistically appropriate outputs that align with the unique aesthetics of anime and manga.

🎨 Midjourney Niji Input Parameters:

prompt

The prompt parameter is a string input that serves as the primary description of the image you wish to generate. It guides the AI in creating the visual content, and you can use detailed descriptions to achieve specific artistic results. This parameter supports multiline input, allowing for complex and nuanced prompts.

aspect_ratio

The aspect_ratio parameter determines the dimensions of the generated images. You can choose from predefined options such as "1:1", "16:9", "9:16", "3:4", "4:3", and "21:9". The default value is "1:1". Selecting the appropriate aspect ratio can help tailor the image to fit specific display requirements or artistic preferences.

stylize

The stylize parameter is an integer that controls the level of artistic stylization applied to the image. It ranges from 0 to 1000, with a default value of 100. Lower values result in more literal interpretations of the prompt, while higher values produce more stylized and artistic outputs.

chaos

The chaos parameter is an integer that introduces variation across the four generated images. It ranges from 0 to 100, with a default value of 0. Higher values increase the diversity of the outputs, which can be useful for exploring different artistic directions.

weird

The weird parameter is an integer that adds unconventional aesthetics to the images. It ranges from 0 to 3000, with a default value of 0. This parameter is useful for creating unique and experimental art styles.

api_key

The api_key parameter is a string input used for authentication with the Midjourney Niji API. If left empty, the node will attempt to read the API key from a stored configuration. This parameter is optional but necessary for accessing the API.

negative_prompt

The negative_prompt parameter is a string input that specifies elements to exclude from the generated images. It supports multiline input and can be used to refine the output by avoiding unwanted features such as "text, watermark, blurry".

seed

The seed parameter is an integer that influences the randomness of the image generation process. It ranges from 0 to 4294967295, with a default value of 0, which indicates a random seed. Using the same seed with the same prompt can produce similar results, aiding in reproducibility.

image_url

The image_url parameter is a string input for an optional reference image URL. It provides guidance to the AI based on an existing image. If both image_url and ref_image are set, image_url takes precedence.

ref_image

The ref_image parameter allows you to upload an optional reference image directly. This image is used to guide the style and content of the generated illustrations, offering a more hands-on approach to influencing the output.

🎨 Midjourney Niji Output Parameters:

images

The images output consists of the generated illustrations in a batch. This output provides you with the visual results of the node's execution, allowing you to select and use the images that best meet your artistic needs.

first_url

The first_url output is a string containing the URL of the first generated image. This provides a quick reference to access and view the initial image from the batch.

all_urls

The all_urls output is a string containing the URLs of all generated images, separated by newlines. This allows you to easily access and download each image from the batch.

request_id

The request_id output is a string that uniquely identifies the API request. It can be used for tracking and retrieving the results of the image generation process.

🎨 Midjourney Niji Usage Tips:

  • Experiment with different stylize values to find the right balance between literal and artistic interpretations of your prompt.
  • Use the chaos parameter to explore a wider range of artistic variations, especially when you are unsure of the exact style you want.
  • Leverage the negative_prompt to refine your outputs by excluding unwanted elements, ensuring the generated images align with your vision.
  • Utilize reference images through image_url or ref_image to maintain consistency with existing artwork or to explore variations on a theme.

🎨 Midjourney Niji Common Errors and Solutions:

"Invalid API Key"

  • Explanation: This error occurs when the provided API key is incorrect or missing.
  • Solution: Ensure that you have entered a valid API key in the api_key parameter or have configured it correctly in the ~/.muapi/config.json file.

"Image URL Not Accessible"

  • Explanation: This error indicates that the provided image URL is not reachable or invalid.
  • Solution: Verify that the URL is correct and accessible from the internet. Ensure that the image is publicly available.

"Reference Image Upload Failed"

  • Explanation: This error occurs when there is an issue uploading the reference image.
  • Solution: Check your internet connection and try uploading the image again. Ensure that the image file is not corrupted and is in a supported format.

🎨 Midjourney Niji Related Nodes

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

🎨 Midjourney Niji