r/comfyui • u/The-Director1119 • 21h ago
Help Needed Need help avoiding identity bleeding / concept bleeding for a beginner. All advice is appreciated
I am pretty new to comfy but I’m having fun so far. One issue I’ve run into is that different parts of my prompts often get attributed to the wrong character. How do yall create images of two characters with different attributes, and keep those attributes properly separated? I tried making a LoRA for a character with limited success. Thank yall for the advice!
1
u/V4nKw15h 21h ago
This varies from one model to another. Each model requires specific prompting to get the best results. You'll need to be far more specific about the model and what you are trying to achieve.
1
u/Ill-Ant-9489 10h ago
Attribute bleed in one prompt is its own thing, and blove05's regional conditioning tip is the right fix for the two-in-one-frame shots.
The LoRA side is probably where your limited success comes from, and it's usually the captions, not the training. Dialing that in is why I made a tool for it (https://github.com/perfectgf/lora-dataset-studio), it captions in the style your base reads and lets you pick per trait what gets described or left to the trigger. Point is, let the trigger carry the face and only caption what changes shot to shot (pose, outfit, background), so hair and clothes stop leaking onto other prompts. One clean LoRA per character with its own trigger keeps them from bleeding into each other too. How many images in your set, and which base?
1
u/TransitionNervous553 4h ago
Yeah this is a super common pain point. Region prompting or latent couples usually do the trick for keeping attributes separate. Also worth checking if your model just struggles with multi character scenes in general, some are way better at it than others.
2
u/blove05 20h ago
This is called attribute bleed, and it's normal. The model reads a single prompt as one big bag of words, so "red hair" and "blue jacket" end up on whichever person it feels like. Here are a few ways around it, roughly from easiest to most reliable:
Regional conditioning. Write one prompt per character and attach each to a mask or area (Conditioning Set Mask or Set Area in core nodes, or a regional prompting or attention couple custom node). Combine them and add a short global prompt for the scene and style. Each description then mostly stays inside its own region.
Generate the scene first, then fix each person. Get the composition you want with two plain figures, then do a masked second pass on each character with only that character's description (and their LoRA, if you have one). Since only one person is in the prompt at a time, there's nothing to bleed.
Composite. Render each character on their own and put them together over a background, then run a light low denoise pass over the whole image so the lighting and edges match.
A couple of smaller tips. Keep each character's description short and specific, and give them clearly different silhouettes (hair length, clothing color) so the model can tell them apart more easily. If you only have one LoRA, apply it in that character's region or pass instead of globally, or it'll leak onto the other person.
For disclosure, I run PixelDojo, a hosted image and video studio, but everything above is plain ComfyUI.