Replace Anyone in Videos

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Xiang, Zhang, Shiwei, Qiu, Haonan, Chu, Ruihang, Li, Zekun, Zhang, Yingya, Gao, Changxin, Wang, Yuehuan, Shen, Chunhua, Sang, Nong
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915275914346496
author Wang, Xiang
Zhang, Shiwei
Qiu, Haonan
Chu, Ruihang
Li, Zekun
Zhang, Yingya
Gao, Changxin
Wang, Yuehuan
Shen, Chunhua
Sang, Nong
author_facet Wang, Xiang
Zhang, Shiwei
Qiu, Haonan
Chu, Ruihang
Li, Zekun
Zhang, Yingya
Gao, Changxin
Wang, Yuehuan
Shen, Chunhua
Sang, Nong
contents The field of controllable human-centric video generation has witnessed remarkable progress, particularly with the advent of diffusion models. However, achieving precise and localized control over human motion in videos, such as replacing or inserting individuals while preserving desired motion patterns, still remains a formidable challenge. In this work, we present the ReplaceAnyone framework, which focuses on localized human replacement and insertion featuring intricate backgrounds. Specifically, we formulate this task as an image-conditioned video inpainting paradigm with pose guidance, utilizing a unified end-to-end video diffusion architecture that facilitates image-conditioned video inpainting within masked regions. To prevent shape leakage and enable granular local control, we introduce diverse mask forms involving both regular and irregular shapes. Furthermore, we implement an enriched visual guidance mechanism to enhance appearance alignment, a hybrid inpainting encoder to further preserve the detailed background information in the masked video, and a two-phase optimization methodology to simplify the training difficulty. ReplaceAnyone enables seamless replacement or insertion of characters while maintaining the desired pose motion and reference appearance within a single framework. Extensive experimental results demonstrate the effectiveness of our method in generating realistic and coherent video content. The proposed ReplaceAnyone can be seamlessly applied not only to traditional 3D-UNet base models but also to DiT-based video models such as Wan2.1. The code will be available at https://github.com/ali-vilab/UniAnimate-DiT.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19911
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Replace Anyone in Videos
Wang, Xiang
Zhang, Shiwei
Qiu, Haonan
Chu, Ruihang
Li, Zekun
Zhang, Yingya
Gao, Changxin
Wang, Yuehuan
Shen, Chunhua
Sang, Nong
Computer Vision and Pattern Recognition
The field of controllable human-centric video generation has witnessed remarkable progress, particularly with the advent of diffusion models. However, achieving precise and localized control over human motion in videos, such as replacing or inserting individuals while preserving desired motion patterns, still remains a formidable challenge. In this work, we present the ReplaceAnyone framework, which focuses on localized human replacement and insertion featuring intricate backgrounds. Specifically, we formulate this task as an image-conditioned video inpainting paradigm with pose guidance, utilizing a unified end-to-end video diffusion architecture that facilitates image-conditioned video inpainting within masked regions. To prevent shape leakage and enable granular local control, we introduce diverse mask forms involving both regular and irregular shapes. Furthermore, we implement an enriched visual guidance mechanism to enhance appearance alignment, a hybrid inpainting encoder to further preserve the detailed background information in the masked video, and a two-phase optimization methodology to simplify the training difficulty. ReplaceAnyone enables seamless replacement or insertion of characters while maintaining the desired pose motion and reference appearance within a single framework. Extensive experimental results demonstrate the effectiveness of our method in generating realistic and coherent video content. The proposed ReplaceAnyone can be seamlessly applied not only to traditional 3D-UNet base models but also to DiT-based video models such as Wan2.1. The code will be available at https://github.com/ali-vilab/UniAnimate-DiT.
title Replace Anyone in Videos
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.19911