Sign In

FaceReplicator for FLUX

234
2.6k
136
Updated: Mar 8, 2025
tool
Type
Workflows
Stats
786
Reviews
Published
Mar 8, 2025
Base Model
Flux.1 D
Hash
AutoV2
6E77267CDC
Comfy Workflow Badge
Tenofas's Avatar
Tenofas
The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.
IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

Update Mar. 8, 2025 - New version of my FaceReplicator workflow is out!


This workflow is the evolution of my "Consistent face 3x3 generator", after the hundreds of requests to modify it to allow the use of a reference-portrait image.

The workflow allows you to upload a portrait photo and use it as img2img reference to generate a 3x3 grid of 9 different portrait images you can use for training a character LoRA with FLUX.

The reference portrait must be a good quality hi-res image, but the workflow works also with old analogic photos (I tested it with a scanned old Polaroid from the '90s and the result was not too bad).

You could also use the workflow as Faceswap but there are better workflows for that. In this case, you would use a single-person photo in place of the reference 3x3 grid.

How the workflow works

1) Load the Primary Image (portrait you want to Replicate) and a 3x3 Grid image (as suggested above).

2) Select if you want a random or fixed Seed, the Redux and PuLID strength, the number of steps, the sampler and scheduler you want to use (my suggestion is Deis - Ddim_uniform). (In the green group "Workflow Settings.)

3) You can change the upscale models used in the Upscale 1st and 2nd pass if you like.

Face Enhacer part of the workflow:

1) Select the skin detail lora and its strength (default is "skin texture style v.5 lora with 0.75 strength).

2) You can modify the Lying Sigma Sampler's dishonesty-factor (default -0.05) and the start/end percent (default 0.15 / 0.85) for stronger/weaker skin details.

3) In the Chin Masking (step 2) check if all 9 the chins are detected (if not, try changing the Layer Mask threshold (default 0.35).

4) Select the chin fixer lora and its strength (default is "chifixer-2000 with strength 2.00).

5) Select what postproduction modules you want to apply (film grain, LUT, filter adj).

6) Start the generation, sit down and relax... it may take several minutes to complete the generation (after all it's working on 9 images 1024x1024 at the same time).

Warning: if you get Out of Memory errors you may try to activate the "Purge VRAM V2" node in the final part of the workflow, at Step 2 - Chin masking. The workflow need at least 32Gb RAM (64Gb ram minimum is strongly suggested).

You need to use a realistic 3x3 grid to reach good results. I am testing a few to find the ones that work the best in the workflow. For the moment I suggest you to use one of the following:

Files needed and instructions can be found in the workflow, inside the black notes nodes.

Enjoy.