---
license: other
license_name: ltx-2-community-license
license_link: LICENSE
base_model: Lightricks/LTX-2
base_model_relation: adapter
pipeline_tag: image-to-video
language:
- en
tags:
- lora
- ic-lora
- ltx-2
- video-generation
- transition-effect-generation
- visual-effect-transfer
---
# SEGUE: Visual Signal as Exclusive Guidance for One-Shot Transition Effect Generation
[Emir Kisa](https://emirkisa.com)1, [Victor Escorcia](https://escorciav.github.io)2, [Junho Kim](https://jhkim0911.github.io)1, [Alexander Schwing](https://www.alexander-schwing.de)1, [Ozgur Kara](https://karaozgur.com/)1†, [James Matthew Rehg](https://rehg.org)1†
1University of Illinois Urbana-Champaign 2MacondoLabs †Joint last authors

(The videos here are heavily compressed. The full videos are on the [project page](https://segue-video.github.io/).)
This repository holds the **SEGUE adapter weights**: a rank-128 IC-LoRA for the frozen [LTX-2](https://huggingface.co/Lightricks/LTX-2) 19B model. The code that runs it (one-way reference attention, null-reference guidance, the training recipe) is at [github.com/emirks/SEGUE](https://github.com/emirks/SEGUE).
## Abstract
TL;DR: Show SEGUE a transition effect in one reference clip, and it generates that effect between any two video clips. It reads the effect strictly from the visual reference, with no effect description in the prompt, and one model covers both two-sided transitions and single-sided visual effect transfer.
Click for the full abstract
> One-Shot Transition Effect Generation (TEG) aims to bridge two video clips using a transition effect provided in a reference clip. However, existing methods learn a text shortcut: they rely heavily on prompts with detailed effect descriptions, and the visual transition signal loses its weight. We present SEGUE, a framework designed to read the transition strictly from the visual demonstration via two key mechanisms: i) **Visual reference isolation** during training, pairing inputs with effect-free neutral prompts and applying a one-way attention mask that keeps the reference independent of the target; and ii) **Null-reference guidance** at inference, which defines the unconditional path as a dissolve of the reference endpoints—adding no motion or material of its own—to isolate and amplify the visual transition effect. SEGUE flexibly supports endpoints that are video clips, static images, or absent, unifying two-sided TEG and single-sided visual effect transfer within a single model. We also introduce the SEGUE-Benchmark, a cross-paired dataset of 1,692 transition classes and 56,368 training pairs spanning creative presets, parametric procedural transitions, and visual effects. On held-out effects, SEGUE outperforms baselines adapted to TEG and previous visual effect transfer methods even without a detailed effect description in the prompt, serving as the first open-source framework for one-shot TEG.
**Features**:
- *One-shot: a single reference clip specifies the effect, with no per-effect training*
- *No effect description in the prompt: the prompt only captions the two scenes*
- *Endpoints can be video clips, static images, or absent (two-sided TEG and single-sided visual effect transfer in one model)*
- *Null-reference guidance amplifies the effect without leaking the reference's own scenes*
- *Built on [LTX-2](https://github.com/Lightricks/LTX-2) 19B as a rank-128 IC-LoRA*
## Updates
- [10/2026] Project page, code, and adapter weights are released.
### TODO
- [ ] Release the paper on arXiv
- [ ] Release SEGUE-Benchmark
- [X] Release inference and training code
- [X] Release the SEGUE adapter weights
## Files
| file | what |
|---|---|
| `segue_iclora_r128.safetensors` | the adapter: 960 LoRA tensors, bf16, 1.3 GB (sha256 `72a213b9d8a4fb21c0fa706160ad2755ac4b14aee557b3e58dd0b6790c5ce9d4`) |
| `adapter_config.yaml` | rank, target modules, sequence layout, inference settings |
| `LICENSE` | license of the adapter (see below) |
This is **not a drop-in LoRA** for stock LTX-2 pipelines: the one-way reference attention and the null-reference guidance live in the SEGUE code, and the adapter expects the SEGUE sequence layout.
## Model details
| | |
|---|---|
| Backbone | LTX-2 19B dev (`ltx-2-19b-dev.safetensors`), frozen; DiT, VAE and Gemma text encoder untouched |
| Adapter | IC-LoRA, rank 128, alpha 128, on q/k/v/out of self- and cross-attention and both feed-forward projections of every block (654M parameters, 3.4% of the backbone) |
| Reference attention | one-way: reference tokens attend only to themselves |
| Sequence | reference clip in full, then the target: first 9 frames of the start clip, the generated middle, last 8 frames of the end clip (121 frames total; a static image contributes one frame, an absent endpoint none) |
| Inference | 30 steps, text guidance 4, spatio-temporal guidance 1, null-reference guidance w = 6 with the `endpoint_only` null; two forward passes per step |
| Training | 10,000 steps (lr 1e-4 → 1e-5 linear, no warmup, bf16, effective batch 8 on 8×H100), then 1,000 more steps at lr 1e-4 with the WSD schedule on the same data |
| Training data | SEGUE-Benchmark: 56,368 cross-paired training pairs over 1,692 transition classes (creative presets, procedural transitions, external visual effects) |
## Installation and Inference
### Setup Environment
```shell
git clone https://github.com/emirks/SEGUE.git
cd SEGUE
uv sync --frozen # the LTX-2 environment (see README_LTX2.md for GPU/attention notes)
source .venv/bin/activate
```
Weights:
| what | where |
|---|---|
| LTX-2 19B dev checkpoint `ltx-2-19b-dev.safetensors` | [Lightricks/LTX-2](https://huggingface.co/Lightricks/LTX-2) |
| Gemma text encoder `gemma-3-12b-it-qat-q4_0-unquantized` | [google](https://huggingface.co/google/gemma-3-12b-it-qat-q4_0-unquantized) (accept the Gemma terms) |
| SEGUE adapter `segue_iclora_r128.safetensors` (1.3 GB) | this repository, downloaded automatically by `segue.infer` |
```shell
export LTX_MODEL=/path/to/ltx-2-19b-dev.safetensors
export LTX_GEMMA=/path/to/gemma-3-12b-it-qat-q4_0-unquantized
```
### Inference
```shell
python -m segue.infer \
--reference demo.mp4 \
--start start.mp4 --start-caption "A hiker in a purple shirt walks across a rocky mountain slope" \
--end end.mp4 --end-caption "A woman in a red jacket poses against a blue studio backdrop" \
--out out.mp4
```
- `--reference`: the clip that shows the effect (the paper's clips are 121 frames, 480×640, 24 fps; other sizes are resized and center-cropped).
- `--start` / `--end`: video clips or images. The model gets the first 9 frames of the start clip and the last 9 of the end clip; an image contributes one frame. Omit `--end` for single-sided transfer.
- Captions describe the scenes, **not the effect**; the prompt becomes `"{start}. sksz. {end}."`, where `sksz` is the neutral token that marks the transition slot in training.
- Null-reference guidance: `--w 6` (paper), `--null-kind endpoint_only` (paper). `--w 1` turns it off. The other null kinds are the paper's ablations.
- Other knobs: `--steps 30 --guidance 4 --stg 1 --seed 42 --width 480 --height 640 --frames 121`. Null-reference guidance runs the model twice per step; one 121-frame clip takes about a minute on an H100 and needs ~60 GB of GPU memory with the 19B backbone in bf16.
To load the adapter yourself, `adapter_config.yaml` lists the rank, alpha and target modules; the tensors are named `diffusion_model..lora_A.weight` / `lora_B.weight` in PEFT layout.
### Training
The paper's two training configs ship with the code (`segue/configs/train_stage1.yaml`, `train_stage2.yaml`) together with the training-data format (`segue/DATA.md`); see the [GitHub README](https://github.com/emirks/SEGUE#training).
## Examples
Each example shows the reference clip, the given start (and end) clip, and SEGUE's output, all time-aligned: the output opens on the start clip, carries the effect of the reference, and closes on the end clip when one is given. The prompt never describes the effect.
 |
 |
| Shadow smoke |
Fire lava |
 |
 |
| Flying camera |
Water bending |
 |
 |
| Flame |
Earth wave |
 |
 |
| Portal |
Animalization |
 |
 |
| Train rush |
Earth element |
 |
 |
| Super fast run |
Chest erupting shield |
Many more results, including comparisons with previous work, are in the [results gallery](https://segue-video.github.io/supp/).
## Limitations
The model generates video: outputs may leak scene content from the reference, miss an endpoint, or show no visible effect on hard cases. Check outputs before using them. It is a research model and not intended for deceptive media.
## License
The adapter is a derivative of LTX-2 and is distributed under the [LTX-2 Community License Agreement](LICENSE). The code is at [github.com/emirks/SEGUE](https://github.com/emirks/SEGUE) with its own license notes.
## Citation
```
@article{kisa2026segue,
title={SEGUE: Visual Signal as Exclusive Guidance for One-Shot Transition Effect Generation},
author={Kisa, Emir and Escorcia, Victor and Kim, Junho and Schwing, Alexander and Kara, Ozgur and Rehg, James Matthew},
journal={arXiv preprint},
year={2026}
}
```
## Acknowledgements
Built on [LTX-2](https://github.com/Lightricks/LTX-2) by Lightricks. The one-way reference attention follows the reference attention of [VFXMaster](https://github.com/libaolu312/VFXMaster).