加载中…
加载中…
A specialized LoRA adapter for FLUX.2 Klein 9B designed for high-end, highly accurate character and face swapping. It excels at handling complex occlusions (like hands, veils, and foreground objects) and seamlessly matching the color grading and lighting of the target image.
Built specifically for practical, high-end portrait editing and commercial imaging workflows, ensuring photorealistic results without unwanted cartoon or stylized aesthetics.
I'll be dropping in-depth tutorials on AI models, ComfyUI workflows, image & video generation, 3D tools and more.
@JettHuangAI — Hit 🔔 so you don't miss it!
If this LoRA helps your projects, please consider supporting continued development and new model releases.
Every contribution directly funds training compute, dataset curation, and the release of new open-source LoRAs.
For custom LoRA training, advanced ComfyUI workflow development, or collaboration:
🌐 Website: jetthuang.com
📱 WhatsApp: +84947397868
💬 Telegram/Discord: nhathoangfoto
🐦 X: https://x.com/NhatPhoto
📘 Facebook: https://www.facebook.com/nhathoangfoto
Powerful local hardware, ready for any complex project: 🚀 RTX 5090 | RTX Pro 6000 🛠️
| Character Source (Identity) | Target Body (Base Image) | → Final Output |
|---|---|---|
| Character Source (Identity) | Target Body (Base Image) | → Final Output |
|---|---|---|
Left: Character reference (identity). Middle: Target body/scene. Right: Final output — the character seamlessly integrated with perfect occlusion and lighting matching.
Standard face-swap methods often fail in professional environments because they:
SmartCharcterswap LoRA solves this by acting as a highly intelligent compositor, making it an essential tool for commercial photography, automated AI photobooths, and advanced ComfyUI pipelines.
This LoRA is optimized for node-based workflows in ComfyUI, providing maximum stability and near-perfect accuracy after rigorous testing.
Screenshot of the highly efficient ComfyUI workflow utilized for testing and executing the Smart Character Swap.
[!IMPORTANT]
💡 Get the Most Out of This LoRA
This LoRA performs at its absolute best when paired with a custom workflow tailored to your specific use case, combined with additional control LoRAs for precise, production-ready results.
A generic workflow will only scratch the surface of what this model can do. For commercial shoots, AI photobooths, or advanced portrait pipelines — a purpose-built workflow makes all the difference.
📩 For a custom workflow, please contact me directly:
- 📱 WhatsApp: +84947397868
- 💬 Telegram/Discord: nhathoangfoto
- 🌐 jetthuang.com
jhuangswap
Place this trigger at the beginning of your positive prompt to activate the character swapping behavior effectively.
jhuangswap, masterpiece, high-end photography, realistic portrait of a young man, matching target lighting, highly detailed skin texture, 8k resolution
To maintain the high-end practical feel, always use prompts that steer the base model toward realism.
Good: jhuangswap, editorial photography, studio lighting, raw photo, realistic skin...
Avoid: Prompts containing words like illustration, 3d render, anime, stylized...
You do not need to heavily describe the pose or the background if you are using an image-to-image/ControlNet workflow. Let the Target Body image drive the composition, and use the prompt to reinforce the identity and photographic quality.
0.75 – 1.0 (Adjust based on how aggressively the target image deviates from the source identity).2.0 – 4.01. Download the .safetensors file.
2. Place it in: ComfyUI/models/loras/
3. Build your image-to-image or character swap workflow (refer to the Screenshot.jpg).
4. Use the trigger word "jhuangswap" in your positive prompt.
from diffusers import Flux2Pipeline
import torch
pipe = Flux2Pipeline.from_pretrained(
"black-forest-labs/FLUX.2-klein-base-9B",
torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights(
"nhathoangfoto/Flux.2-Klein-9B-SmartCharcterswap",
adapter_name="smartcharswap"
)
pipe.set_adapters(["smartcharswap"], adapter_weights=[0.85])
# Example usage (integration with image-to-image pipelines required for full swap functionality)
Released under Apache 2.0. You are free to use this LoRA for personal, research, and commercial purposes.
The base model (FLUX.2 Klein Base 9B) has its own license — please review the FLUX.2 Klein Base 9B license terms for base-model usage conditions.
Your support keeps new models coming. Even a small tip makes a real difference for independent open-source AI work.
Thank you for supporting independent AI research! 🙏
If you find this LoRA useful, please ❤️ like the model and share your creations in the Community tab!