Skip to content

v1.1.0

Choose a tag to compare

@umittadelen umittadelen released this 05 Feb 10:24
· 82 commits to main since this release

EasyUI

V1.1.0

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.

Features

  • Progress Tracking
  • Seed Control for reproducibility
  • Adjustable CFG (Classifier-Free Guidance) for creative flexibility
  • Support for multiple schedulers
  • ControlNet support
  • 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
  • VS Code (recommended editor)

Steps

  1. Clone the Repository:

    git clone https://github.com/umittadelen/TextToImage.git
    cd TextToImage
  2. Change the IP:
    Open the app.py and change the address at this line to your local IP:

    app.run(host='192.168.0.4', port=8080, debug=False)
  3. Install Dependencies:

    pip install -r requirements.txt

Usage

Running the Application

  1. Start the Flask Server:

    python app.py
  2. Access the Application:
    Open your web browser and navigate to http://<your-ip>:8080.

Generating Images

  1. Download a Model:
    Click to Model Editor button and download model using the civitai model id and version id (you can get the ids from AIR: 123456 @ 654321)

  2. Choose a Model:
    Select a model from the dropdown list or add a new model URL.

  3. Set Parameters:

    • Model Type: Choose the type of model (e.g., SDXL, SD1.5, FLUX).
    • Scheduler: Select the scheduler model.
    • Prompt: Enter the main prompt that describes the image you want to generate.
      (Multiple images can be generated using the multi prompt feature like "prompt1§prompt2" > "prompt1","prompt2")
    • 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.
    • Number of Images: Specify the number of images to generate.
    • Custom Seed: Enter a custom seed for reproducibility.
  4. 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 preview the ControlNet.
  • 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.


Thanks to @John6666cat for the models at huggingface and helping me to fix issues.


More About Me

www.umittadelen.net