Abstract
We propose Uni-Animator, a novel Diffusion Transformer (DiT)-based framework for unified image and video sketch colorization. Existing sketch colorization methods struggle to unify image and video tasks, suffering from imprecise color transfer with single or multiple references, inadequate preservation of high-frequency physical details, and compromised temporal coherence with motion artifacts in large-motion scenes. To tackle imprecise color transfer, we introduce visual reference enhancement via instance patch embedding, enabling precise alignment and fusion of reference color information. To resolve insufficient physical detail preservation, we design physical detail reinforcement using physical features that effectively capture and retain high-frequency textures. To mitigate motion-induced temporal inconsistency, we propose sketch-based dynamic RoPE encoding that adaptively models motion-aware spatial-temporal dependencies. Extensive experimental results demonstrate that Uni-Animator achieves competitive performance on both image and video sketch colorization, matching that of task-specific methods while unlocking unified cross-domain capabilities with high detail fidelity and robust temporal consistency.
Abstract (translated)
我们提出了Uni-Animator,这是一个基于扩散变换器(DiT)的框架,用于统一图像和视频草图着色。现有的草图着色方法在统一处理图像和视频任务时遇到困难,这些问题包括单个或多个参考下的颜色转移不准确、高频物理细节保留不足以及大运动场景中因运动而产生的时间一致性受损。 为了应对颜色转移的不准确性,我们引入了基于实例补丁嵌入的视觉参考增强技术,能够精确对齐和融合参考颜色信息。为了解决物理细节保留不足的问题,我们设计了一种利用有效捕捉并保持高频纹理的物理特征来加强物理细节的方法。为缓解运动引起的时序不一致问题,我们提出了基于草图的动态RoPE编码方法,以自适应地建模感知运动的空间时间依赖性。 广泛的实验结果表明,Uni-Animator在图像和视频草图着色上均表现出竞争力性能,与特定任务的方法相当,同时解锁了跨域统一能力,实现了高细节保真度和稳健的时间一致性。
URL
https://arxiv.org/abs/2602.23191