gitwtfhub

wtf is midjourney-comfyui?

anil-matcha/midjourney-comfyui — explained in plain English

Analysis updated 2026-07-21 · repo last pushed 2026-07-18

26PythonAudience · designerComplexity · 2/5ActiveSetup · moderate

TL;DR

Custom ComfyUI nodes that let you generate Midjourney images inside your visual AI workflow by connecting to the muapi.ai API service.

Mindmap

mindmap
  root((repo))
    What it does
      Midjourney in ComfyUI
      Four images per batch
      Three model versions
    Tech stack
      Python
      ComfyUI
      muapi.ai API
    Use cases
      Game concept art
      Anime character sketches
      Mixed AI workflows
    Audience
      ComfyUI users
      Digital artists
      Game designers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Build concept art pipelines using Midjourney V8 output alongside other AI models on one canvas.

REASON 2

Create anime-style character sketches with the Niji node then pass them into upscaling or variation nodes.

REASON 3

Generate photorealistic or artistic images using V7 or V8 and wire them into a file saver or preview window.

REASON 4

Use a reference image to guide Midjourney output style within a visual node-based workflow.

What's in the stack?

PythonComfyUImuapi.ai API

How it stacks up

anil-matcha/midjourney-comfyuiaevella/sky-pc-mcp-companionalicankiraz1/gemma-4-31b-mtp-vllm-server
Stars262626
LanguagePythonPythonPython
Last pushed2026-07-18
MaintenanceActive
Setup difficultymoderatemoderatehard
Complexity2/53/54/5
Audiencedesignervibe coderops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a muapi.ai account and API key since that external service handles all Midjourney API calls.

Wtf does this do

Midjourney ComfyUI Nodes lets you use Midjourney's image generation directly inside ComfyUI, a popular visual tool for building AI image workflows. Normally, Midjourney is a separate service with its own interface, but this project bridges the gap so you can generate Midjourney images alongside other AI tools without jumping between different apps. Each generation gives you four images at once. ComfyUI works by connecting "nodes", little boxes that each do one job, with wires, forming a visual pipeline. This project adds Midjourney-specific nodes to that system. You enter a text prompt, pick settings like aspect ratio or stylization level, and the node sends your request to an API service called muapi.ai, which actually runs Midjourney behind the scenes. When the four images come back, they flow into whatever you've wired up next, a preview window, a file saver, an upscaler, and so on. You can also provide a reference image to guide the output style. This is aimed at people who already use ComfyUI and want to incorporate Midjourney's distinctive look into their workflows. For example, a game designer building concept art pipelines might want Midjourney's cinematic V8 output alongside other models, all controllable from one canvas. An illustrator working on anime-style projects could use the Niji node for character sketches, then pass those images into other nodes for upscaling or variation. The project supports three Midjourney versions: V7 and V8 for photorealistic or artistic results, and Niji for anime and manga styles. A few practical notes: you need a muapi.ai account and API key, since that service handles the actual Midjourney calls. The README notes that all three nodes share the same controls, prompt, aspect ratio, stylize, chaos, weird, negative prompt, seed, and optional reference image, so once you learn one, you know them all. The output is a batch of four images plus their URLs, which keeps things compatible with standard ComfyUI nodes for viewing or saving.

Yoink these prompts

Prompt 1
I have ComfyUI installed with the midjourney-comfyui nodes. Write a workflow JSON where a Midjourney V8 node generates a cinematic landscape at 16:9 aspect ratio with stylize 250, then feeds the output into an upscaler node.
Prompt 2
Help me set up the muapi.ai API key for the midjourney-comfyui nodes in ComfyUI. Where do I put the key and what environment variable or config file does it need?
Prompt 3
Create a ComfyUI workflow that uses the Niji node to generate four anime character portraits, then passes each image into a variation node to create alternate poses.
Prompt 4
Write a prompt for the Midjourney V8 node that produces a photorealistic fantasy castle at golden hour, with a negative prompt to avoid blurry details and low resolution.
Prompt 5
Show me how to chain a Midjourney V8 node with a reference image input and connect its four-image output to both a preview node and a save-to-disk node in ComfyUI.

Frequently asked questions

wtf is midjourney-comfyui?

Custom ComfyUI nodes that let you generate Midjourney images inside your visual AI workflow by connecting to the muapi.ai API service.

What language is midjourney-comfyui written in?

Mainly Python. The stack also includes Python, ComfyUI, muapi.ai API.

Is midjourney-comfyui actively maintained?

Active — commit in last 30 days (last push 2026-07-18).

How hard is midjourney-comfyui to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is midjourney-comfyui for?

Mainly designer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.