Lune

ICLR2026Top-tier venue

Unified In-Context Video Editing

Zixuan Ye, Xuanhua He, Quande Liu, Qiulin Wang, Xintao Wang, Pengfei Wan, Di Zhang, Kun Gai, Qifeng Chen, Wenhan Luo

Abstract

Recent advances in text-to-video generation have sparked interest in generative video editing tasks. Previous methods often rely on task-specific architectures (e.g., additional adapter modules) or dedicated customizations (e.g., DDIM inversion), which limit the integration of versatile editing conditions and the unification of various editing tasks. In this paper, we introduce UNified In-Context Video Editing (UNIC), a simple yet effective framework that unifies diverse video editing tasks within a single model in an in-context manner. To achieve this unification, we represent the inputs of various video editing tasks as three types of tokens: the source video tokens, the noisy video latent, and the multi-modal conditioning tokens that vary according to the specific editing task. Based on this formulation, our key insight is to integrate these three types into a single consecutive token sequence and jointly model them using the native attention operations of DiT, thereby eliminating the need for task-specific adapter designs. Nevertheless, direct task unification under this framework is challenging, leading to severe token collisions and task confusion due to the varying video lengths and diverse condition modalities across tasks. To address these, we introduce task-aware RoPE to facilitate consistent temporal positional encoding, and condition bias that enables the model to clearly differentiate different editing tasks. This allows our approach to adaptively perform different video editing tasks by referring the source video and varying condition tokens "in context", and support flexible task composition. To validate our method, we construct a unified video editing benchmark containing six representative video editing tasks. Results demonstrate that our unified approach achieves superior performance on each task and exhibits emergent task composition abilities. Camera pose Pull out Edited First Frame Style Image A woman is adjusting a dark shiny jacket over her shoulders. A man with short hair is inside a high-tech chamber. ID Ref Image Diverse Video Editing Tasks Emergent Task Composition Source Video Multi-Modal Conditions Generated Results Source Video Multi-Modal Conditions Generated Results ID Insertion Re-camera Control Stylization First-Frame Propagation ID delete ID Swap Source Video Multi-Modal Conditions Generated Results Re-camera Control + Stylization Unified In-Context Video Editing ID Ref Image Source Video Multi-Modal Conditions Generated Results ID insert + Stylization Style Image Style Image A man wearing a tie is walking. Camera pose ARC right A cow with wings is flying over a landscape.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • VIVA: VLM-Guided Instruction-Based Video Editing with Reward Optimization cites Emerging Properties in Self-Supervised Vision Transformers
  • VIVA: VLM-Guided Instruction-Based Video Editing with Reward Optimization cites Adding Conditional Control to Text-to-Image Diffusion Models
  • VIVA: VLM-Guided Instruction-Based Video Editing with Reward Optimization cites Learning Transferable Visual Models From Natural Language Supervision
  • ControlVideo: Training-free Controllable Text-to-video Generation cites Adding Conditional Control to Text-to-Image Diffusion Models
  • ControlVideo: Training-free Controllable Text-to-video Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • VideoComposer: Compositional Video Synthesis with Motion Controllability cites Adding Conditional Control to Text-to-Image Diffusion Models
  • VideoComposer: Compositional Video Synthesis with Motion Controllability cites Learning Transferable Visual Models From Natural Language Supervision
  • Adding Conditional Control to Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • VideoCoF: Unified Video Editing with Temporal Reasoner cites Emerging Properties in Self-Supervised Vision Transformers
  • VideoCoF: Unified Video Editing with Temporal Reasoner cites Adding Conditional Control to Text-to-Image Diffusion Models
  • VideoCoF: Unified Video Editing with Temporal Reasoner cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. MultiShotMaster: A Controllable Multi-Shot Video Generation FrameworkQinghe Wang, Xiaoyu Shi, Baolu Li, Weikang Bian et al.CVPR 2026 · 33 citations
  2. VIVA: VLM-Guided Instruction-Based Video Editing with Reward OptimizationXiaoyan Cong, Haotian Yang, Angtian Wang, Yizhi Wang et al.CVPR 2026 · 16 citations
  3. UniVBench: Towards Unified Evaluation for Video Foundation ModelsJianhui Wei, Xiaotian Zhang, Yichen Li, Yuan Wang et al.CVPR 2026 · 12 citations
  4. EgoEdit: Dataset, Real-Time Streaming Model, and Benchmark for Egocentric Video EditingRunjia Li, Moayed Haji-Ali, Ashkan Mirzaei, Chaoyang Wang et al.CVPR 2026 · 7 citations
  5. VideoCoF: Unified Video Editing with Temporal ReasonerXiangpeng Yang, Ji Xie, Yiyuan Yang, Yue Ma et al.CVPR 2026 · 6 citations

Builds on31

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  3. Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
  4. VideoComposer: Compositional Video Synthesis with Motion ControllabilityXiang Wang, Hangjie Yuan, Shiwei Zhang, Dayou Chen et al.NeurIPS 2023 · 579 citations
  5. ControlVideo: Training-free Controllable Text-to-video GenerationYabo Zhang, Yuxiang Wei, Dongsheng Jiang, Xiaopeng Zhang et al.ICLR 2024 · 359 citations

Related papers

  1. UniVideo: Unified Understanding, Generation, and Editing for VideosCong Wei, Quande Liu, Zixuan Ye, Qiulin Wang et al.ICLR 2026 · 90 citations
  2. VACE: All-in-One Video Creation and EditingZeyinzi Jiang, Zhen Han, Chaojie Mao, Jingfeng Zhang et al.ICCV 2025 · 58 citations
  3. EditVerse: Unifying Image and Video Editing and Generation with In-Context LearningXuan Ju, Tianyu Wang, Yuqian Zhou, He Zhang et al.ICLR 2026 · 56 citations
  4. UniReal: Universal Image Generation and Editing via Learning Real-world DynamicsXi Chen, Zhifei Zhang, He Zhang, Yuqian Zhou et al.CVPR 2025
  5. UniEdit: A Unified Tuning-Free Framework for Video Motion and Appearance EditingJianhong Bai, Tianyu He, Yuchi Wang, Junliang Guo et al.ACM MM 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines