Nodes/Comfyui-zhenzhen/Zhenzhen_Mjv
ComfyUI Node

Zhenzhen_Mjv

The 'V' button, minus the button

By T8mars·Created 12 months ago·Updated a day ago· 719
Zhenzhen_Mjv
    • image
    taskId
    api_key
    upsample_v6_2x_subtlefalse
    upsample_v6_2x_creativefalse
    costume_zoomfalse
    zoom1.0
    pan_leftfalse
    pan_rightfalse
    pan_upfalse
    pan_downfalse
    skip_errorfalse
    seed0

    The name is short for Midjourney Variation, and that's exactly the job: you hand it a Midjourney task id and it makes variations of that result - plus the post-generation tricks like upscaling, zoom-out, and panning. If you've used the Comfly pack's Comfly_Mj node to generate a grid, this is the node that turns one of those four images into a family of near-cousins, all inside ComfyUI instead of on Discord.

    The flow is: Comfly_Mj returns a taskId → feed it into Comfly_Mjv → pick what you want done → out pops an image. It's a paid call each time, so each variation is a transaction, but that's the same deal you get running MJ through any API wrapper.

    The input that matters

    • taskId - required, and it's forceInput, so it wants to be wired from the generating node's output rather than typed. Copy-pasting a raw id from the MJ website can work, but the intended path is node-to-node.
    • upsample_v6_2x_subtle / upsample_v6_2x_creative - two flavors of the 2x upscale: subtle keeps the image honest, creative lets MJ reimagine while enlarging.
    • costume_zoom - the zoom-out-outwards variation (yes, the author's field name is "costume" - it's zoom regardless of the spelling).
    • zoom - 1.0 to 2.0, how far the zoom goes.
    • pan_left / pan_right / pan_up / pan_down - the "keep the subject, shift the frame" moves. Pick one direction per run; they're booleans, so it's one flag at a time.

    The api_key input is the standard Comfly override; otherwise it reads the global key from Comflyapi.json.

    Output is a single image (IMAGE) - wire it into a Save Image node and you're done.

    Install

    Same story as every Comfly node:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ainewsto/Comfyui_Comfly
    

    Or ComfyUI Manager → "Comfyui_Comfly" → restart. No models, no GPU usage - it's an API client for the Midjourney relay at ai.comfly.chat. You'll want credits on that account.

    Gotchas

    The README's update log is worth a skim if MJ is your main use case - the pack's MJ node group got reorganized more than once ("deleted some nodes, simplified the mj group"), and there's a dedicated Comfly_Mj_swap_face for face-swap jobs and Comfly_mj_video/Comfly_mj_video_extend for MJ's video mode, so don't go hunting for features that live in a sibling node. One honest quirk: if the call fails and returns nothing usable, the source falls back to a blank white 512x512 image instead of erroring loudly - so a "successful" run that gives you a white square means check the relay's task log, not your wiring.

    Categoryzhenzhen/Midjourney

    Inputs (12)

    NameTypeDefaultDescription
    taskIdSTRING
    api_keyoptSTRING
    upsample_v6_2x_subtleoptBOOLEANfalse
    upsample_v6_2x_creativeoptBOOLEANfalse
    costume_zoomoptBOOLEANfalse
    zoomoptFLOAT1.01–2
    pan_leftoptBOOLEANfalse
    pan_rightoptBOOLEANfalse
    pan_upoptBOOLEANfalse
    pan_downoptBOOLEANfalse
    skip_erroroptBOOLEANfalse开启后,节点失败时不报错、按旧行为返回默认空结果;关闭时(默认)失败直接抛出错误。
    seedoptINT00–18446744073709550000Execution seed for ComfyUI cache control. Fixed reuses the cached result; randomize/increment/decrement requests a new run. This compatibility seed is not sent to APIs that do not expose a native seed parameter.

    Outputs (1)

    NameTypeDescription
    imageIMAGE