Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use preetham/illus2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use preetham/illus2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("preetham/illus2", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks illustration" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("preetham/illus2", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of sks illustration"
image = pipe(prompt).images[0]DreamBooth - preetham/illus2
This is a dreambooth model derived from CompVis/stable-diffusion-v1-4. The weights were trained on a photo of sks illustration using DreamBooth. You can find some example images in the following.
DreamBooth for the text encoder was enabled: False.
- Downloads last month
- 2
Model tree for preetham/illus2
Base model
CompVis/stable-diffusion-v1-4