A web application for generating images using the SDXL model via WebSocket connection.
- Image generation based on text descriptions (prompts)
- Selection of image styles from 10 available options
- Automatic translation from Russian to English
- Simple and intuitive web interface
git clone https://github.com/ArtemProgrammerIT/AI-Image.git
cd AI-Imagepython -m venv venv
source venv/bin/activate # for Linux/Mac
# or
venv\Scripts\activate # for Windowspip install -r requirements.txtpython app.pyThe application will be available at: http://127.0.0.1:5000 (Or at your personally generated URL)
-
Open a web browser and go to this address
-
Enter the image description on English/Russian in the text field
-
Select the desired style from the dropdown menu
-
Click the "Generate" button
-
Wait for the image generation to complete (may take a few seconds)
- (No style)
- Cinematic
- Photographic
- Anime
- Manga
- Digital Art
- Pixel art
- Fantasy art
- Neonpunk
- 3D Model
-
Image Theme:
- Define the main theme (e.g., cityscape, nature, portrait).
-
Stylistics:
- Specify the desired style (realism, abstraction, minimalism, etc.).
-
Color Palette:
- Determine the main colors or mood (bright, pastel, contrasting).
-
Composition:
- Describe the arrangement of objects (central element, background, details).
-
Emotions and Atmosphere:
- Indicate what feelings the image should evoke (joy, calmness, nostalgia).
-
Additional Elements:
- Specify particular details or objects to be included (e.g., buildings, people, nature).
-
Format and Size:
- Define the desired format (portrait, landscape) and size of the image.
Example: The image depicts Central Park in the heart of New York City, where green pathways and well-kept lawns contrast with the surrounding skyscrapers. People are enjoying nature, walking or riding bicycles, creating an atmosphere of tranquility amidst the bustling urban environment.
-
Python 3.7+
-
Stable internet connection
-
Web browser with JavaScript support