Moving image · Research feature

New AI Framework Enables Fast, High-Quality Video Editing with Text Prompts

A new AI system allows text-guided video editing by adapting one-step image generation models to produce consistent, high-quality results quickly.

Adapted from research by Habin Lim, Gyeong-Moon Park.

arXiv preprint revision · 2026-07-22 · Attribution & reuse
In this article
Three frameworks for text-guided video editing. (a) Multi-to-Multi: The standard approach yields high-quality edits but is impractically slow. (b) Multi-to-One: Naïvely adopting a one-step diffusion model produces degraded, temporally inconsistent outputs. (c) One-to-One (Ours): Our proposed framework uses a learnable one-step encoder to enable fast, temporally consistent, and high-quality video editing, resolving the speed–quality trade-off.
Figure 1: Three frameworks for text-guided video editing. (a) Multi-to-Multi: The standard approach yields high-quality edits but is impractically slow. (b) Multi-to-One: Naïvely adopting a one-step diffusion model produces degraded, temporally inconsistent outputs. (c) One-to-One (Ours): Our proposed framework uses a learnable one-step encoder to enable fast, temporally consistent, and high-quality video editing, resolving the speed–quality trade-off.

Editor’s introduction

The study focuses on OSVE, a framework that adapts one-step text-to-image diffusion models for video editing. It compares editing quality and speed against traditional multi-step methods by using a learnable encoder trained with a Structure-Aware Editing loss to preserve spatial structure during edits. The system also employs Unified-Frame Editing to maintain temporal consistency across frames. Evidence shows OSVE achieves quality comparable to state-of-the-art multi-step methods while being approximately 155–171 times faster. A key boundary of the evidence is that the approach relies on mature one-step text-to-image models, which are known for superior generation quality, rather than text-to-video models that still suffer from temporal artifacts. This limits direct comparison to video-specific one-step generators, which are not yet reliable for editing tasks.

Introduction

Text-guided video editing, i.e., modifying a source video’s visual content according to a natural-language instruction, is increasingly vital for content creation, filmmaking, and interactive media. Recent generative diffusion models, spanning Text-to-Image (T2I) and Text-to-Video (T2V) architectures, have enabled the generation of photorealistic, temporally coherent visual content from text alone. Building upon these powerful backbones, a growing body of work performs training-free, zero-shot video editing by intervening in the diffusion process. These methods typically follow a two-stage pipeline: (i) inverting the source video via multi-step inversion to recover its latent trajectory, and (ii) generating the edited frames by re-running the diffusion process under a modified text prompt, often with cross-frame attention control to preserve spatial structure and temporal layout.

To overcome this bottleneck, we shift toward a one-step generation paradigm. One-step diffusion models, distilled from their multi-step teachers, have achieved competitive or even superior image quality, yet their potential for video editing remains unexplored. By adapting this ultra-fast regime to video, we build a One-to-One editing framework (one-step inversion followed by one-step generation) that replaces the costly iterative denoising loop with a single forward pass. We instantiate and validate our framework on a publicly released one-step T2I backbone (DMD2 ) to demonstrate its effectiveness with today’s most accessible one-step generators.

(ii) Structural collapse under single-step control. Preserving the source video’s spatial structure (e.g., a wolf’s rotating head) while altering its appearance (e.g., to a bear) is critical for faithful editing. We empirically find that existing structure-preserving methods such as Prompt-to-Prompt and ControlNet fail when constrained to a single step. Unlike multi-step processes where control signals are distributed across steps and gradually absorbed, one-step models concentrate the same signal into a single pass with no room for correction, causing it to dominate rather than guide the output, a phenomenon we term “over-steering”.

(iii) Temporal inconsistency. One-step T2I diffusion models do not inherently encode temporal information, resulting in flickering or discontinuous frames when applied to video. Existing temporal consistency techniques, including attention fine-tuning, cross-frame attention control, and noise shuffling across sampling steps, all rely on the multi-step structure and are therefore incompatible with the one-step regime.

Text-Guided Video Editing with Diffusion Models

Building on advances in image-level generative editing, including GAN inversion and diffusion-based manipulation, numerous zero-shot techniques have been proposed to extend such capabilities to video while preserving temporal consistency. These include fusing attention maps, propagating token features, using optical flow guidance, and shuffling noise. While these approaches have significantly improved video coherence, they all operate within a multi-step sampling framework. This iterative nature, where operations are repeated for each frame across numerous steps, results in prohibitively long runtimes. This computational cost remains a critical barrier, motivating our work on high-quality, single-step video editing.

One-Step Diffusion Models

