EditVerse: Unifying Image and Video Editing and Generation with In-Context Learning
Xuan Ju, Tianyu Wang, Yuqian Zhou, He Zhang, Qing Liu, Nanxuan Zhao, Zhifei Zhang, Yijun Li, Yuanhao Cai, Shaoteng Liu, Daniil Pakhomov, Zhe Lin, Soo Ye Kim, Qiang Xu
TL;DR
EditVerse introduces a unified transformer framework that unifies image and video editing and generation by representing text, image, and video as an interleaved token sequence. It leverages full self-attention and a novel four-dimensional Rotary Positional Embedding to support in-context learning and cross-modal knowledge transfer, enabling arbitrary resolution and duration outputs. A scalable data pipeline combines image and video data with a curated 232K video-editing dataset and a new EditVerseBench for evaluation, achieving state-of-the-art results against open-source and commercial models. The work highlights emergent abilities, showing cross-modal transfer reduces video data scarcity and suggests future directions in efficiency and specialization trade-offs.
Abstract
Recent advances in foundation models highlight a clear trend toward unification and scaling, showing emergent capabilities across diverse domains. While image generation and editing have rapidly transitioned from task-specific to unified frameworks, video generation and editing remain fragmented due to architectural limitations and data scarcity. In this work, we introduce EditVerse, a unified framework for image and video generation and editing within a single model. By representing all modalities, i.e., text, image, and video, as a unified token sequence, EditVerse leverages self-attention to achieve robust in-context learning, natural cross-modal knowledge transfer, and flexible handling of inputs and outputs with arbitrary resolutions and durations. To address the lack of video editing training data, we design a scalable data pipeline that curates 232K video editing samples and combines them with large-scale image and video datasets for joint training. Furthermore, we present EditVerseBench, the first benchmark for instruction-based video editing covering diverse tasks and resolutions. Extensive experiments and user studies demonstrate that EditVerse achieves state-of-the-art performance, surpassing existing open-source and commercial models, while exhibiting emergent editing and generation abilities across modalities.
