https://github.com/edcalderin/textual-diffuser
TextualDiffuser is a text-to-image generation tool powered by Stable Diffusion. It transforms natural language prompts into high-quality visuals, making AI-powered creativity accessible for developers, designers, and artists.
https://github.com/edcalderin/textual-diffuser
diffusers image-generation ruff stable-diffusion streamlit text-prompt text2image transformers
Last synced: 2 months ago
JSON representation
TextualDiffuser is a text-to-image generation tool powered by Stable Diffusion. It transforms natural language prompts into high-quality visuals, making AI-powered creativity accessible for developers, designers, and artists.
- Host: GitHub
- URL: https://github.com/edcalderin/textual-diffuser
- Owner: edcalderin
- License: apache-2.0
- Created: 2025-06-21T02:24:01.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-04T21:20:25.000Z (11 months ago)
- Last Synced: 2025-08-04T23:13:52.221Z (11 months ago)
- Topics: diffusers, image-generation, ruff, stable-diffusion, streamlit, text-prompt, text2image, transformers
- Language: Python
- Homepage:
- Size: 431 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TextualDiffuser
TextualDiffuser is a text-to-image generation tool powered by Stable Diffusion. It transforms natural language prompts into high-quality visuals, making AI-powered creativity accessible for developers, designers, and artists. It allows users to:
- ✍️ Write a **text prompt**
- 🔧 Choose a **diffusion model**
- 🖼️ **Generate** an image
- 💾 **Download** the result

---
## 🚀 Features
- Interactive text-to-image generation
- Model selection from sidebar
- Live image preview with download option
- Easy-to-use web interface with Streamlit
---
## 🛠️ Installation
### 1. Clone the Repository
```bash
git clone https://github.com/edcalderin/textual-diffuser.git
cd textual-diffuser
```
### 2. (Optional) Create and Activate Virtual Environment
```bash
conda create -n textual_diffuser python=3.12
conda activate textual_diffuser
```
```bash
source activate textual_diffuser # On Windows
```
### 3. Install Requirements
```bash
pip install -r requirements.txt
```
## ▶️ Run the App
```bash
python -m streamlit run src/streamlit.py
```
## ✨ Usage
1. Enter a text prompt (e.g., "a fantasy landscape with dragons").
2. Select a diffusion model from the sidebar.
3. Click Generate Image.
4. Preview the result and click Download if you want to save it.
## Lint
```bash
ruff format .
ruff check . --fix
```
## Removing the environment
```bash
conda env remove -n textual_diffuser
```
## ✉️ Contact
LinkedIn: https://www.linkedin.com/in/erick-calderin-5bb6963b/
e-mail: edcm.erick@gmail.com
## Enjoyed this content?
Explore more of my work on [Medium](https://medium.com/@erickcalderin)
I regularly share insights, tutorials, and reflections on tech, AI, and more. Your feedback and thoughts are always welcome!