AI video · open source

Minutes-long video, with an open model

Text, an image, or a video of yours become scenes at 720p and 30 fps. And the Avatar version makes a person speak from an audio file.

LongCat-Video banner: open long video — text, image and avatar become minutes-long video
In short

LongCat-Video is an artificial intelligence model that creates videos, released for free by Meituan, a large Chinese technology company. You describe a scene in text, or hand it an image or the start of a video, and it generates the continuation at 720p and 30 frames per second, including videos that run for several minutes. The Avatar version takes a photo and an audio file and makes the person speak with lip sync. It suits anyone who produces video and wants to run everything on their own server, without paying for credits. It needs a large NVIDIA graphics card and 80 to 160 GB of disk space for the models.

What it is

One model, three ways to start the video

A project by meituan-longcat/LongCat-Video (MIT license on code and weights), mirrored by INEMA with this guide. Released on Oct 25, 2025; the Avatar 1.5 version came out on May 21, 2026.

LongCat-Video features: text to video, image to video, continuation, avatar with audio, 720p at 30 fps and MIT license

🧩 Everything in one model

Text to video, image to video and video continuation all come from the same 13.6 billion parameter model. The only difference is how many frames you give it at the start: none, one or several.

⏱️ Built for long video

It was trained by continuing videos, so it chains segment after segment for minutes without the colors fading or the image degrading. You can even change the instruction for each segment.

🗣️ Talking avatar

LongCat-Video-Avatar 1.5 animates one or several people from audio, with lip sync through Whisper-Large and only 8 generation steps.

How it works

First a draft, then the finishing touches

The model is a diffusion transformer (the same kind of model as Wan and Sora): it starts from noise and cleans up the image bit by bit. Three tricks make 720p generation more than 10 times faster, according to the technical report.

Text / image / video→ 480p · 15 fps draft→ Upscale to 720p · 30 fps→ Refinement (LoRA)→ MP4

Coarse to fine

It first generates at 480p and 15 fps, upscales, and runs a "refinement expert" (a LoRA on top of the base model) that returns 720p at 30 fps with more detail than generating straight at 720p.

Block sparse attention

Instead of every piece of the image looking at all the others, it looks only at the most similar blocks. It uses less than 10% of the original computation with almost no loss.

Fewer steps

Distillation cuts from more than 50 to 16 steps with similar quality. In Avatar 1.5, DMD2 distillation brings it down to 8 steps.

The final tuning used reinforcement learning with three "judges" at the same time (visual quality, motion and fidelity to the text). With a single judge, the model learned to cheat, for example by standing still to look good.

Comparison

Where it comes close to the closed models

Human evaluation scores (MOS, from 1 to 5) published by Meituan itself, for text to video. This is not an independent test.

CriterionVeo3PixVerse-V5Wan 2.2 A14BLongCat-Video
Accessclosedclosedopenopen (MIT)
Active parameters––14B (of 28B)13.6B
Text fidelity3.993.813.703.76
Visual quality3.233.133.263.25
Motion3.863.813.783.74
Overall3.483.363.353.38

VBench 2.0

Third best overall score, behind only Veo3 and Vidu Q1, and first in common sense (plausible motion and physics).

Image to video

Best visual quality (3.27), but below Seedance 1.0, Hailuo-02 and Wan 2.2 in fidelity to the image and motion. Overall score 3.17 against 3.35 for Seedance.

Prerequisites

What you need to have

The report measures times on an NVIDIA H800. The README does not state the minimum video memory; the Avatar examples use 2 cards and the --use_int8 mode.

Card and system

Linux with NVIDIA and CUDA. The official environment is Python 3.10, PyTorch 2.6 (cu124) and FlashAttention 2.7.4.

nvidia-smi ; df -h .

Disk for the weights

Measured on Hugging Face (Oct 16, 2026): LongCat-Video 83 GB, Avatar 1.5 75 GB (16 GB in the int8 version), Avatar 1.0 129 GB.

pip install "huggingface_hub[cli]"

For the Avatar

Also librosa and ffmpeg and the requirements_avatar.txt file. The README downloads the base model along with it.

conda install -c conda-forge librosa ffmpeg
User guide · step by step

From clone to first video

Commands from the project's official documentation. For multiple cards, replace torchrun with torchrun --nproc_per_node=2 and add --context_parallel_size=2.

1

Clone and create the environment

Match the PyTorch version to your CUDA.

git clone https://github.com/inematds/LongCat-Video.git
cd LongCat-Video
conda create -n longcat-video python=3.10
conda activate longcat-video
pip install torch==2.6.0+cu124 torchvision==0.21.0+cu124 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
pip install ninja psutil packaging
pip install flash_attn==2.7.4.post1
pip install -r requirements.txt

