Instructions to use meituan-longcat/LongCat-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use meituan-longcat/LongCat-Video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("meituan-longcat/LongCat-Video", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Transformers
How to use meituan-longcat/LongCat-Video with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("meituan-longcat/LongCat-Video", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Improve model card: Update `library_name`, add relevant tags, and update paper links
This PR improves the model card by:
- Updating
library_nametodiffusersin the metadata, which enables the automated "how to use" widget on the Hugging Face Hub, as the model's architecture showsdiffuserscompatibility. - Adding
diffusers,image-to-video, andvideo-continuationto thetagsmetadata to enhance discoverability and accurately represent the model's multi-task capabilities (Text-to-Video, Image-to-Video, and Video-Continuation). - Updating the paper link in the introductory badges and inline text to the official Hugging Face paper page:
https://huggingface.co/papers/2510.22200. - Integrating the "π₯ Teaser Video" section from the GitHub README.
- Adding the "Run Interactive Video Generation" sample usage to the "Quick Start" section from the GitHub README.
- Updating the citation block with the complete author list, correct
eprint, and arXiv URL from the GitHub README.
These changes provide more accurate metadata and richer content, making the model easier to find and use for the community.
Thanks nielsr for keep this updated!
The code is diffusers-style-like but not necessarily fully-diffusers-compatiable. I am not sure if the change "library_name: diffusers" would cause problem. Maybe undo the change of "library_name: diffusers". Other changes are great.
I will get this merged, and see if the "library_name" cause any problem. Thanks again nielsr!
Hi @zhuoliang thanks for merging. Feel free to remove library_name: diffusers.
If you want we can replace it with a dedicated new tag like "longcat-video".