Skip to content

Pankhigupta/Text-To-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ AI Image Generator using Streamlit and Stable Diffusion

A simple, interactive Streamlit web app that generates images from textual prompts using the Stable Diffusion v1.5 model from Hugging Face ๐Ÿค— diffusers.


๐ŸŒ Live Demo

https://text-to-imagez.streamlit.app


๐Ÿ“ธ Screenshots

| Screenshot 1 | Screenshot 2 |


๐Ÿš€ Features

  • โœ… Generate images from natural language prompts
  • โœ… GPU support using torch.cuda
  • โœ… Fast image generation with optimized inference settings
  • โœ… Clean, responsive Streamlit UI
  • โœ… Efficient memory usage with attention_slicing

๐Ÿง  Tech Stack

Tech Purpose
Streamlit Frontend UI for user interaction
Hugging Face ๐Ÿค— diffusers For loading and running Stable Diffusion
PyTorch Deep learning framework
Stable Diffusion v1.5 Text-to-image generation model
PIL Image handling and display

๐Ÿ› ๏ธ Installation

git clone https://github.com/yourusername/ai-image-generator.git
cd ai-image-generator
python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows
pip install -r requirements.txt

About

A simple text to image converter built with hugging face diffuser and streamlit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages