CivArchive
    ComfyUI - Visual Area Conditioning / Latent composition - 2.4
    Preview 383101
    Preview 383100
    Preview 383099
    Preview 383098
    Preview 383097

    Davemane42's Custom Node for ComfyUI

    Also available on Github

    Instalation:

    • Download the .zip archive

    • extract ComfyUI_Dave_CustomNode folder to ComfyUI/custom_nodes/

    • Start ComfyUI

      • all require file should be downloaded/copied from there.

      • no need to manually copy/paste .js files anymore

    MultiAreaConditioning 2.4:

    • Let you visualize the ConditioningSetArea node for better control

    • Right click menu to add/remove/swap layers

    • Display what node is associated with current input selected

      Also come with a ConditioningUpscale node. useseful for hires fix workflow

    MultiLatentComposite 1.1:

    • Let you visualize the MultiLatentComposite node for better control

    • Right click menu to add/remove/swap layers

    • Display what node is associated with current input selected

    Description

    more automated install / fixed index slider

    FAQ

    Comments (44)

    Unknown2077Apr 2, 2023· 1 reaction
    CivitAI

    I'm having issue with v2.3 multiAreaConditioning, when I load the simple image into ComfyUi and run it, I got this error message in the console: " File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Dave_CustomNode\MultiAreaConditioning.py", line 67, in doStuff

    n[1]['strength'] = values[k][4]

    IndexError: list index out of range".

    zaadsatanApr 2, 2023

    I'm having the same issue

    zaadsatanApr 2, 2023· 2 reactions

    Ok, found the issue, if you used the old version before, just delete the node and put a fresh new one, it fixed the error for me

    Unknown2077Apr 3, 2023· 1 reaction

    @zaadsatan Thanks, your fix works great.

    yepeishengApr 3, 2023

    I have the same problem, perhaps because I filled in tags that cannot be represented in the model, such as "look at the camera"

    tscott65Apr 2, 2023
    CivitAI

    All of your new nodes work with this plug-in, except for the multi-area conditioning. I click on it in the sub-menu and nothing happens (although the other nodes in the sub-menu work fine). There's no error on the console, either. FYI, I just updated ComfyUI Portable last night.

    davemane42
    Author
    Apr 2, 2023

    did you use the old version?
    I know some other people had an issues where they didnt delete the old files

    BarmaglothApr 3, 2023· 3 reactions
    CivitAI

    MultiAreaConditioning.doStuff() missing 1 required positional argument: 'unique_id'

    how to fix that?

    davemane42
    Author
    Apr 3, 2023

    this require ab updated version of ComfyUI

    finaldApr 3, 2023
    CivitAI

    2.2 (OLD) works fine, but 2.3 will sometimes make the UI unresponsive when editing the node (no errors appear on cmd, but I lose the ability to edit existing node).
    Any ideas on why this might be happening?

    yepeishengApr 3, 2023

    delete 2.2

    finaldApr 3, 2023· 1 reaction

    @yepeisheng already did b4 updating to 2.3. That is not the problem. Refreshing the browser seems to solve it...

    davemane42
    Author
    Apr 4, 2023· 1 reaction

    fixed the problem with 2.4, sometime the index slider would output really small values like 1.000000000054

    finaldApr 13, 2023

    @davemane42 Sir, how can I buy you a coffee?

    AstreaPixieApr 6, 2023
    CivitAI

    Sooo your picture show different nodes than what i can create, like seed, the emptylatentimage with input/oupout for dimension to link to multiareaconditionning, no .json of workflow?

    davemane42
    Author
    Apr 7, 2023

    in recent version of ComfyUI you can right click on any nodes and convert any of the "widgets" to an input then you can connect them to i a primitive or double click on that link

    AstreaPixieApr 7, 2023

    @davemane42 That's what i was thinking of, im supposed to have the last one and didnt worked when i had tried, will try a lil later and get back to you, thanks for answering ! :)

    deltytook111Apr 7, 2023
    CivitAI

    I have a problem, I could solve it if I had access to the workflow where the screenshots were taken, or the screenshots themselves showed a big picture, I don't understand what to insert where

    RawBApr 28, 2023· 1 reaction

    For a complete example, you can go to the Github link in the description and view the example image - https://github.com/Davemane42/ComfyUI_Dave_CustomNode/blob/main/images/MultiLatentComposite_workflow.svg

    coffeebeansDec 12, 2023

    @RawB Would be easier to just upload the workflow.json file

    ggood88888888Apr 12, 2023
    CivitAI

    i cant add MultiAreaConditioning node , Nothing happens after clicking add

    1989xyzaccApr 24, 2023
    CivitAI

    Cannot import F:\ComfyUI_windows_portable\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Dave_CustomNode module for custom nodes: cannot import name 'MAX_RESOLUTION' from partially initialized module 'nodes' (most likely due to a circular import) (F:\ComfyUI_windows_portable\ComfyUI_windows_portable\ComfyUI\nodes.py)

    XyemApr 24, 2023· 1 reaction
    CivitAI

    This does not install the javascript files correctly on Linux machines as you've hard-coded the paths to use \ directory separators, rather than letting os.path use the appropriate separator.

    I believe __init__.py:14 should be:

    extentions_folder = os.path.join(os.path.dirname(os.path.realpath(__main__.__file__)), "web", "extensions", "Davemane42")

    mobmasterApr 28, 2023· 1 reaction
    CivitAI

    As soon as I look at the multi lateral composite the entire ui freezes and becomes unresponsive. Issue doesn't happen with multiareaconditioning, only multi lateral composite. I've updated the custom node and the comfyui 4 times to no success. No issues in cmd the whole thing just freezes. Any fixes?

    dnb_maritimeJul 20, 2023

    Same here

    aRtFuL_DoDGeRDec 7, 2023

    @dnb_maritime  same here! So bummed!

    laoAyydsMay 16, 2023
    CivitAI

    Unable to read the length and width numbers generated from the image, only the parameters printed can be recognized. I am not sure if it can be fixed, which facilitates data association

    125081Jun 4, 2023· 4 reactions
    CivitAI

    Any chance you could upload a very simple workflow demonstrating these nodes? I fail to see what I'm supposed to connect them with.

    StepaanJun 24, 2023· 10 reactions
    CivitAI

    Hi! Thank you for great nodes. But... It stopped working recently the MultiLatent/AreaConditioning doesn't show the square areas anymore :-( Ontly the top section inputs/outputs are visible. It used to work few weeks ago. Please, HELP! :-D

    navelgazeJan 28, 2024· 32 reactions
    CivitAI

    Just in case anyone stumbles upon this node, it's been abandoned for a long time and doesn't work anymore. I can't find a suitable replacement, so for now your best option may be using comfy's built in area conditioning nodes, though they are less convenient. You either have to define a box numerically or draw a separate mask for each area.

    Impact Pack also has regional conditioning nodes, which are more powerful but complicated. With it, each region can use a different model and sampler, I think. It doesn't have a visual graph like this node though.

    NatotelaFeb 10, 2024· 1 reaction

    the visual graph is what makes this one so visually graphic

    zGenMediaMar 19, 2024

    Some Heroes do not wear capes.

    Wraithnaut300Mar 21, 2024· 2 reactions

    If the numerical box you referred to was Gligen, then there is a visual gui available for it now that someone has released recently: https://github.com/mut-ex/gligen-gui

    piipchanMay 31, 2024· 1 reaction

    Thank you. really helpful. Just found the workflow of conditioning nodes. fyi. But with no visual nodes, we need more more imagination and calculation. https://comfyanonymous.github.io/ComfyUI_examples/area_composition/#area-composition-with-anything-v3--second-pass-with-abyssorangemix2_hard

    LaprasconAug 17, 2024

    Thank you!!

    LaprasconAug 18, 2024· 1 reaction

    Really helpful ! ! Following your reminder, I successfully completed this workflow with IMPACT PACK regional nodes !Thanks again!

    navelgazeAug 18, 2024

    @Laprascon Cool. Impact pack is good. I'm not sure if there are better ways now available, as I haven't kept up with new custom nodes.

    UnstableDiffusionESJul 5, 2024
    CivitAI

    Dave!! why did you abandon us!? :(

    RneoXAug 26, 2024· 8 reactions
    CivitAI

    Need to be fixed a new update comfyUI please! Save us!

    composermn8888506Oct 12, 2024· 3 reactions
    xcom2000Aug 9, 2025

    composermn8888506 

    >This repository was archived by the owner on Jan 30, 2025. It is now read-only.

    Welp...

    FLDNov 1, 2025· 1 reaction

    Good news, it's available as a fork in the ComfyUI manager:
    https://github.com/GegenDenTag/ComfyUI-multi-area-condition-node

    usr40kNov 23, 2024
    CivitAI

    works fine on linux, and windows for me, perhaps you are on a mac? Or maybe you did not install you dependencies?

    hoshinokiichiNov 27, 2025
    CivitAI

    damn bro you are SO genius

    love from 2025

    Other
    SD 1.5

    Details

    Downloads
    5,217
    Platform
    CivitAI
    Platform Status
    Available
    Created
    4/2/2023
    Updated
    5/11/2026
    Deleted
    -

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.