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
Changed cgem nodes to use something else. Seems like people have problems with those nodes.
FAQ
Comments (7)
Is there a way to get it to save the prompts and resources used into the meta data? When I upload something generated with it to civitai, it recognizeds the seed, steps, and negative prompt, but not the positive prompts.
It does not use the positive input on the samplers with the regioning nodes which most likely gives the prompt for automatic detection. There is empty one going into the positive prompt for the sampler. You can see if it affects the output if you combine all the text with Text Concatenate node and input it into the positive of the sampler.
You could try image saver node, and concatenate all the prompts together in the order you want (base prompt, mask1 prompt, mask2 prompt etc), and link final result to positive prompt text box that can convert to an input node. If that makes sense.
You should check this out https://github.com/nkchocoai/ComfyUI-SaveImageWithMetaData
MontanaSilver with using that it can detect the negative prompt but not positive
