CivArchive
    ComfyUi Regional Prompter Workflow - v1.0
    NSFW
    Preview 48163668
    Preview 48163679
    Preview 48163699

    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

    Initial version

    FAQ

    Comments (10)

    SemiiDec 30, 2024· 4 reactions
    CivitAI

    Nya :neheyani:

    PotatCat
    Author
    Dec 30, 2024

    :necomfy:

    swanJan 18, 2025· 5 reactions
    CivitAI

    Very good workflow.

    PotatCat
    Author
    Jan 18, 2025

    (~ ̄▽ ̄)~

    DizBabesMar 29, 2025· 6 reactions
    CivitAI

    This works pretty good. Easy to use, runs fast.

    My only real issue is that as far as I could tell, there's no way to assign specific loras to specific masks. This would help a lot for avoiding contamination between characters. sometimes just isolating trigger words isn't enough, some character loras will overpower everything just by being present.

    PotatCat
    Author
    Mar 30, 2025

    Thanks, i usually try to make stuff i release easy to use. (~ ̄▽ ̄)~

    Sadly what comes into loras, i can't think of fast method/nodes to implement regioning of whole lora. With the current nodes in the workflow, i don't think it is possible outside the triggers on the masks. I wonder if some node that calls the lora with texts would work..

    DizBabesMar 30, 2025

    @PotatCat Likke0703's "Regional Conditioning with AttentionCouple(LoRA supported)" workflow does it, but yeah it is very slow, like over half an hour, but that's likely because I have only 8GB VRAM.

    PotatCat
    Author
    Mar 30, 2025· 1 reaction

    @DizBabes Checked it fast, seems to use conditioning nodes. Those slow down generation more you add them, but should not slow down that much. Are you using --lowvram arg?

    DizBabesMar 30, 2025

    @PotatCat no i am not. i tried with and without it, as well as with and without the --force-fp16 arg, but it was always very slow.

    PotatCat
    Author
    Mar 31, 2025· 2 reactions

    @DizBabes Took another fast, i see it using some controlnets and sam model for something. You could try disabling those and see if it is still slow. Those are at the top. Usually it loads those to vram.

    Also at what point does it get slow? What is it doing in the CMD. If you open task manager -> go to performance -> at the bottom there is your GPU. Does it say the GPU memory is full and there is something in the shared GPU memory?

    If the generation gets into shared memory that is where it will slow down. Also if you run out of normal RAM it will go into page file, if that is in slow HDD it will be even slower. (~ ̄▽ ̄)~

    Workflows
    SDXL 1.0

    Details

    Downloads
    1,615
    Platform
    CivitAI
    Platform Status
    Available
    Created
    12/28/2024
    Updated
    5/19/2026
    Deleted
    -

    Files

    comfyuiRegional_v10.zip

    Mirrors

    CivitAI (1 mirrors)