Workflow for "Replace character on image_1 with character from image_2".
Requires Flux.2 Klein 9B and optional Illustrious-based model for style transfer.
Important:
You need this specific ComfyUI-NAG implementation (it supports Flux.2)
Description
This version has automatic face detection and optional style transfer feature
FAQ
Comments (20)
hi,I can't find the NAGCFGGuiderAdvanced,where to download it.tks
You can install it from there:
https://github.com/BigStationW/ComfyUI-NAG.git
hello , was NAGCFGGuiderAdvanced updated? can´t find it.
You need this plugin:
https://github.com/BigStationW/ComfyUI-NAG.git@brainburns894 thnx bro , nice workflow !
is it possible to use face detailer without style transfer? When I turn off style transfer toggle and then turn it on the workflow gets broken and start getting a series of errors starting with 'Failed to validate prompt for output 34'
To switch off style transfer completely remove or disable 'Preview Image' node at the bottom right corner.
What a great workflow! If you don't mind, is it possible to do the next version manually specifying the mask area? If there are more than two people, there is an error in replacing it.
Here's version with manual mask:
https://pastebin.com/yyaSV5iq
@brainburns894 I've tried the mask version and still have 2 characters, I get a problem. Maybe there should be an Inpaint Crop and Stitch. Of course it's still so great as of now! :)
took a little rewiring but good pose replacement!
I loved your previous workflow, but I’m having trouble with this one because the facefix preview doesn’t show anything and it seems like it isn’t being applied, this happens even if i disable the node-group in the lower right corner.. Could you please help me please?
the workflow breaks sometimes wen minor changes are made
* VAEEncode 28:103:144:
- Required input is missing: vae
- Required input is missing: pixels
somehow it doesnt do anything like it just stop then return my original image
for anyone having problems, i found out that the subgraphs are broken (probably due to the current problems from new comfyui versions). you need to extract the subgraphs and combine them again so the links to the conditioning are reset.
yep, is annoying unless you use old version
NAG Fix:
You need to install this specific fork of ComfyUI-NAG (and remove previous):



