Ctrl-X: Controlling Structure and Appearance for Text-To-Image Generation Without Guidance
Kuan Heng Lin, Sicheng Mo, Ben Klingher, Fangzhou Mu, Bolei Zhou
TL;DR
Ctrl-X presents a training-free, guidance-free framework for controlling structure and appearance in text-to-image and text-to-video diffusion models. It achieves this via two core mechanisms: (1) feed-forward structure control that injects structure information from a structure image into early diffusion features, and (2) spatially-aware appearance transfer that leverages cross-attention-based semantic correspondence to transfer appearance statistics from an appearance image. The method operates without training or backpropagation at inference, enabling instant plug-and-play applicability across model architectures and novel condition inputs, and it demonstrates superior appearance alignment while maintaining competitive structure preservation versus baselines. Empirical results, ablations, and a user study substantiate its effectiveness, along with extensions to prompt-driven generation and T2V diffusion, and a discussion of limitations and safety considerations for real-world use.
Abstract
Recent controllable generation approaches such as FreeControl and Diffusion Self-Guidance bring fine-grained spatial and appearance control to text-to-image (T2I) diffusion models without training auxiliary modules. However, these methods optimize the latent embedding for each type of score function with longer diffusion steps, making the generation process time-consuming and limiting their flexibility and use. This work presents Ctrl-X, a simple framework for T2I diffusion controlling structure and appearance without additional training or guidance. Ctrl-X designs feed-forward structure control to enable the structure alignment with a structure image and semantic-aware appearance transfer to facilitate the appearance transfer from a user-input image. Extensive qualitative and quantitative experiments illustrate the superior performance of Ctrl-X on various condition inputs and model checkpoints. In particular, Ctrl-X supports novel structure and appearance control with arbitrary condition images of any modality, exhibits superior image quality and appearance transfer compared to existing works, and provides instant plug-and-play functionality to any T2I and text-to-video (T2V) diffusion model. See our project page for an overview of the results: https://genforce.github.io/ctrl-x
