🎨 Text to Image

stable-diffusion-v1-4

CompVis/stable-diffusion-v1-4

Get AI Model →
544.7K
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)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 →
stable-diffusion-xl-base-1.0

stabilityai/stable-diffusion-xl-base-1.0

2.0M❤️ 7.6K
Get AI Model →
stable-diffusion-v1-5

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

1.5M❤️ 1.1K
Get AI Model →
FLUX.2-klein-base-4B

black-forest-labs/FLUX.2-klein-base-4B

1.5M❤️ 126
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
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.
👋 Need help with code?