To overcome the significant latency of iterative diffusion sampling, a prominent line of research focuses on distilling multi-step teacher models into highly efficient one- or few-step generators. This paradigm was advanced by methods like Progressive Distillation and Consistency Models, with latent variants (LCM/LCM-LoRA) enabling 2–8 step generation for Stable Diffusion. Subsequent works have further refined this approach. Rectified Flow and its successor, InstaFlow, straighten probability-flow trajectories to achieve SD-level quality in a single step via reflow-based distillation. Other strategies, such as Adversarial Diffusion Distillation (e.g., SDXL-Turbo, SDXL-Lightning) and various distribution matching techniques (e.g., DMD, SwiftBrush), couple teacher supervision with GAN losses or novel distillation objectives to achieve high-quality synthesis in just 1–4 steps. These one-step models have revolutionized image generation speed, but this progress has been exclusively image-centric. This creates a critical gap and a major opportunity, as the domain of video editing desperately needs such acceleration. Our work is the first to bridge this gap, introducing the necessary mechanisms to successfully adapt these fast generators for video, thereby unlocking their potential for practical, high-speed applications.

Dataset Generation with Prompt Perturbation

Training the inversion encoder to encode structure before generation requires data that teaches what “structure preservation under semantic change” looks like. Specifically, we need pairs of images that share spatial layout but differ in appearance, so that the encoder learns to produce latents capturing the shared structure while remaining agnostic to the varying semantics.

Experimental Setup

We evaluate our framework across three video editing settings. The first, Multi-to-Multi, uses multi-step diffusion models for both inversion and editing. We compare against five baselines: FLATTEN, TokenFlow, FRESCO, RAVE, and COVE, all built on Stable Diffusion 1.5. The second, Multi-to-One, performs video inversion via multi-step DDIM while editing in a single step. As no prior work exists for this configuration, we construct baselines by adapting image editing techniques: Prompt Replacement, Prompt-to-Prompt, ControlNet with depth and Canny guidance, and Plug-and-Play. The third is our proposed One-to-One framework, which employs the pre-trained encoder for single-step inversion and edits via Prompt Replacement. For the Multi-to-One and One-to-One settings, we use DMD2 as the one-step diffusion backbone. Further details are provided in Supplementary A.

For evaluation, we curated 60 videos from open platforms such as Pixabay and prior works, comprising 51 short videos (20 frames) and 9 long videos (90 frames). We designed five editing prompts per video—three for local edits (e.g., object change, deletion) and two for global edits (e.g., style transfer, background modification)—resulting in 255 short-video and 45 long-video evaluation pairs. Short videos are processed as a single window, while long videos use a sliding window of 7 frames with a stride of 5. All experiments were conducted on a single NVIDIA RTX 6000 Ada GPU.

Discussion

We build OSVE on a one-step T2I backbone because current one-step T2V generators, despite recent progress in T2V distillation, still suffer from severe temporal artifacts and blurriness that make them unsuitable as a reliable editing backbone (see Supplementary G). In contrast, mature one-step T2I backbones have been reported to even surpass their multi-step teachers in generation quality, providing a clean testbed to evaluate our core contributions independently of backbone limitations.

The generative landscape is rapidly expanding toward T2V, T2AV, and other multimodal architectures, and one-step distillation of these models is an active area of research. As their fidelity improves, extending one-step editing to these backbones will become both feasible and important. We believe the core principles behind OSVE, namely encoding structure into the initial latent and enforcing cross-frame consistency at the input level, are not specific to T2I and can generalize across modalities.

Conclusion

We presented OSVE, a framework that advances text-guided video editing by introducing a novel One-to-One pipeline. OSVE unlocks the potential of one-step diffusion models for this task, overcoming the speed limitations of conventional multi-step methods. Our two core contributions, a fast learnable inversion encoder trained with SAE loss to preserve structure and the UFE mechanism to enforce temporal coherence, resolve the key bottlenecks that previously hindered this approach. Our experiments show that OSVE achieves competitive quality and consistency at a fraction of the computational cost, making real-time video editing practical and accessible.

A Experimental Details

In this section, we provide comprehensive implementation details for all methods evaluated in our paper. All training and inference experiments are conducted on a single NVIDIA RTX 6000 Ada graphics card (48 GB VRAM). Unless stated otherwise, we follow the hyperparameter settings reported in each respective paper. For cases where specific hyperparameters are not explicitly declared, we adopt the default values provided in the official open-source implementations.

Multi-to-One

The Multi-to-One setting represents a hybrid approach where the inversion process still requires multiple diffusion steps, but the sampling (generation) is performed in a single step using a distilled one-step diffusion model. In this setting, we use DMD2 as our pre-trained one-step diffusion model, which is a distribution matching distillation model capable of generating high-quality images in a single forward pass. For the inversion process, we apply the DDIM Inversion scheduler with 50 inversion steps to obtain the latent noise representation from each source frame, identical to the Multi-to-Multi setting. All inference in this setting is performed in a single denoising step using DMD2. Below, we describe the specific configuration of each baseline method adapted to this setting.

