Downloads · 30 days
14
30% of all-time downloads
ltx-community/ltx2-compile-keytest
ltx2-compile-keytest is a text-to-video model from ltx-community. Use it when you need video from a text prompt. It is set up for diffusers. The card lists the license as other.
Trained with the LTX LoRA Trainer — powered by LTX-2.
Downloads · 30 days
14
30% of all-time downloads
All-time downloads
47
Public
Repo size
327 MB
Likes
0
Public
Click a slice to open those files.
.safetensors327 MB · 100%
From the Hugging Face model README
Trained with the LTX LoRA Trainer — powered by LTX-2.
This is a IC-LoRA (in-context control) fine-tuned from ltx-2.3-22b-dev.safetensors on custom data.
ltx-2.3-22b-dev.safetensorsLTX-2.3 support is currently on the diffusers
mainbranch:pip install git+https://github.com/huggingface/diffusers.git
import torch
from diffusers import LTX2InContextPipeline
from diffusers.pipelines.ltx2.export_utils import encode_video
from diffusers.pipelines.ltx2.utils import DEFAULT_NEGATIVE_PROMPT
pipe = LTX2InContextPipeline.from_pretrained(
"diffusers/LTX-2.3-Diffusers", torch_dtype=torch.bfloat16
)
pipe.enable_model_cpu_offload()
# Load this LoRA
pipe.load_lora_weights("ltx-community/ltx2-compile-keytest", weight_name="lora_weights_step_00300.safetensors", adapter_name="lora")
pipe.set_adapters("lora", 1.0)
video, audio = pipe(
prompt="<your prompt>",
negative_prompt=DEFAULT_NEGATIVE_PROMPT,
# IC-LoRA is reference-conditioned — pass your control video via reference_conditions:
# reference_conditions=[...], # see the LTX-2 diffusers docs for the condition object
width=768, height=512, num_frames=49, frame_rate=25.0,
num_inference_steps=30, guidance_scale=4.0,
output_type="np", return_dict=False,
)
encode_video(video[0], fps=25.0, output_path="output.mp4")
For the full reference implementation and ComfyUI workflows, see the official LTX-2 repository.
In order to use the trained LoRA in ComfyUI, follow these steps:
.safetensors file) to the models/loras folder in your ComfyUI installation.You can find reference Text-to-Video (T2V) and Image-to-Video (I2V) workflows in the official LTX-2 repository.
This model inherits the license of the base model (ltx-2.3-22b-dev.safetensors).