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

  • Log In
  • Sign Up

radna
/
LTX-Video-Minimal

Image-to-Video
Diffusers
Safetensors
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use radna/LTX-Video-Minimal 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("radna/LTX-Video-Minimal", 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")
  • Notebooks
  • Google Colab
  • Kaggle
LTX-Video-Minimal
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
radna's picture
radna
Update README.md
8bb6bfa verified over 1 year ago
  • scheduler
    Upload folder using huggingface_hub over 1 year ago
  • unet
    Upload folder using huggingface_hub over 1 year ago
  • vae
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    2.74 kB
    Upload folder using huggingface_hub over 1 year ago
  • License.txt
    16 kB
    Upload folder using huggingface_hub over 1 year ago
  • README.md
    443 Bytes
    Update README.md over 1 year ago