Diffusers How to use mrcuddle/live2d-model-maker with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("mrcuddle/live2d-model-maker")
prompt = "live2d,guijiaoxiansheng,separate hand,separate feet,separate head,full body,solo,white background,simple background, male, white hair, fox, CharacterDesignFLUX, reference sheet,white background,simple background,multiple views, upper body, front, from side, color palette reference, high_detailed, captured in high detail, magic particles, multiple references"
image = pipe(prompt).images[0]