Instructions to use alvdansen/h3-keyframe-animation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alvdansen/h3-keyframe-animation 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("alvdansen/h3-keyframe-animation") 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
Are you making anything with this model?
#2
by positiveelevation - opened
It seems like a serious workflow tool for 2D animation.
Did you make it with the goal of animating your own show, or just as general-purpose animation tool for other people to build things on top of it?
If you did make your own animated videos with it, I'd be curious to see the end-result.
It’s a general tool, but I am working on a proof of concept short with it. I’ve been posting progress on LinkedIn - you can find me searching Minta Carlson.