Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
image-generation
stable-diffusion
stable-diffusion-1.5
stable-diffusion-diffusers
lcm
lcm-lora
latent-consistency-model
fast-inference
few-step
cpu
dreamshaper
photorealistic
art
Instructions to use SDLC-Corp/DriyaGenAI-text-to-image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SDLC-Corp/DriyaGenAI-text-to-image with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SDLC-Corp/DriyaGenAI-text-to-image", dtype=torch.bfloat16, device_map="cuda") prompt = "a majestic palace on a lake at sunset, cinematic lighting, highly detailed" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update links for repo name
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ base_model:
|
|
| 8 |
- Lykon/dreamshaper-8
|
| 9 |
- latent-consistency/lcm-lora-sdv1-5
|
| 10 |
base_model_relation: merge
|
| 11 |
-
thumbnail: https://huggingface.co/SDLC-Corp/
|
| 12 |
tags:
|
| 13 |
- text-to-image
|
| 14 |
- image-generation
|
|
@@ -83,7 +83,7 @@ device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is
|
|
| 83 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
| 84 |
|
| 85 |
pipe = StableDiffusionPipeline.from_pretrained(
|
| 86 |
-
"SDLC-Corp/
|
| 87 |
).to(device)
|
| 88 |
|
| 89 |
image = pipe(
|
|
@@ -187,6 +187,6 @@ It is designed for fast, low-cost image generation in marketing and content work
|
|
| 187 |
title = {DrushyaGen Fast v1: a 4-step text-to-image model},
|
| 188 |
author = {SDLC Corp},
|
| 189 |
year = {2026},
|
| 190 |
-
url = {https://huggingface.co/SDLC-Corp/
|
| 191 |
}
|
| 192 |
```
|
|
|
|
| 8 |
- Lykon/dreamshaper-8
|
| 9 |
- latent-consistency/lcm-lora-sdv1-5
|
| 10 |
base_model_relation: merge
|
| 11 |
+
thumbnail: https://huggingface.co/SDLC-Corp/DriyaGenAI-text-to-image/resolve/main/samples/sample_2.png
|
| 12 |
tags:
|
| 13 |
- text-to-image
|
| 14 |
- image-generation
|
|
|
|
| 83 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
| 84 |
|
| 85 |
pipe = StableDiffusionPipeline.from_pretrained(
|
| 86 |
+
"SDLC-Corp/DriyaGenAI-text-to-image", torch_dtype=dtype
|
| 87 |
).to(device)
|
| 88 |
|
| 89 |
image = pipe(
|
|
|
|
| 187 |
title = {DrushyaGen Fast v1: a 4-step text-to-image model},
|
| 188 |
author = {SDLC Corp},
|
| 189 |
year = {2026},
|
| 190 |
+
url = {https://huggingface.co/SDLC-Corp/DriyaGenAI-text-to-image}
|
| 191 |
}
|
| 192 |
```
|