Instructions to use ShadowFrame7/Krea-2-Maya-Character-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShadowFrame7/Krea-2-Maya-Character-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ShadowFrame7/Krea-2-Maya-Character-LoRA") prompt = "K_Sc_M4y4_KSC, curly hair, Fine-art studio photograph, 23 year old woman seated on the edge of a dark wooden platform, wearing a long black skirt with her shoulders and upper torso bare, one arm resting naturally across her chest, centered in a close three-quarter frame with a 70mm lens, hard afternoon light projected through a gridded screen onto a pale plaster backdrop, the shadow pattern continuing across the platform, composed but unforced. <lora:K2_Maya_v1_KSC_10:1>" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K