Model Details
Full Model IDCompVis/stable-diffusion-v1-4
Pipeline / Tasktext-to-image
Librarydiffusers
Downloads (all-time)544.7K
Likes7.0K
Last Modified8/23/2023
Author / OrgCompVis
PrivateNo — public
⚡ Quick Usage (Python)
Using the 🤗 Transformers library. Install with pip install transformers
from transformers import pipeline
# Load the model
pipe = pipeline("text-to-image", model="CompVis/stable-diffusion-v1-4")
# Run inference
result = pipe("Your input here")
print(result)🏷️ Tags
diffuserssafetensorsstable-diffusionstable-diffusion-diffuserstext-to-imagearxiv:2207.12598arxiv:2112.10752arxiv:2103.00020arxiv:2205.11487arxiv:1910.09700license:creativeml-openrail-mendpoints_compatiblediffusers:StableDiffusionPipelineregion:us
More Text to Image Models
See all →🚀 Use This Model
Access model files, inference API, and full documentation on Hugging Face.
Open on Hugging Face →Browse Model Files ↗← Browse All Models🎨 Task: Text to Image
This model is designed for the Text to Image task. Explore more models for this use case.
All Text to Image Models →📊 Popularity
⬇ Downloads544.7K
❤️ Community Likes7.0K
🛠️ Requirements
- →Install: pip install diffusers
- →Python 3.8+ recommended for Transformers.
- →GPU (CUDA) speeds up inference significantly.
- →Use model.half() for fp16 on limited VRAM.