Instructions to use xAlexClashRoyale/RandomStyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xAlexClashRoyale/RandomStyle 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("xAlexClashRoyale/RandomStyle") prompt = "random style, 1girl, sitting on the bench" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| widget: | |
| - text: random style, 1girl, sitting on the bench | |
| output: | |
| url: images/Random_e000011_00_20240919225311.png | |
| base_model: stabilityai/stable-diffusion-xl-base-1.0 | |
| instance_prompt: random, random style, random background | |
| # Random | |
| <Gallery /> | |
| ## Model description | |
| random style background | |
| ## Trigger words | |
| You should use `random` to trigger the image generation. | |
| You should use `random style` to trigger the image generation. | |
| You should use `random background` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/xAlexClashRoyale/RandomStyle/tree/main) them in the Files & versions tab. | |