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

Skywork
/
Matrix-Game

Image-to-Video
Diffusers
Safetensors
English
Model card Files Files and versions
xet
Community
4

Instructions to use Skywork/Matrix-Game with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Skywork/Matrix-Game 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("Skywork/Matrix-Game", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
Matrix-Game / dit
69.4 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 4 commits
crispeng's picture
crispeng
Upload diffusion_pytorch_model-00003-of-00007.safetensors
620c4d5 verified about 1 year ago
  • config.json
    1.27 kB
    add vae and text encoder about 1 year ago
  • diffusion_pytorch_model-00001-of-00007.safetensors
    9.97 GB
    xet
    Upload 2 files about 1 year ago
  • diffusion_pytorch_model-00002-of-00007.safetensors
    9.97 GB
    xet
    Upload 2 files about 1 year ago
  • diffusion_pytorch_model-00003-of-00007.safetensors
    9.97 GB
    xet
    Upload diffusion_pytorch_model-00003-of-00007.safetensors about 1 year ago
  • diffusion_pytorch_model-00004-of-00007.safetensors
    9.83 GB
    xet
    add vae and text encoder about 1 year ago
  • diffusion_pytorch_model-00005-of-00007.safetensors
    9.83 GB
    xet
    add vae and text encoder about 1 year ago
  • diffusion_pytorch_model-00006-of-00007.safetensors
    9.94 GB
    xet
    add vae and text encoder about 1 year ago
  • diffusion_pytorch_model-00007-of-00007.safetensors
    9.87 GB
    xet
    add vae and text encoder about 1 year ago
  • diffusion_pytorch_model.safetensors.index.json
    216 kB
    add vae and text encoder about 1 year ago