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

mycoolusername509732
/
cool-mc

Image-to-Video
Diffusers
wan
video-generation
lora
wavespeed-ai
Model card Files Files and versions
xet
Community

Instructions to use mycoolusername509732/cool-mc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mycoolusername509732/cool-mc 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("Wan-Video/Wan2.1-I2V-14B-720P", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("mycoolusername509732/cool-mc")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    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
cool-mc
614 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mycoolusername509732's picture
mycoolusername509732
Create README.md
a34905f verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • 9ef8b567-0663-4f97-bc8d-77aa1dcaca90-u1_i2v_A14B_separate_high_noise_lora_44f380b2-aead-47f2-a397-0054b1a88710.safetensors
    307 MB
    xet
    Upload 2 files about 1 month ago
  • 9ef8b567-0663-4f97-bc8d-77aa1dcaca90-u1_i2v_A14B_separate_low_noise_lora_a6597519-c4f8-4574-8526-a3a02cef7f8c.safetensors
    307 MB
    xet
    Upload 2 files about 1 month ago
  • README.md
    1.24 kB
    Create README.md about 1 month ago