FreeCHROMA: Generative Chroma Keying from Unaligned Background References
Jiayi Wu1, Tianfu Wang1, Rui Zhao2, Florian Schiffers2, Zhimin Chen2, Cornelia Fermuller1, Yezhou Yang3, Christopher Metzler1, Yiannis Aloimonos1
1University of Maryland, College Park · 2Amazon† · 3Arizona State University
†This work is unrelated to the authors' positions at Amazon.
TL;DR
FreeCHROMA is a generative chroma keying model. Given a masked foreground video and one to three unaligned background reference images, it composites the foreground performance into the referenced environment: it preserves foreground identity, motion and fine visual details while generating a spatiotemporally coherent background. Foreground–background harmonization happens within the same generation process, without a separate relighting stage, and optional text helps disambiguate complex spatial relationships and camera behavior.
Overview
In film production, chroma keying composites an approved foreground performance into a new environment, but conventional workflows require coordinated background plates and dedicated harmonization. Recent generative methods often require pre-aligned backgrounds, focus on background-conditioned foreground relighting, or represent the environment only through an edited first frame. These restrictions limit background selection, scene composition and camera motion while adding preparation or editing effort.
FreeCHROMA adapts a pretrained video diffusion model in a parameter-efficient manner for generative video compositing from one to three unaligned background references. The reference images need not match any output frame in camera pose, crop or layout; the model learns where the foreground belongs in the referenced environment, how the background evolves with foreground motion and implied camera behavior, and how foreground appearance adapts for natural integration. To train the model, we construct pseudo-paired data from readily available real monocular videos through foreground–background separation and augmentation with existing foundation models, with the original videos serving as training targets. Across reference fidelity, foreground preservation, scene integration, harmonization and overall video quality, FreeCHROMA consistently outperforms recent compositing and conditional video-generation baselines, with particularly clear gains under camera motion.
Model Files
This repository contains the weights that FreeCHROMA trains on top of Wan2.2-Fun-A14B-Control: LoRA adapters and input-projection weights for each of its two experts, the high-noise expert and the low-noise expert, which are fine-tuned separately. The base model is required.
├── freechroma_high_noise.safetensors # high-noise expert: LoRA adapters + input-projection weights
├── freechroma_low_noise.safetensors # low-noise expert: LoRA adapters + input-projection weights
└── config.json # adapter layout and default sampling settings
Each .safetensors file holds, for one expert:
- LoRA adapters (rank 64) on the attention query, key and value projections and on the feed-forward layers of all transformer blocks;
- input-projection weights: the patchify input projection (
patch_embedding), whose added foreground and mask input weights are trained, and the background-reference convolution (ref_conv).
The VAE, the text encoder and all remaining transformer weights are those of the base model and are not included.
Refer to the code repository for loading and inference instructions.
Citation
@article{wu2026freechroma,
title={FreeCHROMA: Generative Chroma Keying from Unaligned Background References},
author={Wu, Jiayi and Wang, Tianfu and Zhao, Rui and Schiffers, Florian and Chen, Zhimin and Fermuller, Cornelia and Yang, Yezhou and Metzler, Christopher and Aloimonos, Yiannis},
journal={arXiv preprint arXiv:2610.14445},
year={2026}
}
- Downloads last month
- 43
Model tree for JiayiWuLeo/FreeCHROMA
Base model
Wan-AI/Wan2.2-I2V-A14B