Repository navigation
V1.1.3
EasyUI
V1.1.3
TextToImage is a free, open-source text-to-image generation tool designed for ease of use, allowing anyone to run advanced models on their computer with customizable parameters and progress tracking.
NOTE: The version available via
git cloneis more up-to-date than the releases because the repository contains the latest changes, which may not yet be included in the official release.
Features
- Progress Tracking
- Seed Control
- Adjustable CFG
(Classifier-Free Guidance) - Support for multiple schedulers
- ControlNet support
(currently canny/depth is fully supported | normal map is only SD) - Image-to-Image and Text-to-Image generation
Installation Guide
Prerequisites
- A good GPU
(it will run slowly if you don't have one) - CUDA
(to use GPU) - VS Code
(recommended editor)
Steps
-
Clone the Repository:
git clone https://github.com/umittadelen/stableDiffusionEasyUI.git cd stableDiffusionEasyUI -
Change the IP:
This step is not that important but the startingip:portislocalhost:8080
It is possible to change this from settings page -
Install Dependencies:
pip install -r requirements.txt
Usage
Running the Application
- Start the Flask Server:
python app.py
- Access the Application:
Open your web browser and navigate tohttp://localhost:8080.
Generating Images
-
Download a Model:
- Click to
Model Editorbutton and download model using the civitai model id and version id (you can get the ids fromAIR: 123456 @ 654321)
- Click to
-
Choose a Model:
- Select a model from the dropdown list or add a new model URL.
-
Set Parameters:
-
Model Type:
Choose the type of model (this step is automatically done if the model downloaded using themodel editorpage)(e.g., SDXL, SD1.5, FLUX).
-
Scheduler:
Select the scheduler model.(default is [Euler A])
-
Prompt:
Enter the main prompt that describes the image you want to generate.prevent using short prompts (it can make NSFW images)
(Multiple images can be generated using the multi prompt feature like"prompt1§prompt2" > "prompt1","prompt2")
[Click for a quick guide on writing better prompts]
-
Negative Prompt:
Enter negative prompts to specify what you want to avoid in the generated image.
-
Width and Height:
Set the dimensions of the generated image.
-
CFG Scale:
Adjust the scale value to control how closely the AI follows your prompts.
-
Sampling Steps:
Set the number of sampling steps.(higher number means more steps | 30 is recommended)
-
Number of Images:
Specify the number of images to generate.
-
Custom Seed:
If set to-1generates variated images.
-
- Generate Images:
Click the "Generate Images" button to start the image generation process.
Additional Features
- Stop Generation: Click the "Stop Generation" button to stop the image generation process.
- Clear Images: Click the "Clear Images" button to clear all generated images.
- Preview ControlNet: Click the "Preview ControlNet" button to go to the page for previewing the ControlNet image.
- Get Metadata: Click the "Get Metadata" button to extract metadata from an uploaded image.
- Model Editor: Click the "Model Editor" button to view and edit the JSON configuration of models.
License
This project is licensed under the MIT License. See the LICENSE.txt file for details.