Instructions to use Ashmotv/H3-Style-Transfer-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ashmotv/H3-Style-Transfer-LoRA 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("Ashmotv/H3-Style-Transfer-LoRA") prompt = "Styl3_transf3r" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 608 kB xet
- 378 kB xet
- 600 kB xet
- 382 kB xet
- 442 kB xet
- 580 kB xet
- 369 kB xet
- 667 kB xet
- 458 kB xet
- 527 kB xet
- 500 kB xet
- 641 kB xet
- 688 kB xet
- 1.13 MB xet
- 475 kB xet
- 671 kB xet
- 978 kB xet
- 1.03 MB xet
- 715 kB xet
- 631 kB xet
- 467 kB xet
- 630 kB xet
- 547 kB xet
- 1.13 MB xet
- 580 kB xet
- 1.32 MB xet
- 650 kB xet
- 283 kB xet
- 784 kB xet