🎨 Text to Image

stable-diffusion-v1-4

CompVis/stable-diffusion-v1-4

Get AI Model →
534.2K
Downloads
❤️
7.0K
Likes
🏷️
14
Tags
📦
diffusers
Library
Model Details
Full Model IDCompVis/stable-diffusion-v1-4
Pipeline / Tasktext-to-image
Librarydiffusers
Downloads (all-time)534.2K
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 →
stable-diffusion-v1-5

stable-diffusion-v1-5/stable-diffusion-v1-5

1.9M❤️ 1.2K
Get AI Model →
stable-diffusion-xl-base-1.0

stabilityai/stable-diffusion-xl-base-1.0

1.4M❤️ 7.9K
Get AI Model →
FLUX.1-dev

black-forest-labs/FLUX.1-dev

1.1M❤️ 13.3K
Get AI Model →
🚀 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
Downloads534.2K
❤️ 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.
👋 Need help with code?