Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

starsfriday
/
LTX2-I2V-Smooth-LORA

Image-to-Video
Diffusers
English
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use starsfriday/LTX2-I2V-Smooth-LORA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use starsfriday/LTX2-I2V-Smooth-LORA 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-2", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("starsfriday/LTX2-I2V-Smooth-LORA")
    
    prompt = "The video showcases a highly dynamic horizontal displacement costume display. The character's arms are raised above his head and crossed. As his hands fall, the new look swiftly sweeps from one side of the frame to the other. Through this rapid rotation and encireption, it gradually covers the original costume from top to bottom along the body. huanzhuang skillfully completed the gradient and replacement of the clothing in the high-speed flowing afterimage"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    image = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
LTX2-I2V-Smooth-LORA
861 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
starsfriday's picture
starsfriday
Upload folder using huggingface_hub
91c5a45 verified 5 months ago
  • result
    Upload folder using huggingface_hub 5 months ago
  • .gitattributes
    1.68 kB
    Upload folder using huggingface_hub 5 months ago
  • LTX2-I2V.json
    74.9 kB
    Upload folder using huggingface_hub 5 months ago
  • README.md
    4.52 kB
    Upload folder using huggingface_hub 5 months ago
  • ltx2-smooth.safetensors
    856 MB
    xet
    Upload folder using huggingface_hub 5 months ago