Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 1.76 KB

File metadata and controls

76 lines (56 loc) · 1.76 KB

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

alt


🚀 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

git clone https://github.com/edcalderin/textual-diffuser.git
cd textual-diffuser

2. (Optional) Create and Activate Virtual Environment

conda create -n textual_diffuser python=3.12
conda activate textual_diffuser
source activate textual_diffuser      # On Windows

3. Install Requirements

pip install -r requirements.txt

▶️ Run the App

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

ruff format .
ruff check . --fix

Removing the environment

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

I regularly share insights, tutorials, and reflections on tech, AI, and more. Your feedback and thoughts are always welcome!