Image-to-Video
Diffusers
Safetensors
video-generation
audio-video-generation
reference-to-video
long-video
multi-shot
dmd
Run this model with HF Jobs
Run jdopensource/JoyAI-Echo on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jdopensource/JoyAI-Echo. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jdopensource/JoyAI-Echo on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use jdopensource/JoyAI-Echo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jdopensource/JoyAI-Echo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jdopensource/JoyAI-Echo", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (6)
- .gitattributes+2
- JoyAI-Echo-release.safetensorsAdded+3
- README.md+256-2
- assets/image.pngAdded
- config.jsonAdded+3
- model_index.jsonAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textJoyAI-Echo-release.safetensors filter=lfs diff=lfs merge=lfs -textassets/image.png filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:0df52a16eb328bcc9d903bbfa32aecf7b98e354503d095c235f9183b049b9d7csize 4613988541412345---license: otherlicense_name: ltx2license_link: LICENSE---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259---license: otherlicense_name: ltx-2-community-license-agreementlicense_link: https://github.com/Lightricks/LTX-2/blob/main/LICENSEpipeline_tag: text-to-videotags:- text-to-video- video-generation- audio-video-generation- long-video- multi-shot- dmdlibrary_name: ltx-video---<p align="center"><img src="assets/image.png" alt="JoyAI-Echo generated video gallery" width="100%"></p><div align="center"><h1>JoyAI-Echo</h1><p><strong>π¬ Pushing the Frontier of Long Video Generation</strong></p><p>Standalone, inference-only release for <strong>minute-level multi-shot audio-video generation</strong> with a distilled DMD generator, paired cross-modal memory, and story-level consistency.</p><p><strong>For academic research and non-commercial use only.</strong></p><p><a href="https://github.com/jd-opensource/JoyAI-Echo/blob/main/joyai-echo%20tech%20report.pdf"><b>π Paper</b></a> |<a href="https://echo-team-joy-future-academy-jd.github.io/Echo-LongVideo-Page/"><b>π Project Page</b></a> |<a href="#quickstart"><b>π Quickstart</b></a> |<a href="#results"><b>π Results</b></a> |<a href="#citation"><b>π Citation</b></a></p><p><img src="https://img.shields.io/badge/Python-3.11-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11"><img src="https://img.shields.io/badge/PyTorch-2.8-EE4C2C?style=flat-square&logo=pytorch&logoColor=white" alt="PyTorch 2.8"><img src="https://img.shields.io/badge/CUDA-12.8-76B900?style=flat-square&logo=nvidia&logoColor=white" alt="CUDA 12.8"><img src="https://img.shields.io/badge/Release-Inference--Only-black?style=flat-square" alt="Inference"><img src="https://img.shields.io/badge/Long%20Video-5%20min-d61f2c?style=flat-square" alt="5 minute long video"></p></div>## AbstractLong video generation still suffers from error accumulation, weak temporal coherence, and prohibitive latency, limiting its applicability to interactive scenarios. We present **JoyAI-Echo**, a framework that breaks these barriers through four key advances.Central to its performance, a cross-modal audio-visual memory bank preserves character appearance and voice timbre consistently over five-minute videos, while a post-training pipeline combines memory-based reinforcement learning with distribution matching distillation for a **7.5Γ speedup** to substantially boost visual quality and alignment.Empowered by these two components, **JoyAI-Echo** decisively outperforms *HappyOyster* (directing mode) on long-form generation and even surpasses the short-video specialist *Wan 2.6* on human-centric tasks.Beyond raw generation quality, an interactive agent enables real-time user editing through conversational instructions, and a lightweight super-resolution module maintains high definition under streaming latency, further elevating the overall experience and delivering instantly editable, conversation-speed video creation.For the first time, **JoyAI-Echo** simultaneously achieves long-range cross-modal consistency, real-time inference for minute-long video, conversational interactivity, and high-resolution output β without compromise, inaugurating a new era of interactive video generation.Codes and weights will be open-sourced.## Highlights- ποΈ **Minute-level multi-shot stories**: generate a sequence of coherent shots from one prompt JSON.- β‘ **DMD-distilled few-step inference**: ~7.5x faster than the original pipeline.- π **Joint audio-video generation**: one pipeline produces synchronized video and audio.- π§ **Paired cross-modal memory bank**: conditions each new shot on prior visual identity and voice context for story-level consistency.## Demo GalleryExplore long-form and short-form JoyAI-Echo cases on the [Project Page](https://echo-team-joy-future-academy-jd.github.io/Echo-LongVideo-Page/). πΏ## Results### Reported Scale| Item | Value || --- | ---: || π¬ Long-form coherent story length | **5 min** || β‘ Generation speedup over the original multi-step pipeline | **7.5x** || π Benchmark stories | **100** || ποΈ Generated evaluation shots | **3,000** || π Frames per shot | **241 @ 25 fps** |### Human EvaluationGSB user study on long- and short-video generation. The numbers denote the percentage of user preferences.| Aspect<br>(Long Video) | JoyAI-Echo | Tie | HappyOyster<br> (Directing) || --- | ---: | ---: | ---: || Visual aesthetics | **63.6%** | 8.8% | 27.6% || Audio quality | **81.7%** | 6.5% | 11.8% || Prompt following | **80.6%** | 13.5% | 5.9% || IP consistency | **59.4%** | 12.9% | 27.7% || Aspect<br>(Short Video) | JoyAI-Echo | Tie | Wan 2.6 || --- | ---: | ---: | ---: || Visual aesthetics | **58.8%** | 14.7% | 26.5% || Audio quality | 32.3% | 30.9% | 36.8% || Prompt following | 33.8% | 36.8% | 29.4% |## Quickstart### 1. CloneGet the Repo at first!```bashgit clone https://github.com/jd-opensource/JoyAI-Echo.gitcd JoyAI-Echo```### 2. Create the environmentThe reference environment is **Python 3.11 + PyTorch 2.8 + CUDA 12.8**.With conda:```bashconda env create -f environment.ymlconda activate echo-long```With `uv`:```bashuv venv --python 3.11 .venvsource .venv/bin/activateuv pip install --extra-index-url https://download.pytorch.org/whl/cu128 -r requirements.txt```[`ffmpeg`](https://ffmpeg.org/download.html) must be available on `PATH` for shot concatenation. The conda recipe includes it. If you use `uv`, install it with your system package manager:```bashsudo apt install ffmpeg# macOS:brew install ffmpeg```### 3. Download checkpointDownload the JoyAI-Echo release checkpoint and Gemma text encoder:| File | Description | Size | Link || --- | --- | --- | --- || `echo-longvideo-release.safetensors` | Full model (transformer + VAE + vocoder) | ~46 GB |[`JoyAI-Echo`](https://huggingface.co/jdopensource/JoyAI-Echo) || `gemma-3-12b/` | Instruction-tuned model (text encoder) | ~24 GB | [`gemma-3-12b-it`](https://huggingface.co/google/gemma-3-12b-it) |Place them under `checkpoints/`:```textcheckpoints/+-- echo-longvideo-release.safetensors`-- gemma-3-12b/```### 4. Write a story promptCreate a JSON file under `prompts/`.Each string is one complete shot description. A single prompt creates a single shot. Multiple prompts create a multi-shot story conditioned through the paired audio-video memory bank.### 5. Run inference```bashpython inference.py```This loads the model once and processes all prompt files under `prompts/`.> π‘ **Note**: The inference pipeline is optimized to run on lower-VRAM> GPUs. Peak GPU usage is around **46β50 GB**, at the cost of slightly> longer per-shot inference time.Outputs are written to:```textinference_result/outputs/<prompt-name>/inference_<timestamp>/```## ConfigurationAll inference parameters are managed in `configs/inference.yaml`. The file is organized into sections:| Section | Contents || --- | --- || `paths` | Checkpoint path, prompts directory, output root || `video` | Resolution, frame count, FPS, seed || `denoising` | Step list and sigma schedule || `memory` | Memory bank size, save mode, LoRA settings || `audio_memory` | Audio window, mel-spectrogram params || `inference` | Device, dtype, grad scale |### Override via CLIAny YAML parameter can be overridden from the command line:```bashpython inference.py --seed 42 --num-frames 121 --video-height 480 --video-width 832```Use a custom config file:```bashpython inference.py --config configs/my_experiment.yaml```The Python entrypoint exposes the full configuration surface:```bashpython inference.py --help```## HardwarePeak GPU usage is around **46β50 GB** for the default **25 fps x 241 frames x 1280 x 736** setting, so a single H100/A100-class (80 GB) or 48 GB GPU is sufficient.For smaller GPUs, reduce resolution/frames:```bashpython inference.py --num-frames 121 --video-height 480 --video-width 832```## TODO List- [x] Release inference code- [x] Release model checkpoints- [x] Add prompt examples- [ ] Release Director Agent## Links- Project page: [`https://echo-team-joy-future-academy-jd.github.io/Echo-LongVideo-Page/`](https://echo-team-joy-future-academy-jd.github.io/Echo-LongVideo-Page/)- Repository: [`https://github.com/jd-opensource/JoyAI-Echo`](https://github.com/jd-opensource/JoyAI-Echo)- huggingface: [`https://huggingface.co/jdopensource/JoyAI-Echo`](https://huggingface.co/jdopensource/JoyAI-Echo)## AcknowledgementsWe gratefully acknowledge the open-source projects this work builds upon β in particular [LTX2.3](https://huggingface.co/Lightricks/LTX-2.3) for the base video generator and [Gemma](https://huggingface.co/google/gemma-3-12b-it) for the text encoder. Thanks to the broader research community whose contributions made this release possible.## CitationIf JoyAI-Echo helps your research or products, please cite:```bibtex@techreport{echo2026longvideo,title = {JoyAI-Echo: Pushing the Frontier of Long Video Generation},author = {{Echo Team @ Joy Future Academy, JD}},institution = {Joy Future Academy, JD},year = {2026},month = {May}}```## LicenseThis project is based on LTX-2 by Lightricks Ltd.Portions of the original LTX-2 codebase have been modified by JD.com for academic and research purposes only.This project is not intended for commercial use. For commercial use of LTX-2 or its derivatives, please contact Lightricks Ltd.All original copyright, license, patent, trademark, and attribution notices from LTX-2 are retained.This project remains subject to the LTX-2 Community License Agreement.
123{ "model_type": "JoyAI-Echo"}123{ "_class_name": "InferenceEngine"}.gitattributes+2
JoyAI-Echo-release.safetensorsAdded+3
README.md+256-2
assets/image.pngAdded

Large File Pointer Details
- SHA256: 279a85d73e5ffb5332295872dc155017261840cfa638c0c47def18c4a1d6a3a6
- Pointer size: 132 Bytes
- Size of remote file: 7.18 MB
config.jsonAdded+3
model_index.jsonAdded+3