Instructions to use Benevolent/HutaoV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Benevolent/HutaoV2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Benevolent/HutaoV2") prompt = "1girl, hu tao (genshin impact), hat, flower on hat,brown hair, twintails, smile, dress, long hair, off-shoulder dress, ahoge, looking at viewer, red dress, bare shoulders, grin, red eyes, flower-shaped pupils, blush, bangs, breasts, choker, collarbone, solo, nail polish, black nails, ribbon choker, bow, hair between eyes, hair ornament, sidelocks, cleavage, wrist ribbon, very long hair, teeth, cowboy shot <lora:hutao_v2:0.7>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!