Image-to-Video
PEFT
lora
video
video-editing
visual-effects
vfx
temporal-transitions
wan2.1
video-to-video
Instructions to use maxwelljones14/refVFX-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use maxwelljones14/refVFX-lora with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add model card
Browse files
README.md
CHANGED
|
@@ -1,43 +1,97 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
| 6 |
tags:
|
| 7 |
- lora
|
| 8 |
- video
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
- image-to-video
|
| 10 |
-
-
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
LoRA adapter for [`Wan-AI/Wan2.1-FLF2V-14B-720P`](https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P)
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
| --- | --- |
|
| 22 |
-
| `epoch-0.safetensors` | LoRA model. |
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
- **LoRA rank:** 1024
|
| 28 |
-
- **
|
| 29 |
-
- **
|
| 30 |
-
-
|
| 31 |
-
- **
|
| 32 |
-
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
## Usage
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
## License
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
base_model:
|
| 4 |
+
- Wan-AI/Wan2.1-FLF2V-14B-720P
|
| 5 |
+
datasets:
|
| 6 |
+
- maxwelljones14/refVFX_dataset
|
| 7 |
tags:
|
| 8 |
- lora
|
| 9 |
- video
|
| 10 |
+
- video-editing
|
| 11 |
+
- visual-effects
|
| 12 |
+
- vfx
|
| 13 |
+
- temporal-transitions
|
| 14 |
+
- wan2.1
|
| 15 |
- image-to-video
|
| 16 |
+
- video-to-video
|
| 17 |
+
pipeline_tag: image-to-video
|
| 18 |
+
library_name: peft
|
| 19 |
+
pretty_name: RefVFX LoRA (Wan2.1-FLF2V-14B-720P)
|
| 20 |
---
|
| 21 |
|
| 22 |
+
# RefVFX LoRA β Tuning-free Visual Effect Transfer across Videos
|
| 23 |
|
| 24 |
+
This is a **LoRA adapter** for [`Wan-AI/Wan2.1-FLF2V-14B-720P`](https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P),
|
| 25 |
+
trained for the **RefVFX** project on tuning-free visual effect transfer across videos.
|
| 26 |
|
| 27 |
+
> **Note:** This is an *unofficial* reimplementation produced at CMU. All code and training data were
|
| 28 |
+
> created from scratch using the publicly available arXiv paper and AI coding tools as the only resources.
|
| 29 |
|
| 30 |
+
## Links
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
- π **Paper:** [Tuning-free Visual Effect Transfer across Videos](https://arxiv.org/abs/2601.07833) (arXiv:2601.07833)
|
| 33 |
+
- π **Project page:** https://snap-research.github.io/RefVFX/
|
| 34 |
+
- π» **Code (GitHub):** https://github.com/maxwelljones14/refVFX
|
| 35 |
+
- ποΈ **Training dataset:** [`maxwelljones14/refVFX_dataset`](https://huggingface.co/datasets/maxwelljones14/refVFX_dataset)
|
| 36 |
+
- π§± **Base model:** [`Wan-AI/Wan2.1-FLF2V-14B-720P`](https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P)
|
| 37 |
|
| 38 |
+
## Model Details
|
| 39 |
+
|
| 40 |
+
- **Type:** LoRA adapter (fine-tune on top of Wan2.1-FLF2V-14B-720P)
|
| 41 |
+
- **Base model:** `Wan-AI/Wan2.1-FLF2V-14B-720P` (first-last-frame-to-video, 14B parameters, 720P)
|
| 42 |
+
- **Training data:** [`maxwelljones14/refVFX_dataset`](https://huggingface.co/datasets/maxwelljones14/refVFX_dataset)
|
| 43 |
+
- **Training steps:** 40K steps
|
| 44 |
+
- **Hardware:** 8Γ NVIDIA Blackwell GPUs
|
| 45 |
- **LoRA rank:** 1024
|
| 46 |
+
- **Precision:** bf16
|
| 47 |
+
- **Target modules:** all 40 transformer blocks β self-attention (`q`, `k`, `v`, `o`),
|
| 48 |
+
cross-attention (`q`, `k`, `v`, `o`), and feed-forward (`ffn.0`, `ffn.2`)
|
| 49 |
+
- **Checkpoint file:** `step-10000.safetensors`
|
| 50 |
+
|
| 51 |
+
## What it does
|
| 52 |
|
| 53 |
+
RefVFX performs **tuning-free visual effect transfer across videos**: given a reference effect,
|
| 54 |
+
the model transfers that effect onto new input content while preserving the underlying motion and
|
| 55 |
+
structure. The adapter was trained on the multi-part RefVFX dataset, which combines:
|
| 56 |
+
|
| 57 |
+
- **Code-based edits** β deterministic spatial effects (posterize, pixelate, glitch, glow, halftone, β¦)
|
| 58 |
+
composited with temporal transitions (wipes, circle/diamond reveals, checkerboard, dissolves, β¦).
|
| 59 |
+
- **Neural V2V edits** β diffusion-generated effect videos sharing motion with a base (no-effect) video.
|
| 60 |
+
- **I2V LoRA effects** β image-to-video effects generated with LoRA adapters.
|
| 61 |
|
| 62 |
## Usage
|
| 63 |
|
| 64 |
+
This is a LoRA adapter and must be applied on top of the base Wan2.1-FLF2V-14B-720P weights.
|
| 65 |
+
See the [GitHub repo](https://github.com/maxwelljones14/refVFX) for inference scripts and the full
|
| 66 |
+
pipeline. At a high level:
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from huggingface_hub import hf_hub_download
|
| 70 |
+
|
| 71 |
+
lora_path = hf_hub_download(
|
| 72 |
+
repo_id="maxwelljones14/refVFX-LoRA",
|
| 73 |
+
filename="step-10000.safetensors",
|
| 74 |
+
)
|
| 75 |
+
# Load Wan2.1-FLF2V-14B-720P, then apply the LoRA weights from `lora_path`.
|
| 76 |
+
# Refer to https://github.com/maxwelljones14/refVFX for the exact loading code.
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
The checkpoint stores LoRA `A`/`B` matrices keyed as
|
| 80 |
+
`blocks.{i}.<module>.lora_A.default.weight` / `...lora_B.default.weight`.
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
|
| 84 |
+
```bibtex
|
| 85 |
+
@article{jones2026tuning,
|
| 86 |
+
title={Tuning-free Visual Effect Transfer across Videos},
|
| 87 |
+
author={Jones, Maxwell and Abdal, Rameen and Patashnik, Or and Salakhutdinov, Ruslan and Tulyakov, Sergey and Zhu, Jun-Yan and Wang, Kuan-Chieh Jackson},
|
| 88 |
+
journal={arXiv preprint arXiv:2601.07833},
|
| 89 |
+
year={2026}
|
| 90 |
+
}
|
| 91 |
+
```
|
| 92 |
|
| 93 |
## License
|
| 94 |
|
| 95 |
+
Released under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). The adapter derives from
|
| 96 |
+
[`Wan-AI/Wan2.1-FLF2V-14B-720P`](https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P); please also
|
| 97 |
+
review the base model's license terms before use.
|