Prompt Replacement. This is the simplest baseline method, which performs editing by directly replacing the source text prompt with the target text prompt during the one-step sampling process. For example, the source prompt “A photo of a dog” is replaced with the target prompt “A photo of a cat,” while the inverted latent noise is kept unchanged. No additional structural guidance or attention manipulation is applied. This method serves as a lower bound to evaluate the effectiveness of more sophisticated editing techniques.

One-to-One

The One-to-One setting represents the most efficient pipeline, where both the inversion and sampling processes are performed in a single step. This eliminates the computational overhead of iterative DDIM inversion entirely, enabling real-time or near-real-time video editing.

OSVE (Ours). In this setting, we use our trained OSVE (One-Step Video Editing) encoder to perform single-step inversion. Given a source video frame, the OSVE encoder predicts the corresponding noise latent in a single forward pass, bypassing the need for iterative DDIM inversion. The predicted noise is then directly passed to the DMD2 one-step diffusion model for sampling with the target text prompt. Since our inversion encoder is specifically designed and trained to preserve the structural and geometric information of the source image within the predicted noise representation, edits in this setting are performed using only the target text prompt without any additional structural guidance (e.g., ControlNet or attention injection). This design choice results in a highly streamlined editing pipeline that requires only two forward passes per frame: one through the OSVE encoder for inversion and one through the DMD2 model for generation.

Speed Comparison

For a fair and accurate speed comparison across all methods, we measure only the U-Net inference time, excluding the time required for VAE encoding and decoding operations. This is because the VAE computation cost is identical across all methods that share the same base diffusion model, and thus does not contribute to meaningful differences in computational efficiency. The reported time corresponds to the total inversion and inference time aggregated over all frames in a given video clip. To ensure consistency, all operations are executed sequentially rather than asynchronously or in parallel, so that the measured time accurately reflects the per-frame computational cost of each method. We repeat each timing measurement 10 times and report the average to mitigate variance from GPU scheduling and memory caching effects.

Anchor selection strategies ablation

To determine the optimal anchor selection strategy, we conducted an ablation study comparing our chosen method against six alternatives. The evaluated methods include: 1) Random, which selects a random frame; 2) First, which always uses the initial frame; 3) Pixel-Centroid, which selects the frame closest to the pixel-wise mean of all frames; 4) Pixel-Medoid, which selects the frame minimizing the sum of pixel-wise distances to all other frames; 5) DINO-Medoid, which identifies the medoid in the DINO feature space; 6) CLIP Top-1, which selects the frame with the highest CLIP similarity to the source prompt; and 7) Hybrid, which considers both DINO and CLIP scores. The ablation was performed on 90-frame videos to capture the long-term effects of the anchor choice. As shown in Table C, the DINO-Medoid strategy consistently yielded the best performance, achieving the highest scores across our metrics. Notably, the Hybrid strategy does not outperform DINO-Medoid despite combining more information. We conjecture that aggregating two heterogeneous scores introduces a weighting ambiguity: the selected frame becomes a compromise that does not maximize either criterion. Given that all non-random strategies already select reasonably representative frames and the absolute differences are small, a single well-chosen criterion (DINO feature similarity) proves sufficient and avoids the need for additional hyperparameter tuning to balance the two scores.

E Ablation on Sliding Window and Anchor

In this section, we conduct an ablation study on the sliding window size and stride to find the optimal balance between editing quality and processing speed. As shown in Tables E and E, a window size of 7 and a stride of 5 (with an anchor) provides a strong trade-off, which we adopt for our main experiments.

Current State of T2V Distillation

State-of-the-art T2V diffusion models such as CogVideoX, HunyuanVideo, and Wan2.1 typically require 30–50 denoising steps, resulting in generation times on the order of minutes even on high-end GPUs. While the image domain has seen remarkable progress in distillation—with one-step T2I generators such as DMD2 and SDXL-Turbo achieving quality on par with their multi-step teachers—extending these techniques to video has proven substantially more difficult. Recent efforts have explored trajectory-based approaches, distribution matching methods, and their combinations, but video distillation remains in a nascent stage where even few-step (2–8 step) methods exhibit measurable quality gaps relative to their full-step teachers in terms of temporal coherence, motion dynamics, text alignment, and generation diversity.

Implications for Our Approach

The contrast between T2I and T2V distillation is stark: one-step T2I generators reliably match their multi-step teachers, whereas T2V distillation—at any step count—still exhibits notable quality gaps, with one-step T2V suffering from particularly severe degradation. Our OSVE therefore adopts a one-step T2I backbone combined with explicit temporal consistency mechanisms, which provides precise per-frame structural control while maintaining temporal coherence—a combination that current T2V distillation methods cannot reliably offer regardless of step count. As T2V distillation technology matures, future work may revisit this design choice.