CivArchive
    ComfyUi Regional Prompter Workflow - v1.2 controlnet example
    NSFW
    Preview 81498114
    Preview 81498164
    Preview 81498168
    Preview 81498251
    Preview 83857344
    Preview 83881997
    Preview 83882058

    HOW TO USE ARTICLE HERE

    Might not work with newest comfyui with subgraph features.

    Update: 06/10

    There have been several requests on how to make controlnet work with the workflow, here is example for it. I have somewhat old comfyui, if some nodes do not work, you might need to remake them.

    I recommend using same size image for the controlnet, as you use for generation. Then you can copy paste them to the load image for masks for easy masking.

    The size for generation is taken from first mask!

    On this example controlnet is only used for first sampler, if you need it for some reason for the second sampler too, you can just wire it from the controlnet.

    Update: 01/04

    Added version that does not use CGEM nodes, as people seem to have problems getting it working. Only did fast testing with the non cgem version and seemed to work. Let me know if you notice some problems in it, i am using slightly old version of comfyui.

    Simple example workflow for regional prompting in comfyui.

    tested to work with XL, might work with other models too.

    Description

    Added controlnet

    FAQ

    Comments (13)

    mramirx5407Jun 22, 2025· 1 reaction
    CivitAI

    I want to learn can you help me??

    mkbmbt126com649Jul 7, 2025· 4 reactions
    CivitAI

    It works well. Thank you for sharing.

    lotfrAug 10, 2025
    CivitAI

    Sorry but I can't find these nodes: Get Image Size, AttentionCoupleRegion, AttentionCoupleRegions, AttentionCouple.

    Could someone please tell me where can I get these custom nodes? I can't find then in ComfyUI Manager.

    Thanks for help!

    PotatCat
    Author
    Aug 11, 2025· 1 reaction

    get image size is from
    https://github.com/BadCafeCode/masquerade-nodes-comfyui

    Attention couple ones are from
    https://github.com/ramyma/A8R8_ComfyUI_nodes

    I am able to find both from comfyui manager. I don't know if something has changed since i have updated comfyui

    ardenesqueAug 26, 2025· 1 reaction
    CivitAI

    Would you consider adding adetailers for eyes, face, nsfw etc for this workflow? It would be awesome. If not, do you accept commissions to make that?

    dinesstt568Aug 28, 2025
    CivitAI

    the comfyroll custom node can't be installed

    Pete6Sep 8, 2025
    CivitAI

    It used to work pretty fine, but now I get a No input found for flattened id [147] slot [-1] error. I tried to reinstall the nodes, then comfy, but nothing works. If anyone can help...^_^' (nocgem version)

    PotatCat
    Author
    Sep 8, 2025

    New comfyui update broke some nodes, with the subgraph stuff. Look here for more information https://civitai.com/articles/10156?highlight=1365440#comments .
    Personally using pretty old version, and don't have time to fix workflows atm. The link should give some direction.

    Pete6Sep 9, 2025· 2 reactions

    Thanks for the answer !
    I finally found a solution using the 1.0 version. I put it here just in case :

    Import failed on comfyui · Issue #17 · laksjdjf/cgem156-ComfyUI

    RequiemOfArtNov 23, 2025
    CivitAI

    Im still checking the V1.0 , but i got a problem using the masks, i only want to use 2 but it ask for the other ones, and then a problem with the sizes
    "stack expects each tensor to be equal size, but got [1, 1024, 1024] at entry 0 and [1, 64, 64] at entry 1"
    its a problem with cgem156? I was able to import it on ComfyUI manager

    PotatCat
    Author
    Nov 23, 2025

    You could test with other version to see if you have same problem. All the masks you are using needs to be same size. The generation size is taken from the first mask.

    qw565Jan 11, 2026· 2 reactions
    CivitAI

    Amazing workflow and works great for me.

    PotatCat
    Author
    Jan 12, 2026

    (~ ̄▽ ̄)~

    Workflows
    Other

    Details

    Downloads
    3,011
    Platform
    CivitAI
    Platform Status
    Available
    Created
    6/10/2025
    Updated
    5/19/2026
    Deleted
    -

    Files

    comfyuiRegional_v12ControlnetExample.zip