Video-to-Video
Diffusers
Refacade / README.md
fishze's picture
Update README.md
78dbef8 verified
|
Raw
History Blame Contribute Delete
2.75 kB
---
license: apache-2.0
pipeline_tag: video-to-video
library_name: diffusers
---
<h1 align="center">
<span style="color:#2196f3;"><b>Refaçade</b></span>: Editing Object with Given Reference Texture
</h1>
<p align="center">
Youze Huang<sup>1,*</sup>
Penghui Ruan<sup>2,*</sup>
Bojia Zi<sup>3,*</sup>
Xianbiao Qi<sup>4,†</sup>
Jianan Wang<sup>5</sup>
Rong Xiao<sup>4</sup> <br>
<sup>*</sup> Equal contribution. <sup>†</sup> Corresponding author.
</p>
<p align="center">
<a href="https://huggingface.co/fishze/Refacade"><img alt="Huggingface Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Huggingface-Model-brightgreen"></a>
<a href="https://github.com/fishZe233/Refacade"><img alt="Github" src="https://img.shields.io/badge/Refaçade-github-black"></a>
<a href="https://arxiv.org/abs/2512.04534"><img alt="arXiv" src="https://img.shields.io/badge/Refaçade-arXiv-b31b1b"></a>
<a href="https://huggingface.co/spaces/Ryan-PR/Refacade"><img alt="Huggingface Space" src="https://img.shields.io/badge/%F0%9F%A4%97%20Huggingface-Space-1e90ff"></a>
<a href="https://refacade.github.io/"><img alt="Demo Page" src="https://img.shields.io/badge/Website-Demo%20Page-yellow"></a>
</p>
## 🚀 Overview
**Refaçade** is a unified image–video retexturing model built upon the Wan2.1-based VACE framework. It edits the surface material of specified objects in a video using user-provided reference textures, while preserving the original geometry and background. We use **Jigsaw Permutation** to decouple structural information in the reference image and a **Texture Remover** to disentangle the original object’s appearance. This functionality enables users to explore diverse possibilities effectively.
---
## 🛠️ Installation
Our project is built upon [Wan2.1-based VACE](https://github.com/ali-vilab/VACE).
```bash
pip install -r requirements.txt
pip install wan@git+https://github.com/Wan-Video/Wan2.1
```
---
## 🏃‍♂️ Gradio Demo
You can use this gradio demo to retexture objects. Note that you don't need to compile the SAM2.
```bash
python app.py
```
---
## 📂 Download
First, download our checkpoints:
```shell
huggingface-cli download --resume-download fishze/Refacade --local-dir models
```
Next, download SAM2 [sam2_hiera_large.pt](https://huggingface.co/facebook/sam2-hiera-large) and place it at:
```shell
sam2/SAM2-Video-Predictor/checkpoints/
```
We recommend to organize local directories as:
```angular2html
Refacade
├── ...
├── examples
├── models
│ ├── refacade
│ │ └── ...
│ ├── texture_remover
│ │ └── ...
│ └── vae
│ └── ...
├── sam2
└── ...
```
---