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

styly-agents
/
Wan2-2-pixel-animate

Image-to-Video
Diffusers
Safetensors
lora
video-generation
pixel-art
sprite-animation
game-development
wan
comfyui
Model card Files Files and versions
xet
Community
3

Instructions to use styly-agents/Wan2-2-pixel-animate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use styly-agents/Wan2-2-pixel-animate 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-AI/Wan2.2-I2V-14B-480P", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("styly-agents/Wan2-2-pixel-animate")
    
    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
Wan2-2-pixel-animate
4.91 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
styly-agents's picture
styly-agents
Upload wan2.2_animate_adapter_epoch_95.safetensors with huggingface_hub
be894a8 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    2.3 kB
    Upload README.md with huggingface_hub 5 months ago
  • wan2-2-video.json
    28.4 kB
    Upload wan2-2-video.json with huggingface_hub 5 months ago
  • wan2.2_animate_adapter_epoch_95.safetensors
    2.45 GB
    xet
    Upload wan2.2_animate_adapter_epoch_95.safetensors with huggingface_hub 5 months ago
  • wan2.2_animate_adapter_model.safetensors
    2.45 GB
    xet
    Upload wan2.2_animate_adapter_model.safetensors with huggingface_hub 5 months ago