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

martintomov
/
HunyuanVideo-Coca-Cola

Text-to-Video
Diffusers
lora
hunyuan
Model card Files Files and versions
xet
Community

Instructions to use martintomov/HunyuanVideo-Coca-Cola with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use martintomov/HunyuanVideo-Coca-Cola 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("martintomov/HunyuanVideo-Coca-Cola")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
HunyuanVideo-Coca-Cola
645 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
martintomov's picture
martintomov
Update README.md
b6b6d47 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    327 Bytes
    Update README.md over 1 year ago
  • hunyuanvideo-coca-cola-lora.safetensors
    323 MB
    xet
    Upload 2 files over 1 year ago
  • hunyuanvideo-coca-cola-lora_comfyui.safetensors
    323 MB
    xet
    Upload 2 files over 1 year ago