KlingAIResearch / DecMem
PublicDecMem: Towards Minute-Long Consistent World Generation with Decoupled Memory
DecMem is an open-source research project that generates minute-long videos with consistent characters and scenes. It uses a clever two-part memory system: one part remembers the big picture for long-term consistency, while another part focuses on smooth short-term transitions. The system learns from video-action pairs (like gameplay recordings) and can extend videos block-by-block while keeping everything coherent. Built by researchers at Kuaishou Technology and the University of Hong Kong, this project is freely available for anyone to use and modify.
How It Works
You find DecMem through a research paper, project page, or word of mouth about generating minute-long videos with consistent characters and scenes.
You download the code and pre-trained model weights from the official repository, creating your own local copy to work with.
You gather video clips paired with action data (like gameplay recordings with player movements) to teach the model what you want it to generate.
You run the training process where the model learns to understand how actions connect to video frames, building its memory of how to create smooth, consistent sequences.
You provide a starting video or action sequence, and the model creates new frames one block at a time, maintaining consistency with everything that came before.
The model outputs a complete video showing smooth, continuous motion with characters and scenes that stay consistent throughout the entire minute-long sequence.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.