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
| 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 | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `12` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/leimu/Kaguya/tree/main) them in the Files & versions tab. | |