Instructions to use hgjc/ltx-ugc-bundle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LTX.io
How to use hgjc/ltx-ugc-bundle with LTX.io:
# Install the LTX-2 pipelines git clone https://github.com/Lightricks/LTX-2.git cd LTX-2 uv sync --frozen
# Download the weights from this repo, plus the Gemma text encoder hf download hgjc/ltx-ugc-bundle --local-dir models/ltx-ugc-bundle hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
# Fast pipeline (distilled model, no distilled LoRA needed) uv run python -m ltx_pipelines.distilled \ --distilled-checkpoint-path models/ltx-ugc-bundle/<distilled-checkpoint>.safetensors \ --spatial-upsampler-path models/ltx-ugc-bundle/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8# HQ pipeline (two-stage, higher quality) uv run python -m ltx_pipelines.ti2vid_two_stages_hq \ --checkpoint-path models/ltx-ugc-bundle/<checkpoint>.safetensors \ --distilled-lora models/ltx-ugc-bundle/<distilled-lora>.safetensors 0.8 \ --spatial-upsampler-path models/ltx-ugc-bundle/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Notebooks
- Google Colab
- Kaggle
| .pysssss-lightbox { | |
| width: 100vw; | |
| height: 100vh; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| z-index: 1001; | |
| background: rgba(0, 0, 0, 0.6); | |
| display: flex; | |
| align-items: center; | |
| transition: opacity 0.2s; | |
| } | |
| .pysssss-lightbox-prev, | |
| .pysssss-lightbox-next { | |
| height: 60px; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .pysssss-lightbox-prev:after, | |
| .pysssss-lightbox-next:after { | |
| border-style: solid; | |
| border-width: 0.25em 0.25em 0 0; | |
| display: inline-block; | |
| height: 0.45em; | |
| left: 0.15em; | |
| position: relative; | |
| top: 0.15em; | |
| transform: rotate(-135deg) scale(0.75); | |
| vertical-align: top; | |
| width: 0.45em; | |
| padding: 10px; | |
| font-size: 20px; | |
| margin: 0 10px 0 20px; | |
| transition: color 0.2s; | |
| flex-shrink: 0; | |
| content: ""; | |
| } | |
| .pysssss-lightbox-next:after { | |
| transform: rotate(45deg) scale(0.75); | |
| margin: 0 20px 0 0px; | |
| } | |
| .pysssss-lightbox-main { | |
| display: grid; | |
| flex: auto; | |
| place-content: center; | |
| text-align: center; | |
| } | |
| .pysssss-lightbox-link { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| position: relative; | |
| } | |
| .pysssss-lightbox .lds-ring { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .pysssss-lightbox-img { | |
| max-height: 90vh; | |
| max-width: calc(100vw - 130px); | |
| height: auto; | |
| object-fit: contain; | |
| border: 3px solid white; | |
| border-radius: 4px; | |
| transition: opacity 0.2s; | |
| user-select: none; | |
| } | |
| .pysssss-lightbox-img:hover { | |
| border-color: dodgerblue; | |
| } | |
| .pysssss-lightbox-close { | |
| font-size: 80px; | |
| line-height: 1ch; | |
| height: 1ch; | |
| width: 1ch; | |
| position: absolute; | |
| right: 10px; | |
| top: 10px; | |
| padding: 5px; | |
| } | |
| .pysssss-lightbox-close:after { | |
| content: "\00d7"; | |
| } | |
| .pysssss-lightbox-close:hover, | |
| .pysssss-lightbox-prev:hover, | |
| .pysssss-lightbox-next:hover { | |
| color: dodgerblue; | |
| cursor: pointer; | |
| } | |