Text-to-Image
Diffusers
Safetensors
English
StableDiffusionXLPipeline
stable-diffusion
stable-diffusion-diffusers
stable-diffusion-xl
stable-diffusion-xl-turbo
art
artistic
anime
dreamshaper
turbo
lcm
Instructions to use Lykon/dreamshaper-xl-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lykon/dreamshaper-xl-turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lykon/dreamshaper-xl-turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,7 @@ tags:
|
|
| 14 |
- anime
|
| 15 |
- dreamshaper
|
| 16 |
- turbo
|
|
|
|
| 17 |
duplicated_from: lykon/dreamshaper-xl-turbo
|
| 18 |
---
|
| 19 |
|
|
@@ -47,6 +48,6 @@ pipe = pipe.to("cuda")
|
|
| 47 |
prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors"
|
| 48 |
|
| 49 |
generator = torch.manual_seed(0)
|
| 50 |
-
image = pipe(prompt, num_inference_steps=
|
| 51 |
image.save("./image.png")
|
| 52 |
```
|
|
|
|
| 14 |
- anime
|
| 15 |
- dreamshaper
|
| 16 |
- turbo
|
| 17 |
+
- lcm
|
| 18 |
duplicated_from: lykon/dreamshaper-xl-turbo
|
| 19 |
---
|
| 20 |
|
|
|
|
| 48 |
prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors"
|
| 49 |
|
| 50 |
generator = torch.manual_seed(0)
|
| 51 |
+
image = pipe(prompt, num_inference_steps=6, guidance_scale=2).images[0]
|
| 52 |
image.save("./image.png")
|
| 53 |
```
|