AI Personal Learning
and practical guidance

GLIGEN GUI: Precise control of the position of image elements, intuitive graphical interface based on ComfyUI

General Introduction

The GLIGEN GUI is a program based on the ComfyUI The GLIGEN GUI is an intuitive graphical interface designed to simplify the use of the GLIGEN model, a novel text-to-image model that precisely specifies the location of objects in an image. The GLIGEN GUI allows users to generate images by drawing boxes and typing text prompts, which greatly improves the ease and efficiency of operation.

 


GLIGEN GUI: Precise control of image element positions, intuitive graphical interface based on ComfyUI-1

 

 

Function List

  • Draw Boxed Areas: Users can draw boxed areas on the canvas to specify the location of objects in the image.
  • Text Input: Enter a corresponding text prompt for each boxed area.
  • Multiple Model Support: Supports a wide selection of models and samplers.
  • Save and Load Sessions: You can save the current session and load it later.
  • Resize Boxed Area: Support for moving and resizing boxed areas.
  • LORA Support: You can add and adjust the strength of multiple LORA models.

 

 

Using Help

Installation process

  1. Install ComfyUI: First make sure that ComfyUI is successfully installed and running.
  2. Download GLIGEN model files: Download gligen_sd14_textbox_pruned.safetensors file and place it in the ComfyUI/models/gligen Catalog.
  3. Installing Flask: Run on the command line pip install flask to install Flask.
  4. Clone GLIGEN GUI Warehouse: Run the following command to clone the repository and enter the catalog:
    git clone https://github.com/mut-ex/gligen-gui.git
    cd gligen-gui
    
  5. Starting the GUI: Run the following command to start the GUI:
    flask --app 'gligen_gui:create_app(8188)' run --port 5000
    

    Note: It is assumed that ComfyUI uses port 8188, if different, replace it with the correct port number.

Usage Process

  1. Open your browser.: Open in browser http://127.0.0.1:5000/port/8188If ComfyUI uses a different port, please change the port number in the URL accordingly.
  2. Select Model: Ensure that the Stable Diffusion 1.5 checkpoint is selected.
  3. Drawing a boxed area: Draws a boxed area on the canvas using the mouse.
  4. Enter text prompts: Enter the corresponding text prompts for each boxed area in the table on the right.
  5. Describe the image: in POSITIVE The text box further describes the style and quality of the image.
  6. Add LORA: If you need to use LORA, click on the LORA section of the + button to select the LORA name and adjust the intensity.
  7. Generating images: Click Queue Prompt Submit the prompt and the resulting image will be displayed on the canvas.

One sentence description (brief)

 

AI Easy Learning

The layman's guide to getting started with AI

Help you learn how to utilize AI tools at a low cost and from a zero base.AI, like office software, is an essential skill for everyone. Mastering AI will give you an edge in your job search and half the effort in your future work and studies.

View Details>
May not be reproduced without permission:Chief AI Sharing Circle " GLIGEN GUI: Precise control of the position of image elements, intuitive graphical interface based on ComfyUI

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish