TokenFlow: Consistent Diffusion Features for Consistent Video Editing

Michal Geyer, Omer Bar-Tal, Shai Bagon, Tali Dekel
2/12/2026

No official code found. Best implementation: omerbt/TokenFlow (1,707 stars, MIT, last commit 2025-02-03).

Abstract

The generative AI revolution has recently expanded to videos. Nevertheless, current state-of-the-art video models are still lagging behind image models in terms of visual quality and user control over the generated content. In this work, we present a framework that harnesses the power of a text-to-image diffusion model for the task of text-driven video editing. Specifically, given a source video and a target text-prompt, our method generates a high-quality video that adheres to the target text, while preserving the spatial layout and motion of the input video. Our method is based on a key observation that consistency in the edited video can be obtained by enforcing consistency in the diffusion feature space. We achieve this by explicitly propagating diffusion features based on inter-frame correspondences, readily available in the model. Thus, our framework does not require any training or fine-tuning, and can work in conjunction with any off-the-shelf text-to-image editing method. We demonstrate state-of-the-art editing results on a variety of real-world videos. Webpage: https://diffusion-tokenflow.github.io/

View on arXivView PDF

Code Implementations(1)

omerbt/TokenFlowCommunity78%
MIT

Official Pytorch Implementation for "TokenFlow: Consistent Diffusion Features for Consistent Video Editing" presenting "TokenFlow" (ICLR 2024)

1,707142PythonJul 20, 20231 years agoMIT
iclr2024stable-diffusiontext-to-imagetext-to-videotokenflow+1 more

Similar Papers

Cite this paper

@article{geyer2026tokenflow,
  title  = {TokenFlow: Consistent Diffusion Features for Consistent Video Editing},
  author = {Michal Geyer and Omer Bar-Tal and Shai Bagon and Tali Dekel},
  year   = {2026},
  eprint = {2307.10373},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.10373},
  journal = {ICLR 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/2307.10373.svg)](https://codeofpaper.com/paper/2307.10373)

Discussion