Interfaze

logo

Beta

pricing

docs

blog

sign in

Lance

Lance by bytedance-research, a any-to-any model with multimodal capabilities. Understand and compare multimodal features, benchmarks, and capabilities.

Comparison

FeatureLanceInterfaze
Input Modalities

text, image, video

image, text, audio, video, document

Native OCRNoYes
Long Document ProcessingNoYes
Language Support

unknown

162+

Native Speech-to-TextNoYes
Native Object DetectionNoYes
Guardrail ControlsNoYes
Context Input Size

70K

1M

Tool CallingNo

Tool calling supported + built in browser, code execution and web search

Scaling

FeatureLanceInterfaze
Scaling

Self-hosted/Provider-hosted with quantization

Unlimited

View model card on Hugging Face

🌟 Highlights

Lance is a lightweight 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 within a 128-A100-GPU budget.

🎨 Demo

Text-to-Video

Video Editing

Multi-turn Consistency Editing

Intelligent Video Generation

Video Understanding

Text-to-Image Generation

Image Editing

Image Understanding

🚀 Installation

  • 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 the necessary model checkpoints of Lance-3B (Huggingface Link) 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.

Text-to-Video Generation
bash inference_lance.sh \
  --TASK_NAME t2v \
  --MODEL_PATH downloads/Lance_3B_Video \
  --RESOLUTION video_480p \
  --NUM_FRAMES 121 \
  --VIDEO_HEIGHT 480 \
  --VIDEO_WIDTH 848 \
  --SAVE_PATH_GEN results/t2v_121f
Text-to-Image Generation
bash inference_lance.sh \
  --TASK_NAME t2i \
  --MODEL_PATH downloads/Lance_3B \
  --RESOLUTION image_768res \
  --VIDEO_HEIGHT 768 \
  --VIDEO_WIDTH 768 \
  --SAVE_PATH_GEN results/t2i
Video Editing
bash inference_lance.sh \
  --TASK_NAME video_edit \
  --MODEL_PATH downloads/Lance_3B_Video \
  --RESOLUTION video_480p \
  --SAVE_PATH_GEN results/video_edit
Image Editing
bash inference_lance.sh \
  --TASK_NAME image_edit \
  --MODEL_PATH downloads/Lance_3B \
  --RESOLUTION image_768res \
  --SAVE_PATH_GEN results/image_edit
Video Understanding
bash inference_lance.sh \
  --TASK_NAME x2t_video \
  --MODEL_PATH downloads/Lance_3B_Video \
  --RESOLUTION video_480p \
  --NUM_FRAMES 50 \
  --SAVE_PATH_GEN results/x2t_video
Image Understanding
bash inference_lance.sh \
  --TASK_NAME x2t_image \
  --MODEL_PATH downloads/Lance_3B \
  --RESOLUTION image_768res \
  --SAVE_PATH_GEN results/x2t_image

Available Tasks

Task NameDescriptionExample JSON
t2vText-to-Video generationconfig/examples/t2v_example.json
t2iText-to-Image generationconfig/examples/t2i_example.json
image_editImage editingconfig/examples/image_edit_example.json
video_editVideo editingconfig/examples/video_edit_example.json
x2t_imageImage understandingconfig/examples/x2t_image_example.json
x2t_videoVideo understandingconfig/examples/x2t_video_example.json

For understanding examples:

  • config/examples/x2t_image_example.json: image understanding examples for visual question answering and image-based reasoning.
  • config/examples/x2t_video_example.json: video understanding examples for video question answering and video captioning.

Parameters

You can configure the following hyperparameters at the top of the inference_lance.sh script:

ParameterDefault ValueDescription
MODEL_PATH"downloads/lance_3b"Path to the downloaded Lance model weights.
NUM_GPUS1Number of GPUs to use for inference.
VALIDATION_NUM_TIMESTEPS30Number of denoising steps (e.g., 30 or 50).
VALIDATION_TIMESTEP_SHIFT3.5Timestep shift parameter for flow matching scheduling.
CFG_TEXT_SCALE4.0Classifier-Free Guidance (CFG) scale for text conditioning.
VALIDATION_DATA_SEED42Random seed for generation reproducibility.
NUM_FRAMES50Number of frames for video generation (Max: 121). Unused for image tasks.
VIDEO_HEIGHT / VIDEO_WIDTH768Spatial resolution. Unused for editing tasks (determined by input image/video).
RESOLUTION"video_480p"Base resolution preset (image_768res or video_480p).

Gradio

python lance_gradio_t2v_v2t.py --gpus 0 --server-port 7860

Benchmarks

DPG-Bench Evaluation

GenEval Evaluation

GEdit-Bench Evaluation

VBench Evaluation (Video Generation)

Running Benchmarks

Ready-to-run benchmark scripts are provided under benchmarks/:

BenchmarkModalityScript
GenEVAL (image gen)Imagebenchmarks/image_gen/GenEVAL/sample_GenEVAL.sh
DPG (image gen)Imagebenchmarks/image_gen/DPG/sample_DPG.sh
GEdit (image edit)Imagebenchmarks/image_gen/GEdit/sample_GEdit.sh
VBench (video gen)Videobenchmarks/video_gen/Vbench/sample_vbench.sh

📄 License

Copyright 2025 Bytedance Ltd. and/or its affiliates.

💖 Citation

If you find Lance useful for your project or research, welcome to 🌟 this repo and cite our work using the following BibTeX:

@misc{lance2026,
  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 Jianzhu Guo and Hao Li and Yinghang Song and Fei Ding and Qian He and Zheren Fu and Zhendong Mao and Yongdong Zhang},
  year   = {2026},
  note   = {Manuscript}
}

📞 Contact

For questions, issues, or collaborations, please contact Mengqi Huang and Jianzhu Guo.

Want more deterministic results?