LynnReal-Hand (arXiv) · HandiVid (arXiv) · Hugging Face Paper · YouTube
Demo · Models · Dataset · Quick Start · Documentation · License
LynnReal-Hand is a hand-controlled video world model. Given an initial image, a text prompt, hand motion, and camera poses, it generates videos of interactions across everyday and imagined environments.
- Fine-grained hand–object interaction. Use articulated hand motion and camera trajectories to guide reaching, grasping, releasing, and coordinated bimanual interactions across diverse scenes.
- Interaction-Preserving Training (IPT). Trained on 100K interaction clips, LynnReal-Hand prioritizes small hand and contact regions through hand-aware multilevel supervision and preserves control fidelity during causal distillation.
- Three-step causal generation. LynnReal-Hand-Base uses bidirectional sampling. LynnReal-Hand-Fast learns a causal flow map and refines it on self-generated histories. Fast uses a fixed first-frame anchor, bounded context, and local temporal-position resets for streaming.
- Ultra-Fast-VAE for responsive streaming. The compact decoder preserves the native H3 latent interface while recovering spatial and temporal reconstruction fidelity through distillation.
- Low-latency streaming. Optimized Fast reaches 18.03 FPS at 540p on one H200, with 741 ms mean warmed response per chunk. A separate warmed measurement records 34.89 GiB peak allocated GPU memory with sampling-specific AdaLN tables and the native VAE/Qwen encoder offloaded; see performance for measurement scope.
This repository provides inference code, model downloads, and example inputs. Pre-encoded training data is available in HandiVid.
LynnReal-Hand-Demo.mp4
The demo presents hand-controlled interactions across natural, everyday, and imagined environments. Watch on YouTube · Download the video.
| Model | Description | Default output | Download |
|---|---|---|---|
| LynnReal-Hand-Base | 33B backbone, bidirectional sampling with 240-frame RoPE alignment | 1344 × 768 | Hugging Face |
| LynnReal-Hand-Fast | 33B causal backbone; three sampling steps, W2 context, first-frame anchor | 960 × 540 | Hugging Face |
| Ultra-Fast-VAE | Video decoder used by LynnReal-Hand-Fast | 960 × 540 in the Fast pipeline | Hugging Face |
Both generation packages use sampling-specialized transformer exports. Fast also includes its matching hand encoder. Each generation package includes the official MiniMax H3 VAE, Qwen image/text encoder, tokenizer, and processor. Fast also includes Ultra-Fast-VAE. See model weights for component layouts.
HandiVid is the pre-encoded training dataset for LynnReal-Hand. v1 uses H3 encodings and is available on Hugging Face.
The dataset construction and annotation pipeline are described in HandiVid: A High-Quality Dataset for Hand-Driven Interactive Video Generation.
Samples include aligned video and hand-motion latents, first-frame anchors, image/text conditioning features, frame alignment, and camera arrays where available. The release provides TAR shards containing Safetensors and JSON records, a Parquet index, and a reference PyTorch reader.
Dataset and downloads · Format and data loader · Licenses and acknowledgements
Wan 2.2-5B encodings are planned as a separate variant.
The reference environment is Linux, Python 3.10, PyTorch 2.9.1 / CUDA 12.8, and one NVIDIA H200. Install FFmpeg and ffprobe with your system package manager. Building FlashAttention-3 requires a C++ compiler and a CUDA toolkit with nvcc.
git clone https://github.com/LynnReal-AI/LynnReal.git
cd LynnReal
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install torch==2.9.1 torchvision==0.24.1 --index-url https://download.pytorch.org/whl/cu128
pip install -e .
bash scripts/install_fa3.sh
lynnreal-hand doctor
export CUDA_VISIBLE_DEVICES=0Run the following commands from the repository root. For dependency details and the required FlashAttention-3 build, see installation.
Download the complete package for your chosen model:
# LynnReal-Hand-Base
python scripts/download_weights.py --component base
# LynnReal-Hand-Fast
python scripts/download_weights.py --component fastFast can be used independently of Base. To choose another download directory, add --weights-root /path/to/checkpoints and use the same path in subsequent preparation and inference commands. Add --dry-run to inspect a download plan.
Seven examples include aligned initial images, hand-motion videos, camera poses, captions, and Base/Fast reference results:
| Example | Scene | Inputs | Base | Fast |
|---|---|---|---|---|
| 01 | Bottle handling | Inputs | Video | Video |
| 02 | Preparing corn | Inputs | Video | Video |
| 03 | Preparing ingredients | Inputs | Video | Video |
| 04 | Opening a carton | Inputs | Video | Video |
| 05 | Pet interaction | Inputs | Video | Video |
| 06 | Clay modeling | Inputs | Video | Video |
| 07 | Wooden puzzle | Inputs | Video | Video |
The reference results use 1344 × 768 output; the Fast quick start defaults to 960 × 540. See example details for frame rates and file layouts. Validate the inputs before generation:
lynnreal-hand validate --config configs/base.json --example examples/05/example.json
lynnreal-hand validate --config configs/fast.json --example examples/05/example.jsonInput validation runs without model weights or a GPU. After downloading weights, add --weights-root checkpoints --check-weights to check the model-package entry files.
Base samples bidirectionally at 1344 × 768. Temporal RoPE uses the 240-frame reference at every input length. Videos longer than 240 frames use 240-frame windows that carry five generated latents (17 RGB frames) into the next window, the same history length used by Fast. Base defaults to 30-step sampling with CFG 3.0. Pass --guidance-scale 1.0 to use CFG 1.0 with the same sampler.
lynnreal-hand prepare \
--config configs/base.json --weights-root checkpoints \
--example examples/05/example.json \
--output outputs/cache/base/example_05
lynnreal-hand infer \
--config configs/base.json --weights-root checkpoints \
--cache outputs/cache/base/example_05 \
--output outputs/base/example_05.mp4 \
--seed 42Fast generates at 960 × 540, with three flow-map transitions and W2 context: the current chunk and the preceding generated chunk, together with a fixed first-frame anchor. Each full chunk produces 17 RGB frames.
lynnreal-hand prepare \
--config configs/fast.json --weights-root checkpoints \
--example examples/05/example.json \
--output outputs/cache/fast/example_05
lynnreal-hand infer \
--config configs/fast.json --weights-root checkpoints \
--cache outputs/cache/fast/example_05 \
--output outputs/fast/example_05.mp4 \
--seed 42Base and Fast require separate conditioning caches. Keep the original hand video accessible for online hand encoding in accelerated Fast.
For native 1344 × 768 Fast generation, use configs/fast_768.json for both preparation and inference. Each resolution requires its own conditioning cache; see the 768p benchmark commands.
After preparing the Fast cache, enable the single-H200 accelerated path with --accelerated:
lynnreal-hand infer \
--config configs/fast.json --weights-root checkpoints \
--cache outputs/cache/fast/example_05 \
--output outputs/fast_accelerated/example_05.mp4 \
--seed 42 --acceleratedThe first run includes compilation and CUDA graph capture. Later generation reuses the compiled shapes within the same process. For warmed throughput and latency measurements, use the benchmark guide.
The CLI saves the generated MP4 and a JSON file containing the model, frame count, frame rate, seed, and example ID. Add --save-latents to retain generated latents. See inference for the streaming Python interface and output details.
Featured example: Pet interaction
Fast video · Base video · Example inputs
Before testing either model, check the prompt and MANO control against a packaged example. The prompt should refer to the first frame and describe the action in the training caption format. Play the control alongside the first frame to check handedness and alignment. The right hand should appear red and the left hand blue on a black background. The HandWorldBench conversion guide includes the script and a sample command.
Place your initial image, hand-motion video, and camera arrays beside an example.json:
{
"id": "my_example",
"image": "image.png",
"hand_video": "hand.mp4",
"camera": "camera.npz",
"caption": "For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.\n\nintegrated_multimodal_description: [Shot 1] The target video continues from the scene shown in <Picture 1>. A hand picks up the cup from the table.\n\noverall_soundscape: N/A\n\nnon_diegetic_music: N/A",
"frames": 124,
"fps": 30.0
}Paths resolve relative to example.json. Match the caption, frame count, and frame rate to your inputs. The packaged input pipeline accepts 124, 158, 243, or 260 frames and preserves the input frame rate.
Use your manifest path in the validate and prepare commands, then pass the resulting cache to infer. Image, hand motion, and camera poses must share the same field of view and frame order. See example inputs and data preparation for camera alignment and input requirements.
Paper results on one H200. Fast reports mean warmed response at 540p; the other methods report median latency at 768p. Resolutions, clip lengths, and timed units vary across methods.
| Model | Backbone | Resolution | Timed unit | Latency (s) ↓ | FPS ↑ | Peak (GiB) |
|---|---|---|---|---|---|---|
| JointControlVideo | 14B | 768p | Full seq. | 1320.324 | 0.053 | 59.50 |
| Generated Reality | 5B | 768p | Full seq. | 446.484 | 0.221 | 15.87 |
| Hand2World-Bi | 5B | 768p | Full seq. | 104.682 | 1.195 | 59.67 |
| Hand2World-AR | 5B | 768p | 4 frames | 0.437 | 8.646 | 33.44 |
| LynnReal-Hand-Base | 33B | 768p | Full seq. | 770.155 | 0.136 | 82.59 |
| LynnReal-Hand-Fast | 33B | 540p | 17 frames | 0.741 | 18.03 | 34.89 |
Fast response includes online hand encoding, generation, decoding, and delivery to CPU; sustained FPS also includes history-cache updates. Its memory entry is a separate warmed measurement with sampling-specific AdaLN tables and the native VAE/Qwen encoder off device. Conditioning preparation and cold startup are excluded. Base's memory entry uses the original full AdaLN projections. See benchmark methodology.
Paper decoder results at 1344 × 768, measured per 17 frames on one H200. Latency and FPS measure decoding only. Temporal error is deltaMAE × 10³.
| Decoder | Params (M) ↓ | PSNR (dB) ↑ | LPIPS ↓ | Temporal error ↓ | Latency (ms) ↓ | FPS ↑ |
|---|---|---|---|---|---|---|
| Native H3 | 2423.5 | 35.04 | 0.0434 | 9.05 | 831.30 | 20.44 |
| Tiny-H3 | 9.9 | 30.40 | 0.1040 | 13.78 | 10.90 | 1555.64 |
| StreamRender¹ | 1617.8 | 33.74 | 0.0533 | 10.09 | 143.31 | 118.63 |
| StreamRender² | 1617.8 | 33.95 | 0.0516 | 9.88 | 157.65 | 123.91 |
| SolarX V3 | 2423.5 | 34.09 | 0.0484 | 10.20 | 552.79 | 30.54 |
| LightVAE | 1752.1 | 35.13 | 0.0423 | 8.97 | 586.40 | 28.97 |
| Ultra-Fast-VAE | 361.2 | 34.43 | 0.0511 | 9.80 | 46.77 | 363.21 |
StreamRender¹/² uses one/two latents per call; LightVAE uses seven, including two future latents. Ultra-Fast-VAE uses W8A8. The generation pipeline includes additional work beyond decoding.
See benchmark methodology for packaged-runtime measurements and reproduction commands.
Base and Fast include only the AdaLN modulation tables required by their default sampling schedules. These compact tables load directly in place of the learned per-block projections, reducing download size and resident parameter memory. Fast uses three sampling steps. The native VAE and Qwen encoder are needed for conditioning preparation and can be offloaded before Fast generation. See inference memory for schedule constraints and memory scope.
| Guide | Contents |
|---|---|
| Installation | Dependencies, FlashAttention-3, and environment setup |
| Model weights | Downloads and component layouts |
| Inference | Base, Fast, acceleration, and streaming |
| Data preparation | Input format, camera alignment, conditioning caches, and HandiVid |
| Benchmarks | Performance measurements and timing definitions |
| Output verification | Input and generated-media checks |
This repository follows the MiniMax H3 Community License Agreement. Third-party components retain their respective licenses and notices; see NOTICE and acknowledgements.
HandiVid has its own dataset license and third-party notices.
We thank the SolarWM, H3, Qwen, Diffusers, PyTorch, TAEHV, and DuoMatching contributors for their open implementations. Component-specific attribution is provided in third_party/README.md.
If you use LynnReal-Hand or Ultra-Fast-VAE in your research, please cite the LynnReal-Hand paper.
@article{rui2026lynnreal,
title={{LynnReal-Hand}: Unlocking World Interaction with Hand Control},
author={Rui, Shaohao and Zhang, Chaoyang and Mao, Xiaofeng and Ma, Weijie},
journal={arXiv preprint arXiv:2611.21479},
year={2026}
}If you use the HandiVid dataset in your research, please cite the HandiVid paper.
@article{zhang2026handivid,
title={{HandiVid}: A High-Quality Dataset for Hand-Driven Interactive Video Generation},
author={Zhang, Chaoyang and Rui, Shaohao and Mao, Xiaofeng and Xu, Yuanxun and Xia, Haoyuan and Liu, Xiaohong and Du, Qinghe and Ma, Weijie},
journal={arXiv preprint arXiv:2611.29693},
year={2026},
url={https://arxiv.org/abs/2611.29693}
}Related publications:
- BiWM: Advancing Open-Source Interactive Video World Models with Bidirectional Autoregression — Paper · Code
- LynnReal-Omni: Native multi-modal Video Generation for Agentic Visual Workflows — Paper · Code
@article{rui2026biwm,
title={{BiWM}: Advancing Open-Source Interactive Video World Models with Bidirectional Autoregression},
author={Rui, Shaohao and Mao, Xiaofeng and Zhang, Zhanyu and Lin, Peijia and Zhu, Yansong and Zhang, Yibo and Wan, Haibin and Zhao, Zhangrui and Ma, Weijie},
journal={arXiv preprint arXiv:2606.10135},
year={2026},
url={https://arxiv.org/abs/2606.10135}
}
@misc{mao2026lynnrealomninativemultimodalvideo,
title={{LynnReal-Omni}: Native multi-modal Video Generation for Agentic Visual Workflows},
author={Xiaofeng Mao and Peijia Lin and Shaohao Rui and Yibo Zhang and Haibin Wan and Weijie Ma},
year={2026},
eprint={2609.15863},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2609.15863}
}
