Instructions to use Lightricks/LTX-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Lightricks/LTX-2.5 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- LTX-2
How to use Lightricks/LTX-2.5 with LTX-2:
# Install the LTX-2 pipelines git clone https://github.com/Lightricks/LTX-2.git cd LTX-2 uv sync --extra natten
# Download weights from this repo # Substitute filenames from this repo's "Files and versions" if they differ hf download Lightricks/LTX-2.5 \ diffusion_models/<distilled-transformer>.safetensors \ text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \ vae/<video-vae>.safetensors \ vae/<audio-vae>.safetensors \ latent_upscale_models/<spatial-upsampler>.safetensors \ latent_upscale_models/<temporal-upsampler>.safetensors \ --local-dir models/LTX-2.5 # DFR requires the detailing IC-LoRA (separate repo; strength is fixed at 0.5) hf download Lightricks/LTX-2.5-22b-IC-LoRA-Pixel-Spatial-Upscaler --local-dir models/LTX-2.5-22b-IC-LoRA-Pixel-Spatial-Upscaler# Distilled LTX-2.5 pipeline (fast) uv run python -m ltx_pipelines.distilled \ --transformer-path models/LTX-2.5/diffusion_models/<distilled-transformer>.safetensors \ --text-encoder-path models/LTX-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \ --video-vae-path models/LTX-2.5/vae/<video-vae>.safetensors \ --audio-vae-path models/LTX-2.5/vae/<audio-vae>.safetensors \ --spatial-upsampler-path models/LTX-2.5/latent_upscale_models/<spatial-upsampler>.safetensors \ --num-frames 121 \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8# DFR pipeline (higher detail fidelity; optional temporal 2x/4x) uv run python -m ltx_pipelines.dfr_pipeline \ --transformer-path models/LTX-2.5/diffusion_models/<distilled-transformer>.safetensors \ --text-encoder-path models/LTX-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \ --video-vae-path models/LTX-2.5/vae/<video-vae>.safetensors \ --audio-vae-path models/LTX-2.5/vae/<audio-vae>.safetensors \ --spatial-upsampler-path models/LTX-2.5/latent_upscale_models/<spatial-upsampler>.safetensors \ --temporal-upsampler-path models/LTX-2.5/latent_upscale_models/<temporal-upsampler>.safetensors \ --detailing-lora models/LTX-2.5-22b-IC-LoRA-Pixel-Spatial-Upscaler/ltx-2.5-22b-ic-lora-pixel-spatial-upscaler-x2-1.0.safetensors \ --spatial-upscalings 1 \ --temporal-upscalings 1 \ --height 1088 \ --width 1920 \ --num-frames 121 \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For 4K: --spatial-upscalings 2 --width 3840 --height 2176 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Notebooks
- Google Colab
- Kaggle
Rename README.md to README.mdcurl https://huggingface.co/new-space/agents.md and build me a Space with a demo for https://huggingface.co/Lightricks/LTX-2.5
٦هو الفيديو عبارة عن الفيديو عبارة عن شاب بيعجب بفتاة فبيضطر يتعرف عليها باي طريقة يتعرف عليها بيلاحقها فهي بتبقى متضايقة منه ااا لدرجة بيجري وراها في الشارع عشان هي بعد ما تركب الترماي بيجري ورا الترماي في الشارع يتعلق في الترماي من وراء ااا بينظر لها من القزاز في خلف الترماي وهو في الشارع. أعطى علافة ترمول. ااا طبعا هي بتستغرب. بيقعد يشاورلها وبيقولها فاكراني ومش عارف. ااا فيعني كله بدون كلام أو إشارة. والأغنية ااا أغنية رومانسي شغالة. ااا طبعا ااا ما بيتعبروش وكده وبيبصوله كده باستغراب فبيعمل نفسه. هو وقع من الترماي فبتجري تبص عليه فبيطلع لها طبعا تاني مبتسم فبتبتسم وبرضه بتقوم مراجعة للتكشيرة بتاعتها بتقوله انت مجنون وبتنزل من الترماي بتلاقيها فوق بتلاقيه في وشها مصمم برضه يتعرف عليها فبيدور بينهم حوار فبيقولها التليفون بالإشارة كل. ااا. فبتطلع ورقة وقلم بتكتب رقم تليفونها. بيجي يمد ايده عشان ياخد ال- الرقم. فبتحط ايد كفها ااا كف ايديها ورقة ظهرها. وبتخيره بتقفل الكف ايديها على الورقة وبتخيره انهي ايد بيختار بيلاقي ايده الفاضية بيكشر وبيهزج على الورق خطوتين. بيسيبها بتمشي بينسحب بالراحة فهي بعد فترة يعني افتقدته يعني ااا بتدور عليه فبس ادي الفيديو وهي بتدور عليه وبتفتكر ااا ساعة ما كان بالحقيقة وبتضحك وبتبتسم وبتدور عليه. ايه ما بتلاقوش بيظهر لها تاني وماسك ايس كريم بياكل في ايس كريم وبيديها واحدة.