Spaces:
Running
on
Zero
Running
on
Zero
Getting Started
Download the corresponding pre-trained LoRA weights from the model zoo.
Inference
To generate the RGBA video, run:
python cli.py \
--lora_path /path/to/lora \
--prompt "..." \
This command generates the RGB and Alpha videos simultaneously and saves them. Specifically, the RGB video is saved in its premultiplied form. To blend this video with any background image, you can simply use the following formula:
com = rgb + (1 - alpha) * bgr