FateZero: Fusing Attentions for Zero-shot Text-based Video Editing

Chenyang Qi, Xiaodong Cun, Yong Zhang, Chenyang Lei, Xintao Wang +2 more
2/14/2026

No official code found. Best implementation: ChenyangQiQi/FateZero (1,163 stars, MIT, last commit 2023-08-14).

Abstract

The diffusion-based generative models have achieved remarkable success in text-based image generation. However, since it contains enormous randomness in generation progress, it is still challenging to apply such models for real-world visual content editing, especially in videos. In this paper, we propose FateZero, a zero-shot text-based editing method on real-world videos without per-prompt training or use-specific mask. To edit videos consistently, we propose several techniques based on the pre-trained models. Firstly, in contrast to the straightforward DDIM inversion technique, our approach captures intermediate attention maps during inversion, which effectively retain both structural and motion information. These maps are directly fused in the editing process rather than generated during denoising. To further minimize semantic leakage of the source video, we then fuse self-attentions with a blending mask obtained by cross-attention features from the source prompt. Furthermore, we have implemented a reform of the self-attention mechanism in denoising UNet by introducing spatial-temporal attention to ensure frame consistency. Yet succinct, our method is the first one to show the ability of zero-shot text-driven video style and local attribute editing from the trained text-to-image model. We also have a better zero-shot shape-aware editing ability based on the text-to-video model [52]. Extensive experiments demonstrate our superior temporal consistency and editing capability than previous works.

View on arXivView PDF

Code Implementations(1)

MIT

[ICCV 2023 Oral] "FateZero: Fusing Attentions for Zero-shot Text-based Video Editing"

1,163107Shell, PythonMar 16, 20233 years agoMIT
image-editingstable-diffusiontext-driven-editingvideo-editingvideo-style-transfer

Similar Papers

Cite this paper

@article{qi2026fatezero,
  title  = {FateZero: Fusing Attentions for Zero-shot Text-based Video Editing},
  author = {Chenyang Qi and Xiaodong Cun and Yong Zhang and Chenyang Lei and Xintao Wang and Ying Shan and Qifeng Chen},
  year   = {2026},
  eprint = {2303.09535},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2303.09535},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.09535.svg)](https://codeofpaper.com/paper/2303.09535)

Discussion