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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

MATLOWAI
/
MiniMax-H3-Motion-Adapter

Image-to-Video
Diffusers
MiniMax H3
lora
video
comfyui
motion
Model card Files Files and versions
xet
Community

Instructions to use MATLOWAI/MiniMax-H3-Motion-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use MATLOWAI/MiniMax-H3-Motion-Adapter 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("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("MATLOWAI/MiniMax-H3-Motion-Adapter")
    
    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 Settings
  • Draw Things
MiniMax-H3-Motion-Adapter
63.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
matlod's picture
matlod
card: note the future direction (an adapter that assigns compute on its own)
2e2d6c7 verified about 22 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 23 hours ago
  • LICENSE
    1.08 kB
    Motion adapter pilot r16: weights, model card, ComfyUI graph about 23 hours ago
  • LICENSE-MiniMax-H3
    17.6 kB
    add the MiniMax H3 Community License alongside MIT; credit MiniMax and mark the adapter relation about 22 hours ago
  • README.md
    6.78 kB
    card: note the future direction (an adapter that assigns compute on its own) about 22 hours ago
  • minimax_h3_motion_adapter_pilot_r16.safetensors
    63.1 MB
    xet
    Motion adapter pilot r16: weights, model card, ComfyUI graph about 23 hours ago
  • motion_pipeline_adapter_api.json
    13.9 kB
    Motion adapter pilot r16: weights, model card, ComfyUI graph about 23 hours ago