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
Download examples/example_11.mp4 from Ashmotv/H3-Style-Transfer-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 500 kB
-
https://huggingface.co/Ashmotv/H3-Style-Transfer-LoRA/resolve/main/examples/example_11.mp4
- Command line
-
hf download hf://Ashmotv/H3-Style-Transfer-LoRA/examples/example_11.mp4
-
curl -L -o example_11.mp4 https://huggingface.co/Ashmotv/H3-Style-Transfer-LoRA/resolve/main/examples/example_11.mp4
500 kB
- Xet hash:
- 356120dcd4e9659334eedcd2908b8ea46c4b47b42dbf2e8d3eaa0a22ef648a97
- Size of remote file:
- 500 kB
- SHA256:
- 3febb9f8a30254d739c4b40090490ba31de3b0c6a3a2b7942972c5e73c6538a4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.