Instructions to use M5-Dev/MikuPix2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use M5-Dev/MikuPix2 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("M5-Dev/MikuPix2") prompt = "MikuPix2, Hatsune Miku doing chest press yoga pose on balcony mat at sunrise, loose sports bra pulled down under large breasts covered by hair and ribbon tie, back arched pressing chest forward, cute focused moan blush + wink at viewer, twin-tails flowing in breeze, thigh-high leggings, golden light on skin, ultra-sexy ultra-flexible anime, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Important notes
#1
by M5Dev - opened