How to use KappaNeuro/character-design 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("KappaNeuro/character-design") prompt = "Character Design - Character design for a sword-wielding boy School uniform attire Red scarf or neckerchief Monster Boy game style Eight-directional movement Cartoonish art style Playful or adventurous expression Colorful and vibrant design Exaggerated or stylized features Dynamic and action-packed poses Sword or blade weapon Whimsical or fantasy influence Unique or magical abilities Expressive eyes and facial features Iconic hairstyle or headgear Detailed and fluid animation Charming and lovable personality." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!