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

  • Log In
  • Sign Up

Knvl
/
test2

Text-to-Video
Diffusers
Safetensors
hunyuan-video
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use Knvl/test2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Knvl/test2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("tencent/HunyuanVideo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Knvl/test2")
    
    prompt = "anime girl 1girl, alcohol carton, blush, braid, bridge, crosswalk, dress, green dress, holding carton, long hair, long sleeves, multiple girls, night, open mouth, outdoors, pedestrian bridge, purple eyes, red hair, single braid, solo focus, spaghetti strap"
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
test2
334 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Knvl's picture
Knvl
Update README.md
d8fdb8a verified over 1 year ago
  • HunyuanVideo-lora-AnimeShots
    Innitial commit over 1 year ago
  • .gitattributes
    1.98 kB
    Innitial commit over 1 year ago
  • README.md
    2.81 kB
    Update README.md over 1 year ago