Instructions to use mxturbo/tangled-rapunzel-ltx2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mxturbo/tangled-rapunzel-ltx2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("mxturbo/tangled-rapunzel-ltx2") prompt = "An animated style cinematic medium shot of rapstangled2010 sitting beside a crackling campfire at night. The warm, flickering orange light of the fire illuminates her face, highlighting her skin, while the background features cool, blue misty mountains in soft focus. She is wearing her signature purple dress. She fiddles with a strand of her hair, looking into the camera with a soft, happy expression as she says, \"This is the first lora I have trained.\" Suddenly, her expression shifts to a sheepish, slightly embarrassed grimace and her eyes dart away as she mumbles, \"Ok, well, I did train one before this, but that was a complete disaster." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Ctrl+K