DrushyaGen Fast v1
Fast 4-step image generation
2 min read
This model turns a text prompt into a 512x512 image in just 4–8 steps instead of the standard 25–50. It is built on the popular DreamShaper 8 model (a Stable Diffusion 1.5 variant) with pre-integrated LCM-LoRA weights (Latent Consistency Model (a method for speeding up diffusion models by reducing generation steps)). No extra scheduler configuration or adapter downloads are needed—the model is ready to use right away via the Diffusers library. The solution is optimized to run on a regular laptop, CPU, or a free GPU in Colab.
Key features
- High speed: generation takes 4 to 8 denoising steps.
- Low system requirements: weights in fp16 safetensors format (about 2.7 GB), runs on GPU, Apple Silicon (MPS), or CPU.
- DreamShaper 8 quality: a great foundation for photorealism and various art styles.
- Safety: built-in and enabled by default NSFW filter.
What you can do
- Create concept art and mood boards for design projects.
- Generate illustrations for blogs and social media.
- Quickly sketch ideas for games and storyboards.
- Develop applications that need local image generation on low-end hardware.
Example
import torch
from diffusers import StableDiffusionPipeline
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
dtype = torch.float16 if device == "cuda" else torch.float32
pipe = StableDiffusionPipeline.from_pretrained(
"Sudhanshu619/DriyaGenAI-text-to-image", torch_dtype=dtype
).to(device)
image = pipe(
"a majestic palace on a lake at sunset, cinematic lighting, highly detailed",
num_inference_steps=4,
guidance_scale=1.5,
).images[0]
image.save("drushyagen.png")Read more
DetailsSteps: 4–8 generation steps
Resolution: 512x512 pixels
Hardware: NVIDIA GPU, Apple Silicon (MPS), or CPU
License: CreativeML OpenRAIL-M










Comments