Instructions to use launch-calcium/N1GHT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use launch-calcium/N1GHT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("launch-calcium/N1GHT") prompt = "Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed background" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,782 Bytes
6a9ec9e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
tags:
- text-to-image
- stable-diffusion-xl
- illustrious
- lora
- diffusers
- template:sd-lora
- ai-toolkit
widget:
- text: Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed
background
output:
url: samples/1793454879636__000000010_0.jpg
- text: Cat, blue fur, no humans,furry, portrait, dramatic lighting, looking at
viewer
output:
url: samples/1793454883851__000000010_1.jpg
base_model: OnomaAIResearch/Illustrious-xl-early-release-v0
instance_prompt: Cat, blue fur, no humans,furry
license: creativeml-openrail-m
---
# my-illustrious-lora
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />
## Trigger words
You should use `Cat, blue fur, no humans,furry` to trigger the image generation.
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
Weights for this model are available in Safetensors format.
[Download](/launch-calcium/N1GHT/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('OnomaAIResearch/Illustrious-xl-early-release-v0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('launch-calcium/N1GHT', weight_name='my-illustrious-lora.safetensors')
image = pipeline('Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed background').images[0]
image.save("my_image.png")
```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|