Text-to-Image
Diffusers
stable-diffusion-xl
stable-diffusion-xl-diffusers
diffusers-training
lora
template:sd-lora
Instructions to use mitrick2/r2-sdxl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mitrick2/r2-sdxl-lora 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("mitrick2/r2-sdxl-lora") prompt = "Rivian R2 SUV at the entrance to a forest" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,7 +40,7 @@ license: openrail++
|
|
| 40 |
|
| 41 |
## Model description
|
| 42 |
|
| 43 |
-
### These are mitrick2/r2-sdxl-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
|
| 44 |
|
| 45 |
## Download model
|
| 46 |
|
|
@@ -79,7 +79,7 @@ For more details, including weighting, merging and fusing LoRAs, check the [docu
|
|
| 79 |
|
| 80 |
To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
|
| 81 |
|
| 82 |
-
to trigger concept `
|
| 83 |
|
| 84 |
|
| 85 |
|
|
|
|
| 40 |
|
| 41 |
## Model description
|
| 42 |
|
| 43 |
+
### These are mitrick2/r2-sdxl-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. This LoRA adds support for Rivian R2 image generation by including the trigger word R2.
|
| 44 |
|
| 45 |
## Download model
|
| 46 |
|
|
|
|
| 79 |
|
| 80 |
To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
|
| 81 |
|
| 82 |
+
to trigger concept `Rivian R2` → use `R2,` in your prompt
|
| 83 |
|
| 84 |
|
| 85 |
|