Unified Text-Image-to-Video Generation: A Training-Free Approach to Flexible Visual Conditioning
Bolin Lai, Sangmin Lee, Xu Cao, Xiang Li, James M. Rehg
TL;DR
FlexTI2V presents a training-free method to condition text-to-video diffusion models on an arbitrary number of images at flexible positions, achieved by inverting condition images to latent noise representations and injecting visual features through a novel random patch swapping mechanism with dynamic control. The approach achieves state-of-the-art performance among training-free TI2V methods on UCF-101 across image animation, rewinding, inpainting/outpainting, and interpolation, while also generalizing to transformer-based Wan2.1 models and different architectures, and delivering efficient inference. Ablation and qualitative analyses confirm the essential roles of random patch swapping and dynamic control in balancing fidelity to condition images with creative motion. While effective, the method inherits limitations from the base T2V models, including camera viewpoint transitions and watermark biases, pointing to future work on explicit camera motion modeling and broader conditioning modalities.
Abstract
Text-image-to-video (TI2V) generation is a critical problem for controllable video generation using both semantic and visual conditions. Most existing methods typically add visual conditions to text-to-video (T2V) foundation models by finetuning, which is costly in resources and only limited to a few pre-defined conditioning settings. To tackle these constraints, we introduce a unified formulation for TI2V generation with flexible visual conditioning. Furthermore, we propose an innovative training-free approach, dubbed FlexTI2V, that can condition T2V foundation models on an arbitrary amount of images at arbitrary positions. Specifically, we firstly invert the condition images to noisy representation in a latent space. Then, in the denoising process of T2V models, our method uses a novel random patch swapping strategy to incorporate visual features into video representations through local image patches. To balance creativity and fidelity, we use a dynamic control mechanism to adjust the strength of visual conditioning to each video frame. Extensive experiments validate that our method surpasses previous training-free image conditioning methods by a notable margin. Our method can also generalize to both UNet-based and transformer-based architectures.
