CursedPrograms / Image-Generator

This project leverages the SDXL-Turbo model for versatile image processing tasks. Offering a simple command-line interface, it facilitates both Text-to-image and Image-to-image operations. Users select an operation, input prompts, and the script dynamically generates and executes code snippets.

Home Page:https://cursedprograms.github.io/Image-Generator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python
Flask

Image-Generator

Image-Generator

This Python project provides a simple command-line interface for interacting with the SDXL-Turbo model, showcasing two key functionalities:

Text-to-image Conversion:

Allows users to convert a text prompt into an image using the SDXL-Turbo model. Users are prompted to input a text prompt, and the script generates code snippets using the model to produce an image. The generated image is saved in the "output" directory.

Image-to-image Transformation:

Enables users to transform an existing image based on a text prompt using SDXL-Turbo. Users input a text prompt, and the script generates code snippets utilizing the model to transform an initial image. The resulting image is saved in the "output" directory.

How to Run:

pip install -r requirements.txt
python main.py

To make the setup script executable, run the following command in your terminal:

chmod +x setup.sh

About

This project leverages the SDXL-Turbo model for versatile image processing tasks. Offering a simple command-line interface, it facilitates both Text-to-image and Image-to-image operations. Users select an operation, input prompts, and the script dynamically generates and executes code snippets.

https://cursedprograms.github.io/Image-Generator/

License:MIT License


Languages

Language:Python 81.0%Language:JSON 8.3%Language:HTML 7.6%Language:Batchfile 1.4%Language:Brainfuck 1.0%Language:Text 0.3%Language:CSS 0.3%Language:Shell 0.0%