Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Lightricks
/
LTX-Video

Image-to-Video
Diffusers
Safetensors
English
LTXPipeline
ltx-video
Model card Files Files and versions
xet
Community
111

Instructions to use Lightricks/LTX-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Lightricks/LTX-Video with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-Video", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
LTX-Video
47.4 GB
Ctrl+K
Ctrl+K
  • 11 contributors
History: 26 commits
a-r-r-o-w's picture
a-r-r-o-w
Upload folder using huggingface_hub
e8c43b1 verified over 1 year ago
  • media
    Upload trailer.gif over 1 year ago
  • scheduler
    Upload folder using huggingface_hub over 1 year ago
  • text_encoder
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer
    Upload folder using huggingface_hub over 1 year ago
  • transformer
    Upload folder using huggingface_hub over 1 year ago
  • unet
    Add files using upload-large-folder tool over 1 year ago
  • vae
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    2.74 kB
    Upload trailer.gif over 1 year ago
  • License.txt
    16 kB
    Upload License.txt over 1 year ago
  • README.md
    16.3 kB
    Fix LTX-Video repo url to Lightricks (#8) over 1 year ago
  • ltx-video-2b-v0.9.safetensors
    9.37 GB
    xet
    Rename ltxvideo-2b-v0.9.safetensors to ltx-video-2b-v0.9.safetensors over 1 year ago
  • model_index.json
    402 Bytes
    Upload folder using huggingface_hub over 1 year ago