---
license: apache-2.0
pipeline_tag: video-to-video
library_name: diffusers
---
# [OSDEnhancer] Taming Real-World Space-Time Video Super-Resolution with One-Step Diffusion (arXiv 2026)
**Authors**: [Shuoyan Wei](https://github.com/W-Shuoyan)1, [Feng Li](https://lifengcs.github.io/)2,\*, Chen Zhou1, [Runmin Cong](https://rmcong.github.io)3, [Yao Zhao](https://scholar.google.com/citations?user=474TbQYAAAAJ&hl=en&oi=ao)1, [Huihui Bai](https://scholar.google.com/citations?user=iXuCUcQAAAAJ&hl=en&oi=ao)1
1*Beijing Jiaotong University*, 2*Hefei University of Technology*, 3*Shandong University*
\*Corresponding Author
[](https://arxiv.org/abs/2601.20308)
[](https://huggingface.co/W-Shuoyan/OSDEnhancer)
[](https://github.com/W-Shuoyan/OSDEnhancer)
This repository contains the reference code for the paper "[**Taming Real-World Space-Time Video Super-Resolution with One-Step Diffusion**](https://arxiv.org/pdf/2601.20308)".
---

**In this paper, we propose OSDEnhancer, the first framework that achieves real-world STVSR in one-step diffusion.** Given a low-resolution and low-frame-rate video as input, OSDEnhancer generates a high-resolution and high-frame-rate video.
OSDEnhancer begins with a linear initialization to establish essential spatiotemporal structures and adapt the model for one-step reconstruction. It then applies a divide-and-conquer strategy, introducing the temporal coherence (TC) and texture enrichment (TE) LoRAs that progressively specialize in inter-frame dynamics modeling and fine-grained texture recovery, respectively, while collaborating during inference for enhanced overall performance. A bidirectional VAE decoder employs deformable recurrent blocks to leverage the multi-scale structure of the vanilla VAE, enhancing latent-to-pixel reconstruction through joint multi-scale deformable aggregation and inter-frame feature propagation.
## πNews
- β
**[May 2026]** The inference code and pretrained checkpoints are now available π [](https://github.com/W-Shuoyan/OSDEnhancer) [](https://huggingface.co/W-Shuoyan/OSDEnhancer)
- β
**[Jan 2026]** The arXiv version of our paper has been released π [](https://arxiv.org/abs/2601.20308)
## π Installation
```shell
git clone https://github.com/W-Shuoyan/OSDEnhancer.git
cd OSDEnhancer
conda create -n OSDEnhancer python=3.10
conda activate OSDEnhancer
pip install torch==2.8.0+cu128 torchvision==0.23.0+cu128 --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
```
## π Usage
### Pretrained Checkpoints
The pretrained checkpoint is available below.
| Model Name | Base Model | Download Link π |
|---|---|---|
| OSDEnhancer-v1.0 | [CogVideoX1.5-5B](https://huggingface.co/zai-org/CogVideoX1.5-5B) | [π€ Hugging Face](https://huggingface.co/W-Shuoyan/OSDEnhancer) |
By default, the inference script automatically loads the checkpoint from Hugging Face. For local checkpoint loading, the checkpoint directory should be organized as follows:
```text
ckpt/
βββ transformer/
β βββ config.json
β βββ diffusion_pytorch_model-00001-of-00002.safetensors
β βββ diffusion_pytorch_model-00002-of-00002.safetensors
β βββ diffusion_pytorch_model.safetensors.index.json
βββ vae/
β βββ config.json
β βββ diffusion_pytorch_model.safetensors
βββ scheduler/
β βββ scheduler_config.json
βββ prompt_embeddings/
βββ empty.safetensors
```
### Inference
Run OSDEnhancer on an input video:
```bash
python inference.py \
--input demo/input.mp4 \
--output demo/output.mp4 \
--spatial_scale 4 \
--temporal_scale 2
```
For stable inference, we recommend using a GPU with **not less than 80GB of VRAM**. We recommend setting `spatial_scale = 4` and `temporal_scale = 2`. To use a local checkpoint, specify `--ckpt_path`. For long videos or high-resolution inputs, enable chunk-based inference by additionally setting `--chunk_length` and `--overlap`, where `--chunk_length` should satisfy the form of `8N+1`.
## π§ Contact
If you meet any problems, please feel free to contact us via email: shuoyan.wei@bjtu.edu.cn
## π‘ Cite
If you find this work useful for your research, please consider citing our paper π
```shell
@article{wei2026osdenhancer,
title={Taming Real-World Space-Time Video Super-Resolution with One-Step Diffusion},
author={Wei, Shuoyan and Li, Feng and Zhou, Chen and Cong, Runmin and Zhao, Yao and Bai, Huihui},
journal={arXiv preprint arXiv:2601.20308},
year={2026}
}
```
## π License & Acknowledgement
This project is released under the Apache License 2.0. OSDEnhancer is built upon [CogVideoX](https://github.com/zai-org/CogVideo). We also sincerely thank the authors of [DOVE](https://github.com/zhengchen1999/DOVE), [EvEnhancer](https://github.com/W-Shuoyan/EvEnhancer), and [RealBasicVSR](https://github.com/ckkelvinchan/realbasicvsr) for their excellent open-source implementations, which provided valuable references for this project.