Instructions to use leimu/Kaguya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use leimu/Kaguya with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/SDXL-Lightning", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("leimu/Kaguya") prompt = "1" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
metadata
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: '1'
parameters:
negative_prompt: '1'
output:
url: images/kaguyashinomiya-66e3a-4174372137.png
base_model: ByteDance/SDXL-Lightning
instance_prompt: '12'
license: mit
Kaguya

- Prompt
- 1
- Negative Prompt
- 1
Trigger words
You should use 12 to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.