Note: Lance is a research project rather than a polished product model. The released checkpoint was trained with up to 128 A100 GPUs, with training conducted up to 768x768 image generation and 480p, 12 FPS video generation. Our goal is to share a research artifact for studying unified image/video understanding, generation, and editing under a relatively small model and limited compute budget. Output quality may vary across prompts, resolutions, duration, motion complexity, and editing scenarios, and we see further opportunities to improve the post-training recipe. We appreciate constructive feedback from the community as we continue improving the project.
🔥 Updates
2026/05/26: 🎨 The Gradio interface now supports image and video generation, editing, and understanding. Try it out!
2026/05/25: ✨ The Hugging Face Space is now live, thanks to the HF team!
2026/05/19: 🤗 The technical report is now available on arXiv.
Lance is a 3B native unified multimodal model that supports image and video understanding, generation, and editing within a single framework.
Efficient at 3B scale. With only 3B active parameters, Lance achieves competitive performance across image generation, image editing, and video generation benchmarks.
Training from scratch. Lance is trained from scratch with a staged multi-task recipe and within a budget of up to 128 A100 GPUs.
We are actively updating and improving this repository. If you find any bugs or have suggestions, please feel free to open an issue or submit a pull request (PR) 💖.
Lance benchmark overview across image generation, image editing, video generation, and video understanding
📅 Roadmap
Release the fine-tuning code.
Add support for image-to-video generation code.
🎨 Demo
Show demo results
🔥 We recommend visiting our homepage for more visual results. 🔥
Text-to-Video
Video Editing
Multi-turn Consistency Editing
Intelligent Video Generation
🚀 Installation
Recommended Environment
Software: Python 3.10+, CUDA 12.4+ (required)
Hardware: A GPU with at least 40GB VRAM is required for inference
We have tested the following dependency combinations on NVIDIA A100:
PyTorch 2.8.0 + cu126 + flash-attn 2.8.3
PyTorch 2.5.1 + cu124 + flash-attn 2.6.3
The default installation commands use the PyTorch 2.8.0 + cu126 setup. For other GPU models, please choose and validate a PyTorch build and a matching flash-attn version according to your driver, CUDA runtime, Python version, and GPU architecture.
Note: If installing flash-attn from source fails, you can install a prebuilt wheel instead. The wheelhouse below is from a third-party repository and is provided for reference only; please verify that any wheel you install matches your Python, PyTorch and CUDA versions.
Before running, please configure the inference parameters at the top of inference_lance.sh.
Supported tasks:t2i, t2v, image_edit, video_edit, x2t_image, and x2t_video. You can modify TASK_DEFAULT_CONFIGS in inference_lance.py to customize the default data samples for each task.
Note: For all tasks, we recommend following the prompt format used in the provided examples when writing input prompts, as this typically leads to better generation quality.
If you find Lance useful for your project or research, welcome to 🌟 this repo and cite our work using the following BibTeX:
bibtex
1@misc{fu2026lanceunifiedmultimodalmodeling,
2 title = {Lance: Unified Multimodal Modeling by Multi-Task Synergy},
3 author = {Fengyi Fu and Mengqi Huang and Shaojin Wu and Yunsheng Jiang and Yufei Huo and Hao Li and Yinghang Song and Fei Ding and Jianzhu Guo and Qian He and Zheren Fu and Zhendong Mao and Yongdong Zhang},
4 year = {2026},
5 eprint = {2605.18678},
6 archivePrefix = {arXiv},
7 primaryClass = {cs.CV},
8 url = {https://arxiv.org/abs/2605.18678},
9}