Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
realism
style
epic
diamond
crystal
glamor
Instructions to use RalFinger/crystals-lora-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RalFinger/crystals-lora-sdxl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("RalFinger/crystals-lora-sdxl") prompt = "eagle, crystalz " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| license: other | |
| license_name: bespoke-lora-trained-license | |
| license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Sell&allowDerivatives=True&allowDifferentLicense=True | |
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - realism | |
| - style | |
| - epic | |
| - diamond | |
| - crystal | |
| - glamor | |
| base_model: stabilityai/stable-diffusion-xl-base-1.0 | |
| instance_prompt: crystalz | |
| widget: | |
| - text: 'eagle, crystalz ' | |
| output: | |
| url: >- | |
| 3228914.jpeg | |
| - text: 'cat, crystalz ' | |
| output: | |
| url: >- | |
| 3228913.jpeg | |
| - text: 'food photography photo of a crystal maki sushi with wasabi, perfect roles, maximum detail, foreground focus, crystalz ' | |
| output: | |
| url: >- | |
| 3228907.jpeg | |
| - text: 'food photography photo of a crystal maki sushi with wasabi, perfect roles, maximum detail, foreground focus, crystalz ' | |
| output: | |
| url: >- | |
| 3228906.jpeg | |
| - text: 'crystal witch in mystical forrest, god ray from behind, dark night, shiny, crystalz ' | |
| output: | |
| url: >- | |
| 3228917.jpeg | |
| - text: 'crystal witch front view in mystical forrest, god ray light from behind, dark night, shiny, crystalz ' | |
| output: | |
| url: >- | |
| 3228918.jpeg | |
| - text: 'food photography photo of a crystal burger with cheese, maximum detail, foreground focus, crystalz ' | |
| output: | |
| url: >- | |
| 3228905.jpeg | |
| - text: 'crystal superhero, sprad wings, american flag background, god rays from above, full body shot, crystalz ' | |
| output: | |
| url: >- | |
| 3228919.jpeg | |
| - text: 'crystal superhero, sprad wings, american flag background, god rays from above, full body shot, crystalz ' | |
| output: | |
| url: >- | |
| 3228916.jpeg | |
| - text: 'food photography photo of a crystal burger with molten cheese, perfect bun, maximum detail, foreground focus, crystalz ' | |
| output: | |
| url: >- | |
| 3228908.jpeg | |
| # Crystals [LoRA SDXL] | |
| <Gallery /> | |
| ([CivitAI](https://civitai.com/models/180780)) | |
| ## Model description | |
| <p><u>SDXL:<br /></u><span style="color:rgb(193, 194, 197)">Trigger word: </span><strong>crystalz</strong><br /><span style="color:rgb(193, 194, 197)">Sampling Method: </span><strong><span style="color:rgb(219, 222, 225)">DPM++ 2M SDE Karras</span></strong><br /><br />☕ Buy me a coffee: <a target="_blank" rel="ugc" href="https://ko-fi.com/ralfingerai">https://ko-fi.com/ralfingerai</a></p> | |
| ## Trigger words | |
| You should use `crystalz` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/RalFinger/crystals-lora-sdxl/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('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda') | |
| pipeline.load_lora_weights('RalFinger/crystals-lora-sdxl', weight_name='crystalz-sdxl.safetensors') | |
| image = pipeline('food photography photo of a crystal burger with molten cheese, perfect bun, maximum detail, foreground focus, crystalz ').images[0] | |
| ``` | |
| 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) | |