Instructions to use JonneyWang/AnyID with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JonneyWang/AnyID 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("Wan-AI/Wan2.2-TI2V-5B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("JonneyWang/AnyID") 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") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Wan2.2
How to use JonneyWang/AnyID with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download anyid_lora.safetensors from JonneyWang/AnyID: direct link, hf CLI and curl.
- Browser
- Download file 1.31 GB
-
https://huggingface.co/JonneyWang/AnyID/resolve/main/anyid_lora.safetensors
- Command line
-
hf download hf://JonneyWang/AnyID/anyid_lora.safetensors
-
curl -L -o anyid_lora.safetensors https://huggingface.co/JonneyWang/AnyID/resolve/main/anyid_lora.safetensors
1.31 GB
- Xet hash:
- 253cf0d904e19133c9e5963b4f6f7abb7cca58175c9fa8ef213ab269e585641e
- Size of remote file:
- 1.31 GB
- SHA256:
- e689b497ccef999a4582192cc0dcaaecd5392fc81b9c90fdab2b9ff87b299c5b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.