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

kabachuha
/
ltx2-eat

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

Instructions to use kabachuha/ltx2-eat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use kabachuha/ltx2-eat 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("kabachuha/ltx2-eat")
    
    prompt = "Vivid colors. The video begins with a cartoon girl blowing a chewing gum balloon. Then a gigantic anime girl hand seizes the cartoon girl from below and tosses her into a gigantic mouth, which appeared to the right. The camera zooms out, showing the new anime girl chewing and fully swallowing the cartoon girl. Wet slurping sounds."
    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-eat / video_examples
17.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
kabachuha's picture
kabachuha
upload mp4 examples
a1f456e verified 4 months ago
  • comfy.mp4
    4.35 MB
    xet
    upload mp4 examples 4 months ago
  • elephant.mp4
    2.64 MB
    xet
    upload mp4 examples 4 months ago
  • endless.mp4
    3.06 MB
    xet
    upload mp4 examples 4 months ago
  • rabbit.mp4
    2.83 MB
    xet
    upload mp4 examples 4 months ago
  • tank.mp4
    2.56 MB
    xet
    upload mp4 examples 4 months ago
  • two.mp4
    2.31 MB
    xet
    upload mp4 examples 4 months ago