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
112

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
Ctrl+K
Ctrl+K
  • 11 contributors
History: 50 commits
Ce81's picture
Ce81
Delete media/ltx-video_example_00001.gif
6dd891f verified about 1 year ago
  • media
    Delete media/ltx-video_example_00001.gif about 1 year ago
  • scheduler
    Delete scheduler/noise_scheduler_config.json over 1 year ago
  • text_encoder
    Diffusers weights test (#32) over 1 year ago
  • tokenizer
    Diffusers weights test (#32) over 1 year ago
  • transformer
    Delete transformer/transformer_config.json over 1 year ago
  • vae
    Delete vae/vae_config.json over 1 year ago
  • .gitattributes
    2.74 kB
    Upload trailer.gif over 1 year ago
  • README.md
    19.1 kB
    Explicit `text-to-video` pipeline tag and `diffusers` library (#72) about 1 year ago
  • ltx-video-2b-v0.9.1.license.txt
    16 kB
    Rename License.txt to ltx-video-2b-v0.9.1.license.txt about 1 year ago
  • ltx-video-2b-v0.9.1.safetensors
    5.72 GB
    xet
    Upload ltx-video-2b-v0.9.1.safetensors with huggingface_hub over 1 year ago
  • ltx-video-2b-v0.9.5.license.txt
    16.1 kB
    Add ltx-video-2b-v0.9.5.license.txt about 1 year ago
  • ltx-video-2b-v0.9.5.safetensors
    6.34 GB
    xet
    Add ltx-video-2b-v0.9.5.safetensors about 1 year ago
  • ltx-video-2b-v0.9.license.txt
    16 kB
    Add ltx-video-2b-v0.9.license.txt about 1 year ago
  • ltx-video-2b-v0.9.safetensors

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    9.37 GB
    xet
    Upload ltx-video-2b-v0.9.safetensors with huggingface_hub over 1 year ago
  • model_index.json
    412 Bytes
    Update model names in config (#38) over 1 year ago