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 delivers strong performance across image generation, image editing, and video generation benchmarks.
Trained from scratch.
Lance is built with a staged multi-task recipe and trained entirely from scratch (except for the ViT and VAE encoders; the transformer backbone is trained entirely from scratch) within a
128-A100-GPU
budget.
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) 💖.
🎨 Demo
Text-to-Video
Video Editing
Multi-turn Consistency Editing
Intelligent Video Generation
Video Understanding
Question:
How many times did the person launch objects on the table? Options: (A) 3 (B) 2 (C) 4
Response:
(A) 3
Question:
The person makes sets of repeated actions. How many distinct repeated actions did the person do? Options: (A) 2 (B) 3 (C) 4
Response:
(A) 2
Question:
In which direction does the purple sphere move in the video? Options: (A) Down and to the right. (B) Up and to the left. (C) Up and to the right. (D) The object is stationary.
Response:
(A) Down and to the right.
Question:
What is the unrealistic phenomenon displayed in the video? Options: (A) The man can manipulate time via phone. (B) Man grabs an object through a phone screen. (C) Chocolate transforms into different objects. (D) Visible means of propulsion enables flight.
Response:
(B) Man grabs an object through a phone screen.
Question:
Offer a succinct account of the culinary process shown in this video.
Response:
Add tomato puree and mix it well with chicken pieces.
Question:
Provide a detailed description of the given video, capturing its key moments.
Response:
In a sunlit meadow, a small tortoiseshell butterfly rests on a purple flower. A bee, with black and yellow stripes, lands on the same flower. The butterfly flaps its wings gently, while the bee busies itself, collecting nectar. The flower sways slightly in the breeze. The butterfly then takes off, and the bee follows, both heading to the next flower. The scene is a vivid display of insect interaction in a natural setting, with the colors of the butterfly and the bee contrasting against the green background of the meadow. The video captures this peaceful moment in a short 6-second duration.
Text-to-Image Generation
Image Editing
Image Understanding
Question:
Is the largest segment greater than sum of all the other segments?
Response:
Yes, the largest segment in the pie chart is the blue one, which is the most populous segment.
Question:
What percentage of respondents want better border security?
Response:
29%
Question:
What is the license plate number of the car?
Response:
The license plate number of the car is BX62 BFY.
Question:
According to the data from the proprietary market research, how much amount was spent on the promotional meetings and events during 1998?
Response:
According to the data from the proprietary market research, the total amount spent on the promotional meetings and events during 1998 was approximately $1.3 billion.
Question:
What is the appearance of the Colosseum in Rome, Italy?
Response:
The Colosseum in Rome, Italy is a magnificent ancient amphitheater made of stone and concrete. It is characterized by its large, arched openings and its semi-circular shape. The Colosseum has been partially restored, and its original color has faded, but the architectural details, like the columns and the semi-circular arches, are still visible. The lighting in the image highlights the grandeur and historical significance of the Colosseum, making it stand out against the backdrop of the evening sky.
Question:
How does a total solar eclipse look like from Earth?
Response:
A total solar eclipse looks like a dark circle with a bright, white outer edge. This is a result of the Earth's rotation and the Earth's shadow, which partially obscures the sun's light. The bright white edge of the eclipse is caused by the sun's high energy and its interaction with the Earth's atmosphere, while the dark part of the eclipse is due to the Earth's shadow and the surrounding air currents. The solar eclipse's shape, with its bright white edge and dark center, is similar to the shape of a full moon or a dark disk. It is a natural phenomenon that occurs in the atmosphere of the Earth and is an important part of the solar system.
🚀 Installation
Recommended Environment
Software:
Python 3.10+, CUDA 12.4+ (required)
Hardware:
A GPU with at least 40GB VRAM is required for inference
Installation Steps
bash ./setup_env.sh
Download Model Weights
Please download all necessary model checkpoints from
Lance-3B on Hugging Face
and place them in the
downloads/
directory.
📚 Usage
Inference
We provide a unified command-line interface for all generation / editing / understanding tasks:
Option 1: Configure and Run the Unified Script
bash inference_lance.sh
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.
Option 2: Configure and Run the Unified Script
We provide task-specific one-click commands for different generation, editing, and understanding tasks.
If you find
Lance
useful for your project or research, welcome to 🌟 this repo and cite our work using the following BibTeX:
@misc{fu2026lanceunifiedmultimodalmodeling,
title = {Lance: Unified Multimodal Modeling by Multi-Task Synergy},
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},
year = {2026},
eprint = {2605.18678},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2605.18678},
}
lance-pt-snapshot huggingface.co is an AI model on huggingface.co that provides lance-pt-snapshot's model effect (), which can be used instantly with this avlp12 lance-pt-snapshot model. huggingface.co supports a free trial of the lance-pt-snapshot model, and also provides paid use of the lance-pt-snapshot. Support call lance-pt-snapshot model through api, including Node.js, Python, http.
lance-pt-snapshot huggingface.co is an online trial and call api platform, which integrates lance-pt-snapshot's modeling effects, including api services, and provides a free online trial of lance-pt-snapshot, you can try lance-pt-snapshot online for free by clicking the link below.
avlp12 lance-pt-snapshot online free url in huggingface.co:
lance-pt-snapshot is an open source model from GitHub that offers a free installation service, and any user can find lance-pt-snapshot on GitHub to install. At the same time, huggingface.co provides the effect of lance-pt-snapshot install, users can directly use lance-pt-snapshot installed effect in huggingface.co for debugging and trial. It also supports api for free installation.