Instructions to use RuneXX/LTX-2-Workflows with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LTX.io
How to use RuneXX/LTX-2-Workflows 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 RuneXX/LTX-2-Workflows --local-dir models/LTX-2-Workflows 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-2-Workflows/<distilled-checkpoint>.safetensors \ --spatial-upsampler-path models/LTX-2-Workflows/<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-2-Workflows/<checkpoint>.safetensors \ --distilled-lora models/LTX-2-Workflows/<distilled-lora>.safetensors 0.8 \ --spatial-upsampler-path models/LTX-2-Workflows/<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
Resize image set to crop
#17
by kilwacero - opened
Hi,
Line https://huggingface.co/RuneXX/LTX-2-Workflows/blob/main/LTX-2%20-%20I2V%20Basic.json#L2962 Is set to crop instead to resize don't know if its intentional
Regards
Ah you mean at the initial image? you can choose yourself if you want to crop the image to fit, or resize, or stretch.
I usually prefer crop, but depends on the input image, and how you want to make it fit to the size of the video to generate ;-)
Ok all clear. I use to resize the initial image allways π
kilwacero changed discussion status to closed