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
|
Download README.md from launch-calcium/N1GHT: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/launch-calcium/N1GHT/resolve/main/README.md
- Command line
-
hf download hf://launch-calcium/N1GHT/README.md
-
curl -L -o README.md https://huggingface.co/launch-calcium/N1GHT/resolve/main/README.md
1.78 kB
| 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) | |