Skip to content
Python

changed default denoising settings for flux 2

DeepBeepMeep94e1490287ad
diff --git a/README.md b/README.md
index ea5d813..a31df27 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ WanGP version has the following perks: 3D pose Preprocessing entirely rewritten
- **pi-Flux 2**: you don't use Flux 2 because you find it too slow ? You won't be able to use this excuse anymore: pi-Flux 2 is *4 steps distills* of the best image generator. It supports both image edition and text to image generation.
-- **loras accelerator**: *loras accelerator* for *Qwen* and *Wan i2v* have been added (activable using the *Profile settings* as usual)
+- **loras accelerators**: *loras accelerator* for *Qwen* and *Wan i2v* have been added (activable using the *Profile settings* as usual)
### December 14 2025: WanGP v9.86, Simple Pleasures...
@@ -89,7 +89,7 @@ The only snag is that it is a 60B parameters for the *Transformer* part and 40B
Behold the WanGP Miracle ! Flux 2 wil work with only 8 GB of VRAM if you are happy with 8 bits quantization (no need for lower quality 4bits). With 9GB of VRAM you can run the model at full power. You will need at least 64 GB of RAM. If not maybe Memory Profile 5 will be your friend.
-*With WanGP v9.74*, **Flux 2 Control Net** hidden power has also been unleashed from the vanilla model. You can now enjoy Flux 2 *Inpainting* and *Pose transfer*. This can be combined with *Image Refs* to get the best *Identity Preservation* / *Face Swapping* an Image Model can offer: just target the effect to a specific area using a *Mask* and set a *Masking Strength* of 0.3-0.4 for a perfect blending
+*With WanGP v9.74*, **Flux 2 Control Net** hidden power has also been unleashed from the vanilla model. You can now enjoy Flux 2 *Inpainting* and *Pose transfer*. This can be combined with *Image Refs* to get the best *Identity Preservation* / *Face Swapping* an Image Model can offer: just target the effect to a specific area using a *Mask* and set *Denoising Strength* to 0.9-1.0 and *Masking Strength* to 0.3-0.4 for a perfect blending
- **Z-Image**: a small model, very fast (8 steps), very low VRAM (optimized even more in WanGP for fun, just in case you want to generate 16 images at a time) that produces outstanding Image quality. Not yet the Flux 2 level, and no Image editing yet but a very good trade-off.
diff --git a/models/flux/flux_handler.py b/models/flux/flux_handler.py
index 9488a47..d51930e 100644
--- a/models/flux/flux_handler.py
+++ b/models/flux/flux_handler.py
@@ -326,9 +326,9 @@ class family_handler():
if flux2:
ui_defaults.update({
"embedded_guidance_scale": 4.0,
+ "denoising_strength": 1.0,
+ "masking_strength": 0.25,
"remove_background_images_ref" : 0,
- "mask_strength": 0.3,
-
})
if flux_kontext or flux_uso or flux_kontext_dreamomni2: