← All publications
IEEE MultiMedia

HairCraft: Controllable Hairstyle Transfer via Instance-Specific Adaptation

Quoc-Anh Bui-Huynh, Thanh Duc Ngo

Abstract

Hairstyle transfer aims to realistically integrate a hairstyle from a reference image onto a source image while preserving facial identity and visual coherence. Current methods struggle with complex hairstyles and subtle details due to reliance on generic encoders, leading to visual artifacts and unrealistic blending. To overcome this, we propose HairCraft, an instance-specific adaptation method explicitly designed for precise hairstyle transfer. HairCraft personalizes a generative diffusion model to each hairstyle instance using only a single reference image, allowing detailed and faithful reproduction of complex hair features. We introduce a novel soft inpainting mechanism, carefully refining hair boundaries during denoising to ensure seamless and natural integration. HairCraft also supports optional user interaction through natural-language prompts and spatial masks, enabling flexible control over hairstyle attributes and placement. Quantitative evaluations and perceptual user studies show that HairCraft outperforms existing state-of-the-art methods in realism, detail preservation, and user control.