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
43.8 GB
Ctrl+K
Ctrl+K
  • 11 contributors
History: 44 commits
Stpnoid's picture
Stpnoid
Upload BF3EB0C0-BD79-49D1-A55E-01DA04500C7F.jpeg
e4ed047 verified over 1 year ago
  • media
    Upload trailer.gif over 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
  • BF3EB0C0-BD79-49D1-A55E-01DA04500C7F.jpeg
    153 kB
    Upload BF3EB0C0-BD79-49D1-A55E-01DA04500C7F.jpeg over 1 year ago
  • License.txt
    16 kB
    Upload License.txt over 1 year ago
  • README.md
    19 kB
    Update README.md to include diffusers usage (#42) over 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.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