Run this model with HF Jobs
Run Muapi/ltx-2-animatediff-lora 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/Muapi/ltx-2-animatediff-lora. 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/Muapi/ltx-2-animatediff-lora 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 Muapi/ltx-2-animatediff-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/ltx-2-animatediff-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-Video", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/ltx-2-animatediff-lora") prompt = "A man with short gray hair plays a red electric guitar." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - LTX-2
How to use Muapi/ltx-2-animatediff-lora with LTX-2:
# 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 Muapi/ltx-2-animatediff-lora --local-dir models/ltx-2-animatediff-lora hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
# Text/image-to-video with the LoRA on the HQ two-stage base pipeline uv run python -m ltx_pipelines.ti2vid_two_stages_hq \ --checkpoint-path path/to/checkpoint.safetensors \ --distilled-lora path/to/distilled_lora.safetensors 0.8 \ --spatial-upsampler-path path/to/spatial_upsampler.safetensors \ --gemma-root models/gemma-3-12b \ --lora models/ltx-2-animatediff-lora/<weights>.safetensors 1.0 \ --prompt "your prompt here" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Add LTX 2 Animatediff Lora
Browse filesFiles changed (4)
- .gitattributes+1
- README.mdAdded+38
- ltx-2-animatediff-lora.safetensorsAdded+3
- preview.jpgAdded
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 lines3334353632 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 -textpreview.jpg filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738---license: openrail++library_name: diffusersbase_model: Lightricks/LTX-Videotags: - lora - text-to-video - ltx - ltx-video - ltxv2pipeline_tag: text-to-video---
# LTX 2 Animatediff Lora

**Base model**: LTXV2**Trained words**: Animatediff Style
## 🧠 Usage (Python)
🔑 **Get your MUAPI key** from [muapi.ai/access-keys](https://muapi.ai/access-keys)
```pythonimport requests, osurl = "https://api.muapi.ai/api/v1/ltx_lora_video"headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}payload = { "prompt": "masterpiece, best quality", "lora_model": "ltx-2-animatediff-lora", "lora_strength": 1.0, "width": 768, "height": 512, "num_frames": 97}print(requests.post(url, headers=headers, json=payload).json())```123version https://git-lfs.github.com/spec/v1oid sha256:c6cd9857babae1beed0692562b4a664373fb42f163c64e8aa6bd4c232d4d3f93size 855967976.gitattributes+1
README.mdAdded+38
ltx-2-animatediff-lora.safetensorsAdded+3
preview.jpgAdded

Large File Pointer Details
- SHA256: cb9a2888cefd022d3a1c64426cbad3d9c6141100699fb550bc466ed6b5b33188
- Pointer size: 132 Bytes
- Size of remote file: 5.91 MB