Skip to content

Sinatra App to manage SD prompt tokens

Notifications You must be signed in to change notification settings

hoblin/prompt-master

Repository files navigation

⚠️ This project is not receiving any love anymore and is about to be superseded by the online service http://promptmaster.pro PRs are still welcome but I'm not going to implement new features.

So Long, and Thanks for All the Fish

Prompt Master

image

Introduction

Introducing Prompt Master - your go-to app for streamlining your Stable Diffusion text2image AI experimentation process. Struggling to keep track of the different words and prompts you've tried in the past? With our app, you can easily organize, catalog, and experiment with your prompt sets in one convenient location. See your words in action with image galleries of the results generated by Stable Diffusion text2image AI model. Sort, rank, filter and collect your sets for quick and easy access. Say goodbye to disorganized notes and hello to a more efficient experimentation process with Prompt Master.

Installation

Please note that the below instructions were written to work on Windows OS and you may need to adjust the instructions according to the operating system you are using.

Prerequisites

Steps

git config --global core.autocrlf input
cd C:/stable-diffusion-webui/extensions/stable-diffusion-webui-inspiration/
git clone https://github.com/hoblin/prompt-master.git
cd prompt-master
docker compose up

Steps explanation

  1. Install Git SCM for Windows.
  2. Install Docker Desktop. Use WSL version. There were issues reported with Hyper-V
  3. Follow the instructions in the yfszzx/stable-diffusion-webui-inspiration repository to generate previews for the words in the prompts.
  4. Open Git Bash and set git config --global core.autocrlf input to solve the problem with line endings on Windows.
  5. cd to the extension directory: cd C:/stable-diffusion-webui/extensions/stable-diffusion-webui-inspiration/
  6. Clone the repository: git clone https://github.com/hoblin/prompt-master.git
  7. cd into the cloned repository: cd prompt-master
  8. Build and run the Docker container: docker compose up
  9. Once the Docker container is built, you can use the Docker Desktop app to start, stop, and restart the app.
  10. On each start, the app updates to the latest version from Github and scans the inspiration extension directory for new tags previews. To add a new set, generate it in the "inspiration" extension of WebUI and restart the Prompt Master container.

Usage

Once the app is installed, you can use it by navigating to the app's URL in your web browser http://localhost:8080. Here is a brief overview of the app's main features:

  • Category view: view all of your prompt sets as image galleries, sorted by name or rating.
  • Rating and collection: rate the tags and collect them for further experiments.
  • Tag view: view tag images, slide between different prompts previews, add to favorites or hide them. Collect tags for further experiments.

Troubleshooting

If you experience any issues while using the Prompt Master app, please check the following:

  • App doesn't load: Make sure the Docker container is running and the app's URL is correct.
  • No images in a set: Make sure that you've generated the images for the prompt set using the inspiration extension in webui.
  • Images are outdated: Make sure that you've restarted the app after generating images.

If you still experience issues, please file a bug report.

Contribute

We welcome contributions to the Prompt Master app! If you would like to contribute, please follow these guidelines:

  • Report a bug: If you find a bug, please file an issue on our GitHub repository.
  • Request a feature: If you have an idea for a new feature, please file an issue on our GitHub repository.
  • Submit a pull request: If you would like to contribute code, please submit a pull request to our GitHub repository.

License

Prompt Master is licensed under the Apache 2.0 License.

About

Sinatra App to manage SD prompt tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published