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)
I want to learn can you help me??
It works well. Thank you for sharing.
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!
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
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?
the comfyroll custom node can't be installed
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)
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.
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
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
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.






