metadata
license: mit
pipeline_tag: text-to-video
UniTemp: Unlocking Video Generation in Any Temporal Order via Bidirectional Distillation
UniTemp is a few-step video diffusion model distilled from Wan2.1 that generates videos in any temporal order (forward, backward, or in-between) with a single set of weights.
- Paper: UniTemp: Unlocking Video Generation in Any Temporal Order via Bidirectional Distillation
- Project Page: https://lzhangbj.github.io/projects/unitemp/
- Repository: https://github.com/lzhangbj/UniTemp
Introduction
Existing autoregressive video diffusion models are typically restricted to forward temporal generation. UniTemp bridges this gap by supporting generation in arbitrary temporal directions. It introduces blockwise anchor latents to address inter-block discontinuities during backward generation and utilizes a bidirectional distillation framework for efficient training.
Usage
Please refer to the official repository for environment setup and model checkpoint preparation. The model supports three inference modes:
Forward Generation (past -> future)
bash scripts/inference_forward.sh
Backward Generation (future -> past)
bash scripts/inference_backward.sh
In-between Generation
# head clip + tail clip, then interpolate the transition
bash scripts/inference_inbetween.sh
Citation
@article{zhang2026unitemp,
title={UniTemp: Unlocking Video Generation in Any Temporal Order via Bidirectional Distillation},
author={Zhang, Lin and Mo, Sicheng and Cai, Zefan and Lin, Jinhong and Lin, Zihao and Gu, Jiuxiang and Singh, Krishna Kumar and Li, Yuheng and Li, Yin},
journal={arXiv preprint arXiv:2606.18702},
year={2026}
}