The setup uses FlashAttention-2; you can swap it for FlashAttention-3 or xformers in the model's configuration file.

2

Download the weights

Only what you will use: the base model for text, image and continuation; Avatar 1.5 for the talking avatar.

huggingface-cli download meituan-longcat/LongCat-Video --local-dir ./weights/LongCat-Video
huggingface-cli download meituan-longcat/LongCat-Video-Avatar-1.5 --local-dir ./weights/LongCat-Video-Avatar-1.5
3

Text to video and image to video

Each task has its own example script; edit the text and the image inside it.

torchrun run_demo_text_to_video.py --checkpoint_dir=./weights/LongCat-Video --enable_compile
torchrun run_demo_image_to_video.py --checkpoint_dir=./weights/LongCat-Video --enable_compile
4

Continuation, long video and interactive video

Continuation starts from a video of yours. Long video chains segments for minutes. Interactive accepts a new instruction for each segment.

torchrun run_demo_video_continuation.py --checkpoint_dir=./weights/LongCat-Video --enable_compile
torchrun run_demo_long_video.py --checkpoint_dir=./weights/LongCat-Video --enable_compile
torchrun run_demo_interactive_video.py --checkpoint_dir=./weights/LongCat-Video --enable_compile
5

Or use the browser interface

The project ships a Streamlit interface for a single card.

streamlit run ./run_streamlit.py --server.fileWatcherType none --server.headless=false
Avatar 1.5

Photo + audio = a person speaking

The request is a JSON with the scene text, the image and each person's audio. --stage_1 chooses whether the scene starts from text (at2v) or from your photo (ai2v).

1

Build the request

Example that comes in the repo (assets/avatar/single_example_1.json):

{
  "prompt": "A western man stands on stage under dramatic lighting, holding a microphone...",
  "cond_image": "assets/avatar/single/man.png",
  "cond_audio": { "person1": "assets/avatar/single/man.mp3" }
}
2

Install the extra and generate

--use_distill turns on the 8 steps and --use_int8 loads the smaller model. With --num_segments the video is continued in segments, to make it long.

pip install -r requirements_avatar.txt
# photo + audio, 5 chained segments
torchrun --nproc_per_node=2 run_demo_avatar_single_audio_to_video.py --context_parallel_size=2 \
  --checkpoint_dir=./weights/LongCat-Video-Avatar-1.5 --stage_1=ai2v \
  --input_json=assets/avatar/single_example_1.json --num_segments=5 --ref_img_index=10 \
  --mask_frame_range=3 --use_distill --model_type avatar-v1.5 --use_int8
3

Two or more people

One audio per person in the JSON (multi_example_1.json) and the multi-voice script.

torchrun --nproc_per_node=2 run_demo_avatar_multi_audio_to_video.py --context_parallel_size=2 \
  --checkpoint_dir=./weights/LongCat-Video-Avatar-1.5 --input_json=assets/avatar/multi_example_1.json \
  --use_distill --model_type avatar-v1.5 --use_int8

What changed in 1.5

Audio is read by Whisper-Large instead of Wav2Vec2: a more natural, better synchronized mouth.

Stable across the whole body

Identity kept in long video, hands holding objects and scenes with several people.

Beyond people

It also works with anime and animals, according to the technical report (more than 500 test cases).

At INEMA

What it can add to what we already use

Today Nei's avatar comes from the HeyGen studio and the AI clips come from Kling and the local LTX. Nothing below has been tested yet on our server.

FunctionToday at INEMALongCat-Video
Talking avatarHeyGen studio (subscription)Local Avatar 1.5: photo + audio, no per-minute credit
AI clipKling (subscription), local LTX-2.3Text or image to video, 720p at 30 fps
Long videoChaining short clipsNative continuation for minutes
LicenseEach service's termsMIT on code and weights

Heads-up on the DGX Spark (GB10)

It has 128 GB of unified memory and an ARM processor. The versions pinned by the project (PyTorch cu124 and the prebuilt FlashAttention) probably have no package for ARM with the Blackwell card; the expected path is to compile FlashAttention or swap it for xformers. Not measured yet.

Next steps

From the mirror to our own version

The mirror and this guide are published; the hands-on test has not been done yet.

Pilot
Install on the server with a memory capIsolated environment, weights on the 8 TB disk, first only Avatar 1.5 in int8.
Test
Nei's photo and audioSame audio in Avatar 1.5 and in HeyGen: lip sync, identity and generation time side by side.
INEMA version
A repository for the avatar onlyIf the test passes, a lean project of our own, with just the talking avatar, ready for INEMA's video workflow.