--- title: Smart Character Swap - FLUX.2 Klein emoji: 🎭 colorFrom: purple colorTo: pink sdk: gradio sdk_version: 6.11.0 app_file: app.py pinned: false short_description: Occlusion-aware character & face swap with FLUX.2 [klein] models: - black-forest-labs/FLUX.2-klein-9B - nhathoangfoto/Flux.2-Klein-9B-SmartCharacterSwap --- # 🎭 Smart Character Swap · FLUX.2 [klein] Swap an **identity** into a **target scene** while preserving the scene's pose, lighting, color grading, and occlusions (hands, veils, foreground objects). Upload the identity source (the face/character to bring in) and the target scene, then hit **Swap**. The before/after slider shows the original scene against the result. - **LoRA:** [`nhathoangfoto/Flux.2-Klein-9B-SmartCharacterSwap`](https://huggingface.co/nhathoangfoto/Flux.2-Klein-9B-SmartCharacterSwap) - **Base model:** [`black-forest-labs/FLUX.2-klein-9B`](https://huggingface.co/black-forest-labs/FLUX.2-klein-9B) Trigger word `jhuangswap` is added automatically.