SDUI4J (Stable Diffusion User Interface for Java) is a standalone Graphic User Interface (GUI) program designed to showcase the capabilities of Stable Diffusion, a powerful text-to-image model. Built using JavaFX, SDUI4J provides an intuitive platform for interacting with Stable Diffusion.
- Text-to-Image Conversion: Easily generate images from textual descriptions via Stability AI.
- Image-to-Image Conversion: Easily generate images from a given image via Stability AI.
- User-Friendly Interface: Intuitive GUI for seamless interaction with the text-to-image and image-to-image conversion processes.
- Java-Based Implementation: Built entirely in Java, ensuring platform independence and ease of deployment.
- Utilization of JavaFX: Utilizes JavaFX for creating modern and intuitive user interfaces.
To get started with SDUI4J, follow these simple steps:
- Clone the Repository: Clone the SDUI4J repository to your local machine using the following command:
git clone https://github.com/your-username/sdui4j.git
-
Register at Stability AI and retrieve an API key.
-
Save the API key in either Environment Variable or a dedicated properties file
sdui4j.properties
in the same folder of the program. -
Run the Program: By gradle, execute the application to launch the SDUI4J interface.
./gradlew run
Once the program is running, you can:
- Choose to proceed Text-To-Image or Image-To-Image in the single UI
- Adjust various parameters by sliders
- Select parameter options by dropdown boxes
- Add or remove text prompts and weights by clicks
- Upload an image for Image-To-Image
- View and download the result image
SDUI4J is licensed under the MIT License.
For any inquiries or feedback, feel free to contact me at [email protected]