Instructions to use Saad381/Spectra-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Saad381/Spectra-V1 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Saad381/Spectra-V1") prompt = "A cyberpunk car" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Saad381/Spectra-V1: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/Saad381/Spectra-V1/resolve/012df118c0756442742299be2254b8c8a03efa8b/README.md
- Command line
-
hf download hf://Saad381/Spectra-V1@012df118c0756442742299be2254b8c8a03efa8b/README.md
-
curl -L -o README.md https://huggingface.co/Saad381/Spectra-V1/resolve/012df118c0756442742299be2254b8c8a03efa8b/README.md
1.27 kB
| tags: | |
| - stable-diffusion-xl | |
| - stable-diffusion-xl-diffusers | |
| - text-to-image | |
| - diffusers | |
| - lora | |
| base_model: stabilityai/stable-diffusion-xl-base-1.0 | |
| instance_prompt: a photo of TOK lion | |
| license: openrail++ | |
| widget: | |
| - text: A cyberpunk car | |
| output: | |
| url: images/example_zkqx9zmy2.png | |
| - text: A boy in anime | |
| output: | |
| url: images/example_vk1po3x8y.png | |
| - text: A girl in anime | |
| output: | |
| url: images/example_t7z0wb8b9.png | |
| - text: A Godzilla | |
| output: | |
| url: images/example_arzu2dn8m.png | |
| - text: The thanos | |
| output: | |
| url: images/example_dipqvfyhj.png | |
| - text: A magical anime landscape | |
| output: | |
| url: images/example_fcy8fmi5u.png | |
| # SDXL LoRA DreamBooth - Saad381/Spectra-V1 | |
| <Gallery /> | |
| ## Model description | |
| ### These are Saad381/Spectra-V1 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. | |
| The weights were trained using [DreamBooth](https://dreambooth.github.io/). | |
| LoRA for the text encoder was enabled: False. | |
| Special VAE used for training: madebyollin/sdxl-vae-fp16-fix. | |
| ## Trigger words | |
| You should use a photo of TOK dog to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](Saad381/Spectra-V1/tree/main) them in the Files & versions tab. |