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") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
model card: link the demo page anchor and the node pack
Browse files
README.md
CHANGED
|
@@ -100,5 +100,8 @@ turbo LoRAs does not apply here.
|
|
| 100 |
- `minimax_h3_motion_adapter_pilot_r16.safetensors` (63 MB)
|
| 101 |
- `motion_pipeline_adapter_api.json` (the same graph as in the node pack)
|
| 102 |
|
| 103 |
-
Examples
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
- `minimax_h3_motion_adapter_pilot_r16.safetensors` (63 MB)
|
| 101 |
- `motion_pipeline_adapter_api.json` (the same graph as in the node pack)
|
| 102 |
|
| 103 |
+
Examples and before/after clips, including the colour-muting case, are on
|
| 104 |
+
the demo page: https://matlowai.github.io/ComfyUI-MAINodes/#adapter
|
| 105 |
+
The node pack, the example graph and the tuning notes are at
|
| 106 |
+
https://github.com/matlowai/ComfyUI-MAINodes (see README, "The motion
|
| 107 |
+
adapter (pilot)", and TUNING.md).
|